@sentio/truffle-source-fetcher
Version:
Fetches verified source code from services such as Etherscan
9 lines • 448 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// must polyfill AbortController to use axios >=0.20.0, <=0.27.2 on node <= v14.x
const node_abort_controller_1 = require("node-abort-controller");
if (typeof global.AbortController === "undefined") {
global.AbortController = node_abort_controller_1.AbortController;
global.AbortSignal = node_abort_controller_1.AbortSignal;
}
//# sourceMappingURL=polyfill.js.map