A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
diff --git a/node_modules/abort-controller/browser.js b/node_modules/abort-controller/browser.js
|
|
|
|
index b0c5ec3..b61071b 100644
|
|
|
|
--- a/node_modules/abort-controller/browser.js
|
|
|
|
+++ b/node_modules/abort-controller/browser.js
|
|
|
|
@@ -2,12 +2,7 @@
|
|
|
|
"use strict"
|
|
|
|
|
|
|
|
/*eslint-disable @mysticatea/prettier */
|
|
|
|
-const { AbortController, AbortSignal } =
|
|
|
|
- typeof self !== "undefined" ? self :
|
|
|
|
- typeof window !== "undefined" ? window :
|
|
|
|
- /* otherwise */ undefined
|
|
|
|
+const { AbortController } = globalThis;
|
|
|
|
/*eslint-enable @mysticatea/prettier */
|
|
|
|
|
|
|
|
-module.exports = AbortController
|
|
|
|
-module.exports.AbortSignal = AbortSignal
|
|
|
|
-module.exports.default = AbortController
|
|
|
|
+module.exports = { AbortController }
|