machinomy
Version:
Micropayments powered by Ethereum
15 lines • 380 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const ponyFill = require("fetch-ponyfill");
let fetcher;
// tslint:disable-next-line:strict-type-predicates
if (typeof fetch === 'undefined') {
fetcher = ponyFill();
}
else {
fetcher = {
fetch: fetch.bind(undefined)
};
}
exports.default = fetcher;
//# sourceMappingURL=fetcher.js.map