@metamask/snaps-execution-environments 0.32.2 → 0.33.0-flask.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +298 -0
- package/dist/browserify/iframe/bundle.js +453 -665
- package/dist/browserify/iframe/index.html +2 -2
- package/dist/browserify/node-process/bundle.js +276 -488
- package/dist/browserify/node-thread/bundle.js +276 -488
- package/dist/browserify/offscreen/bundle.js +162 -416
- package/dist/browserify/offscreen/index.html +2 -2
- package/dist/browserify/worker-executor/bundle.js +17874 -0
- package/dist/browserify/worker-pool/bundle.js +2026 -0
- package/dist/browserify/worker-pool/index.html +11660 -0
- package/dist/common/BaseSnapExecutor.d.ts +4 -4
- package/dist/common/BaseSnapExecutor.js +22 -22
- package/dist/common/BaseSnapExecutor.js.map +1 -1
- package/dist/common/commands.js +2 -2
- package/dist/common/commands.js.map +1 -1
- package/dist/common/endowments/commonEndowmentFactory.d.ts +5 -1
- package/dist/common/endowments/commonEndowmentFactory.js +2 -1
- package/dist/common/endowments/commonEndowmentFactory.js.map +1 -1
- package/dist/common/endowments/console.d.ts +45 -0
- package/dist/common/endowments/console.js +103 -0
- package/dist/common/endowments/console.js.map +1 -0
- package/dist/common/endowments/crypto.d.ts +4 -0
- package/dist/common/endowments/crypto.js +3 -1
- package/dist/common/endowments/crypto.js.map +1 -1
- package/dist/common/endowments/index.d.ts +3 -1
- package/dist/common/endowments/index.js +3 -3
- package/dist/common/endowments/index.js.map +1 -1
- package/dist/common/endowments/math.js +4 -1
- package/dist/common/endowments/math.js.map +1 -1
- package/dist/common/utils.js +2 -1
- package/dist/common/utils.js.map +1 -1
- package/dist/offscreen/OffscreenSnapExecutor.js +1 -1
- package/dist/offscreen/OffscreenSnapExecutor.js.map +1 -1
- package/dist/openrpc.json +2 -2
- package/dist/webworker/executor/WebWorkerSnapExecutor.d.ts +13 -0
- package/dist/webworker/executor/WebWorkerSnapExecutor.js +37 -0
- package/dist/webworker/executor/WebWorkerSnapExecutor.js.map +1 -0
- package/dist/webworker/executor/index.d.ts +1 -0
- package/dist/webworker/executor/index.js +10 -0
- package/dist/webworker/executor/index.js.map +1 -0
- package/dist/webworker/pool/WebWorkerPool.d.ts +22 -0
- package/dist/webworker/pool/WebWorkerPool.js +168 -0
- package/dist/webworker/pool/WebWorkerPool.js.map +1 -0
- package/dist/webworker/pool/index.d.ts +1 -0
- package/dist/webworker/pool/index.js +10 -0
- package/dist/webworker/pool/index.js.map +1 -0
- package/package.json +21 -20
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
LavaPack.loadBundle([
|
|
2
|
-
[1, {"./Substream":2,"end-of-stream":
|
|
2
|
+
[1, {"./Substream":2,"end-of-stream":169,"once":231,"readable-stream":264}, function(){
|
|
3
3
|
with (this.scopeTerminator) {
|
|
4
4
|
with (this.globalThis) {
|
|
5
5
|
return function() {
|
|
@@ -13,7 +13,7 @@ LavaPack.loadBundle([
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}, {package:"@metamask/object-multiplex",file:"../../node_modules/@metamask/object-multiplex/dist/ObjectMultiplex.js",}],
|
|
16
|
-
[2, {"readable-stream":
|
|
16
|
+
[2, {"readable-stream":264}, function(){
|
|
17
17
|
with (this.scopeTerminator) {
|
|
18
18
|
with (this.globalThis) {
|
|
19
19
|
return function() {
|
|
@@ -41,7 +41,7 @@ LavaPack.loadBundle([
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}, {package:"@metamask/object-multiplex",file:"../../node_modules/@metamask/object-multiplex/dist/index.js",}],
|
|
44
|
-
[4, {"readable-stream":
|
|
44
|
+
[4, {"readable-stream":20}, function(){
|
|
45
45
|
with (this.scopeTerminator) {
|
|
46
46
|
with (this.globalThis) {
|
|
47
47
|
return function() {
|
|
@@ -76,7 +76,7 @@ LavaPack.loadBundle([
|
|
|
76
76
|
'use strict';
|
|
77
77
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/dist/WebWorker/WebWorkerPostMessageStream.js
|
|
78
78
|
return function (require, module, exports) {
|
|
79
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WebWorkerPostMessageStream=void 0;const BasePostMessageStream_1=require("../BasePostMessageStream"),utils_1=require("../utils");class WebWorkerPostMessageStream extends BasePostMessageStream_1.BasePostMessageStream{constructor(){if("undefined"==typeof self||"undefined"==typeof WorkerGlobalScope
|
|
79
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WebWorkerPostMessageStream=void 0;const BasePostMessageStream_1=require("../BasePostMessageStream"),utils_1=require("../utils");class WebWorkerPostMessageStream extends BasePostMessageStream_1.BasePostMessageStream{constructor(){if("undefined"==typeof self||"undefined"==typeof WorkerGlobalScope)throw new Error("WorkerGlobalScope not found. This class should only be instantiated in a WebWorker.");super(),this._name=utils_1.DEDICATED_WORKER_NAME,self.addEventListener("message",this._onMessage.bind(this)),this._handshake()}_postMessage(e){self.postMessage({data:e})}_onMessage(e){const s=e.data;(0,utils_1.isValidStreamMessage)(s)&&s.target===this._name&&this._onData(s.data)}_destroy(){}}exports.WebWorkerPostMessageStream=WebWorkerPostMessageStream;
|
|
80
80
|
|
|
81
81
|
};
|
|
82
82
|
};
|
|
@@ -111,7 +111,7 @@ LavaPack.loadBundle([
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}, {package:"@metamask/post-message-stream",file:"../../node_modules/@metamask/post-message-stream/dist/runtime/BrowserRuntimePostMessageStream.js",}],
|
|
114
|
-
[9, {"@metamask/utils":
|
|
114
|
+
[9, {"@metamask/utils":45}, function(){
|
|
115
115
|
with (this.scopeTerminator) {
|
|
116
116
|
with (this.globalThis) {
|
|
117
117
|
return function() {
|
|
@@ -125,7 +125,7 @@ LavaPack.loadBundle([
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
}, {package:"@metamask/post-message-stream",file:"../../node_modules/@metamask/post-message-stream/dist/utils.js",}],
|
|
128
|
-
[10, {"../BasePostMessageStream":4,"../utils":9,"@metamask/utils":
|
|
128
|
+
[10, {"../BasePostMessageStream":4,"../utils":9,"@metamask/utils":45}, function(){
|
|
129
129
|
with (this.scopeTerminator) {
|
|
130
130
|
with (this.globalThis) {
|
|
131
131
|
return function() {
|
|
@@ -139,261 +139,7 @@ LavaPack.loadBundle([
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}, {package:"@metamask/post-message-stream",file:"../../node_modules/@metamask/post-message-stream/dist/window/WindowPostMessageStream.js",}],
|
|
142
|
-
[11, {"
|
|
143
|
-
with (this.scopeTerminator) {
|
|
144
|
-
with (this.globalThis) {
|
|
145
|
-
return function() {
|
|
146
|
-
'use strict';
|
|
147
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/assert.js
|
|
148
|
-
return function (require, module, exports) {
|
|
149
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.assertExhaustive=exports.assertStruct=exports.assert=exports.AssertionError=void 0;const superstruct_1=require("superstruct");function isErrorWithMessage(r){return"object"==typeof r&&null!==r&&"message"in r}function isConstructable(r){var s,t;return Boolean("string"==typeof(null===(t=null===(s=null==r?void 0:r.prototype)||void 0===s?void 0:s.constructor)||void 0===t?void 0:t.name))}function getErrorMessage(r){const s=isErrorWithMessage(r)?r.message:String(r);return s.endsWith(".")?s.slice(0,-1):s}function getError(r,s){return isConstructable(r)?new r({message:s}):r({message:s})}class AssertionError extends Error{constructor(r){super(r.message),this.code="ERR_ASSERTION"}}function assert(r,s="Assertion failed.",t=AssertionError){if(!r){if(s instanceof Error)throw s;throw getError(t,s)}}function assertStruct(r,s,t="Assertion failed",e=AssertionError){try{(0,superstruct_1.assert)(r,s)}catch(r){throw getError(e,`${t}: ${getErrorMessage(r)}.`)}}function assertExhaustive(r){throw new Error("Invalid branch reached. Should be detected during compilation.")}exports.AssertionError=AssertionError,exports.assert=assert,exports.assertStruct=assertStruct,exports.assertExhaustive=assertExhaustive;
|
|
150
|
-
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/assert.js",}],
|
|
156
|
-
[12, {"./assert":11,"superstruct":354}, function(){
|
|
157
|
-
with (this.scopeTerminator) {
|
|
158
|
-
with (this.globalThis) {
|
|
159
|
-
return function() {
|
|
160
|
-
'use strict';
|
|
161
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/base64.js
|
|
162
|
-
return function (require, module, exports) {
|
|
163
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.base64=void 0;const superstruct_1=require("superstruct"),assert_1=require("./assert"),base64=(e,r={})=>{var s,t;const a=null!==(s=r.paddingRequired)&&void 0!==s&&s,u=null!==(t=r.characterSet)&&void 0!==t?t:"base64";let n,i;return"base64"===u?n=String.raw`[A-Za-z0-9+\/]`:((0,assert_1.assert)("base64url"===u),n=String.raw`[-_A-Za-z0-9]`),i=a?new RegExp(`^(?:${n}{4})*(?:${n}{3}=|${n}{2}==)?$`,"u"):new RegExp(`^(?:${n}{4})*(?:${n}{2,3}|${n}{3}=|${n}{2}==)?$`,"u"),(0,superstruct_1.pattern)(e,i)};exports.base64=base64;
|
|
164
|
-
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/base64.js",}],
|
|
170
|
-
[13, {"./assert":11,"./hex":18,"buffer":141}, function(){
|
|
171
|
-
with (this.scopeTerminator) {
|
|
172
|
-
with (this.globalThis) {
|
|
173
|
-
return function() {
|
|
174
|
-
'use strict';
|
|
175
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/bytes.js
|
|
176
|
-
return function (require, module, exports) {
|
|
177
|
-
(function (Buffer){(function (){
|
|
178
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDataView=exports.concatBytes=exports.valueToBytes=exports.stringToBytes=exports.numberToBytes=exports.signedBigIntToBytes=exports.bigIntToBytes=exports.hexToBytes=exports.bytesToString=exports.bytesToNumber=exports.bytesToSignedBigInt=exports.bytesToBigInt=exports.bytesToHex=exports.assertIsBytes=exports.isBytes=void 0;const assert_1=require("./assert"),hex_1=require("./hex"),HEX_MINIMUM_NUMBER_CHARACTER=48,HEX_MAXIMUM_NUMBER_CHARACTER=58,HEX_CHARACTER_OFFSET=87;function getPrecomputedHexValuesBuilder(){const e=[];return()=>{if(0===e.length)for(let t=0;t<256;t++)e.push(t.toString(16).padStart(2,"0"));return e}}const getPrecomputedHexValues=getPrecomputedHexValuesBuilder();function isBytes(e){return e instanceof Uint8Array}function assertIsBytes(e){(0,assert_1.assert)(isBytes(e),"Value must be a Uint8Array.")}function bytesToHex(e){if(assertIsBytes(e),0===e.length)return"0x";const t=getPrecomputedHexValues(),s=new Array(e.length);for(let r=0;r<e.length;r++)s[r]=t[e[r]];return(0,hex_1.add0x)(s.join(""))}function bytesToBigInt(e){assertIsBytes(e);const t=bytesToHex(e);return BigInt(t)}function bytesToSignedBigInt(e){assertIsBytes(e);let t=BigInt(0);for(const s of e)t=(t<<BigInt(8))+BigInt(s);return BigInt.asIntN(8*e.length,t)}function bytesToNumber(e){assertIsBytes(e);const t=bytesToBigInt(e);return(0,assert_1.assert)(t<=BigInt(Number.MAX_SAFE_INTEGER),"Number is not a safe integer. Use `bytesToBigInt` instead."),Number(t)}function bytesToString(e){return assertIsBytes(e),(new TextDecoder).decode(e)}function hexToBytes(e){var t;if("0x"===(null===(t=null==e?void 0:e.toLowerCase)||void 0===t?void 0:t.call(e)))return new Uint8Array;(0,hex_1.assertIsHexString)(e);const s=(0,hex_1.remove0x)(e).toLowerCase(),r=s.length%2==0?s:`0${s}`,n=new Uint8Array(r.length/2);for(let e=0;e<n.length;e++){const t=r.charCodeAt(2*e),s=r.charCodeAt(2*e+1),o=t-(t<HEX_MAXIMUM_NUMBER_CHARACTER?HEX_MINIMUM_NUMBER_CHARACTER:HEX_CHARACTER_OFFSET),i=s-(s<HEX_MAXIMUM_NUMBER_CHARACTER?HEX_MINIMUM_NUMBER_CHARACTER:HEX_CHARACTER_OFFSET);n[e]=16*o+i}return n}function bigIntToBytes(e){(0,assert_1.assert)("bigint"==typeof e,"Value must be a bigint."),(0,assert_1.assert)(e>=BigInt(0),"Value must be a non-negative bigint.");return hexToBytes(e.toString(16))}function bigIntFits(e,t){(0,assert_1.assert)(t>0);const s=e>>BigInt(31);return!((~e&s)+(e&~s)>>BigInt(8*t-1))}function signedBigIntToBytes(e,t){(0,assert_1.assert)("bigint"==typeof e,"Value must be a bigint."),(0,assert_1.assert)("number"==typeof t,"Byte length must be a number."),(0,assert_1.assert)(t>0,"Byte length must be greater than 0."),(0,assert_1.assert)(bigIntFits(e,t),"Byte length is too small to represent the given value.");let s=e;const r=new Uint8Array(t);for(let e=0;e<r.length;e++)r[e]=Number(BigInt.asUintN(8,s)),s>>=BigInt(8);return r.reverse()}function numberToBytes(e){(0,assert_1.assert)("number"==typeof e,"Value must be a number."),(0,assert_1.assert)(e>=0,"Value must be a non-negative number."),(0,assert_1.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToBytes` instead.");return hexToBytes(e.toString(16))}function stringToBytes(e){return(0,assert_1.assert)("string"==typeof e,"Value must be a string."),(new TextEncoder).encode(e)}function valueToBytes(e){if("bigint"==typeof e)return bigIntToBytes(e);if("number"==typeof e)return numberToBytes(e);if("string"==typeof e)return e.startsWith("0x")?hexToBytes(e):stringToBytes(e);if(isBytes(e))return e;throw new TypeError(`Unsupported value type: "${typeof e}".`)}function concatBytes(e){const t=new Array(e.length);let s=0;for(let r=0;r<e.length;r++){const n=valueToBytes(e[r]);t[r]=n,s+=n.length}const r=new Uint8Array(s);for(let e=0,s=0;e<t.length;e++)r.set(t[e],s),s+=t[e].length;return r}function createDataView(e){if("undefined"!=typeof Buffer&&e instanceof Buffer){const t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return new DataView(t)}return new DataView(e.buffer,e.byteOffset,e.byteLength)}exports.isBytes=isBytes,exports.assertIsBytes=assertIsBytes,exports.bytesToHex=bytesToHex,exports.bytesToBigInt=bytesToBigInt,exports.bytesToSignedBigInt=bytesToSignedBigInt,exports.bytesToNumber=bytesToNumber,exports.bytesToString=bytesToString,exports.hexToBytes=hexToBytes,exports.bigIntToBytes=bigIntToBytes,exports.signedBigIntToBytes=signedBigIntToBytes,exports.numberToBytes=numberToBytes,exports.stringToBytes=stringToBytes,exports.valueToBytes=valueToBytes,exports.concatBytes=concatBytes,exports.createDataView=createDataView;
|
|
179
|
-
|
|
180
|
-
}).call(this)}).call(this,require("buffer").Buffer)
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/bytes.js",}],
|
|
186
|
-
[14, {"./base64":12,"superstruct":354}, function(){
|
|
187
|
-
with (this.scopeTerminator) {
|
|
188
|
-
with (this.globalThis) {
|
|
189
|
-
return function() {
|
|
190
|
-
'use strict';
|
|
191
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/checksum.js
|
|
192
|
-
return function (require, module, exports) {
|
|
193
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ChecksumStruct=void 0;const superstruct_1=require("superstruct"),base64_1=require("./base64");exports.ChecksumStruct=(0,superstruct_1.size)((0,base64_1.base64)((0,superstruct_1.string)(),{paddingRequired:!0}),44,44);
|
|
194
|
-
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/checksum.js",}],
|
|
200
|
-
[15, {"./assert":11,"./bytes":13,"./hex":18,"superstruct":354}, function(){
|
|
201
|
-
with (this.scopeTerminator) {
|
|
202
|
-
with (this.globalThis) {
|
|
203
|
-
return function() {
|
|
204
|
-
'use strict';
|
|
205
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/coercers.js
|
|
206
|
-
return function (require, module, exports) {
|
|
207
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHex=exports.createBytes=exports.createBigInt=exports.createNumber=void 0;const superstruct_1=require("superstruct"),assert_1=require("./assert"),bytes_1=require("./bytes"),hex_1=require("./hex"),NumberLikeStruct=(0,superstruct_1.union)([(0,superstruct_1.number)(),(0,superstruct_1.bigint)(),(0,superstruct_1.string)(),hex_1.StrictHexStruct]),NumberCoercer=(0,superstruct_1.coerce)((0,superstruct_1.number)(),NumberLikeStruct,Number),BigIntCoercer=(0,superstruct_1.coerce)((0,superstruct_1.bigint)(),NumberLikeStruct,BigInt),BytesLikeStruct=(0,superstruct_1.union)([hex_1.StrictHexStruct,(0,superstruct_1.instance)(Uint8Array)]),BytesCoercer=(0,superstruct_1.coerce)((0,superstruct_1.instance)(Uint8Array),(0,superstruct_1.union)([hex_1.StrictHexStruct]),bytes_1.hexToBytes),HexCoercer=(0,superstruct_1.coerce)(hex_1.StrictHexStruct,(0,superstruct_1.instance)(Uint8Array),bytes_1.bytesToHex);function createNumber(e){try{const r=(0,superstruct_1.create)(e,NumberCoercer);return(0,assert_1.assert)(Number.isFinite(r),`Expected a number-like value, got "${e}".`),r}catch(r){if(r instanceof superstruct_1.StructError)throw new Error(`Expected a number-like value, got "${e}".`);throw r}}function createBigInt(e){try{return(0,superstruct_1.create)(e,BigIntCoercer)}catch(e){if(e instanceof superstruct_1.StructError)throw new Error(`Expected a number-like value, got "${String(e.value)}".`);throw e}}function createBytes(e){if("string"==typeof e&&"0x"===e.toLowerCase())return new Uint8Array;try{return(0,superstruct_1.create)(e,BytesCoercer)}catch(e){if(e instanceof superstruct_1.StructError)throw new Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}function createHex(e){if(e instanceof Uint8Array&&0===e.length||"string"==typeof e&&"0x"===e.toLowerCase())return"0x";try{return(0,superstruct_1.create)(e,HexCoercer)}catch(e){if(e instanceof superstruct_1.StructError)throw new Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}exports.createNumber=createNumber,exports.createBigInt=createBigInt,exports.createBytes=createBytes,exports.createHex=createHex;
|
|
208
|
-
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/coercers.js",}],
|
|
214
|
-
[16, {}, function(){
|
|
215
|
-
with (this.scopeTerminator) {
|
|
216
|
-
with (this.globalThis) {
|
|
217
|
-
return function() {
|
|
218
|
-
'use strict';
|
|
219
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/collections.js
|
|
220
|
-
return function (require, module, exports) {
|
|
221
|
-
"use strict";var _FrozenMap_map,_FrozenSet_set,__classPrivateFieldSet=this&&this.__classPrivateFieldSet||function(e,t,r,s,a){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?a.call(e,r):a?a.value=r:t.set(e,r),r},__classPrivateFieldGet=this&&this.__classPrivateFieldGet||function(e,t,r,s){if("a"===r&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?s:"a"===r?s.call(e):s?s.value:t.get(e)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FrozenSet=exports.FrozenMap=void 0;class FrozenMap{constructor(e){_FrozenMap_map.set(this,void 0),__classPrivateFieldSet(this,_FrozenMap_map,new Map(e),"f"),Object.freeze(this)}get size(){return __classPrivateFieldGet(this,_FrozenMap_map,"f").size}[(_FrozenMap_map=new WeakMap,Symbol.iterator)](){return __classPrivateFieldGet(this,_FrozenMap_map,"f")[Symbol.iterator]()}entries(){return __classPrivateFieldGet(this,_FrozenMap_map,"f").entries()}forEach(e,t){return __classPrivateFieldGet(this,_FrozenMap_map,"f").forEach(((r,s,a)=>e.call(t,r,s,this)))}get(e){return __classPrivateFieldGet(this,_FrozenMap_map,"f").get(e)}has(e){return __classPrivateFieldGet(this,_FrozenMap_map,"f").has(e)}keys(){return __classPrivateFieldGet(this,_FrozenMap_map,"f").keys()}values(){return __classPrivateFieldGet(this,_FrozenMap_map,"f").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map((([e,t])=>`${String(e)} => ${String(t)}`)).join(", ")} `:""}}`}}exports.FrozenMap=FrozenMap;class FrozenSet{constructor(e){_FrozenSet_set.set(this,void 0),__classPrivateFieldSet(this,_FrozenSet_set,new Set(e),"f"),Object.freeze(this)}get size(){return __classPrivateFieldGet(this,_FrozenSet_set,"f").size}[(_FrozenSet_set=new WeakMap,Symbol.iterator)](){return __classPrivateFieldGet(this,_FrozenSet_set,"f")[Symbol.iterator]()}entries(){return __classPrivateFieldGet(this,_FrozenSet_set,"f").entries()}forEach(e,t){return __classPrivateFieldGet(this,_FrozenSet_set,"f").forEach(((r,s,a)=>e.call(t,r,s,this)))}has(e){return __classPrivateFieldGet(this,_FrozenSet_set,"f").has(e)}keys(){return __classPrivateFieldGet(this,_FrozenSet_set,"f").keys()}values(){return __classPrivateFieldGet(this,_FrozenSet_set,"f").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map((e=>String(e))).join(", ")} `:""}}`}}exports.FrozenSet=FrozenSet,Object.freeze(FrozenMap),Object.freeze(FrozenMap.prototype),Object.freeze(FrozenSet),Object.freeze(FrozenSet.prototype);
|
|
222
|
-
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/collections.js",}],
|
|
228
|
-
[17, {}, function(){
|
|
229
|
-
with (this.scopeTerminator) {
|
|
230
|
-
with (this.globalThis) {
|
|
231
|
-
return function() {
|
|
232
|
-
'use strict';
|
|
233
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/encryption-types.js
|
|
234
|
-
return function (require, module, exports) {
|
|
235
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
236
|
-
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/encryption-types.js",}],
|
|
242
|
-
[18, {"./assert":11,"superstruct":354}, function(){
|
|
243
|
-
with (this.scopeTerminator) {
|
|
244
|
-
with (this.globalThis) {
|
|
245
|
-
return function() {
|
|
246
|
-
'use strict';
|
|
247
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/hex.js
|
|
248
|
-
return function (require, module, exports) {
|
|
249
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.remove0x=exports.add0x=exports.assertIsStrictHexString=exports.assertIsHexString=exports.isStrictHexString=exports.isHexString=exports.StrictHexStruct=exports.HexStruct=void 0;const superstruct_1=require("superstruct"),assert_1=require("./assert");function isHexString(t){return(0,superstruct_1.is)(t,exports.HexStruct)}function isStrictHexString(t){return(0,superstruct_1.is)(t,exports.StrictHexStruct)}function assertIsHexString(t){(0,assert_1.assert)(isHexString(t),"Value must be a hexadecimal string.")}function assertIsStrictHexString(t){(0,assert_1.assert)(isStrictHexString(t),'Value must be a hexadecimal string, starting with "0x".')}function add0x(t){return t.startsWith("0x")?t:t.startsWith("0X")?`0x${t.substring(2)}`:`0x${t}`}function remove0x(t){return t.startsWith("0x")||t.startsWith("0X")?t.substring(2):t}exports.HexStruct=(0,superstruct_1.pattern)((0,superstruct_1.string)(),/^(?:0x)?[0-9a-f]+$/iu),exports.StrictHexStruct=(0,superstruct_1.pattern)((0,superstruct_1.string)(),/^0x[0-9a-f]+$/iu),exports.isHexString=isHexString,exports.isStrictHexString=isStrictHexString,exports.assertIsHexString=assertIsHexString,exports.assertIsStrictHexString=assertIsStrictHexString,exports.add0x=add0x,exports.remove0x=remove0x;
|
|
250
|
-
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/hex.js",}],
|
|
256
|
-
[19, {"./assert":11,"./base64":12,"./bytes":13,"./checksum":14,"./coercers":15,"./collections":16,"./encryption-types":17,"./hex":18,"./json":20,"./keyring":21,"./logging":22,"./misc":23,"./number":24,"./opaque":25,"./time":26,"./transaction-types":27,"./versions":28}, function(){
|
|
257
|
-
with (this.scopeTerminator) {
|
|
258
|
-
with (this.globalThis) {
|
|
259
|
-
return function() {
|
|
260
|
-
'use strict';
|
|
261
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/index.js
|
|
262
|
-
return function (require, module, exports) {
|
|
263
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,r,t,o){void 0===o&&(o=t);var i=Object.getOwnPropertyDescriptor(r,t);i&&!("get"in i?!r.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,o,i)}:function(e,r,t,o){void 0===o&&(o=t),e[o]=r[t]}),__exportStar=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||__createBinding(r,e,t)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(require("./assert"),exports),__exportStar(require("./base64"),exports),__exportStar(require("./bytes"),exports),__exportStar(require("./checksum"),exports),__exportStar(require("./coercers"),exports),__exportStar(require("./collections"),exports),__exportStar(require("./encryption-types"),exports),__exportStar(require("./hex"),exports),__exportStar(require("./json"),exports),__exportStar(require("./keyring"),exports),__exportStar(require("./logging"),exports),__exportStar(require("./misc"),exports),__exportStar(require("./number"),exports),__exportStar(require("./opaque"),exports),__exportStar(require("./time"),exports),__exportStar(require("./transaction-types"),exports),__exportStar(require("./versions"),exports);
|
|
264
|
-
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/index.js",}],
|
|
270
|
-
[20, {"./assert":11,"superstruct":354}, function(){
|
|
271
|
-
with (this.scopeTerminator) {
|
|
272
|
-
with (this.globalThis) {
|
|
273
|
-
return function() {
|
|
274
|
-
'use strict';
|
|
275
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/json.js
|
|
276
|
-
return function (require, module, exports) {
|
|
277
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getJsonRpcIdValidator=exports.assertIsJsonRpcError=exports.isJsonRpcError=exports.assertIsJsonRpcFailure=exports.isJsonRpcFailure=exports.assertIsJsonRpcSuccess=exports.isJsonRpcSuccess=exports.assertIsJsonRpcResponse=exports.isJsonRpcResponse=exports.assertIsPendingJsonRpcResponse=exports.isPendingJsonRpcResponse=exports.JsonRpcResponseStruct=exports.JsonRpcFailureStruct=exports.JsonRpcSuccessStruct=exports.PendingJsonRpcResponseStruct=exports.assertIsJsonRpcRequest=exports.isJsonRpcRequest=exports.assertIsJsonRpcNotification=exports.isJsonRpcNotification=exports.JsonRpcNotificationStruct=exports.JsonRpcRequestStruct=exports.JsonRpcParamsStruct=exports.JsonRpcErrorStruct=exports.JsonRpcIdStruct=exports.JsonRpcVersionStruct=exports.jsonrpc2=exports.getJsonSize=exports.isValidJson=exports.JsonStruct=exports.UnsafeJsonStruct=void 0;const superstruct_1=require("superstruct"),assert_1=require("./assert"),finiteNumber=()=>(0,superstruct_1.define)("finite number",(s=>(0,superstruct_1.is)(s,(0,superstruct_1.number)())&&Number.isFinite(s)));function isValidJson(s){return(0,superstruct_1.is)(s,exports.JsonStruct)}function getJsonSize(s){(0,assert_1.assertStruct)(s,exports.JsonStruct,"Invalid JSON value");const t=JSON.stringify(s);return(new TextEncoder).encode(t).byteLength}function isJsonRpcNotification(s){return(0,superstruct_1.is)(s,exports.JsonRpcNotificationStruct)}function assertIsJsonRpcNotification(s,t){(0,assert_1.assertStruct)(s,exports.JsonRpcNotificationStruct,"Invalid JSON-RPC notification",t)}function isJsonRpcRequest(s){return(0,superstruct_1.is)(s,exports.JsonRpcRequestStruct)}function assertIsJsonRpcRequest(s,t){(0,assert_1.assertStruct)(s,exports.JsonRpcRequestStruct,"Invalid JSON-RPC request",t)}function isPendingJsonRpcResponse(s){return(0,superstruct_1.is)(s,exports.PendingJsonRpcResponseStruct)}function assertIsPendingJsonRpcResponse(s,t){(0,assert_1.assertStruct)(s,exports.PendingJsonRpcResponseStruct,"Invalid pending JSON-RPC response",t)}function isJsonRpcResponse(s){return(0,superstruct_1.is)(s,exports.JsonRpcResponseStruct)}function assertIsJsonRpcResponse(s,t){(0,assert_1.assertStruct)(s,exports.JsonRpcResponseStruct,"Invalid JSON-RPC response",t)}function isJsonRpcSuccess(s){return(0,superstruct_1.is)(s,exports.JsonRpcSuccessStruct)}function assertIsJsonRpcSuccess(s,t){(0,assert_1.assertStruct)(s,exports.JsonRpcSuccessStruct,"Invalid JSON-RPC success response",t)}function isJsonRpcFailure(s){return(0,superstruct_1.is)(s,exports.JsonRpcFailureStruct)}function assertIsJsonRpcFailure(s,t){(0,assert_1.assertStruct)(s,exports.JsonRpcFailureStruct,"Invalid JSON-RPC failure response",t)}function isJsonRpcError(s){return(0,superstruct_1.is)(s,exports.JsonRpcErrorStruct)}function assertIsJsonRpcError(s,t){(0,assert_1.assertStruct)(s,exports.JsonRpcErrorStruct,"Invalid JSON-RPC error",t)}function getJsonRpcIdValidator(s){const{permitEmptyString:t,permitFractions:r,permitNull:e}=Object.assign({permitEmptyString:!0,permitFractions:!1,permitNull:!0},s);return s=>Boolean("number"==typeof s&&(r||Number.isInteger(s))||"string"==typeof s&&(t||s.length>0)||e&&null===s)}exports.UnsafeJsonStruct=(0,superstruct_1.union)([(0,superstruct_1.literal)(null),(0,superstruct_1.boolean)(),(0,superstruct_1.define)("finite number",(s=>(0,superstruct_1.is)(s,(0,superstruct_1.number)())&&Number.isFinite(s))),(0,superstruct_1.string)(),(0,superstruct_1.array)((0,superstruct_1.lazy)((()=>exports.UnsafeJsonStruct))),(0,superstruct_1.record)((0,superstruct_1.string)(),(0,superstruct_1.lazy)((()=>exports.UnsafeJsonStruct)))]),exports.JsonStruct=(0,superstruct_1.define)("Json",((s,t)=>{function r(s,r){const e=[...r.validator(s,t)];return!(e.length>0)||e}try{const t=r(s,exports.UnsafeJsonStruct);return!0!==t?t:r(JSON.parse(JSON.stringify(s)),exports.UnsafeJsonStruct)}catch(s){return s instanceof RangeError&&"Circular reference detected"}})),exports.isValidJson=isValidJson,exports.getJsonSize=getJsonSize,exports.jsonrpc2="2.0",exports.JsonRpcVersionStruct=(0,superstruct_1.literal)(exports.jsonrpc2),exports.JsonRpcIdStruct=(0,superstruct_1.nullable)((0,superstruct_1.union)([(0,superstruct_1.number)(),(0,superstruct_1.string)()])),exports.JsonRpcErrorStruct=(0,superstruct_1.object)({code:(0,superstruct_1.integer)(),message:(0,superstruct_1.string)(),data:(0,superstruct_1.optional)(exports.JsonStruct),stack:(0,superstruct_1.optional)((0,superstruct_1.string)())}),exports.JsonRpcParamsStruct=(0,superstruct_1.optional)((0,superstruct_1.union)([(0,superstruct_1.record)((0,superstruct_1.string)(),exports.JsonStruct),(0,superstruct_1.array)(exports.JsonStruct)])),exports.JsonRpcRequestStruct=(0,superstruct_1.object)({id:exports.JsonRpcIdStruct,jsonrpc:exports.JsonRpcVersionStruct,method:(0,superstruct_1.string)(),params:exports.JsonRpcParamsStruct}),exports.JsonRpcNotificationStruct=(0,superstruct_1.omit)(exports.JsonRpcRequestStruct,["id"]),exports.isJsonRpcNotification=isJsonRpcNotification,exports.assertIsJsonRpcNotification=assertIsJsonRpcNotification,exports.isJsonRpcRequest=isJsonRpcRequest,exports.assertIsJsonRpcRequest=assertIsJsonRpcRequest,exports.PendingJsonRpcResponseStruct=(0,superstruct_1.object)({id:exports.JsonRpcIdStruct,jsonrpc:exports.JsonRpcVersionStruct,result:(0,superstruct_1.optional)((0,superstruct_1.unknown)()),error:(0,superstruct_1.optional)(exports.JsonRpcErrorStruct)}),exports.JsonRpcSuccessStruct=(0,superstruct_1.object)({id:exports.JsonRpcIdStruct,jsonrpc:exports.JsonRpcVersionStruct,result:exports.JsonStruct}),exports.JsonRpcFailureStruct=(0,superstruct_1.object)({id:exports.JsonRpcIdStruct,jsonrpc:exports.JsonRpcVersionStruct,error:exports.JsonRpcErrorStruct}),exports.JsonRpcResponseStruct=(0,superstruct_1.union)([exports.JsonRpcSuccessStruct,exports.JsonRpcFailureStruct]),exports.isPendingJsonRpcResponse=isPendingJsonRpcResponse,exports.assertIsPendingJsonRpcResponse=assertIsPendingJsonRpcResponse,exports.isJsonRpcResponse=isJsonRpcResponse,exports.assertIsJsonRpcResponse=assertIsJsonRpcResponse,exports.isJsonRpcSuccess=isJsonRpcSuccess,exports.assertIsJsonRpcSuccess=assertIsJsonRpcSuccess,exports.isJsonRpcFailure=isJsonRpcFailure,exports.assertIsJsonRpcFailure=assertIsJsonRpcFailure,exports.isJsonRpcError=isJsonRpcError,exports.assertIsJsonRpcError=assertIsJsonRpcError,exports.getJsonRpcIdValidator=getJsonRpcIdValidator;
|
|
278
|
-
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/json.js",}],
|
|
284
|
-
[21, {}, function(){
|
|
285
|
-
with (this.scopeTerminator) {
|
|
286
|
-
with (this.globalThis) {
|
|
287
|
-
return function() {
|
|
288
|
-
'use strict';
|
|
289
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/keyring.js
|
|
290
|
-
return function (require, module, exports) {
|
|
291
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
292
|
-
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/keyring.js",}],
|
|
298
|
-
[22, {"debug":158}, function(){
|
|
299
|
-
with (this.scopeTerminator) {
|
|
300
|
-
with (this.globalThis) {
|
|
301
|
-
return function() {
|
|
302
|
-
'use strict';
|
|
303
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/logging.js
|
|
304
|
-
return function (require, module, exports) {
|
|
305
|
-
"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.createModuleLogger=exports.createProjectLogger=void 0;const debug_1=__importDefault(require("debug")),globalLogger=(0,debug_1.default)("metamask");function createProjectLogger(e){return globalLogger.extend(e)}function createModuleLogger(e,r){return e.extend(r)}exports.createProjectLogger=createProjectLogger,exports.createModuleLogger=createModuleLogger;
|
|
306
|
-
|
|
307
|
-
};
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/logging.js",}],
|
|
312
|
-
[23, {}, function(){
|
|
313
|
-
with (this.scopeTerminator) {
|
|
314
|
-
with (this.globalThis) {
|
|
315
|
-
return function() {
|
|
316
|
-
'use strict';
|
|
317
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/misc.js
|
|
318
|
-
return function (require, module, exports) {
|
|
319
|
-
"use strict";function isNonEmptyArray(e){return Array.isArray(e)&&e.length>0}function isNullOrUndefined(e){return null==e}function isObject(e){return Boolean(e)&&"object"==typeof e&&!Array.isArray(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.calculateNumberSize=exports.calculateStringSize=exports.isASCII=exports.isPlainObject=exports.ESCAPE_CHARACTERS_REGEXP=exports.JsonSize=exports.hasProperty=exports.isObject=exports.isNullOrUndefined=exports.isNonEmptyArray=void 0,exports.isNonEmptyArray=isNonEmptyArray,exports.isNullOrUndefined=isNullOrUndefined,exports.isObject=isObject;const hasProperty=(e,t)=>Object.hasOwnProperty.call(e,t);var JsonSize;function isPlainObject(e){if("object"!=typeof e||null===e)return!1;try{let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}}function isASCII(e){return e.charCodeAt(0)<=127}function calculateStringSize(e){var t;return e.split("").reduce(((e,t)=>isASCII(t)?e+1:e+2),0)+(null!==(t=e.match(exports.ESCAPE_CHARACTERS_REGEXP))&&void 0!==t?t:[]).length}function calculateNumberSize(e){return e.toString().length}exports.hasProperty=hasProperty,function(e){e[e.Null=4]="Null",e[e.Comma=1]="Comma",e[e.Wrapper=1]="Wrapper",e[e.True=4]="True",e[e.False=5]="False",e[e.Quote=1]="Quote",e[e.Colon=1]="Colon",e[e.Date=24]="Date"}(JsonSize=exports.JsonSize||(exports.JsonSize={})),exports.ESCAPE_CHARACTERS_REGEXP=/"|\\|\n|\r|\t/gu,exports.isPlainObject=isPlainObject,exports.isASCII=isASCII,exports.calculateStringSize=calculateStringSize,exports.calculateNumberSize=calculateNumberSize;
|
|
320
|
-
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/misc.js",}],
|
|
326
|
-
[24, {"./assert":11,"./hex":18}, function(){
|
|
327
|
-
with (this.scopeTerminator) {
|
|
328
|
-
with (this.globalThis) {
|
|
329
|
-
return function() {
|
|
330
|
-
'use strict';
|
|
331
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/number.js
|
|
332
|
-
return function (require, module, exports) {
|
|
333
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hexToBigInt=exports.hexToNumber=exports.bigIntToHex=exports.numberToHex=void 0;const assert_1=require("./assert"),hex_1=require("./hex"),numberToHex=e=>((0,assert_1.assert)("number"==typeof e,"Value must be a number."),(0,assert_1.assert)(e>=0,"Value must be a non-negative number."),(0,assert_1.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,hex_1.add0x)(e.toString(16)));exports.numberToHex=numberToHex;const bigIntToHex=e=>((0,assert_1.assert)("bigint"==typeof e,"Value must be a bigint."),(0,assert_1.assert)(e>=0,"Value must be a non-negative bigint."),(0,hex_1.add0x)(e.toString(16)));exports.bigIntToHex=bigIntToHex;const hexToNumber=e=>{(0,hex_1.assertIsHexString)(e);const t=parseInt(e,16);return(0,assert_1.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `hexToBigInt` instead."),t};exports.hexToNumber=hexToNumber;const hexToBigInt=e=>((0,hex_1.assertIsHexString)(e),BigInt((0,hex_1.add0x)(e)));exports.hexToBigInt=hexToBigInt;
|
|
334
|
-
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/number.js",}],
|
|
340
|
-
[25, {}, function(){
|
|
341
|
-
with (this.scopeTerminator) {
|
|
342
|
-
with (this.globalThis) {
|
|
343
|
-
return function() {
|
|
344
|
-
'use strict';
|
|
345
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/opaque.js
|
|
346
|
-
return function (require, module, exports) {
|
|
347
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
348
|
-
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/opaque.js",}],
|
|
354
|
-
[26, {}, function(){
|
|
355
|
-
with (this.scopeTerminator) {
|
|
356
|
-
with (this.globalThis) {
|
|
357
|
-
return function() {
|
|
358
|
-
'use strict';
|
|
359
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/time.js
|
|
360
|
-
return function (require, module, exports) {
|
|
361
|
-
"use strict";var Duration;Object.defineProperty(exports,"__esModule",{value:!0}),exports.timeSince=exports.inMilliseconds=exports.Duration=void 0,function(e){e[e.Millisecond=1]="Millisecond",e[e.Second=1e3]="Second",e[e.Minute=6e4]="Minute",e[e.Hour=36e5]="Hour",e[e.Day=864e5]="Day",e[e.Week=6048e5]="Week",e[e.Year=31536e6]="Year"}(Duration=exports.Duration||(exports.Duration={}));const isNonNegativeInteger=e=>Number.isInteger(e)&&e>=0,assertIsNonNegativeInteger=(e,n)=>{if(!isNonNegativeInteger(e))throw new Error(`"${n}" must be a non-negative integer. Received: "${e}".`)};function inMilliseconds(e,n){return assertIsNonNegativeInteger(e,"count"),e*n}function timeSince(e){return assertIsNonNegativeInteger(e,"timestamp"),Date.now()-e}exports.inMilliseconds=inMilliseconds,exports.timeSince=timeSince;
|
|
362
|
-
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/time.js",}],
|
|
368
|
-
[27, {}, function(){
|
|
369
|
-
with (this.scopeTerminator) {
|
|
370
|
-
with (this.globalThis) {
|
|
371
|
-
return function() {
|
|
372
|
-
'use strict';
|
|
373
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/transaction-types.js
|
|
374
|
-
return function (require, module, exports) {
|
|
375
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
376
|
-
|
|
377
|
-
};
|
|
378
|
-
};
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/transaction-types.js",}],
|
|
382
|
-
[28, {"./assert":11,"semver":313,"superstruct":354}, function(){
|
|
383
|
-
with (this.scopeTerminator) {
|
|
384
|
-
with (this.globalThis) {
|
|
385
|
-
return function() {
|
|
386
|
-
'use strict';
|
|
387
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/versions.js
|
|
388
|
-
return function (require, module, exports) {
|
|
389
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.satisfiesVersionRange=exports.gtRange=exports.gtVersion=exports.assertIsSemVerRange=exports.assertIsSemVerVersion=exports.isValidSemVerRange=exports.isValidSemVerVersion=exports.VersionRangeStruct=exports.VersionStruct=void 0;const semver_1=require("semver"),superstruct_1=require("superstruct"),assert_1=require("./assert");function isValidSemVerVersion(e){return(0,superstruct_1.is)(e,exports.VersionStruct)}function isValidSemVerRange(e){return(0,superstruct_1.is)(e,exports.VersionRangeStruct)}function assertIsSemVerVersion(e){(0,assert_1.assertStruct)(e,exports.VersionStruct)}function assertIsSemVerRange(e){(0,assert_1.assertStruct)(e,exports.VersionRangeStruct)}function gtVersion(e,r){return(0,semver_1.gt)(e,r)}function gtRange(e,r){return(0,semver_1.gtr)(e,r)}function satisfiesVersionRange(e,r){return(0,semver_1.satisfies)(e,r,{includePrerelease:!0})}exports.VersionStruct=(0,superstruct_1.refine)((0,superstruct_1.string)(),"Version",(e=>null!==(0,semver_1.valid)(e)||`Expected SemVer version, got "${e}"`)),exports.VersionRangeStruct=(0,superstruct_1.refine)((0,superstruct_1.string)(),"Version range",(e=>null!==(0,semver_1.validRange)(e)||`Expected SemVer range, got "${e}"`)),exports.isValidSemVerVersion=isValidSemVerVersion,exports.isValidSemVerRange=isValidSemVerRange,exports.assertIsSemVerVersion=assertIsSemVerVersion,exports.assertIsSemVerRange=assertIsSemVerRange,exports.gtVersion=gtVersion,exports.gtRange=gtRange,exports.satisfiesVersionRange=satisfiesVersionRange;
|
|
390
|
-
|
|
391
|
-
};
|
|
392
|
-
};
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
}, {package:"@metamask/post-message-stream>@metamask/utils",file:"../../node_modules/@metamask/post-message-stream/node_modules/@metamask/utils/dist/versions.js",}],
|
|
396
|
-
[29, {"_process":261}, function(){
|
|
142
|
+
[11, {"_process":244}, function(){
|
|
397
143
|
with (this.scopeTerminator) {
|
|
398
144
|
with (this.globalThis) {
|
|
399
145
|
return function() {
|
|
@@ -409,7 +155,7 @@ LavaPack.loadBundle([
|
|
|
409
155
|
}
|
|
410
156
|
}
|
|
411
157
|
}, {package:"@metamask/post-message-stream>readable-stream>process-nextick-args",file:"../../node_modules/@metamask/post-message-stream/node_modules/process-nextick-args/index.js",}],
|
|
412
|
-
[
|
|
158
|
+
[12, {"./_stream_readable":14,"./_stream_writable":16,"core-util-is":127,"inherits":210,"process-nextick-args":11}, function(){
|
|
413
159
|
with (this.scopeTerminator) {
|
|
414
160
|
with (this.globalThis) {
|
|
415
161
|
return function() {
|
|
@@ -423,7 +169,7 @@ LavaPack.loadBundle([
|
|
|
423
169
|
}
|
|
424
170
|
}
|
|
425
171
|
}, {package:"@metamask/post-message-stream>readable-stream",file:"../../node_modules/@metamask/post-message-stream/node_modules/readable-stream/lib/_stream_duplex.js",}],
|
|
426
|
-
[
|
|
172
|
+
[13, {"./_stream_transform":15,"core-util-is":127,"inherits":210}, function(){
|
|
427
173
|
with (this.scopeTerminator) {
|
|
428
174
|
with (this.globalThis) {
|
|
429
175
|
return function() {
|
|
@@ -437,7 +183,7 @@ LavaPack.loadBundle([
|
|
|
437
183
|
}
|
|
438
184
|
}
|
|
439
185
|
}, {package:"@metamask/post-message-stream>readable-stream",file:"../../node_modules/@metamask/post-message-stream/node_modules/readable-stream/lib/_stream_passthrough.js",}],
|
|
440
|
-
[
|
|
186
|
+
[14, {"./_stream_duplex":12,"./internal/streams/BufferList":17,"./internal/streams/destroy":18,"./internal/streams/stream":19,"_process":244,"core-util-is":127,"events":175,"inherits":210,"isarray":213,"process-nextick-args":11,"safe-buffer":21,"string_decoder/":22,"util":78}, function(){
|
|
441
187
|
with (this.scopeTerminator) {
|
|
442
188
|
with (this.globalThis) {
|
|
443
189
|
return function() {
|
|
@@ -453,7 +199,7 @@ LavaPack.loadBundle([
|
|
|
453
199
|
}
|
|
454
200
|
}
|
|
455
201
|
}, {package:"@metamask/post-message-stream>readable-stream",file:"../../node_modules/@metamask/post-message-stream/node_modules/readable-stream/lib/_stream_readable.js",}],
|
|
456
|
-
[
|
|
202
|
+
[15, {"./_stream_duplex":12,"core-util-is":127,"inherits":210}, function(){
|
|
457
203
|
with (this.scopeTerminator) {
|
|
458
204
|
with (this.globalThis) {
|
|
459
205
|
return function() {
|
|
@@ -467,7 +213,7 @@ LavaPack.loadBundle([
|
|
|
467
213
|
}
|
|
468
214
|
}
|
|
469
215
|
}, {package:"@metamask/post-message-stream>readable-stream",file:"../../node_modules/@metamask/post-message-stream/node_modules/readable-stream/lib/_stream_transform.js",}],
|
|
470
|
-
[
|
|
216
|
+
[16, {"./_stream_duplex":12,"./internal/streams/destroy":18,"./internal/streams/stream":19,"_process":244,"core-util-is":127,"inherits":210,"process-nextick-args":11,"safe-buffer":21,"timers":339,"util-deprecate":340}, function(){
|
|
471
217
|
with (this.scopeTerminator) {
|
|
472
218
|
with (this.globalThis) {
|
|
473
219
|
return function() {
|
|
@@ -483,7 +229,7 @@ LavaPack.loadBundle([
|
|
|
483
229
|
}
|
|
484
230
|
}
|
|
485
231
|
}, {package:"@metamask/post-message-stream>readable-stream",file:"../../node_modules/@metamask/post-message-stream/node_modules/readable-stream/lib/_stream_writable.js",}],
|
|
486
|
-
[
|
|
232
|
+
[17, {"safe-buffer":21}, function(){
|
|
487
233
|
with (this.scopeTerminator) {
|
|
488
234
|
with (this.globalThis) {
|
|
489
235
|
return function() {
|
|
@@ -497,7 +243,7 @@ LavaPack.loadBundle([
|
|
|
497
243
|
}
|
|
498
244
|
}
|
|
499
245
|
}, {package:"@metamask/post-message-stream>readable-stream",file:"../../node_modules/@metamask/post-message-stream/node_modules/readable-stream/lib/internal/streams/BufferList.js",}],
|
|
500
|
-
[
|
|
246
|
+
[18, {"process-nextick-args":11}, function(){
|
|
501
247
|
with (this.scopeTerminator) {
|
|
502
248
|
with (this.globalThis) {
|
|
503
249
|
return function() {
|
|
@@ -511,7 +257,7 @@ LavaPack.loadBundle([
|
|
|
511
257
|
}
|
|
512
258
|
}
|
|
513
259
|
}, {package:"@metamask/post-message-stream>readable-stream",file:"../../node_modules/@metamask/post-message-stream/node_modules/readable-stream/lib/internal/streams/destroy.js",}],
|
|
514
|
-
[
|
|
260
|
+
[19, {"events":175}, function(){
|
|
515
261
|
with (this.scopeTerminator) {
|
|
516
262
|
with (this.globalThis) {
|
|
517
263
|
return function() {
|
|
@@ -525,7 +271,7 @@ module.exports=require("events").EventEmitter;
|
|
|
525
271
|
}
|
|
526
272
|
}
|
|
527
273
|
}, {package:"@metamask/post-message-stream>readable-stream",file:"../../node_modules/@metamask/post-message-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js",}],
|
|
528
|
-
[
|
|
274
|
+
[20, {"./lib/_stream_duplex.js":12,"./lib/_stream_passthrough.js":13,"./lib/_stream_readable.js":14,"./lib/_stream_transform.js":15,"./lib/_stream_writable.js":16}, function(){
|
|
529
275
|
with (this.scopeTerminator) {
|
|
530
276
|
with (this.globalThis) {
|
|
531
277
|
return function() {
|
|
@@ -539,7 +285,7 @@ exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=expor
|
|
|
539
285
|
}
|
|
540
286
|
}
|
|
541
287
|
}, {package:"@metamask/post-message-stream>readable-stream",file:"../../node_modules/@metamask/post-message-stream/node_modules/readable-stream/readable-browser.js",}],
|
|
542
|
-
[
|
|
288
|
+
[21, {"buffer":123}, function(){
|
|
543
289
|
with (this.scopeTerminator) {
|
|
544
290
|
with (this.globalThis) {
|
|
545
291
|
return function() {
|
|
@@ -553,7 +299,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,r){for(va
|
|
|
553
299
|
}
|
|
554
300
|
}
|
|
555
301
|
}, {package:"@metamask/post-message-stream>readable-stream>safe-buffer",file:"../../node_modules/@metamask/post-message-stream/node_modules/safe-buffer/index.js",}],
|
|
556
|
-
[
|
|
302
|
+
[22, {"safe-buffer":21}, function(){
|
|
557
303
|
with (this.scopeTerminator) {
|
|
558
304
|
with (this.globalThis) {
|
|
559
305
|
return function() {
|
|
@@ -567,7 +313,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,r){for(va
|
|
|
567
313
|
}
|
|
568
314
|
}
|
|
569
315
|
}, {package:"@metamask/post-message-stream>readable-stream>string_decoder",file:"../../node_modules/@metamask/post-message-stream/node_modules/string_decoder/lib/string_decoder.js",}],
|
|
570
|
-
[
|
|
316
|
+
[23, {"./messages":30,"./utils":34,"@metamask/safe-event-emitter":35,"eth-rpc-errors":173,"fast-deep-equal":36,"json-rpc-engine":219}, function(){
|
|
571
317
|
with (this.scopeTerminator) {
|
|
572
318
|
with (this.globalThis) {
|
|
573
319
|
return function() {
|
|
@@ -581,7 +327,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,r){for(va
|
|
|
581
327
|
}
|
|
582
328
|
}
|
|
583
329
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/BaseProvider.js",}],
|
|
584
|
-
[
|
|
330
|
+
[24, {"./StreamProvider":25,"./messages":30,"./siteMetadata":33,"./utils":34,"eth-rpc-errors":173}, function(){
|
|
585
331
|
with (this.scopeTerminator) {
|
|
586
332
|
with (this.globalThis) {
|
|
587
333
|
return function() {
|
|
@@ -595,7 +341,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,r){for(va
|
|
|
595
341
|
}
|
|
596
342
|
}
|
|
597
343
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/MetaMaskInpageProvider.js",}],
|
|
598
|
-
[
|
|
344
|
+
[25, {"./BaseProvider":23,"./messages":30,"./utils":34,"@metamask/object-multiplex":3,"is-stream":212,"json-rpc-middleware-stream":224,"pump":251}, function(){
|
|
599
345
|
with (this.scopeTerminator) {
|
|
600
346
|
with (this.globalThis) {
|
|
601
347
|
return function() {
|
|
@@ -609,7 +355,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,r){for(va
|
|
|
609
355
|
}
|
|
610
356
|
}
|
|
611
357
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/StreamProvider.js",}],
|
|
612
|
-
[
|
|
358
|
+
[26, {"../MetaMaskInpageProvider":24,"../StreamProvider":25,"../utils":34,"./external-extension-config.json":27,"detect-browser":148,"extension-port-stream":177}, function(){
|
|
613
359
|
with (this.scopeTerminator) {
|
|
614
360
|
with (this.globalThis) {
|
|
615
361
|
return function() {
|
|
@@ -623,7 +369,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,r){for(va
|
|
|
623
369
|
}
|
|
624
370
|
}
|
|
625
371
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/extension-provider/createExternalExtensionProvider.js",}],
|
|
626
|
-
[
|
|
372
|
+
[27, {}, function(){
|
|
627
373
|
with (this.scopeTerminator) {
|
|
628
374
|
with (this.globalThis) {
|
|
629
375
|
return function() {
|
|
@@ -640,7 +386,7 @@ module.exports={
|
|
|
640
386
|
}
|
|
641
387
|
}
|
|
642
388
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/extension-provider/external-extension-config.json",}],
|
|
643
|
-
[
|
|
389
|
+
[28, {"./BaseProvider":23,"./MetaMaskInpageProvider":24,"./StreamProvider":25,"./extension-provider/createExternalExtensionProvider":26,"./initializeInpageProvider":29,"./shimWeb3":32}, function(){
|
|
644
390
|
with (this.scopeTerminator) {
|
|
645
391
|
with (this.globalThis) {
|
|
646
392
|
return function() {
|
|
@@ -654,7 +400,7 @@ module.exports={
|
|
|
654
400
|
}
|
|
655
401
|
}
|
|
656
402
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/index.js",}],
|
|
657
|
-
[
|
|
403
|
+
[29, {"./MetaMaskInpageProvider":24,"./shimWeb3":32}, function(){
|
|
658
404
|
with (this.scopeTerminator) {
|
|
659
405
|
with (this.globalThis) {
|
|
660
406
|
return function() {
|
|
@@ -668,7 +414,7 @@ module.exports={
|
|
|
668
414
|
}
|
|
669
415
|
}
|
|
670
416
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/initializeInpageProvider.js",}],
|
|
671
|
-
[
|
|
417
|
+
[30, {}, function(){
|
|
672
418
|
with (this.scopeTerminator) {
|
|
673
419
|
with (this.globalThis) {
|
|
674
420
|
return function() {
|
|
@@ -682,7 +428,7 @@ module.exports={
|
|
|
682
428
|
}
|
|
683
429
|
}
|
|
684
430
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/messages.js",}],
|
|
685
|
-
[
|
|
431
|
+
[31, {"../messages":30}, function(){
|
|
686
432
|
with (this.scopeTerminator) {
|
|
687
433
|
with (this.globalThis) {
|
|
688
434
|
return function() {
|
|
@@ -696,7 +442,7 @@ module.exports={
|
|
|
696
442
|
}
|
|
697
443
|
}
|
|
698
444
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/middleware/createRpcWarningMiddleware.js",}],
|
|
699
|
-
[
|
|
445
|
+
[32, {}, function(){
|
|
700
446
|
with (this.scopeTerminator) {
|
|
701
447
|
with (this.globalThis) {
|
|
702
448
|
return function() {
|
|
@@ -710,7 +456,7 @@ module.exports={
|
|
|
710
456
|
}
|
|
711
457
|
}
|
|
712
458
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/shimWeb3.js",}],
|
|
713
|
-
[
|
|
459
|
+
[33, {"./messages":30,"./utils":34}, function(){
|
|
714
460
|
with (this.scopeTerminator) {
|
|
715
461
|
with (this.globalThis) {
|
|
716
462
|
return function() {
|
|
@@ -724,7 +470,7 @@ module.exports={
|
|
|
724
470
|
}
|
|
725
471
|
}
|
|
726
472
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/siteMetadata.js",}],
|
|
727
|
-
[
|
|
473
|
+
[34, {"./middleware/createRpcWarningMiddleware":31,"eth-rpc-errors":173,"json-rpc-engine":219}, function(){
|
|
728
474
|
with (this.scopeTerminator) {
|
|
729
475
|
with (this.globalThis) {
|
|
730
476
|
return function() {
|
|
@@ -738,35 +484,35 @@ module.exports={
|
|
|
738
484
|
}
|
|
739
485
|
}
|
|
740
486
|
}, {package:"@metamask/providers",file:"../../node_modules/@metamask/providers/dist/utils.js",}],
|
|
741
|
-
[
|
|
487
|
+
[35, {"events":175}, function(){
|
|
742
488
|
with (this.scopeTerminator) {
|
|
743
489
|
with (this.globalThis) {
|
|
744
490
|
return function() {
|
|
745
491
|
'use strict';
|
|
746
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/providers/node_modules/
|
|
492
|
+
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/providers/node_modules/@metamask/safe-event-emitter/index.js
|
|
747
493
|
return function (require, module, exports) {
|
|
748
|
-
"use strict";
|
|
494
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const events_1=require("events");function safeApply(e,t,r){try{Reflect.apply(e,t,r)}catch(e){setTimeout((()=>{throw e}))}}function arrayClone(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n+=1)r[n]=e[n];return r}class SafeEventEmitter extends events_1.EventEmitter{emit(e,...t){let r="error"===e;const n=this._events;if(void 0!==n)r=r&&void 0===n.error;else if(!r)return!1;if(r){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;const r=new Error("Unhandled error."+(e?` (${e.message})`:""));throw r.context=e,r}const o=n[e];if(void 0===o)return!1;if("function"==typeof o)safeApply(o,this,t);else{const e=o.length,r=arrayClone(o);for(let n=0;n<e;n+=1)safeApply(r[n],this,t)}return!0}}exports.default=SafeEventEmitter;
|
|
749
495
|
|
|
750
496
|
};
|
|
751
497
|
};
|
|
752
498
|
}
|
|
753
499
|
}
|
|
754
|
-
}, {package:"@metamask/providers
|
|
755
|
-
[
|
|
500
|
+
}, {package:"@metamask/providers>@metamask/safe-event-emitter",file:"../../node_modules/@metamask/providers/node_modules/@metamask/safe-event-emitter/index.js",}],
|
|
501
|
+
[36, {}, function(){
|
|
756
502
|
with (this.scopeTerminator) {
|
|
757
503
|
with (this.globalThis) {
|
|
758
504
|
return function() {
|
|
759
505
|
'use strict';
|
|
760
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/
|
|
506
|
+
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@metamask/providers/node_modules/fast-deep-equal/index.js
|
|
761
507
|
return function (require, module, exports) {
|
|
762
|
-
"use strict";Object.
|
|
508
|
+
"use strict";var isArray=Array.isArray,keyList=Object.keys,hasProp=Object.prototype.hasOwnProperty;module.exports=function r(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var n,i,f,o=isArray(t),a=isArray(e);if(o&&a){if((i=t.length)!=e.length)return!1;for(n=i;0!=n--;)if(!r(t[n],e[n]))return!1;return!0}if(o!=a)return!1;var s=t instanceof Date,u=e instanceof Date;if(s!=u)return!1;if(s&&u)return t.getTime()==e.getTime();var y=t instanceof RegExp,c=e instanceof RegExp;if(y!=c)return!1;if(y&&c)return t.toString()==e.toString();var g=keyList(t);if((i=g.length)!==keyList(e).length)return!1;for(n=i;0!=n--;)if(!hasProp.call(e,g[n]))return!1;for(n=i;0!=n--;)if(!r(t[f=g[n]],e[f]))return!1;return!0}return t!=t&&e!=e};
|
|
763
509
|
|
|
764
510
|
};
|
|
765
511
|
};
|
|
766
512
|
}
|
|
767
513
|
}
|
|
768
|
-
}, {package:"
|
|
769
|
-
[
|
|
514
|
+
}, {package:"@metamask/providers>fast-deep-equal",file:"../../node_modules/@metamask/providers/node_modules/fast-deep-equal/index.js",}],
|
|
515
|
+
[37, {"superstruct":338}, function(){
|
|
770
516
|
with (this.scopeTerminator) {
|
|
771
517
|
with (this.globalThis) {
|
|
772
518
|
return function() {
|
|
@@ -780,7 +526,7 @@ module.exports={
|
|
|
780
526
|
}
|
|
781
527
|
}
|
|
782
528
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/assert.js",}],
|
|
783
|
-
[
|
|
529
|
+
[38, {"./assert":37,"superstruct":338}, function(){
|
|
784
530
|
with (this.scopeTerminator) {
|
|
785
531
|
with (this.globalThis) {
|
|
786
532
|
return function() {
|
|
@@ -794,7 +540,7 @@ module.exports={
|
|
|
794
540
|
}
|
|
795
541
|
}
|
|
796
542
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/base64.js",}],
|
|
797
|
-
[
|
|
543
|
+
[39, {"./assert":37,"./hex":44,"buffer":123}, function(){
|
|
798
544
|
with (this.scopeTerminator) {
|
|
799
545
|
with (this.globalThis) {
|
|
800
546
|
return function() {
|
|
@@ -810,7 +556,7 @@ module.exports={
|
|
|
810
556
|
}
|
|
811
557
|
}
|
|
812
558
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/bytes.js",}],
|
|
813
|
-
[
|
|
559
|
+
[40, {"./base64":38,"superstruct":338}, function(){
|
|
814
560
|
with (this.scopeTerminator) {
|
|
815
561
|
with (this.globalThis) {
|
|
816
562
|
return function() {
|
|
@@ -824,7 +570,7 @@ module.exports={
|
|
|
824
570
|
}
|
|
825
571
|
}
|
|
826
572
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/checksum.js",}],
|
|
827
|
-
[
|
|
573
|
+
[41, {"./assert":37,"./bytes":39,"./hex":44,"superstruct":338}, function(){
|
|
828
574
|
with (this.scopeTerminator) {
|
|
829
575
|
with (this.globalThis) {
|
|
830
576
|
return function() {
|
|
@@ -838,7 +584,7 @@ module.exports={
|
|
|
838
584
|
}
|
|
839
585
|
}
|
|
840
586
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/coercers.js",}],
|
|
841
|
-
[
|
|
587
|
+
[42, {}, function(){
|
|
842
588
|
with (this.scopeTerminator) {
|
|
843
589
|
with (this.globalThis) {
|
|
844
590
|
return function() {
|
|
@@ -852,7 +598,7 @@ module.exports={
|
|
|
852
598
|
}
|
|
853
599
|
}
|
|
854
600
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/collections.js",}],
|
|
855
|
-
[
|
|
601
|
+
[43, {}, function(){
|
|
856
602
|
with (this.scopeTerminator) {
|
|
857
603
|
with (this.globalThis) {
|
|
858
604
|
return function() {
|
|
@@ -866,7 +612,7 @@ module.exports={
|
|
|
866
612
|
}
|
|
867
613
|
}
|
|
868
614
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/encryption-types.js",}],
|
|
869
|
-
[
|
|
615
|
+
[44, {"./assert":37,"superstruct":338}, function(){
|
|
870
616
|
with (this.scopeTerminator) {
|
|
871
617
|
with (this.globalThis) {
|
|
872
618
|
return function() {
|
|
@@ -880,7 +626,7 @@ module.exports={
|
|
|
880
626
|
}
|
|
881
627
|
}
|
|
882
628
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/hex.js",}],
|
|
883
|
-
[
|
|
629
|
+
[45, {"./assert":37,"./base64":38,"./bytes":39,"./checksum":40,"./coercers":41,"./collections":42,"./encryption-types":43,"./hex":44,"./json":46,"./keyring":47,"./logging":48,"./misc":49,"./number":50,"./opaque":51,"./time":52,"./transaction-types":53,"./versions":54}, function(){
|
|
884
630
|
with (this.scopeTerminator) {
|
|
885
631
|
with (this.globalThis) {
|
|
886
632
|
return function() {
|
|
@@ -894,7 +640,7 @@ module.exports={
|
|
|
894
640
|
}
|
|
895
641
|
}
|
|
896
642
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/index.js",}],
|
|
897
|
-
[
|
|
643
|
+
[46, {"./assert":37,"superstruct":338}, function(){
|
|
898
644
|
with (this.scopeTerminator) {
|
|
899
645
|
with (this.globalThis) {
|
|
900
646
|
return function() {
|
|
@@ -908,7 +654,7 @@ module.exports={
|
|
|
908
654
|
}
|
|
909
655
|
}
|
|
910
656
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/json.js",}],
|
|
911
|
-
[
|
|
657
|
+
[47, {}, function(){
|
|
912
658
|
with (this.scopeTerminator) {
|
|
913
659
|
with (this.globalThis) {
|
|
914
660
|
return function() {
|
|
@@ -922,7 +668,7 @@ module.exports={
|
|
|
922
668
|
}
|
|
923
669
|
}
|
|
924
670
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/keyring.js",}],
|
|
925
|
-
[
|
|
671
|
+
[48, {"debug":140}, function(){
|
|
926
672
|
with (this.scopeTerminator) {
|
|
927
673
|
with (this.globalThis) {
|
|
928
674
|
return function() {
|
|
@@ -936,7 +682,7 @@ module.exports={
|
|
|
936
682
|
}
|
|
937
683
|
}
|
|
938
684
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/logging.js",}],
|
|
939
|
-
[
|
|
685
|
+
[49, {}, function(){
|
|
940
686
|
with (this.scopeTerminator) {
|
|
941
687
|
with (this.globalThis) {
|
|
942
688
|
return function() {
|
|
@@ -950,7 +696,7 @@ module.exports={
|
|
|
950
696
|
}
|
|
951
697
|
}
|
|
952
698
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/misc.js",}],
|
|
953
|
-
[
|
|
699
|
+
[50, {"./assert":37,"./hex":44}, function(){
|
|
954
700
|
with (this.scopeTerminator) {
|
|
955
701
|
with (this.globalThis) {
|
|
956
702
|
return function() {
|
|
@@ -964,7 +710,7 @@ module.exports={
|
|
|
964
710
|
}
|
|
965
711
|
}
|
|
966
712
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/number.js",}],
|
|
967
|
-
[
|
|
713
|
+
[51, {}, function(){
|
|
968
714
|
with (this.scopeTerminator) {
|
|
969
715
|
with (this.globalThis) {
|
|
970
716
|
return function() {
|
|
@@ -978,7 +724,7 @@ module.exports={
|
|
|
978
724
|
}
|
|
979
725
|
}
|
|
980
726
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/opaque.js",}],
|
|
981
|
-
[
|
|
727
|
+
[52, {}, function(){
|
|
982
728
|
with (this.scopeTerminator) {
|
|
983
729
|
with (this.globalThis) {
|
|
984
730
|
return function() {
|
|
@@ -992,7 +738,7 @@ module.exports={
|
|
|
992
738
|
}
|
|
993
739
|
}
|
|
994
740
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/time.js",}],
|
|
995
|
-
[
|
|
741
|
+
[53, {}, function(){
|
|
996
742
|
with (this.scopeTerminator) {
|
|
997
743
|
with (this.globalThis) {
|
|
998
744
|
return function() {
|
|
@@ -1006,7 +752,7 @@ module.exports={
|
|
|
1006
752
|
}
|
|
1007
753
|
}
|
|
1008
754
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/transaction-types.js",}],
|
|
1009
|
-
[
|
|
755
|
+
[54, {"./assert":37,"semver":296,"superstruct":338}, function(){
|
|
1010
756
|
with (this.scopeTerminator) {
|
|
1011
757
|
with (this.globalThis) {
|
|
1012
758
|
return function() {
|
|
@@ -1020,7 +766,7 @@ module.exports={
|
|
|
1020
766
|
}
|
|
1021
767
|
}
|
|
1022
768
|
}, {package:"@metamask/utils",file:"../../node_modules/@metamask/utils/dist/versions.js",}],
|
|
1023
|
-
[
|
|
769
|
+
[55, {}, function(){
|
|
1024
770
|
with (this.scopeTerminator) {
|
|
1025
771
|
with (this.globalThis) {
|
|
1026
772
|
return function() {
|
|
@@ -1034,7 +780,7 @@ module.exports={
|
|
|
1034
780
|
}
|
|
1035
781
|
}
|
|
1036
782
|
}, {package:"@metamask/rpc-methods>@noble/hashes",file:"../../node_modules/@noble/hashes/_assert.js",}],
|
|
1037
|
-
[
|
|
783
|
+
[56, {"./_assert.js":55,"./utils.js":59}, function(){
|
|
1038
784
|
with (this.scopeTerminator) {
|
|
1039
785
|
with (this.globalThis) {
|
|
1040
786
|
return function() {
|
|
@@ -1048,21 +794,21 @@ module.exports={
|
|
|
1048
794
|
}
|
|
1049
795
|
}
|
|
1050
796
|
}, {package:"@metamask/rpc-methods>@noble/hashes",file:"../../node_modules/@noble/hashes/_sha2.js",}],
|
|
1051
|
-
[
|
|
797
|
+
[57, {}, function(){
|
|
1052
798
|
with (this.scopeTerminator) {
|
|
1053
799
|
with (this.globalThis) {
|
|
1054
800
|
return function() {
|
|
1055
801
|
'use strict';
|
|
1056
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@noble/hashes/
|
|
802
|
+
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@noble/hashes/crypto.js
|
|
1057
803
|
return function (require, module, exports) {
|
|
1058
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.crypto=void 0,exports.crypto=
|
|
804
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.crypto=void 0,exports.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;
|
|
1059
805
|
|
|
1060
806
|
};
|
|
1061
807
|
};
|
|
1062
808
|
}
|
|
1063
809
|
}
|
|
1064
|
-
}, {package:"@metamask/rpc-methods>@noble/hashes",file:"../../node_modules/@noble/hashes/
|
|
1065
|
-
[
|
|
810
|
+
}, {package:"@metamask/rpc-methods>@noble/hashes",file:"../../node_modules/@noble/hashes/crypto.js",}],
|
|
811
|
+
[58, {"./_sha2.js":56,"./utils.js":59}, function(){
|
|
1066
812
|
with (this.scopeTerminator) {
|
|
1067
813
|
with (this.globalThis) {
|
|
1068
814
|
return function() {
|
|
@@ -1076,7 +822,7 @@ module.exports={
|
|
|
1076
822
|
}
|
|
1077
823
|
}
|
|
1078
824
|
}, {package:"@metamask/rpc-methods>@noble/hashes",file:"../../node_modules/@noble/hashes/sha256.js",}],
|
|
1079
|
-
[
|
|
825
|
+
[59, {"@noble/hashes/crypto":57}, function(){
|
|
1080
826
|
with (this.scopeTerminator) {
|
|
1081
827
|
with (this.globalThis) {
|
|
1082
828
|
return function() {
|
|
@@ -1084,14 +830,14 @@ module.exports={
|
|
|
1084
830
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/@noble/hashes/utils.js
|
|
1085
831
|
return function (require, module, exports) {
|
|
1086
832
|
"use strict";
|
|
1087
|
-
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(exports,"__esModule",{value:!0}),/* common-shake removed: exports.randomBytes = */ /* common-shake removed: exports.wrapConstructorWithOpts = */ exports.wrapConstructor=/* common-shake removed: exports.checkOpts = */ exports.Hash=/* common-shake removed: exports.concatBytes = */ exports.toBytes=/* common-shake removed: exports.utf8ToBytes = */ /* common-shake removed: exports.asyncLoop = */ exports.nextTick=/* common-shake removed: exports.hexToBytes = */ /* common-shake removed: exports.bytesToHex = */ exports.isLE=exports.rotr=exports.createView=/* common-shake removed: exports.u32 = */ /* common-shake removed: exports.u8 = */ void 0;const crypto_1=require("@noble/hashes/crypto"),u8=t=>new Uint8Array(t.buffer,t.byteOffset,t.byteLength);/* common-shake removed: exports.u8 = */ void u8;const u32=t=>new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4));/* common-shake removed: exports.u32 = */ void u32;const createView=t=>new DataView(t.buffer,t.byteOffset,t.byteLength);exports.createView=createView;const rotr=(t,e)=>t<<32-e|t>>>e;if(exports.rotr=rotr,exports.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!exports.isLE)throw new Error("Non little-endian hardware is not supported");const hexes=Array.from({length:256},((t,e)=>e.toString(16).padStart(2,"0")));function bytesToHex(t){if(!(t instanceof Uint8Array))throw new Error("Uint8Array expected");let e="";for(let r=0;r<t.length;r++)e+=hexes[t[r]];return e}function hexToBytes(t){if("string"!=typeof t)throw new TypeError("hexToBytes: expected string, got "+typeof t);if(t.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const e=new Uint8Array(t.length/2);for(let r=0;r<e.length;r++){const o=2*r,n=t.slice(o,o+2),s=Number.parseInt(n,16);if(Number.isNaN(s)||s<0)throw new Error("Invalid byte sequence");e[r]=s}return e}/* common-shake removed: exports.bytesToHex = */ void bytesToHex,/* common-shake removed: exports.hexToBytes = */ void hexToBytes;const nextTick=async()=>{};async function asyncLoop(t,e,r){let o=Date.now();for(let n=0;n<t;n++){r(n);const t=Date.now()-o;t>=0&&t<e||(await(0,exports.nextTick)(),o+=t)}}function utf8ToBytes(t){if("string"!=typeof t)throw new TypeError("utf8ToBytes expected string, got "+typeof t);return(new TextEncoder).encode(t)}function toBytes(t){if("string"==typeof t&&(t=utf8ToBytes(t)),!(t instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof t})`);return t}function concatBytes(...t){if(!t.every((t=>t instanceof Uint8Array)))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const e=t.reduce(((t,e)=>t+e.length),0),r=new Uint8Array(e);for(let e=0,o=0;e<t.length;e++){const n=t[e];r.set(n,o),o+=n.length}return r}exports.nextTick=nextTick,/* common-shake removed: exports.asyncLoop = */ void asyncLoop,/* common-shake removed: exports.utf8ToBytes = */ void utf8ToBytes,exports.toBytes=toBytes,/* common-shake removed: exports.concatBytes = */ void concatBytes;class Hash{clone(){return this._cloneInto()}}exports.Hash=Hash;const isPlainObject=t=>"[object Object]"===Object.prototype.toString.call(t)&&t.constructor===Object;function checkOpts(t,e){if(void 0!==e&&("object"!=typeof e||!isPlainObject(e)))throw new TypeError("Options should be object or undefined");return Object.assign(t,e)}function wrapConstructor(t){const e=e=>t().update(toBytes(e)).digest(),r=t();return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=()=>t(),e}function wrapConstructorWithOpts(t){const e=(e,r)=>t(r).update(toBytes(e)).digest(),r=t({});return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=e=>t(e),e}function randomBytes(t=32){if(crypto_1.crypto
|
|
833
|
+
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(exports,"__esModule",{value:!0}),/* common-shake removed: exports.randomBytes = */ /* common-shake removed: exports.wrapConstructorWithOpts = */ exports.wrapConstructor=/* common-shake removed: exports.checkOpts = */ exports.Hash=/* common-shake removed: exports.concatBytes = */ exports.toBytes=/* common-shake removed: exports.utf8ToBytes = */ /* common-shake removed: exports.asyncLoop = */ exports.nextTick=/* common-shake removed: exports.hexToBytes = */ /* common-shake removed: exports.bytesToHex = */ exports.isLE=exports.rotr=exports.createView=/* common-shake removed: exports.u32 = */ /* common-shake removed: exports.u8 = */ void 0;const crypto_1=require("@noble/hashes/crypto"),u8=t=>new Uint8Array(t.buffer,t.byteOffset,t.byteLength);/* common-shake removed: exports.u8 = */ void u8;const u32=t=>new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4));/* common-shake removed: exports.u32 = */ void u32;const createView=t=>new DataView(t.buffer,t.byteOffset,t.byteLength);exports.createView=createView;const rotr=(t,e)=>t<<32-e|t>>>e;if(exports.rotr=rotr,exports.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!exports.isLE)throw new Error("Non little-endian hardware is not supported");const hexes=Array.from({length:256},((t,e)=>e.toString(16).padStart(2,"0")));function bytesToHex(t){if(!(t instanceof Uint8Array))throw new Error("Uint8Array expected");let e="";for(let r=0;r<t.length;r++)e+=hexes[t[r]];return e}function hexToBytes(t){if("string"!=typeof t)throw new TypeError("hexToBytes: expected string, got "+typeof t);if(t.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const e=new Uint8Array(t.length/2);for(let r=0;r<e.length;r++){const o=2*r,n=t.slice(o,o+2),s=Number.parseInt(n,16);if(Number.isNaN(s)||s<0)throw new Error("Invalid byte sequence");e[r]=s}return e}/* common-shake removed: exports.bytesToHex = */ void bytesToHex,/* common-shake removed: exports.hexToBytes = */ void hexToBytes;const nextTick=async()=>{};async function asyncLoop(t,e,r){let o=Date.now();for(let n=0;n<t;n++){r(n);const t=Date.now()-o;t>=0&&t<e||(await(0,exports.nextTick)(),o+=t)}}function utf8ToBytes(t){if("string"!=typeof t)throw new TypeError("utf8ToBytes expected string, got "+typeof t);return(new TextEncoder).encode(t)}function toBytes(t){if("string"==typeof t&&(t=utf8ToBytes(t)),!(t instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof t})`);return t}function concatBytes(...t){if(!t.every((t=>t instanceof Uint8Array)))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const e=t.reduce(((t,e)=>t+e.length),0),r=new Uint8Array(e);for(let e=0,o=0;e<t.length;e++){const n=t[e];r.set(n,o),o+=n.length}return r}exports.nextTick=nextTick,/* common-shake removed: exports.asyncLoop = */ void asyncLoop,/* common-shake removed: exports.utf8ToBytes = */ void utf8ToBytes,exports.toBytes=toBytes,/* common-shake removed: exports.concatBytes = */ void concatBytes;class Hash{clone(){return this._cloneInto()}}exports.Hash=Hash;const isPlainObject=t=>"[object Object]"===Object.prototype.toString.call(t)&&t.constructor===Object;function checkOpts(t,e){if(void 0!==e&&("object"!=typeof e||!isPlainObject(e)))throw new TypeError("Options should be object or undefined");return Object.assign(t,e)}function wrapConstructor(t){const e=e=>t().update(toBytes(e)).digest(),r=t();return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=()=>t(),e}function wrapConstructorWithOpts(t){const e=(e,r)=>t(r).update(toBytes(e)).digest(),r=t({});return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=e=>t(e),e}function randomBytes(t=32){if(crypto_1.crypto&&"function"==typeof crypto_1.crypto.getRandomValues)return crypto_1.crypto.getRandomValues(new Uint8Array(t));throw new Error("crypto.getRandomValues must be defined")}/* common-shake removed: exports.checkOpts = */ void checkOpts,exports.wrapConstructor=wrapConstructor,/* common-shake removed: exports.wrapConstructorWithOpts = */ void wrapConstructorWithOpts,/* common-shake removed: exports.randomBytes = */ void randomBytes;
|
|
1088
834
|
|
|
1089
835
|
};
|
|
1090
836
|
};
|
|
1091
837
|
}
|
|
1092
838
|
}
|
|
1093
839
|
}, {package:"@metamask/rpc-methods>@noble/hashes",file:"../../node_modules/@noble/hashes/utils.js",}],
|
|
1094
|
-
[
|
|
840
|
+
[60, {}, function(){
|
|
1095
841
|
with (this.scopeTerminator) {
|
|
1096
842
|
with (this.globalThis) {
|
|
1097
843
|
return function() {
|
|
@@ -1106,7 +852,7 @@ module.exports={
|
|
|
1106
852
|
}
|
|
1107
853
|
}
|
|
1108
854
|
}, {package:"@metamask/snaps-utils>@scure/base",file:"../../node_modules/@scure/base/lib/index.js",}],
|
|
1109
|
-
[
|
|
855
|
+
[61, {"./asn1/api":62,"./asn1/base":64,"./asn1/constants":68,"./asn1/decoders":70,"./asn1/encoders":73,"bn.js":76}, function(){
|
|
1110
856
|
with (this.scopeTerminator) {
|
|
1111
857
|
with (this.globalThis) {
|
|
1112
858
|
return function() {
|
|
@@ -1120,7 +866,7 @@ module.exports={
|
|
|
1120
866
|
}
|
|
1121
867
|
}
|
|
1122
868
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1.js",}],
|
|
1123
|
-
[
|
|
869
|
+
[62, {"./decoders":70,"./encoders":73,"inherits":210}, function(){
|
|
1124
870
|
with (this.scopeTerminator) {
|
|
1125
871
|
with (this.globalThis) {
|
|
1126
872
|
return function() {
|
|
@@ -1134,7 +880,7 @@ module.exports={
|
|
|
1134
880
|
}
|
|
1135
881
|
}
|
|
1136
882
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/api.js",}],
|
|
1137
|
-
[
|
|
883
|
+
[63, {"../base/reporter":66,"inherits":210,"safer-buffer":268}, function(){
|
|
1138
884
|
with (this.scopeTerminator) {
|
|
1139
885
|
with (this.globalThis) {
|
|
1140
886
|
return function() {
|
|
@@ -1148,7 +894,7 @@ module.exports={
|
|
|
1148
894
|
}
|
|
1149
895
|
}
|
|
1150
896
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/base/buffer.js",}],
|
|
1151
|
-
[
|
|
897
|
+
[64, {"./buffer":63,"./node":65,"./reporter":66}, function(){
|
|
1152
898
|
with (this.scopeTerminator) {
|
|
1153
899
|
with (this.globalThis) {
|
|
1154
900
|
return function() {
|
|
@@ -1162,7 +908,7 @@ module.exports={
|
|
|
1162
908
|
}
|
|
1163
909
|
}
|
|
1164
910
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/base/index.js",}],
|
|
1165
|
-
[
|
|
911
|
+
[65, {"../base/buffer":63,"../base/reporter":66,"minimalistic-assert":229}, function(){
|
|
1166
912
|
with (this.scopeTerminator) {
|
|
1167
913
|
with (this.globalThis) {
|
|
1168
914
|
return function() {
|
|
@@ -1176,7 +922,7 @@ module.exports={
|
|
|
1176
922
|
}
|
|
1177
923
|
}
|
|
1178
924
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/base/node.js",}],
|
|
1179
|
-
[
|
|
925
|
+
[66, {"inherits":210}, function(){
|
|
1180
926
|
with (this.scopeTerminator) {
|
|
1181
927
|
with (this.globalThis) {
|
|
1182
928
|
return function() {
|
|
@@ -1190,7 +936,7 @@ module.exports={
|
|
|
1190
936
|
}
|
|
1191
937
|
}
|
|
1192
938
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/base/reporter.js",}],
|
|
1193
|
-
[
|
|
939
|
+
[67, {}, function(){
|
|
1194
940
|
with (this.scopeTerminator) {
|
|
1195
941
|
with (this.globalThis) {
|
|
1196
942
|
return function() {
|
|
@@ -1204,7 +950,7 @@ module.exports={
|
|
|
1204
950
|
}
|
|
1205
951
|
}
|
|
1206
952
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/constants/der.js",}],
|
|
1207
|
-
[
|
|
953
|
+
[68, {"./der":67}, function(){
|
|
1208
954
|
with (this.scopeTerminator) {
|
|
1209
955
|
with (this.globalThis) {
|
|
1210
956
|
return function() {
|
|
@@ -1218,7 +964,7 @@ module.exports={
|
|
|
1218
964
|
}
|
|
1219
965
|
}
|
|
1220
966
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/constants/index.js",}],
|
|
1221
|
-
[
|
|
967
|
+
[69, {"../base/buffer":63,"../base/node":65,"../constants/der":67,"bn.js":76,"inherits":210}, function(){
|
|
1222
968
|
with (this.scopeTerminator) {
|
|
1223
969
|
with (this.globalThis) {
|
|
1224
970
|
return function() {
|
|
@@ -1232,7 +978,7 @@ module.exports={
|
|
|
1232
978
|
}
|
|
1233
979
|
}
|
|
1234
980
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/decoders/der.js",}],
|
|
1235
|
-
[
|
|
981
|
+
[70, {"./der":69,"./pem":71}, function(){
|
|
1236
982
|
with (this.scopeTerminator) {
|
|
1237
983
|
with (this.globalThis) {
|
|
1238
984
|
return function() {
|
|
@@ -1246,7 +992,7 @@ module.exports={
|
|
|
1246
992
|
}
|
|
1247
993
|
}
|
|
1248
994
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/decoders/index.js",}],
|
|
1249
|
-
[
|
|
995
|
+
[71, {"./der":69,"inherits":210,"safer-buffer":268}, function(){
|
|
1250
996
|
with (this.scopeTerminator) {
|
|
1251
997
|
with (this.globalThis) {
|
|
1252
998
|
return function() {
|
|
@@ -1260,7 +1006,7 @@ module.exports={
|
|
|
1260
1006
|
}
|
|
1261
1007
|
}
|
|
1262
1008
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/decoders/pem.js",}],
|
|
1263
|
-
[
|
|
1009
|
+
[72, {"../base/node":65,"../constants/der":67,"inherits":210,"safer-buffer":268}, function(){
|
|
1264
1010
|
with (this.scopeTerminator) {
|
|
1265
1011
|
with (this.globalThis) {
|
|
1266
1012
|
return function() {
|
|
@@ -1274,7 +1020,7 @@ module.exports={
|
|
|
1274
1020
|
}
|
|
1275
1021
|
}
|
|
1276
1022
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/encoders/der.js",}],
|
|
1277
|
-
[
|
|
1023
|
+
[73, {"./der":72,"./pem":74}, function(){
|
|
1278
1024
|
with (this.scopeTerminator) {
|
|
1279
1025
|
with (this.globalThis) {
|
|
1280
1026
|
return function() {
|
|
@@ -1288,7 +1034,7 @@ module.exports={
|
|
|
1288
1034
|
}
|
|
1289
1035
|
}
|
|
1290
1036
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/encoders/index.js",}],
|
|
1291
|
-
[
|
|
1037
|
+
[74, {"./der":72,"inherits":210}, function(){
|
|
1292
1038
|
with (this.scopeTerminator) {
|
|
1293
1039
|
with (this.globalThis) {
|
|
1294
1040
|
return function() {
|
|
@@ -1302,7 +1048,7 @@ module.exports={
|
|
|
1302
1048
|
}
|
|
1303
1049
|
}
|
|
1304
1050
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js",file:"../../node_modules/asn1.js/lib/asn1/encoders/pem.js",}],
|
|
1305
|
-
[
|
|
1051
|
+
[75, {}, function(){
|
|
1306
1052
|
with (this.scopeTerminator) {
|
|
1307
1053
|
with (this.globalThis) {
|
|
1308
1054
|
return function() {
|
|
@@ -1316,7 +1062,7 @@ module.exports={
|
|
|
1316
1062
|
}
|
|
1317
1063
|
}
|
|
1318
1064
|
}, {package:"buffer>base64-js",file:"../../node_modules/base64-js/index.js",}],
|
|
1319
|
-
[
|
|
1065
|
+
[76, {"buffer":78}, function(){
|
|
1320
1066
|
with (this.scopeTerminator) {
|
|
1321
1067
|
with (this.globalThis) {
|
|
1322
1068
|
return function() {
|
|
@@ -1330,7 +1076,7 @@ module.exports={
|
|
|
1330
1076
|
}
|
|
1331
1077
|
}
|
|
1332
1078
|
}, {package:"browserify>crypto-browserify>create-ecdh>bn.js",file:"../../node_modules/bn.js/lib/bn.js",}],
|
|
1333
|
-
[
|
|
1079
|
+
[77, {"crypto":78}, function(){
|
|
1334
1080
|
with (this.scopeTerminator) {
|
|
1335
1081
|
with (this.globalThis) {
|
|
1336
1082
|
return function() {
|
|
@@ -1344,7 +1090,7 @@ var r;function Rand(t){this.rand=t}if(module.exports=function(t){return r||(r=ne
|
|
|
1344
1090
|
}
|
|
1345
1091
|
}
|
|
1346
1092
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>brorand",file:"../../node_modules/brorand/index.js",}],
|
|
1347
|
-
[
|
|
1093
|
+
[78, {}, function(){
|
|
1348
1094
|
with (this.scopeTerminator) {
|
|
1349
1095
|
with (this.globalThis) {
|
|
1350
1096
|
return function() {
|
|
@@ -1357,7 +1103,7 @@ var r;function Rand(t){this.rand=t}if(module.exports=function(t){return r||(r=ne
|
|
|
1357
1103
|
}
|
|
1358
1104
|
}
|
|
1359
1105
|
}, {package:"browserify>browser-resolve",file:"../../node_modules/browser-resolve/empty.js",}],
|
|
1360
|
-
[
|
|
1106
|
+
[79, {"safe-buffer":267}, function(){
|
|
1361
1107
|
with (this.scopeTerminator) {
|
|
1362
1108
|
with (this.globalThis) {
|
|
1363
1109
|
return function() {
|
|
@@ -1371,7 +1117,7 @@ var Buffer=require("safe-buffer").Buffer;function asUInt32Array(r){Buffer.isBuff
|
|
|
1371
1117
|
}
|
|
1372
1118
|
}
|
|
1373
1119
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/aes.js",}],
|
|
1374
|
-
[
|
|
1120
|
+
[80, {"./aes":79,"./ghash":84,"./incr32":85,"buffer-xor":124,"cipher-base":126,"inherits":210,"safe-buffer":267}, function(){
|
|
1375
1121
|
with (this.scopeTerminator) {
|
|
1376
1122
|
with (this.globalThis) {
|
|
1377
1123
|
return function() {
|
|
@@ -1385,7 +1131,7 @@ var aes=require("./aes"),Buffer=require("safe-buffer").Buffer,Transform=require(
|
|
|
1385
1131
|
}
|
|
1386
1132
|
}
|
|
1387
1133
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/authCipher.js",}],
|
|
1388
|
-
[
|
|
1134
|
+
[81, {"./decrypter":82,"./encrypter":83,"./modes/list.json":93}, function(){
|
|
1389
1135
|
with (this.scopeTerminator) {
|
|
1390
1136
|
with (this.globalThis) {
|
|
1391
1137
|
return function() {
|
|
@@ -1399,7 +1145,7 @@ var ciphers=require("./encrypter"),deciphers=require("./decrypter"),modes=requir
|
|
|
1399
1145
|
}
|
|
1400
1146
|
}
|
|
1401
1147
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/browser.js",}],
|
|
1402
|
-
[
|
|
1148
|
+
[82, {"./aes":79,"./authCipher":80,"./modes":92,"./streamCipher":95,"cipher-base":126,"evp_bytestokey":176,"inherits":210,"safe-buffer":267}, function(){
|
|
1403
1149
|
with (this.scopeTerminator) {
|
|
1404
1150
|
with (this.globalThis) {
|
|
1405
1151
|
return function() {
|
|
@@ -1413,7 +1159,7 @@ var AuthCipher=require("./authCipher"),Buffer=require("safe-buffer").Buffer,MODE
|
|
|
1413
1159
|
}
|
|
1414
1160
|
}
|
|
1415
1161
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/decrypter.js",}],
|
|
1416
|
-
[
|
|
1162
|
+
[83, {"./aes":79,"./authCipher":80,"./modes":92,"./streamCipher":95,"cipher-base":126,"evp_bytestokey":176,"inherits":210,"safe-buffer":267}, function(){
|
|
1417
1163
|
with (this.scopeTerminator) {
|
|
1418
1164
|
with (this.globalThis) {
|
|
1419
1165
|
return function() {
|
|
@@ -1427,7 +1173,7 @@ var MODES=require("./modes"),AuthCipher=require("./authCipher"),Buffer=require("
|
|
|
1427
1173
|
}
|
|
1428
1174
|
}
|
|
1429
1175
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/encrypter.js",}],
|
|
1430
|
-
[
|
|
1176
|
+
[84, {"safe-buffer":267}, function(){
|
|
1431
1177
|
with (this.scopeTerminator) {
|
|
1432
1178
|
with (this.globalThis) {
|
|
1433
1179
|
return function() {
|
|
@@ -1441,7 +1187,7 @@ var Buffer=require("safe-buffer").Buffer,ZEROES=Buffer.alloc(16,0);function toAr
|
|
|
1441
1187
|
}
|
|
1442
1188
|
}
|
|
1443
1189
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/ghash.js",}],
|
|
1444
|
-
[
|
|
1190
|
+
[85, {}, function(){
|
|
1445
1191
|
with (this.scopeTerminator) {
|
|
1446
1192
|
with (this.globalThis) {
|
|
1447
1193
|
return function() {
|
|
@@ -1455,7 +1201,7 @@ function incr32(r){for(var n,t=r.length;t--;){if(255!==(n=r.readUInt8(t))){n++,r
|
|
|
1455
1201
|
}
|
|
1456
1202
|
}
|
|
1457
1203
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/incr32.js",}],
|
|
1458
|
-
[
|
|
1204
|
+
[86, {"buffer-xor":124}, function(){
|
|
1459
1205
|
with (this.scopeTerminator) {
|
|
1460
1206
|
with (this.globalThis) {
|
|
1461
1207
|
return function() {
|
|
@@ -1469,7 +1215,7 @@ var xor=require("buffer-xor");exports.encrypt=function(r,e){var p=xor(e,r._prev)
|
|
|
1469
1215
|
}
|
|
1470
1216
|
}
|
|
1471
1217
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/modes/cbc.js",}],
|
|
1472
|
-
[
|
|
1218
|
+
[87, {"buffer-xor":124,"safe-buffer":267}, function(){
|
|
1473
1219
|
with (this.scopeTerminator) {
|
|
1474
1220
|
with (this.globalThis) {
|
|
1475
1221
|
return function() {
|
|
@@ -1483,7 +1229,7 @@ var Buffer=require("safe-buffer").Buffer,xor=require("buffer-xor");function encr
|
|
|
1483
1229
|
}
|
|
1484
1230
|
}
|
|
1485
1231
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/modes/cfb.js",}],
|
|
1486
|
-
[
|
|
1232
|
+
[88, {"safe-buffer":267}, function(){
|
|
1487
1233
|
with (this.scopeTerminator) {
|
|
1488
1234
|
with (this.globalThis) {
|
|
1489
1235
|
return function() {
|
|
@@ -1497,7 +1243,7 @@ var Buffer=require("safe-buffer").Buffer;function encryptByte(r,e,f){for(var n,t
|
|
|
1497
1243
|
}
|
|
1498
1244
|
}
|
|
1499
1245
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/modes/cfb1.js",}],
|
|
1500
|
-
[
|
|
1246
|
+
[89, {"safe-buffer":267}, function(){
|
|
1501
1247
|
with (this.scopeTerminator) {
|
|
1502
1248
|
with (this.globalThis) {
|
|
1503
1249
|
return function() {
|
|
@@ -1511,7 +1257,7 @@ var Buffer=require("safe-buffer").Buffer;function encryptByte(r,e,f){var n=r._ci
|
|
|
1511
1257
|
}
|
|
1512
1258
|
}
|
|
1513
1259
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/modes/cfb8.js",}],
|
|
1514
|
-
[
|
|
1260
|
+
[90, {"../incr32":85,"buffer-xor":124,"safe-buffer":267}, function(){
|
|
1515
1261
|
with (this.scopeTerminator) {
|
|
1516
1262
|
with (this.globalThis) {
|
|
1517
1263
|
return function() {
|
|
@@ -1525,7 +1271,7 @@ var xor=require("buffer-xor"),Buffer=require("safe-buffer").Buffer,incr32=requir
|
|
|
1525
1271
|
}
|
|
1526
1272
|
}
|
|
1527
1273
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/modes/ctr.js",}],
|
|
1528
|
-
[
|
|
1274
|
+
[91, {}, function(){
|
|
1529
1275
|
with (this.scopeTerminator) {
|
|
1530
1276
|
with (this.globalThis) {
|
|
1531
1277
|
return function() {
|
|
@@ -1539,7 +1285,7 @@ exports.encrypt=function(r,c){return r._cipher.encryptBlock(c)},exports.decrypt=
|
|
|
1539
1285
|
}
|
|
1540
1286
|
}
|
|
1541
1287
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/modes/ecb.js",}],
|
|
1542
|
-
[
|
|
1288
|
+
[92, {"./cbc":86,"./cfb":87,"./cfb1":88,"./cfb8":89,"./ctr":90,"./ecb":91,"./list.json":93,"./ofb":94}, function(){
|
|
1543
1289
|
with (this.scopeTerminator) {
|
|
1544
1290
|
with (this.globalThis) {
|
|
1545
1291
|
return function() {
|
|
@@ -1553,7 +1299,7 @@ var modeModules={ECB:require("./ecb"),CBC:require("./cbc"),CFB:require("./cfb"),
|
|
|
1553
1299
|
}
|
|
1554
1300
|
}
|
|
1555
1301
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/modes/index.js",}],
|
|
1556
|
-
[
|
|
1302
|
+
[93, {}, function(){
|
|
1557
1303
|
with (this.scopeTerminator) {
|
|
1558
1304
|
with (this.globalThis) {
|
|
1559
1305
|
return function() {
|
|
@@ -1757,7 +1503,7 @@ module.exports={
|
|
|
1757
1503
|
}
|
|
1758
1504
|
}
|
|
1759
1505
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/modes/list.json",}],
|
|
1760
|
-
[
|
|
1506
|
+
[94, {"buffer":123,"buffer-xor":124}, function(){
|
|
1761
1507
|
with (this.scopeTerminator) {
|
|
1762
1508
|
with (this.globalThis) {
|
|
1763
1509
|
return function() {
|
|
@@ -1773,7 +1519,7 @@ var xor=require("buffer-xor");function getBlock(e){return e._prev=e._cipher.encr
|
|
|
1773
1519
|
}
|
|
1774
1520
|
}
|
|
1775
1521
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/modes/ofb.js",}],
|
|
1776
|
-
[
|
|
1522
|
+
[95, {"./aes":79,"cipher-base":126,"inherits":210,"safe-buffer":267}, function(){
|
|
1777
1523
|
with (this.scopeTerminator) {
|
|
1778
1524
|
with (this.globalThis) {
|
|
1779
1525
|
return function() {
|
|
@@ -1787,7 +1533,7 @@ var aes=require("./aes"),Buffer=require("safe-buffer").Buffer,Transform=require(
|
|
|
1787
1533
|
}
|
|
1788
1534
|
}
|
|
1789
1535
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes",file:"../../node_modules/browserify-aes/streamCipher.js",}],
|
|
1790
|
-
[
|
|
1536
|
+
[96, {"browserify-aes/browser":81,"browserify-aes/modes":92,"browserify-des":97,"browserify-des/modes":98,"evp_bytestokey":176}, function(){
|
|
1791
1537
|
with (this.scopeTerminator) {
|
|
1792
1538
|
with (this.globalThis) {
|
|
1793
1539
|
return function() {
|
|
@@ -1801,7 +1547,7 @@ var DES=require("browserify-des"),aes=require("browserify-aes/browser"),aesModes
|
|
|
1801
1547
|
}
|
|
1802
1548
|
}
|
|
1803
1549
|
}, {package:"browserify>crypto-browserify>browserify-cipher",file:"../../node_modules/browserify-cipher/browser.js",}],
|
|
1804
|
-
[
|
|
1550
|
+
[97, {"cipher-base":126,"des.js":142,"inherits":210,"safe-buffer":267}, function(){
|
|
1805
1551
|
with (this.scopeTerminator) {
|
|
1806
1552
|
with (this.globalThis) {
|
|
1807
1553
|
return function() {
|
|
@@ -1815,7 +1561,7 @@ var CipherBase=require("cipher-base"),des=require("des.js"),inherits=require("in
|
|
|
1815
1561
|
}
|
|
1816
1562
|
}
|
|
1817
1563
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-des",file:"../../node_modules/browserify-des/index.js",}],
|
|
1818
|
-
[
|
|
1564
|
+
[98, {}, function(){
|
|
1819
1565
|
with (this.scopeTerminator) {
|
|
1820
1566
|
with (this.globalThis) {
|
|
1821
1567
|
return function() {
|
|
@@ -1829,7 +1575,7 @@ exports["des-ecb"]={key:8,iv:0},exports["des-cbc"]=exports.des={key:8,iv:8},expo
|
|
|
1829
1575
|
}
|
|
1830
1576
|
}
|
|
1831
1577
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-des",file:"../../node_modules/browserify-des/modes.js",}],
|
|
1832
|
-
[
|
|
1578
|
+
[99, {"bn.js":100,"buffer":123,"randombytes":252}, function(){
|
|
1833
1579
|
with (this.scopeTerminator) {
|
|
1834
1580
|
with (this.globalThis) {
|
|
1835
1581
|
return function() {
|
|
@@ -1845,7 +1591,7 @@ var BN=require("bn.js"),randomBytes=require("randombytes");function blind(e){var
|
|
|
1845
1591
|
}
|
|
1846
1592
|
}
|
|
1847
1593
|
}, {package:"browserify>crypto-browserify>public-encrypt>browserify-rsa",file:"../../node_modules/browserify-rsa/index.js",}],
|
|
1848
|
-
[
|
|
1594
|
+
[100, {"buffer":78}, function(){
|
|
1849
1595
|
with (this.scopeTerminator) {
|
|
1850
1596
|
with (this.globalThis) {
|
|
1851
1597
|
return function() {
|
|
@@ -1859,7 +1605,7 @@ var BN=require("bn.js"),randomBytes=require("randombytes");function blind(e){var
|
|
|
1859
1605
|
}
|
|
1860
1606
|
}
|
|
1861
1607
|
}, {package:"browserify>crypto-browserify>public-encrypt>browserify-rsa>bn.js",file:"../../node_modules/browserify-rsa/node_modules/bn.js/lib/bn.js",}],
|
|
1862
|
-
[
|
|
1608
|
+
[101, {"./browser/algorithms.json":102}, function(){
|
|
1863
1609
|
with (this.scopeTerminator) {
|
|
1864
1610
|
with (this.globalThis) {
|
|
1865
1611
|
return function() {
|
|
@@ -1873,7 +1619,7 @@ module.exports=require("./browser/algorithms.json");
|
|
|
1873
1619
|
}
|
|
1874
1620
|
}
|
|
1875
1621
|
}, {package:"browserify>crypto-browserify>browserify-sign",file:"../../node_modules/browserify-sign/algos.js",}],
|
|
1876
|
-
[
|
|
1622
|
+
[102, {}, function(){
|
|
1877
1623
|
with (this.scopeTerminator) {
|
|
1878
1624
|
with (this.globalThis) {
|
|
1879
1625
|
return function() {
|
|
@@ -2038,7 +1784,7 @@ module.exports={
|
|
|
2038
1784
|
}
|
|
2039
1785
|
}
|
|
2040
1786
|
}, {package:"browserify>crypto-browserify>browserify-sign",file:"../../node_modules/browserify-sign/browser/algorithms.json",}],
|
|
2041
|
-
[
|
|
1787
|
+
[103, {}, function(){
|
|
2042
1788
|
with (this.scopeTerminator) {
|
|
2043
1789
|
with (this.globalThis) {
|
|
2044
1790
|
return function() {
|
|
@@ -2059,7 +1805,7 @@ module.exports={
|
|
|
2059
1805
|
}
|
|
2060
1806
|
}
|
|
2061
1807
|
}, {package:"browserify>crypto-browserify>browserify-sign",file:"../../node_modules/browserify-sign/browser/curves.json",}],
|
|
2062
|
-
[
|
|
1808
|
+
[104, {"./algorithms.json":102,"./sign":105,"./verify":106,"create-hash":129,"inherits":210,"readable-stream":122,"safe-buffer":267}, function(){
|
|
2063
1809
|
with (this.scopeTerminator) {
|
|
2064
1810
|
with (this.globalThis) {
|
|
2065
1811
|
return function() {
|
|
@@ -2073,7 +1819,7 @@ var Buffer=require("safe-buffer").Buffer,createHash=require("create-hash"),strea
|
|
|
2073
1819
|
}
|
|
2074
1820
|
}
|
|
2075
1821
|
}, {package:"browserify>crypto-browserify>browserify-sign",file:"../../node_modules/browserify-sign/browser/index.js",}],
|
|
2076
|
-
[
|
|
1822
|
+
[105, {"./curves.json":103,"bn.js":107,"browserify-rsa":99,"create-hmac":131,"elliptic":153,"parse-asn1":236,"safe-buffer":267}, function(){
|
|
2077
1823
|
with (this.scopeTerminator) {
|
|
2078
1824
|
with (this.globalThis) {
|
|
2079
1825
|
return function() {
|
|
@@ -2087,7 +1833,7 @@ var Buffer=require("safe-buffer").Buffer,createHmac=require("create-hmac"),crt=r
|
|
|
2087
1833
|
}
|
|
2088
1834
|
}
|
|
2089
1835
|
}, {package:"browserify>crypto-browserify>browserify-sign",file:"../../node_modules/browserify-sign/browser/sign.js",}],
|
|
2090
|
-
[
|
|
1836
|
+
[106, {"./curves.json":103,"bn.js":107,"elliptic":153,"parse-asn1":236,"safe-buffer":267}, function(){
|
|
2091
1837
|
with (this.scopeTerminator) {
|
|
2092
1838
|
with (this.globalThis) {
|
|
2093
1839
|
return function() {
|
|
@@ -2101,7 +1847,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2101
1847
|
}
|
|
2102
1848
|
}
|
|
2103
1849
|
}, {package:"browserify>crypto-browserify>browserify-sign",file:"../../node_modules/browserify-sign/browser/verify.js",}],
|
|
2104
|
-
[
|
|
1850
|
+
[107, {"buffer":78}, function(){
|
|
2105
1851
|
with (this.scopeTerminator) {
|
|
2106
1852
|
with (this.globalThis) {
|
|
2107
1853
|
return function() {
|
|
@@ -2115,7 +1861,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2115
1861
|
}
|
|
2116
1862
|
}
|
|
2117
1863
|
}, {package:"browserify>crypto-browserify>browserify-sign>bn.js",file:"../../node_modules/browserify-sign/node_modules/bn.js/lib/bn.js",}],
|
|
2118
|
-
[
|
|
1864
|
+
[108, {}, function(){
|
|
2119
1865
|
with (this.scopeTerminator) {
|
|
2120
1866
|
with (this.globalThis) {
|
|
2121
1867
|
return function() {
|
|
@@ -2129,7 +1875,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2129
1875
|
}
|
|
2130
1876
|
}
|
|
2131
1877
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js",}],
|
|
2132
|
-
[
|
|
1878
|
+
[109, {"./_stream_readable":111,"./_stream_writable":113,"_process":244,"inherits":210}, function(){
|
|
2133
1879
|
with (this.scopeTerminator) {
|
|
2134
1880
|
with (this.globalThis) {
|
|
2135
1881
|
return function() {
|
|
@@ -2145,7 +1891,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2145
1891
|
}
|
|
2146
1892
|
}
|
|
2147
1893
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js",}],
|
|
2148
|
-
[
|
|
1894
|
+
[110, {"./_stream_transform":112,"inherits":210}, function(){
|
|
2149
1895
|
with (this.scopeTerminator) {
|
|
2150
1896
|
with (this.globalThis) {
|
|
2151
1897
|
return function() {
|
|
@@ -2159,7 +1905,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2159
1905
|
}
|
|
2160
1906
|
}
|
|
2161
1907
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_passthrough.js",}],
|
|
2162
|
-
[
|
|
1908
|
+
[111, {"../errors":108,"./_stream_duplex":109,"./internal/streams/async_iterator":114,"./internal/streams/buffer_list":115,"./internal/streams/destroy":116,"./internal/streams/from":118,"./internal/streams/state":120,"./internal/streams/stream":121,"_process":244,"buffer":123,"events":175,"inherits":210,"string_decoder/":337,"util":78}, function(){
|
|
2163
1909
|
with (this.scopeTerminator) {
|
|
2164
1910
|
with (this.globalThis) {
|
|
2165
1911
|
return function() {
|
|
@@ -2175,7 +1921,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2175
1921
|
}
|
|
2176
1922
|
}
|
|
2177
1923
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js",}],
|
|
2178
|
-
[
|
|
1924
|
+
[112, {"../errors":108,"./_stream_duplex":109,"inherits":210}, function(){
|
|
2179
1925
|
with (this.scopeTerminator) {
|
|
2180
1926
|
with (this.globalThis) {
|
|
2181
1927
|
return function() {
|
|
@@ -2189,7 +1935,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2189
1935
|
}
|
|
2190
1936
|
}
|
|
2191
1937
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js",}],
|
|
2192
|
-
[
|
|
1938
|
+
[113, {"../errors":108,"./_stream_duplex":109,"./internal/streams/destroy":116,"./internal/streams/state":120,"./internal/streams/stream":121,"_process":244,"buffer":123,"inherits":210,"util-deprecate":340}, function(){
|
|
2193
1939
|
with (this.scopeTerminator) {
|
|
2194
1940
|
with (this.globalThis) {
|
|
2195
1941
|
return function() {
|
|
@@ -2205,7 +1951,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2205
1951
|
}
|
|
2206
1952
|
}
|
|
2207
1953
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js",}],
|
|
2208
|
-
[
|
|
1954
|
+
[114, {"./end-of-stream":117,"_process":244}, function(){
|
|
2209
1955
|
with (this.scopeTerminator) {
|
|
2210
1956
|
with (this.globalThis) {
|
|
2211
1957
|
return function() {
|
|
@@ -2221,7 +1967,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2221
1967
|
}
|
|
2222
1968
|
}
|
|
2223
1969
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/async_iterator.js",}],
|
|
2224
|
-
[
|
|
1970
|
+
[115, {"buffer":123,"util":78}, function(){
|
|
2225
1971
|
with (this.scopeTerminator) {
|
|
2226
1972
|
with (this.globalThis) {
|
|
2227
1973
|
return function() {
|
|
@@ -2235,7 +1981,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2235
1981
|
}
|
|
2236
1982
|
}
|
|
2237
1983
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/buffer_list.js",}],
|
|
2238
|
-
[
|
|
1984
|
+
[116, {"_process":244}, function(){
|
|
2239
1985
|
with (this.scopeTerminator) {
|
|
2240
1986
|
with (this.globalThis) {
|
|
2241
1987
|
return function() {
|
|
@@ -2251,7 +1997,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2251
1997
|
}
|
|
2252
1998
|
}
|
|
2253
1999
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js",}],
|
|
2254
|
-
[
|
|
2000
|
+
[117, {"../../../errors":108}, function(){
|
|
2255
2001
|
with (this.scopeTerminator) {
|
|
2256
2002
|
with (this.globalThis) {
|
|
2257
2003
|
return function() {
|
|
@@ -2265,7 +2011,7 @@ var Buffer=require("safe-buffer").Buffer,BN=require("bn.js"),EC=require("ellipti
|
|
|
2265
2011
|
}
|
|
2266
2012
|
}
|
|
2267
2013
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",}],
|
|
2268
|
-
[
|
|
2014
|
+
[118, {}, function(){
|
|
2269
2015
|
with (this.scopeTerminator) {
|
|
2270
2016
|
with (this.globalThis) {
|
|
2271
2017
|
return function() {
|
|
@@ -2279,7 +2025,7 @@ module.exports=function(){throw new Error("Readable.from is not available in the
|
|
|
2279
2025
|
}
|
|
2280
2026
|
}
|
|
2281
2027
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/from-browser.js",}],
|
|
2282
|
-
[
|
|
2028
|
+
[119, {"../../../errors":108,"./end-of-stream":117}, function(){
|
|
2283
2029
|
with (this.scopeTerminator) {
|
|
2284
2030
|
with (this.globalThis) {
|
|
2285
2031
|
return function() {
|
|
@@ -2293,7 +2039,7 @@ module.exports=function(){throw new Error("Readable.from is not available in the
|
|
|
2293
2039
|
}
|
|
2294
2040
|
}
|
|
2295
2041
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/pipeline.js",}],
|
|
2296
|
-
[
|
|
2042
|
+
[120, {"../../../errors":108}, function(){
|
|
2297
2043
|
with (this.scopeTerminator) {
|
|
2298
2044
|
with (this.globalThis) {
|
|
2299
2045
|
return function() {
|
|
@@ -2307,7 +2053,7 @@ module.exports=function(){throw new Error("Readable.from is not available in the
|
|
|
2307
2053
|
}
|
|
2308
2054
|
}
|
|
2309
2055
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/state.js",}],
|
|
2310
|
-
[
|
|
2056
|
+
[121, {"events":175}, function(){
|
|
2311
2057
|
with (this.scopeTerminator) {
|
|
2312
2058
|
with (this.globalThis) {
|
|
2313
2059
|
return function() {
|
|
@@ -2321,7 +2067,7 @@ module.exports=require("events").EventEmitter;
|
|
|
2321
2067
|
}
|
|
2322
2068
|
}
|
|
2323
2069
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js",}],
|
|
2324
|
-
[
|
|
2070
|
+
[122, {"./lib/_stream_duplex.js":109,"./lib/_stream_passthrough.js":110,"./lib/_stream_readable.js":111,"./lib/_stream_transform.js":112,"./lib/_stream_writable.js":113,"./lib/internal/streams/end-of-stream.js":117,"./lib/internal/streams/pipeline.js":119}, function(){
|
|
2325
2071
|
with (this.scopeTerminator) {
|
|
2326
2072
|
with (this.globalThis) {
|
|
2327
2073
|
return function() {
|
|
@@ -2335,7 +2081,7 @@ exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=expor
|
|
|
2335
2081
|
}
|
|
2336
2082
|
}
|
|
2337
2083
|
}, {package:"browserify>crypto-browserify>browserify-sign>readable-stream",file:"../../node_modules/browserify-sign/node_modules/readable-stream/readable-browser.js",}],
|
|
2338
|
-
[
|
|
2084
|
+
[123, {"base64-js":75,"buffer":123,"ieee754":209}, function(){
|
|
2339
2085
|
with (this.scopeTerminator) {
|
|
2340
2086
|
with (this.globalThis) {
|
|
2341
2087
|
return function() {
|
|
@@ -2357,7 +2103,7 @@ exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=expor
|
|
|
2357
2103
|
}
|
|
2358
2104
|
}
|
|
2359
2105
|
}, {package:"browserify>buffer",file:"../../node_modules/browserify/node_modules/buffer/index.js",}],
|
|
2360
|
-
[
|
|
2106
|
+
[124, {"buffer":123}, function(){
|
|
2361
2107
|
with (this.scopeTerminator) {
|
|
2362
2108
|
with (this.globalThis) {
|
|
2363
2109
|
return function() {
|
|
@@ -2373,7 +2119,7 @@ module.exports=function(e,n){for(var r=Math.min(e.length,n.length),t=new Buffer(
|
|
|
2373
2119
|
}
|
|
2374
2120
|
}
|
|
2375
2121
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-aes>buffer-xor",file:"../../node_modules/buffer-xor/index.js",}],
|
|
2376
|
-
[
|
|
2122
|
+
[125, {"_process":244,"semver":296}, function(){
|
|
2377
2123
|
with (this.scopeTerminator) {
|
|
2378
2124
|
with (this.globalThis) {
|
|
2379
2125
|
return function() {
|
|
@@ -2389,7 +2135,7 @@ module.exports=function(e,n){for(var r=Math.min(e.length,n.length),t=new Buffer(
|
|
|
2389
2135
|
}
|
|
2390
2136
|
}
|
|
2391
2137
|
}, {package:"@metamask/snaps-utils>validate-npm-package-name>builtins",file:"../../node_modules/builtins/index.js",}],
|
|
2392
|
-
[
|
|
2138
|
+
[126, {"inherits":210,"safe-buffer":267,"stream":322,"string_decoder":337}, function(){
|
|
2393
2139
|
with (this.scopeTerminator) {
|
|
2394
2140
|
with (this.globalThis) {
|
|
2395
2141
|
return function() {
|
|
@@ -2403,7 +2149,7 @@ var Buffer=require("safe-buffer").Buffer,Transform=require("stream").Transform,S
|
|
|
2403
2149
|
}
|
|
2404
2150
|
}
|
|
2405
2151
|
}, {package:"browserify>crypto-browserify>create-hash>cipher-base",file:"../../node_modules/cipher-base/index.js",}],
|
|
2406
|
-
[
|
|
2152
|
+
[127, {"../../is-buffer/index.js":211}, function(){
|
|
2407
2153
|
with (this.scopeTerminator) {
|
|
2408
2154
|
with (this.globalThis) {
|
|
2409
2155
|
return function() {
|
|
@@ -2419,7 +2165,7 @@ function isArray(r){return Array.isArray?Array.isArray(r):"[object Array]"===obj
|
|
|
2419
2165
|
}
|
|
2420
2166
|
}
|
|
2421
2167
|
}, {package:"browserify>readable-stream>core-util-is",file:"../../node_modules/core-util-is/lib/util.js",}],
|
|
2422
|
-
[
|
|
2168
|
+
[128, {"bn.js":76,"buffer":123,"elliptic":153}, function(){
|
|
2423
2169
|
with (this.scopeTerminator) {
|
|
2424
2170
|
with (this.globalThis) {
|
|
2425
2171
|
return function() {
|
|
@@ -2435,7 +2181,7 @@ var elliptic=require("elliptic"),BN=require("bn.js");module.exports=function(e){
|
|
|
2435
2181
|
}
|
|
2436
2182
|
}
|
|
2437
2183
|
}, {package:"browserify>crypto-browserify>create-ecdh",file:"../../node_modules/create-ecdh/browser.js",}],
|
|
2438
|
-
[
|
|
2184
|
+
[129, {"cipher-base":126,"inherits":210,"md5.js":227,"ripemd160":266,"sha.js":315}, function(){
|
|
2439
2185
|
with (this.scopeTerminator) {
|
|
2440
2186
|
with (this.globalThis) {
|
|
2441
2187
|
return function() {
|
|
@@ -2449,7 +2195,7 @@ var elliptic=require("elliptic"),BN=require("bn.js");module.exports=function(e){
|
|
|
2449
2195
|
}
|
|
2450
2196
|
}
|
|
2451
2197
|
}, {package:"browserify>crypto-browserify>create-hash",file:"../../node_modules/create-hash/browser.js",}],
|
|
2452
|
-
[
|
|
2198
|
+
[130, {"md5.js":227}, function(){
|
|
2453
2199
|
with (this.scopeTerminator) {
|
|
2454
2200
|
with (this.globalThis) {
|
|
2455
2201
|
return function() {
|
|
@@ -2463,7 +2209,7 @@ var MD5=require("md5.js");module.exports=function(e){return(new MD5).update(e).d
|
|
|
2463
2209
|
}
|
|
2464
2210
|
}
|
|
2465
2211
|
}, {package:"browserify>crypto-browserify>create-hash",file:"../../node_modules/create-hash/md5.js",}],
|
|
2466
|
-
[
|
|
2212
|
+
[131, {"./legacy":132,"cipher-base":126,"create-hash/md5":130,"inherits":210,"ripemd160":266,"safe-buffer":267,"sha.js":315}, function(){
|
|
2467
2213
|
with (this.scopeTerminator) {
|
|
2468
2214
|
with (this.globalThis) {
|
|
2469
2215
|
return function() {
|
|
@@ -2477,7 +2223,7 @@ var MD5=require("md5.js");module.exports=function(e){return(new MD5).update(e).d
|
|
|
2477
2223
|
}
|
|
2478
2224
|
}
|
|
2479
2225
|
}, {package:"browserify>crypto-browserify>create-hmac",file:"../../node_modules/create-hmac/browser.js",}],
|
|
2480
|
-
[
|
|
2226
|
+
[132, {"cipher-base":126,"inherits":210,"safe-buffer":267}, function(){
|
|
2481
2227
|
with (this.scopeTerminator) {
|
|
2482
2228
|
with (this.globalThis) {
|
|
2483
2229
|
return function() {
|
|
@@ -2491,7 +2237,7 @@ var MD5=require("md5.js");module.exports=function(e){return(new MD5).update(e).d
|
|
|
2491
2237
|
}
|
|
2492
2238
|
}
|
|
2493
2239
|
}, {package:"browserify>crypto-browserify>create-hmac",file:"../../node_modules/create-hmac/legacy.js",}],
|
|
2494
|
-
[
|
|
2240
|
+
[133, {"luxon":226}, function(){
|
|
2495
2241
|
with (this.scopeTerminator) {
|
|
2496
2242
|
with (this.globalThis) {
|
|
2497
2243
|
return function() {
|
|
@@ -2505,7 +2251,7 @@ var MD5=require("md5.js");module.exports=function(e){return(new MD5).update(e).d
|
|
|
2505
2251
|
}
|
|
2506
2252
|
}
|
|
2507
2253
|
}, {package:"@metamask/snaps-utils>cron-parser",file:"../../node_modules/cron-parser/lib/date.js",}],
|
|
2508
|
-
[
|
|
2254
|
+
[134, {"./date":133,"./field_stringify":136}, function(){
|
|
2509
2255
|
with (this.scopeTerminator) {
|
|
2510
2256
|
with (this.globalThis) {
|
|
2511
2257
|
return function() {
|
|
@@ -2519,7 +2265,7 @@ var MD5=require("md5.js");module.exports=function(e){return(new MD5).update(e).d
|
|
|
2519
2265
|
}
|
|
2520
2266
|
}
|
|
2521
2267
|
}, {package:"@metamask/snaps-utils>cron-parser",file:"../../node_modules/cron-parser/lib/expression.js",}],
|
|
2522
|
-
[
|
|
2268
|
+
[135, {}, function(){
|
|
2523
2269
|
with (this.scopeTerminator) {
|
|
2524
2270
|
with (this.globalThis) {
|
|
2525
2271
|
return function() {
|
|
@@ -2533,7 +2279,7 @@ var MD5=require("md5.js");module.exports=function(e){return(new MD5).update(e).d
|
|
|
2533
2279
|
}
|
|
2534
2280
|
}
|
|
2535
2281
|
}, {package:"@metamask/snaps-utils>cron-parser",file:"../../node_modules/cron-parser/lib/field_compactor.js",}],
|
|
2536
|
-
[
|
|
2282
|
+
[136, {"./field_compactor":135}, function(){
|
|
2537
2283
|
with (this.scopeTerminator) {
|
|
2538
2284
|
with (this.globalThis) {
|
|
2539
2285
|
return function() {
|
|
@@ -2547,7 +2293,7 @@ var MD5=require("md5.js");module.exports=function(e){return(new MD5).update(e).d
|
|
|
2547
2293
|
}
|
|
2548
2294
|
}
|
|
2549
2295
|
}, {package:"@metamask/snaps-utils>cron-parser",file:"../../node_modules/cron-parser/lib/field_stringify.js",}],
|
|
2550
|
-
[
|
|
2296
|
+
[137, {"./expression":134,"fs":78}, function(){
|
|
2551
2297
|
with (this.scopeTerminator) {
|
|
2552
2298
|
with (this.globalThis) {
|
|
2553
2299
|
return function() {
|
|
@@ -2561,7 +2307,7 @@ var MD5=require("md5.js");module.exports=function(e){return(new MD5).update(e).d
|
|
|
2561
2307
|
}
|
|
2562
2308
|
}
|
|
2563
2309
|
}, {package:"@metamask/snaps-utils>cron-parser",file:"../../node_modules/cron-parser/lib/parser.js",}],
|
|
2564
|
-
[
|
|
2310
|
+
[138, {"browserify-cipher":96,"browserify-sign":104,"browserify-sign/algos":101,"create-ecdh":128,"create-hash":129,"create-hmac":131,"diffie-hellman":149,"pbkdf2":237,"public-encrypt":245,"randombytes":252,"randomfill":253}, function(){
|
|
2565
2311
|
with (this.scopeTerminator) {
|
|
2566
2312
|
with (this.globalThis) {
|
|
2567
2313
|
return function() {
|
|
@@ -2575,7 +2321,7 @@ var MD5=require("md5.js");module.exports=function(e){return(new MD5).update(e).d
|
|
|
2575
2321
|
}
|
|
2576
2322
|
}
|
|
2577
2323
|
}, {package:"browserify>crypto-browserify",file:"../../node_modules/crypto-browserify/index.js",}],
|
|
2578
|
-
[
|
|
2324
|
+
[139, {}, function(){
|
|
2579
2325
|
with (this.scopeTerminator) {
|
|
2580
2326
|
with (this.globalThis) {
|
|
2581
2327
|
return function() {
|
|
@@ -2589,7 +2335,7 @@ var s=1e3,m=60*s,h=60*m,d=24*h,w=7*d,y=365.25*d;function parse(e){if(!((e=String
|
|
|
2589
2335
|
}
|
|
2590
2336
|
}
|
|
2591
2337
|
}, {package:"eslint>debug>ms",file:"../../node_modules/debug/node_modules/ms/index.js",}],
|
|
2592
|
-
[
|
|
2338
|
+
[140, {"./common":141,"_process":244}, function(){
|
|
2593
2339
|
with (this.scopeTerminator) {
|
|
2594
2340
|
with (this.globalThis) {
|
|
2595
2341
|
return function() {
|
|
@@ -2605,7 +2351,7 @@ function useColors(){return!("undefined"==typeof window||!window.process||"rende
|
|
|
2605
2351
|
}
|
|
2606
2352
|
}
|
|
2607
2353
|
}, {package:"eslint>debug",file:"../../node_modules/debug/src/browser.js",}],
|
|
2608
|
-
[
|
|
2354
|
+
[141, {"ms":139}, function(){
|
|
2609
2355
|
with (this.scopeTerminator) {
|
|
2610
2356
|
with (this.globalThis) {
|
|
2611
2357
|
return function() {
|
|
@@ -2619,7 +2365,7 @@ function setup(e){function n(e){let r,s,o,l=null;function a(...e){if(!a.enabled)
|
|
|
2619
2365
|
}
|
|
2620
2366
|
}
|
|
2621
2367
|
}, {package:"eslint>debug",file:"../../node_modules/debug/src/common.js",}],
|
|
2622
|
-
[
|
|
2368
|
+
[142, {"./des/cbc":143,"./des/cipher":144,"./des/des":145,"./des/ede":146,"./des/utils":147}, function(){
|
|
2623
2369
|
with (this.scopeTerminator) {
|
|
2624
2370
|
with (this.globalThis) {
|
|
2625
2371
|
return function() {
|
|
@@ -2633,7 +2379,7 @@ function setup(e){function n(e){let r,s,o,l=null;function a(...e){if(!a.enabled)
|
|
|
2633
2379
|
}
|
|
2634
2380
|
}
|
|
2635
2381
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js",file:"../../node_modules/des.js/lib/des.js",}],
|
|
2636
|
-
[
|
|
2382
|
+
[143, {"inherits":210,"minimalistic-assert":229}, function(){
|
|
2637
2383
|
with (this.scopeTerminator) {
|
|
2638
2384
|
with (this.globalThis) {
|
|
2639
2385
|
return function() {
|
|
@@ -2647,7 +2393,7 @@ function setup(e){function n(e){let r,s,o,l=null;function a(...e){if(!a.enabled)
|
|
|
2647
2393
|
}
|
|
2648
2394
|
}
|
|
2649
2395
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js",file:"../../node_modules/des.js/lib/des/cbc.js",}],
|
|
2650
|
-
[
|
|
2396
|
+
[144, {"minimalistic-assert":229}, function(){
|
|
2651
2397
|
with (this.scopeTerminator) {
|
|
2652
2398
|
with (this.globalThis) {
|
|
2653
2399
|
return function() {
|
|
@@ -2661,7 +2407,7 @@ function setup(e){function n(e){let r,s,o,l=null;function a(...e){if(!a.enabled)
|
|
|
2661
2407
|
}
|
|
2662
2408
|
}
|
|
2663
2409
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js",file:"../../node_modules/des.js/lib/des/cipher.js",}],
|
|
2664
|
-
[
|
|
2410
|
+
[145, {"./cipher":144,"./utils":147,"inherits":210,"minimalistic-assert":229}, function(){
|
|
2665
2411
|
with (this.scopeTerminator) {
|
|
2666
2412
|
with (this.globalThis) {
|
|
2667
2413
|
return function() {
|
|
@@ -2675,7 +2421,7 @@ function setup(e){function n(e){let r,s,o,l=null;function a(...e){if(!a.enabled)
|
|
|
2675
2421
|
}
|
|
2676
2422
|
}
|
|
2677
2423
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js",file:"../../node_modules/des.js/lib/des/des.js",}],
|
|
2678
|
-
[
|
|
2424
|
+
[146, {"./cipher":144,"./des":145,"inherits":210,"minimalistic-assert":229}, function(){
|
|
2679
2425
|
with (this.scopeTerminator) {
|
|
2680
2426
|
with (this.globalThis) {
|
|
2681
2427
|
return function() {
|
|
@@ -2689,7 +2435,7 @@ function setup(e){function n(e){let r,s,o,l=null;function a(...e){if(!a.enabled)
|
|
|
2689
2435
|
}
|
|
2690
2436
|
}
|
|
2691
2437
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js",file:"../../node_modules/des.js/lib/des/ede.js",}],
|
|
2692
|
-
[
|
|
2438
|
+
[147, {}, function(){
|
|
2693
2439
|
with (this.scopeTerminator) {
|
|
2694
2440
|
with (this.globalThis) {
|
|
2695
2441
|
return function() {
|
|
@@ -2703,7 +2449,7 @@ function setup(e){function n(e){let r,s,o,l=null;function a(...e){if(!a.enabled)
|
|
|
2703
2449
|
}
|
|
2704
2450
|
}
|
|
2705
2451
|
}, {package:"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js",file:"../../node_modules/des.js/lib/des/utils.js",}],
|
|
2706
|
-
[
|
|
2452
|
+
[148, {"_process":244}, function(){
|
|
2707
2453
|
with (this.scopeTerminator) {
|
|
2708
2454
|
with (this.globalThis) {
|
|
2709
2455
|
return function() {
|
|
@@ -2719,7 +2465,7 @@ function setup(e){function n(e){let r,s,o,l=null;function a(...e){if(!a.enabled)
|
|
|
2719
2465
|
}
|
|
2720
2466
|
}
|
|
2721
2467
|
}, {package:"@metamask/providers>detect-browser",file:"../../node_modules/detect-browser/index.js",}],
|
|
2722
|
-
[
|
|
2468
|
+
[149, {"./lib/dh":150,"./lib/generatePrime":151,"./lib/primes.json":152,"buffer":123}, function(){
|
|
2723
2469
|
with (this.scopeTerminator) {
|
|
2724
2470
|
with (this.globalThis) {
|
|
2725
2471
|
return function() {
|
|
@@ -2735,7 +2481,7 @@ var generatePrime=require("./lib/generatePrime"),primes=require("./lib/primes.js
|
|
|
2735
2481
|
}
|
|
2736
2482
|
}
|
|
2737
2483
|
}, {package:"browserify>crypto-browserify>diffie-hellman",file:"../../node_modules/diffie-hellman/browser.js",}],
|
|
2738
|
-
[
|
|
2484
|
+
[150, {"./generatePrime":151,"bn.js":76,"buffer":123,"miller-rabin":228,"randombytes":252}, function(){
|
|
2739
2485
|
with (this.scopeTerminator) {
|
|
2740
2486
|
with (this.globalThis) {
|
|
2741
2487
|
return function() {
|
|
@@ -2751,7 +2497,7 @@ var BN=require("bn.js"),MillerRabin=require("miller-rabin"),millerRabin=new Mill
|
|
|
2751
2497
|
}
|
|
2752
2498
|
}
|
|
2753
2499
|
}, {package:"browserify>crypto-browserify>diffie-hellman",file:"../../node_modules/diffie-hellman/lib/dh.js",}],
|
|
2754
|
-
[
|
|
2500
|
+
[151, {"bn.js":76,"miller-rabin":228,"randombytes":252}, function(){
|
|
2755
2501
|
with (this.scopeTerminator) {
|
|
2756
2502
|
with (this.globalThis) {
|
|
2757
2503
|
return function() {
|
|
@@ -2765,7 +2511,7 @@ var randomBytes=require("randombytes");module.exports=findPrime,findPrime.simple
|
|
|
2765
2511
|
}
|
|
2766
2512
|
}
|
|
2767
2513
|
}, {package:"browserify>crypto-browserify>diffie-hellman",file:"../../node_modules/diffie-hellman/lib/generatePrime.js",}],
|
|
2768
|
-
[
|
|
2514
|
+
[152, {}, function(){
|
|
2769
2515
|
with (this.scopeTerminator) {
|
|
2770
2516
|
with (this.globalThis) {
|
|
2771
2517
|
return function() {
|
|
@@ -2811,7 +2557,7 @@ module.exports={
|
|
|
2811
2557
|
}
|
|
2812
2558
|
}
|
|
2813
2559
|
}, {package:"browserify>crypto-browserify>diffie-hellman",file:"../../node_modules/diffie-hellman/lib/primes.json",}],
|
|
2814
|
-
[
|
|
2560
|
+
[153, {"../package.json":168,"./elliptic/curve":156,"./elliptic/curves":159,"./elliptic/ec":160,"./elliptic/eddsa":163,"./elliptic/utils":167,"brorand":77}, function(){
|
|
2815
2561
|
with (this.scopeTerminator) {
|
|
2816
2562
|
with (this.globalThis) {
|
|
2817
2563
|
return function() {
|
|
@@ -2825,7 +2571,7 @@ module.exports={
|
|
|
2825
2571
|
}
|
|
2826
2572
|
}
|
|
2827
2573
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic.js",}],
|
|
2828
|
-
[
|
|
2574
|
+
[154, {"../utils":167,"bn.js":76}, function(){
|
|
2829
2575
|
with (this.scopeTerminator) {
|
|
2830
2576
|
with (this.globalThis) {
|
|
2831
2577
|
return function() {
|
|
@@ -2839,7 +2585,7 @@ module.exports={
|
|
|
2839
2585
|
}
|
|
2840
2586
|
}
|
|
2841
2587
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/curve/base.js",}],
|
|
2842
|
-
[
|
|
2588
|
+
[155, {"../utils":167,"./base":154,"bn.js":76,"inherits":210}, function(){
|
|
2843
2589
|
with (this.scopeTerminator) {
|
|
2844
2590
|
with (this.globalThis) {
|
|
2845
2591
|
return function() {
|
|
@@ -2853,7 +2599,7 @@ module.exports={
|
|
|
2853
2599
|
}
|
|
2854
2600
|
}
|
|
2855
2601
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/curve/edwards.js",}],
|
|
2856
|
-
[
|
|
2602
|
+
[156, {"./base":154,"./edwards":155,"./mont":157,"./short":158}, function(){
|
|
2857
2603
|
with (this.scopeTerminator) {
|
|
2858
2604
|
with (this.globalThis) {
|
|
2859
2605
|
return function() {
|
|
@@ -2867,7 +2613,7 @@ module.exports={
|
|
|
2867
2613
|
}
|
|
2868
2614
|
}
|
|
2869
2615
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/curve/index.js",}],
|
|
2870
|
-
[
|
|
2616
|
+
[157, {"../utils":167,"./base":154,"bn.js":76,"inherits":210}, function(){
|
|
2871
2617
|
with (this.scopeTerminator) {
|
|
2872
2618
|
with (this.globalThis) {
|
|
2873
2619
|
return function() {
|
|
@@ -2881,7 +2627,7 @@ module.exports={
|
|
|
2881
2627
|
}
|
|
2882
2628
|
}
|
|
2883
2629
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/curve/mont.js",}],
|
|
2884
|
-
[
|
|
2630
|
+
[158, {"../utils":167,"./base":154,"bn.js":76,"inherits":210}, function(){
|
|
2885
2631
|
with (this.scopeTerminator) {
|
|
2886
2632
|
with (this.globalThis) {
|
|
2887
2633
|
return function() {
|
|
@@ -2895,7 +2641,7 @@ module.exports={
|
|
|
2895
2641
|
}
|
|
2896
2642
|
}
|
|
2897
2643
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/curve/short.js",}],
|
|
2898
|
-
[
|
|
2644
|
+
[159, {"./curve":156,"./precomputed/secp256k1":166,"./utils":167,"hash.js":196}, function(){
|
|
2899
2645
|
with (this.scopeTerminator) {
|
|
2900
2646
|
with (this.globalThis) {
|
|
2901
2647
|
return function() {
|
|
@@ -2909,7 +2655,7 @@ module.exports={
|
|
|
2909
2655
|
}
|
|
2910
2656
|
}
|
|
2911
2657
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/curves.js",}],
|
|
2912
|
-
[
|
|
2658
|
+
[160, {"../curves":159,"../utils":167,"./key":161,"./signature":162,"bn.js":76,"brorand":77,"hmac-drbg":208}, function(){
|
|
2913
2659
|
with (this.scopeTerminator) {
|
|
2914
2660
|
with (this.globalThis) {
|
|
2915
2661
|
return function() {
|
|
@@ -2923,7 +2669,7 @@ module.exports={
|
|
|
2923
2669
|
}
|
|
2924
2670
|
}
|
|
2925
2671
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/ec/index.js",}],
|
|
2926
|
-
[
|
|
2672
|
+
[161, {"../utils":167,"bn.js":76}, function(){
|
|
2927
2673
|
with (this.scopeTerminator) {
|
|
2928
2674
|
with (this.globalThis) {
|
|
2929
2675
|
return function() {
|
|
@@ -2937,7 +2683,7 @@ module.exports={
|
|
|
2937
2683
|
}
|
|
2938
2684
|
}
|
|
2939
2685
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/ec/key.js",}],
|
|
2940
|
-
[
|
|
2686
|
+
[162, {"../utils":167,"bn.js":76}, function(){
|
|
2941
2687
|
with (this.scopeTerminator) {
|
|
2942
2688
|
with (this.globalThis) {
|
|
2943
2689
|
return function() {
|
|
@@ -2951,7 +2697,7 @@ module.exports={
|
|
|
2951
2697
|
}
|
|
2952
2698
|
}
|
|
2953
2699
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/ec/signature.js",}],
|
|
2954
|
-
[
|
|
2700
|
+
[163, {"../curves":159,"../utils":167,"./key":164,"./signature":165,"hash.js":196}, function(){
|
|
2955
2701
|
with (this.scopeTerminator) {
|
|
2956
2702
|
with (this.globalThis) {
|
|
2957
2703
|
return function() {
|
|
@@ -2965,7 +2711,7 @@ module.exports={
|
|
|
2965
2711
|
}
|
|
2966
2712
|
}
|
|
2967
2713
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/eddsa/index.js",}],
|
|
2968
|
-
[
|
|
2714
|
+
[164, {"../utils":167}, function(){
|
|
2969
2715
|
with (this.scopeTerminator) {
|
|
2970
2716
|
with (this.globalThis) {
|
|
2971
2717
|
return function() {
|
|
@@ -2979,7 +2725,7 @@ module.exports={
|
|
|
2979
2725
|
}
|
|
2980
2726
|
}
|
|
2981
2727
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/eddsa/key.js",}],
|
|
2982
|
-
[
|
|
2728
|
+
[165, {"../utils":167,"bn.js":76}, function(){
|
|
2983
2729
|
with (this.scopeTerminator) {
|
|
2984
2730
|
with (this.globalThis) {
|
|
2985
2731
|
return function() {
|
|
@@ -2993,7 +2739,7 @@ module.exports={
|
|
|
2993
2739
|
}
|
|
2994
2740
|
}
|
|
2995
2741
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/eddsa/signature.js",}],
|
|
2996
|
-
[
|
|
2742
|
+
[166, {}, function(){
|
|
2997
2743
|
with (this.scopeTerminator) {
|
|
2998
2744
|
with (this.globalThis) {
|
|
2999
2745
|
return function() {
|
|
@@ -3007,7 +2753,7 @@ module.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a313
|
|
|
3007
2753
|
}
|
|
3008
2754
|
}
|
|
3009
2755
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js",}],
|
|
3010
|
-
[
|
|
2756
|
+
[167, {"bn.js":76,"minimalistic-assert":229,"minimalistic-crypto-utils":230}, function(){
|
|
3011
2757
|
with (this.scopeTerminator) {
|
|
3012
2758
|
with (this.globalThis) {
|
|
3013
2759
|
return function() {
|
|
@@ -3021,7 +2767,7 @@ module.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a313
|
|
|
3021
2767
|
}
|
|
3022
2768
|
}
|
|
3023
2769
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/lib/elliptic/utils.js",}],
|
|
3024
|
-
[
|
|
2770
|
+
[168, {}, function(){
|
|
3025
2771
|
with (this.scopeTerminator) {
|
|
3026
2772
|
with (this.globalThis) {
|
|
3027
2773
|
return function() {
|
|
@@ -3090,7 +2836,7 @@ module.exports={
|
|
|
3090
2836
|
}
|
|
3091
2837
|
}
|
|
3092
2838
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic",file:"../../node_modules/elliptic/package.json",}],
|
|
3093
|
-
[
|
|
2839
|
+
[169, {"_process":244,"once":231}, function(){
|
|
3094
2840
|
with (this.scopeTerminator) {
|
|
3095
2841
|
with (this.globalThis) {
|
|
3096
2842
|
return function() {
|
|
@@ -3106,7 +2852,7 @@ var once=require("once"),noop=function(){},isRequest=function(e){return e.setHea
|
|
|
3106
2852
|
}
|
|
3107
2853
|
}
|
|
3108
2854
|
}, {package:"pump>end-of-stream",file:"../../node_modules/end-of-stream/index.js",}],
|
|
3109
|
-
[
|
|
2855
|
+
[170, {"fast-safe-stringify":179}, function(){
|
|
3110
2856
|
with (this.scopeTerminator) {
|
|
3111
2857
|
with (this.globalThis) {
|
|
3112
2858
|
return function() {
|
|
@@ -3120,7 +2866,7 @@ var once=require("once"),noop=function(){},isRequest=function(e){return e.setHea
|
|
|
3120
2866
|
}
|
|
3121
2867
|
}
|
|
3122
2868
|
}, {package:"eth-rpc-errors",file:"../../node_modules/eth-rpc-errors/dist/classes.js",}],
|
|
3123
|
-
[
|
|
2869
|
+
[171, {}, function(){
|
|
3124
2870
|
with (this.scopeTerminator) {
|
|
3125
2871
|
with (this.globalThis) {
|
|
3126
2872
|
return function() {
|
|
@@ -3134,7 +2880,7 @@ var once=require("once"),noop=function(){},isRequest=function(e){return e.setHea
|
|
|
3134
2880
|
}
|
|
3135
2881
|
}
|
|
3136
2882
|
}, {package:"eth-rpc-errors",file:"../../node_modules/eth-rpc-errors/dist/error-constants.js",}],
|
|
3137
|
-
[
|
|
2883
|
+
[172, {"./classes":170,"./error-constants":171,"./utils":174}, function(){
|
|
3138
2884
|
with (this.scopeTerminator) {
|
|
3139
2885
|
with (this.globalThis) {
|
|
3140
2886
|
return function() {
|
|
@@ -3148,7 +2894,7 @@ var once=require("once"),noop=function(){},isRequest=function(e){return e.setHea
|
|
|
3148
2894
|
}
|
|
3149
2895
|
}
|
|
3150
2896
|
}, {package:"eth-rpc-errors",file:"../../node_modules/eth-rpc-errors/dist/errors.js",}],
|
|
3151
|
-
[
|
|
2897
|
+
[173, {"./classes":170,"./error-constants":171,"./errors":172,"./utils":174}, function(){
|
|
3152
2898
|
with (this.scopeTerminator) {
|
|
3153
2899
|
with (this.globalThis) {
|
|
3154
2900
|
return function() {
|
|
@@ -3162,7 +2908,7 @@ var once=require("once"),noop=function(){},isRequest=function(e){return e.setHea
|
|
|
3162
2908
|
}
|
|
3163
2909
|
}
|
|
3164
2910
|
}, {package:"eth-rpc-errors",file:"../../node_modules/eth-rpc-errors/dist/index.js",}],
|
|
3165
|
-
[
|
|
2911
|
+
[174, {"./classes":170,"./error-constants":171}, function(){
|
|
3166
2912
|
with (this.scopeTerminator) {
|
|
3167
2913
|
with (this.globalThis) {
|
|
3168
2914
|
return function() {
|
|
@@ -3176,7 +2922,7 @@ var once=require("once"),noop=function(){},isRequest=function(e){return e.setHea
|
|
|
3176
2922
|
}
|
|
3177
2923
|
}
|
|
3178
2924
|
}, {package:"eth-rpc-errors",file:"../../node_modules/eth-rpc-errors/dist/utils.js",}],
|
|
3179
|
-
[
|
|
2925
|
+
[175, {}, function(){
|
|
3180
2926
|
with (this.scopeTerminator) {
|
|
3181
2927
|
with (this.globalThis) {
|
|
3182
2928
|
return function() {
|
|
@@ -3190,7 +2936,7 @@ var once=require("once"),noop=function(){},isRequest=function(e){return e.setHea
|
|
|
3190
2936
|
}
|
|
3191
2937
|
}
|
|
3192
2938
|
}, {package:"browserify>events",file:"../../node_modules/events/events.js",}],
|
|
3193
|
-
[
|
|
2939
|
+
[176, {"md5.js":227,"safe-buffer":267}, function(){
|
|
3194
2940
|
with (this.scopeTerminator) {
|
|
3195
2941
|
with (this.globalThis) {
|
|
3196
2942
|
return function() {
|
|
@@ -3204,7 +2950,7 @@ var Buffer=require("safe-buffer").Buffer,MD5=require("md5.js");function EVP_Byte
|
|
|
3204
2950
|
}
|
|
3205
2951
|
}
|
|
3206
2952
|
}, {package:"browserify>crypto-browserify>browserify-cipher>evp_bytestokey",file:"../../node_modules/evp_bytestokey/index.js",}],
|
|
3207
|
-
[
|
|
2953
|
+
[177, {"buffer":123,"stream":322}, function(){
|
|
3208
2954
|
with (this.scopeTerminator) {
|
|
3209
2955
|
with (this.globalThis) {
|
|
3210
2956
|
return function() {
|
|
@@ -3220,7 +2966,7 @@ var Buffer=require("safe-buffer").Buffer,MD5=require("md5.js");function EVP_Byte
|
|
|
3220
2966
|
}
|
|
3221
2967
|
}
|
|
3222
2968
|
}, {package:"@metamask/providers>extension-port-stream",file:"../../node_modules/extension-port-stream/dist/index.js",}],
|
|
3223
|
-
[
|
|
2969
|
+
[178, {}, function(){
|
|
3224
2970
|
with (this.scopeTerminator) {
|
|
3225
2971
|
with (this.globalThis) {
|
|
3226
2972
|
return function() {
|
|
@@ -3234,7 +2980,7 @@ var Buffer=require("safe-buffer").Buffer,MD5=require("md5.js");function EVP_Byte
|
|
|
3234
2980
|
}
|
|
3235
2981
|
}
|
|
3236
2982
|
}, {package:"ts-jest>fast-json-stable-stringify",file:"../../node_modules/fast-json-stable-stringify/index.js",}],
|
|
3237
|
-
[
|
|
2983
|
+
[179, {}, function(){
|
|
3238
2984
|
with (this.scopeTerminator) {
|
|
3239
2985
|
with (this.globalThis) {
|
|
3240
2986
|
return function() {
|
|
@@ -3248,7 +2994,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3248
2994
|
}
|
|
3249
2995
|
}
|
|
3250
2996
|
}, {package:"eth-rpc-errors>fast-safe-stringify",file:"../../node_modules/fast-safe-stringify/index.js",}],
|
|
3251
|
-
[
|
|
2997
|
+
[180, {"inherits":210,"readable-stream":195,"safe-buffer":267}, function(){
|
|
3252
2998
|
with (this.scopeTerminator) {
|
|
3253
2999
|
with (this.globalThis) {
|
|
3254
3000
|
return function() {
|
|
@@ -3262,7 +3008,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3262
3008
|
}
|
|
3263
3009
|
}
|
|
3264
3010
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base",file:"../../node_modules/hash-base/index.js",}],
|
|
3265
|
-
[
|
|
3011
|
+
[181, {}, function(){
|
|
3266
3012
|
with (this.scopeTerminator) {
|
|
3267
3013
|
with (this.globalThis) {
|
|
3268
3014
|
return function() {
|
|
@@ -3276,7 +3022,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3276
3022
|
}
|
|
3277
3023
|
}
|
|
3278
3024
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/errors-browser.js",}],
|
|
3279
|
-
[
|
|
3025
|
+
[182, {"./_stream_readable":184,"./_stream_writable":186,"_process":244,"inherits":210}, function(){
|
|
3280
3026
|
with (this.scopeTerminator) {
|
|
3281
3027
|
with (this.globalThis) {
|
|
3282
3028
|
return function() {
|
|
@@ -3292,7 +3038,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3292
3038
|
}
|
|
3293
3039
|
}
|
|
3294
3040
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/_stream_duplex.js",}],
|
|
3295
|
-
[
|
|
3041
|
+
[183, {"./_stream_transform":185,"inherits":210}, function(){
|
|
3296
3042
|
with (this.scopeTerminator) {
|
|
3297
3043
|
with (this.globalThis) {
|
|
3298
3044
|
return function() {
|
|
@@ -3306,7 +3052,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3306
3052
|
}
|
|
3307
3053
|
}
|
|
3308
3054
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/_stream_passthrough.js",}],
|
|
3309
|
-
[
|
|
3055
|
+
[184, {"../errors":181,"./_stream_duplex":182,"./internal/streams/async_iterator":187,"./internal/streams/buffer_list":188,"./internal/streams/destroy":189,"./internal/streams/from":191,"./internal/streams/state":193,"./internal/streams/stream":194,"_process":244,"buffer":123,"events":175,"inherits":210,"string_decoder/":337,"util":78}, function(){
|
|
3310
3056
|
with (this.scopeTerminator) {
|
|
3311
3057
|
with (this.globalThis) {
|
|
3312
3058
|
return function() {
|
|
@@ -3322,7 +3068,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3322
3068
|
}
|
|
3323
3069
|
}
|
|
3324
3070
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/_stream_readable.js",}],
|
|
3325
|
-
[
|
|
3071
|
+
[185, {"../errors":181,"./_stream_duplex":182,"inherits":210}, function(){
|
|
3326
3072
|
with (this.scopeTerminator) {
|
|
3327
3073
|
with (this.globalThis) {
|
|
3328
3074
|
return function() {
|
|
@@ -3336,7 +3082,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3336
3082
|
}
|
|
3337
3083
|
}
|
|
3338
3084
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/_stream_transform.js",}],
|
|
3339
|
-
[
|
|
3085
|
+
[186, {"../errors":181,"./_stream_duplex":182,"./internal/streams/destroy":189,"./internal/streams/state":193,"./internal/streams/stream":194,"_process":244,"buffer":123,"inherits":210,"util-deprecate":340}, function(){
|
|
3340
3086
|
with (this.scopeTerminator) {
|
|
3341
3087
|
with (this.globalThis) {
|
|
3342
3088
|
return function() {
|
|
@@ -3352,7 +3098,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3352
3098
|
}
|
|
3353
3099
|
}
|
|
3354
3100
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/_stream_writable.js",}],
|
|
3355
|
-
[
|
|
3101
|
+
[187, {"./end-of-stream":190,"_process":244}, function(){
|
|
3356
3102
|
with (this.scopeTerminator) {
|
|
3357
3103
|
with (this.globalThis) {
|
|
3358
3104
|
return function() {
|
|
@@ -3368,7 +3114,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3368
3114
|
}
|
|
3369
3115
|
}
|
|
3370
3116
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/async_iterator.js",}],
|
|
3371
|
-
[
|
|
3117
|
+
[188, {"buffer":123,"util":78}, function(){
|
|
3372
3118
|
with (this.scopeTerminator) {
|
|
3373
3119
|
with (this.globalThis) {
|
|
3374
3120
|
return function() {
|
|
@@ -3382,7 +3128,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3382
3128
|
}
|
|
3383
3129
|
}
|
|
3384
3130
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/buffer_list.js",}],
|
|
3385
|
-
[
|
|
3131
|
+
[189, {"_process":244}, function(){
|
|
3386
3132
|
with (this.scopeTerminator) {
|
|
3387
3133
|
with (this.globalThis) {
|
|
3388
3134
|
return function() {
|
|
@@ -3398,7 +3144,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3398
3144
|
}
|
|
3399
3145
|
}
|
|
3400
3146
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/destroy.js",}],
|
|
3401
|
-
[
|
|
3147
|
+
[190, {"../../../errors":181}, function(){
|
|
3402
3148
|
with (this.scopeTerminator) {
|
|
3403
3149
|
with (this.globalThis) {
|
|
3404
3150
|
return function() {
|
|
@@ -3412,7 +3158,7 @@ module.exports=stringify,stringify.default=stringify,stringify.stable=determinis
|
|
|
3412
3158
|
}
|
|
3413
3159
|
}
|
|
3414
3160
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",}],
|
|
3415
|
-
[
|
|
3161
|
+
[191, {}, function(){
|
|
3416
3162
|
with (this.scopeTerminator) {
|
|
3417
3163
|
with (this.globalThis) {
|
|
3418
3164
|
return function() {
|
|
@@ -3426,7 +3172,7 @@ module.exports=function(){throw new Error("Readable.from is not available in the
|
|
|
3426
3172
|
}
|
|
3427
3173
|
}
|
|
3428
3174
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/from-browser.js",}],
|
|
3429
|
-
[
|
|
3175
|
+
[192, {"../../../errors":181,"./end-of-stream":190}, function(){
|
|
3430
3176
|
with (this.scopeTerminator) {
|
|
3431
3177
|
with (this.globalThis) {
|
|
3432
3178
|
return function() {
|
|
@@ -3440,7 +3186,7 @@ module.exports=function(){throw new Error("Readable.from is not available in the
|
|
|
3440
3186
|
}
|
|
3441
3187
|
}
|
|
3442
3188
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/pipeline.js",}],
|
|
3443
|
-
[
|
|
3189
|
+
[193, {"../../../errors":181}, function(){
|
|
3444
3190
|
with (this.scopeTerminator) {
|
|
3445
3191
|
with (this.globalThis) {
|
|
3446
3192
|
return function() {
|
|
@@ -3454,7 +3200,7 @@ module.exports=function(){throw new Error("Readable.from is not available in the
|
|
|
3454
3200
|
}
|
|
3455
3201
|
}
|
|
3456
3202
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/state.js",}],
|
|
3457
|
-
[
|
|
3203
|
+
[194, {"events":175}, function(){
|
|
3458
3204
|
with (this.scopeTerminator) {
|
|
3459
3205
|
with (this.globalThis) {
|
|
3460
3206
|
return function() {
|
|
@@ -3468,7 +3214,7 @@ module.exports=require("events").EventEmitter;
|
|
|
3468
3214
|
}
|
|
3469
3215
|
}
|
|
3470
3216
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/lib/internal/streams/stream-browser.js",}],
|
|
3471
|
-
[
|
|
3217
|
+
[195, {"./lib/_stream_duplex.js":182,"./lib/_stream_passthrough.js":183,"./lib/_stream_readable.js":184,"./lib/_stream_transform.js":185,"./lib/_stream_writable.js":186,"./lib/internal/streams/end-of-stream.js":190,"./lib/internal/streams/pipeline.js":192}, function(){
|
|
3472
3218
|
with (this.scopeTerminator) {
|
|
3473
3219
|
with (this.globalThis) {
|
|
3474
3220
|
return function() {
|
|
@@ -3482,7 +3228,7 @@ exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=expor
|
|
|
3482
3228
|
}
|
|
3483
3229
|
}
|
|
3484
3230
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream",file:"../../node_modules/hash-base/node_modules/readable-stream/readable-browser.js",}],
|
|
3485
|
-
[
|
|
3231
|
+
[196, {"./hash/common":197,"./hash/hmac":198,"./hash/ripemd":199,"./hash/sha":200,"./hash/utils":207}, function(){
|
|
3486
3232
|
with (this.scopeTerminator) {
|
|
3487
3233
|
with (this.globalThis) {
|
|
3488
3234
|
return function() {
|
|
@@ -3496,7 +3242,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3496
3242
|
}
|
|
3497
3243
|
}
|
|
3498
3244
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash.js",}],
|
|
3499
|
-
[
|
|
3245
|
+
[197, {"./utils":207,"minimalistic-assert":229}, function(){
|
|
3500
3246
|
with (this.scopeTerminator) {
|
|
3501
3247
|
with (this.globalThis) {
|
|
3502
3248
|
return function() {
|
|
@@ -3510,7 +3256,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3510
3256
|
}
|
|
3511
3257
|
}
|
|
3512
3258
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/common.js",}],
|
|
3513
|
-
[
|
|
3259
|
+
[198, {"./utils":207,"minimalistic-assert":229}, function(){
|
|
3514
3260
|
with (this.scopeTerminator) {
|
|
3515
3261
|
with (this.globalThis) {
|
|
3516
3262
|
return function() {
|
|
@@ -3524,7 +3270,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3524
3270
|
}
|
|
3525
3271
|
}
|
|
3526
3272
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/hmac.js",}],
|
|
3527
|
-
[
|
|
3273
|
+
[199, {"./common":197,"./utils":207}, function(){
|
|
3528
3274
|
with (this.scopeTerminator) {
|
|
3529
3275
|
with (this.globalThis) {
|
|
3530
3276
|
return function() {
|
|
@@ -3538,7 +3284,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3538
3284
|
}
|
|
3539
3285
|
}
|
|
3540
3286
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/ripemd.js",}],
|
|
3541
|
-
[
|
|
3287
|
+
[200, {"./sha/1":201,"./sha/224":202,"./sha/256":203,"./sha/384":204,"./sha/512":205}, function(){
|
|
3542
3288
|
with (this.scopeTerminator) {
|
|
3543
3289
|
with (this.globalThis) {
|
|
3544
3290
|
return function() {
|
|
@@ -3552,7 +3298,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3552
3298
|
}
|
|
3553
3299
|
}
|
|
3554
3300
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/sha.js",}],
|
|
3555
|
-
[
|
|
3301
|
+
[201, {"../common":197,"../utils":207,"./common":206}, function(){
|
|
3556
3302
|
with (this.scopeTerminator) {
|
|
3557
3303
|
with (this.globalThis) {
|
|
3558
3304
|
return function() {
|
|
@@ -3566,7 +3312,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3566
3312
|
}
|
|
3567
3313
|
}
|
|
3568
3314
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/sha/1.js",}],
|
|
3569
|
-
[
|
|
3315
|
+
[202, {"../utils":207,"./256":203}, function(){
|
|
3570
3316
|
with (this.scopeTerminator) {
|
|
3571
3317
|
with (this.globalThis) {
|
|
3572
3318
|
return function() {
|
|
@@ -3580,7 +3326,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3580
3326
|
}
|
|
3581
3327
|
}
|
|
3582
3328
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/sha/224.js",}],
|
|
3583
|
-
[
|
|
3329
|
+
[203, {"../common":197,"../utils":207,"./common":206,"minimalistic-assert":229}, function(){
|
|
3584
3330
|
with (this.scopeTerminator) {
|
|
3585
3331
|
with (this.globalThis) {
|
|
3586
3332
|
return function() {
|
|
@@ -3594,7 +3340,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3594
3340
|
}
|
|
3595
3341
|
}
|
|
3596
3342
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/sha/256.js",}],
|
|
3597
|
-
[
|
|
3343
|
+
[204, {"../utils":207,"./512":205}, function(){
|
|
3598
3344
|
with (this.scopeTerminator) {
|
|
3599
3345
|
with (this.globalThis) {
|
|
3600
3346
|
return function() {
|
|
@@ -3608,7 +3354,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3608
3354
|
}
|
|
3609
3355
|
}
|
|
3610
3356
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/sha/384.js",}],
|
|
3611
|
-
[
|
|
3357
|
+
[205, {"../common":197,"../utils":207,"minimalistic-assert":229}, function(){
|
|
3612
3358
|
with (this.scopeTerminator) {
|
|
3613
3359
|
with (this.globalThis) {
|
|
3614
3360
|
return function() {
|
|
@@ -3622,7 +3368,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3622
3368
|
}
|
|
3623
3369
|
}
|
|
3624
3370
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/sha/512.js",}],
|
|
3625
|
-
[
|
|
3371
|
+
[206, {"../utils":207}, function(){
|
|
3626
3372
|
with (this.scopeTerminator) {
|
|
3627
3373
|
with (this.globalThis) {
|
|
3628
3374
|
return function() {
|
|
@@ -3636,7 +3382,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3636
3382
|
}
|
|
3637
3383
|
}
|
|
3638
3384
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/sha/common.js",}],
|
|
3639
|
-
[
|
|
3385
|
+
[207, {"inherits":210,"minimalistic-assert":229}, function(){
|
|
3640
3386
|
with (this.scopeTerminator) {
|
|
3641
3387
|
with (this.globalThis) {
|
|
3642
3388
|
return function() {
|
|
@@ -3650,7 +3396,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3650
3396
|
}
|
|
3651
3397
|
}
|
|
3652
3398
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hash.js",file:"../../node_modules/hash.js/lib/hash/utils.js",}],
|
|
3653
|
-
[
|
|
3399
|
+
[208, {"hash.js":196,"minimalistic-assert":229,"minimalistic-crypto-utils":230}, function(){
|
|
3654
3400
|
with (this.scopeTerminator) {
|
|
3655
3401
|
with (this.globalThis) {
|
|
3656
3402
|
return function() {
|
|
@@ -3664,7 +3410,7 @@ var hash=exports;hash.utils=require("./hash/utils"),hash.common=require("./hash/
|
|
|
3664
3410
|
}
|
|
3665
3411
|
}
|
|
3666
3412
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>hmac-drbg",file:"../../node_modules/hmac-drbg/lib/hmac-drbg.js",}],
|
|
3667
|
-
[
|
|
3413
|
+
[209, {}, function(){
|
|
3668
3414
|
with (this.scopeTerminator) {
|
|
3669
3415
|
with (this.globalThis) {
|
|
3670
3416
|
return function() {
|
|
@@ -3679,7 +3425,7 @@ exports.read=function(a,o,t,r,h){var M,p,w=8*h-r-1,f=(1<<w)-1,e=f>>1,i=-7,N=t?h-
|
|
|
3679
3425
|
}
|
|
3680
3426
|
}
|
|
3681
3427
|
}, {package:"buffer>ieee754",file:"../../node_modules/ieee754/index.js",}],
|
|
3682
|
-
[
|
|
3428
|
+
[210, {}, function(){
|
|
3683
3429
|
with (this.scopeTerminator) {
|
|
3684
3430
|
with (this.globalThis) {
|
|
3685
3431
|
return function() {
|
|
@@ -3693,7 +3439,7 @@ exports.read=function(a,o,t,r,h){var M,p,w=8*h-r-1,f=(1<<w)-1,e=f>>1,i=-7,N=t?h-
|
|
|
3693
3439
|
}
|
|
3694
3440
|
}
|
|
3695
3441
|
}, {package:"browserify>inherits",file:"../../node_modules/inherits/inherits_browser.js",}],
|
|
3696
|
-
[
|
|
3442
|
+
[211, {}, function(){
|
|
3697
3443
|
with (this.scopeTerminator) {
|
|
3698
3444
|
with (this.globalThis) {
|
|
3699
3445
|
return function() {
|
|
@@ -3713,7 +3459,7 @@ function isBuffer(f){return!!f.constructor&&"function"==typeof f.constructor.isB
|
|
|
3713
3459
|
}
|
|
3714
3460
|
}
|
|
3715
3461
|
}, {package:"browserify>insert-module-globals>is-buffer",file:"../../node_modules/is-buffer/index.js",}],
|
|
3716
|
-
[
|
|
3462
|
+
[212, {}, function(){
|
|
3717
3463
|
with (this.scopeTerminator) {
|
|
3718
3464
|
with (this.globalThis) {
|
|
3719
3465
|
return function() {
|
|
@@ -3727,7 +3473,7 @@ function isBuffer(f){return!!f.constructor&&"function"==typeof f.constructor.isB
|
|
|
3727
3473
|
}
|
|
3728
3474
|
}
|
|
3729
3475
|
}, {package:"@metamask/providers>is-stream",file:"../../node_modules/is-stream/index.js",}],
|
|
3730
|
-
[
|
|
3476
|
+
[213, {}, function(){
|
|
3731
3477
|
with (this.scopeTerminator) {
|
|
3732
3478
|
with (this.globalThis) {
|
|
3733
3479
|
return function() {
|
|
@@ -3741,7 +3487,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3741
3487
|
}
|
|
3742
3488
|
}
|
|
3743
3489
|
}, {package:"browserify>readable-stream>isarray",file:"../../node_modules/isarray/index.js",}],
|
|
3744
|
-
[
|
|
3490
|
+
[214, {"@metamask/safe-event-emitter":221,"eth-rpc-errors":173}, function(){
|
|
3745
3491
|
with (this.scopeTerminator) {
|
|
3746
3492
|
with (this.globalThis) {
|
|
3747
3493
|
return function() {
|
|
@@ -3755,7 +3501,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3755
3501
|
}
|
|
3756
3502
|
}
|
|
3757
3503
|
}, {package:"json-rpc-engine",file:"../../node_modules/json-rpc-engine/dist/JsonRpcEngine.js",}],
|
|
3758
|
-
[
|
|
3504
|
+
[215, {}, function(){
|
|
3759
3505
|
with (this.scopeTerminator) {
|
|
3760
3506
|
with (this.globalThis) {
|
|
3761
3507
|
return function() {
|
|
@@ -3769,7 +3515,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3769
3515
|
}
|
|
3770
3516
|
}
|
|
3771
3517
|
}, {package:"json-rpc-engine",file:"../../node_modules/json-rpc-engine/dist/createAsyncMiddleware.js",}],
|
|
3772
|
-
[
|
|
3518
|
+
[216, {}, function(){
|
|
3773
3519
|
with (this.scopeTerminator) {
|
|
3774
3520
|
with (this.globalThis) {
|
|
3775
3521
|
return function() {
|
|
@@ -3783,7 +3529,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3783
3529
|
}
|
|
3784
3530
|
}
|
|
3785
3531
|
}, {package:"json-rpc-engine",file:"../../node_modules/json-rpc-engine/dist/createScaffoldMiddleware.js",}],
|
|
3786
|
-
[
|
|
3532
|
+
[217, {}, function(){
|
|
3787
3533
|
with (this.scopeTerminator) {
|
|
3788
3534
|
with (this.globalThis) {
|
|
3789
3535
|
return function() {
|
|
@@ -3797,7 +3543,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3797
3543
|
}
|
|
3798
3544
|
}
|
|
3799
3545
|
}, {package:"json-rpc-engine",file:"../../node_modules/json-rpc-engine/dist/getUniqueId.js",}],
|
|
3800
|
-
[
|
|
3546
|
+
[218, {"./getUniqueId":217}, function(){
|
|
3801
3547
|
with (this.scopeTerminator) {
|
|
3802
3548
|
with (this.globalThis) {
|
|
3803
3549
|
return function() {
|
|
@@ -3811,7 +3557,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3811
3557
|
}
|
|
3812
3558
|
}
|
|
3813
3559
|
}, {package:"json-rpc-engine",file:"../../node_modules/json-rpc-engine/dist/idRemapMiddleware.js",}],
|
|
3814
|
-
[
|
|
3560
|
+
[219, {"./JsonRpcEngine":214,"./createAsyncMiddleware":215,"./createScaffoldMiddleware":216,"./getUniqueId":217,"./idRemapMiddleware":218,"./mergeMiddleware":220}, function(){
|
|
3815
3561
|
with (this.scopeTerminator) {
|
|
3816
3562
|
with (this.globalThis) {
|
|
3817
3563
|
return function() {
|
|
@@ -3825,7 +3571,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3825
3571
|
}
|
|
3826
3572
|
}
|
|
3827
3573
|
}, {package:"json-rpc-engine",file:"../../node_modules/json-rpc-engine/dist/index.js",}],
|
|
3828
|
-
[
|
|
3574
|
+
[220, {"./JsonRpcEngine":214}, function(){
|
|
3829
3575
|
with (this.scopeTerminator) {
|
|
3830
3576
|
with (this.globalThis) {
|
|
3831
3577
|
return function() {
|
|
@@ -3839,7 +3585,21 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3839
3585
|
}
|
|
3840
3586
|
}
|
|
3841
3587
|
}, {package:"json-rpc-engine",file:"../../node_modules/json-rpc-engine/dist/mergeMiddleware.js",}],
|
|
3842
|
-
[
|
|
3588
|
+
[221, {"events":175}, function(){
|
|
3589
|
+
with (this.scopeTerminator) {
|
|
3590
|
+
with (this.globalThis) {
|
|
3591
|
+
return function() {
|
|
3592
|
+
'use strict';
|
|
3593
|
+
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/json-rpc-engine/node_modules/@metamask/safe-event-emitter/index.js
|
|
3594
|
+
return function (require, module, exports) {
|
|
3595
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const events_1=require("events");function safeApply(e,t,r){try{Reflect.apply(e,t,r)}catch(e){setTimeout((()=>{throw e}))}}function arrayClone(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n+=1)r[n]=e[n];return r}class SafeEventEmitter extends events_1.EventEmitter{emit(e,...t){let r="error"===e;const n=this._events;if(void 0!==n)r=r&&void 0===n.error;else if(!r)return!1;if(r){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;const r=new Error("Unhandled error."+(e?` (${e.message})`:""));throw r.context=e,r}const o=n[e];if(void 0===o)return!1;if("function"==typeof o)safeApply(o,this,t);else{const e=o.length,r=arrayClone(o);for(let n=0;n<e;n+=1)safeApply(r[n],this,t)}return!0}}exports.default=SafeEventEmitter;
|
|
3596
|
+
|
|
3597
|
+
};
|
|
3598
|
+
};
|
|
3599
|
+
}
|
|
3600
|
+
}
|
|
3601
|
+
}, {package:"json-rpc-engine>@metamask/safe-event-emitter",file:"../../node_modules/json-rpc-engine/node_modules/@metamask/safe-event-emitter/index.js",}],
|
|
3602
|
+
[222, {"readable-stream":264}, function(){
|
|
3843
3603
|
with (this.scopeTerminator) {
|
|
3844
3604
|
with (this.globalThis) {
|
|
3845
3605
|
return function() {
|
|
@@ -3853,7 +3613,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3853
3613
|
}
|
|
3854
3614
|
}
|
|
3855
3615
|
}, {package:"@metamask/providers>json-rpc-middleware-stream",file:"../../node_modules/json-rpc-middleware-stream/dist/createEngineStream.js",}],
|
|
3856
|
-
[
|
|
3616
|
+
[223, {"@metamask/safe-event-emitter":225,"readable-stream":264}, function(){
|
|
3857
3617
|
with (this.scopeTerminator) {
|
|
3858
3618
|
with (this.globalThis) {
|
|
3859
3619
|
return function() {
|
|
@@ -3867,7 +3627,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3867
3627
|
}
|
|
3868
3628
|
}
|
|
3869
3629
|
}, {package:"@metamask/providers>json-rpc-middleware-stream",file:"../../node_modules/json-rpc-middleware-stream/dist/createStreamMiddleware.js",}],
|
|
3870
|
-
[
|
|
3630
|
+
[224, {"./createEngineStream":222,"./createStreamMiddleware":223}, function(){
|
|
3871
3631
|
with (this.scopeTerminator) {
|
|
3872
3632
|
with (this.globalThis) {
|
|
3873
3633
|
return function() {
|
|
@@ -3881,21 +3641,21 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3881
3641
|
}
|
|
3882
3642
|
}
|
|
3883
3643
|
}, {package:"@metamask/providers>json-rpc-middleware-stream",file:"../../node_modules/json-rpc-middleware-stream/dist/index.js",}],
|
|
3884
|
-
[
|
|
3644
|
+
[225, {"events":175}, function(){
|
|
3885
3645
|
with (this.scopeTerminator) {
|
|
3886
3646
|
with (this.globalThis) {
|
|
3887
3647
|
return function() {
|
|
3888
3648
|
'use strict';
|
|
3889
|
-
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/
|
|
3649
|
+
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/json-rpc-middleware-stream/node_modules/@metamask/safe-event-emitter/index.js
|
|
3890
3650
|
return function (require, module, exports) {
|
|
3891
|
-
"use strict";
|
|
3651
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const events_1=require("events");function safeApply(e,t,r){try{Reflect.apply(e,t,r)}catch(e){setTimeout((()=>{throw e}))}}function arrayClone(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n+=1)r[n]=e[n];return r}class SafeEventEmitter extends events_1.EventEmitter{emit(e,...t){let r="error"===e;const n=this._events;if(void 0!==n)r=r&&void 0===n.error;else if(!r)return!1;if(r){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;const r=new Error("Unhandled error."+(e?` (${e.message})`:""));throw r.context=e,r}const o=n[e];if(void 0===o)return!1;if("function"==typeof o)safeApply(o,this,t);else{const e=o.length,r=arrayClone(o);for(let n=0;n<e;n+=1)safeApply(r[n],this,t)}return!0}}exports.default=SafeEventEmitter;
|
|
3892
3652
|
|
|
3893
3653
|
};
|
|
3894
3654
|
};
|
|
3895
3655
|
}
|
|
3896
3656
|
}
|
|
3897
|
-
}, {package:"
|
|
3898
|
-
[
|
|
3657
|
+
}, {package:"@metamask/providers>json-rpc-middleware-stream>@metamask/safe-event-emitter",file:"../../node_modules/json-rpc-middleware-stream/node_modules/@metamask/safe-event-emitter/index.js",}],
|
|
3658
|
+
[226, {}, function(){
|
|
3899
3659
|
with (this.scopeTerminator) {
|
|
3900
3660
|
with (this.globalThis) {
|
|
3901
3661
|
return function() {
|
|
@@ -3909,7 +3669,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3909
3669
|
}
|
|
3910
3670
|
}
|
|
3911
3671
|
}, {package:"@metamask/snaps-utils>cron-parser>luxon",file:"../../node_modules/luxon/build/cjs-browser/luxon.js",}],
|
|
3912
|
-
[
|
|
3672
|
+
[227, {"hash-base":180,"inherits":210,"safe-buffer":267}, function(){
|
|
3913
3673
|
with (this.scopeTerminator) {
|
|
3914
3674
|
with (this.globalThis) {
|
|
3915
3675
|
return function() {
|
|
@@ -3923,7 +3683,7 @@ var toString={}.toString;module.exports=Array.isArray||function(r){return"[objec
|
|
|
3923
3683
|
}
|
|
3924
3684
|
}
|
|
3925
3685
|
}, {package:"browserify>crypto-browserify>create-hash>md5.js",file:"../../node_modules/md5.js/index.js",}],
|
|
3926
|
-
[
|
|
3686
|
+
[228, {"bn.js":76,"brorand":77}, function(){
|
|
3927
3687
|
with (this.scopeTerminator) {
|
|
3928
3688
|
with (this.globalThis) {
|
|
3929
3689
|
return function() {
|
|
@@ -3937,7 +3697,7 @@ var bn=require("bn.js"),brorand=require("brorand");function MillerRabin(r){this.
|
|
|
3937
3697
|
}
|
|
3938
3698
|
}
|
|
3939
3699
|
}, {package:"browserify>crypto-browserify>diffie-hellman>miller-rabin",file:"../../node_modules/miller-rabin/lib/mr.js",}],
|
|
3940
|
-
[
|
|
3700
|
+
[229, {}, function(){
|
|
3941
3701
|
with (this.scopeTerminator) {
|
|
3942
3702
|
with (this.globalThis) {
|
|
3943
3703
|
return function() {
|
|
@@ -3951,7 +3711,7 @@ function assert(r,e){if(!r)throw new Error(e||"Assertion failed")}module.exports
|
|
|
3951
3711
|
}
|
|
3952
3712
|
}
|
|
3953
3713
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert",file:"../../node_modules/minimalistic-assert/index.js",}],
|
|
3954
|
-
[
|
|
3714
|
+
[230, {}, function(){
|
|
3955
3715
|
with (this.scopeTerminator) {
|
|
3956
3716
|
with (this.globalThis) {
|
|
3957
3717
|
return function() {
|
|
@@ -3965,7 +3725,7 @@ function assert(r,e){if(!r)throw new Error(e||"Assertion failed")}module.exports
|
|
|
3965
3725
|
}
|
|
3966
3726
|
}
|
|
3967
3727
|
}, {package:"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-crypto-utils",file:"../../node_modules/minimalistic-crypto-utils/lib/utils.js",}],
|
|
3968
|
-
[
|
|
3728
|
+
[231, {"wrappy":342}, function(){
|
|
3969
3729
|
with (this.scopeTerminator) {
|
|
3970
3730
|
with (this.globalThis) {
|
|
3971
3731
|
return function() {
|
|
@@ -3979,7 +3739,7 @@ var wrappy=require("wrappy");function once(e){var r=function(){return r.called?r
|
|
|
3979
3739
|
}
|
|
3980
3740
|
}
|
|
3981
3741
|
}, {package:"pump>once",file:"../../node_modules/once/once.js",}],
|
|
3982
|
-
[
|
|
3742
|
+
[232, {}, function(){
|
|
3983
3743
|
with (this.scopeTerminator) {
|
|
3984
3744
|
with (this.globalThis) {
|
|
3985
3745
|
return function() {
|
|
@@ -4004,7 +3764,7 @@ module.exports={"2.16.840.1.101.3.4.1.1": "aes-128-ecb",
|
|
|
4004
3764
|
}
|
|
4005
3765
|
}
|
|
4006
3766
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1",file:"../../node_modules/parse-asn1/aesid.json",}],
|
|
4007
|
-
[
|
|
3767
|
+
[233, {"./certificate":234,"asn1.js":61}, function(){
|
|
4008
3768
|
with (this.scopeTerminator) {
|
|
4009
3769
|
with (this.globalThis) {
|
|
4010
3770
|
return function() {
|
|
@@ -4018,7 +3778,7 @@ module.exports={"2.16.840.1.101.3.4.1.1": "aes-128-ecb",
|
|
|
4018
3778
|
}
|
|
4019
3779
|
}
|
|
4020
3780
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1",file:"../../node_modules/parse-asn1/asn1.js",}],
|
|
4021
|
-
[
|
|
3781
|
+
[234, {"asn1.js":61}, function(){
|
|
4022
3782
|
with (this.scopeTerminator) {
|
|
4023
3783
|
with (this.globalThis) {
|
|
4024
3784
|
return function() {
|
|
@@ -4032,7 +3792,7 @@ module.exports={"2.16.840.1.101.3.4.1.1": "aes-128-ecb",
|
|
|
4032
3792
|
}
|
|
4033
3793
|
}
|
|
4034
3794
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1",file:"../../node_modules/parse-asn1/certificate.js",}],
|
|
4035
|
-
[
|
|
3795
|
+
[235, {"browserify-aes":81,"evp_bytestokey":176,"safe-buffer":267}, function(){
|
|
4036
3796
|
with (this.scopeTerminator) {
|
|
4037
3797
|
with (this.globalThis) {
|
|
4038
3798
|
return function() {
|
|
@@ -4046,7 +3806,7 @@ var findProc=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256
|
|
|
4046
3806
|
}
|
|
4047
3807
|
}
|
|
4048
3808
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1",file:"../../node_modules/parse-asn1/fixProc.js",}],
|
|
4049
|
-
[
|
|
3809
|
+
[236, {"./aesid.json":232,"./asn1":233,"./fixProc":235,"browserify-aes":81,"pbkdf2":237,"safe-buffer":267}, function(){
|
|
4050
3810
|
with (this.scopeTerminator) {
|
|
4051
3811
|
with (this.globalThis) {
|
|
4052
3812
|
return function() {
|
|
@@ -4060,7 +3820,7 @@ var asn1=require("./asn1"),aesid=require("./aesid.json"),fixProc=require("./fixP
|
|
|
4060
3820
|
}
|
|
4061
3821
|
}
|
|
4062
3822
|
}, {package:"browserify>crypto-browserify>public-encrypt>parse-asn1",file:"../../node_modules/parse-asn1/index.js",}],
|
|
4063
|
-
[
|
|
3823
|
+
[237, {"./lib/async":238,"./lib/sync":241}, function(){
|
|
4064
3824
|
with (this.scopeTerminator) {
|
|
4065
3825
|
with (this.globalThis) {
|
|
4066
3826
|
return function() {
|
|
@@ -4074,7 +3834,7 @@ var asn1=require("./asn1"),aesid=require("./aesid.json"),fixProc=require("./fixP
|
|
|
4074
3834
|
}
|
|
4075
3835
|
}
|
|
4076
3836
|
}, {package:"browserify>crypto-browserify>pbkdf2",file:"../../node_modules/pbkdf2/browser.js",}],
|
|
4077
|
-
[
|
|
3837
|
+
[238, {"./default-encoding":239,"./precondition":240,"./sync":241,"./to-buffer":242,"_process":244,"safe-buffer":267}, function(){
|
|
4078
3838
|
with (this.scopeTerminator) {
|
|
4079
3839
|
with (this.globalThis) {
|
|
4080
3840
|
return function() {
|
|
@@ -4090,7 +3850,7 @@ var ZERO_BUF,Buffer=require("safe-buffer").Buffer,checkParameters=require("./pre
|
|
|
4090
3850
|
}
|
|
4091
3851
|
}
|
|
4092
3852
|
}, {package:"browserify>crypto-browserify>pbkdf2",file:"../../node_modules/pbkdf2/lib/async.js",}],
|
|
4093
|
-
[
|
|
3853
|
+
[239, {"_process":244}, function(){
|
|
4094
3854
|
with (this.scopeTerminator) {
|
|
4095
3855
|
with (this.globalThis) {
|
|
4096
3856
|
return function() {
|
|
@@ -4106,7 +3866,7 @@ var defaultEncoding;if(process.browser)defaultEncoding="utf-8";else if(process.v
|
|
|
4106
3866
|
}
|
|
4107
3867
|
}
|
|
4108
3868
|
}, {package:"browserify>crypto-browserify>pbkdf2",file:"../../node_modules/pbkdf2/lib/default-encoding.js",}],
|
|
4109
|
-
[
|
|
3869
|
+
[240, {}, function(){
|
|
4110
3870
|
with (this.scopeTerminator) {
|
|
4111
3871
|
with (this.globalThis) {
|
|
4112
3872
|
return function() {
|
|
@@ -4120,7 +3880,7 @@ var MAX_ALLOC=Math.pow(2,30)-1;module.exports=function(r,e){if("number"!=typeof
|
|
|
4120
3880
|
}
|
|
4121
3881
|
}
|
|
4122
3882
|
}, {package:"browserify>crypto-browserify>pbkdf2",file:"../../node_modules/pbkdf2/lib/precondition.js",}],
|
|
4123
|
-
[
|
|
3883
|
+
[241, {"./default-encoding":239,"./precondition":240,"./to-buffer":242,"create-hash/md5":130,"ripemd160":266,"safe-buffer":267,"sha.js":315}, function(){
|
|
4124
3884
|
with (this.scopeTerminator) {
|
|
4125
3885
|
with (this.globalThis) {
|
|
4126
3886
|
return function() {
|
|
@@ -4134,7 +3894,7 @@ var md5=require("create-hash/md5"),RIPEMD160=require("ripemd160"),sha=require("s
|
|
|
4134
3894
|
}
|
|
4135
3895
|
}
|
|
4136
3896
|
}, {package:"browserify>crypto-browserify>pbkdf2",file:"../../node_modules/pbkdf2/lib/sync-browser.js",}],
|
|
4137
|
-
[
|
|
3897
|
+
[242, {"safe-buffer":267}, function(){
|
|
4138
3898
|
with (this.scopeTerminator) {
|
|
4139
3899
|
with (this.globalThis) {
|
|
4140
3900
|
return function() {
|
|
@@ -4148,7 +3908,7 @@ var Buffer=require("safe-buffer").Buffer;module.exports=function(r,f,e){if(Buffe
|
|
|
4148
3908
|
}
|
|
4149
3909
|
}
|
|
4150
3910
|
}, {package:"browserify>crypto-browserify>pbkdf2",file:"../../node_modules/pbkdf2/lib/to-buffer.js",}],
|
|
4151
|
-
[
|
|
3911
|
+
[243, {"_process":244}, function(){
|
|
4152
3912
|
with (this.scopeTerminator) {
|
|
4153
3913
|
with (this.globalThis) {
|
|
4154
3914
|
return function() {
|
|
@@ -4164,7 +3924,7 @@ var Buffer=require("safe-buffer").Buffer;module.exports=function(r,f,e){if(Buffe
|
|
|
4164
3924
|
}
|
|
4165
3925
|
}
|
|
4166
3926
|
}, {package:"browserify>readable-stream>process-nextick-args",file:"../../node_modules/process-nextick-args/index.js",}],
|
|
4167
|
-
[
|
|
3927
|
+
[244, {}, function(){
|
|
4168
3928
|
with (this.scopeTerminator) {
|
|
4169
3929
|
with (this.globalThis) {
|
|
4170
3930
|
return function() {
|
|
@@ -4178,7 +3938,7 @@ var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defau
|
|
|
4178
3938
|
}
|
|
4179
3939
|
}
|
|
4180
3940
|
}, {package:"process",file:"../../node_modules/process/browser.js",}],
|
|
4181
|
-
[
|
|
3941
|
+
[245, {"./privateDecrypt":247,"./publicEncrypt":248}, function(){
|
|
4182
3942
|
with (this.scopeTerminator) {
|
|
4183
3943
|
with (this.globalThis) {
|
|
4184
3944
|
return function() {
|
|
@@ -4192,7 +3952,7 @@ var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defau
|
|
|
4192
3952
|
}
|
|
4193
3953
|
}
|
|
4194
3954
|
}, {package:"browserify>crypto-browserify>public-encrypt",file:"../../node_modules/public-encrypt/browser.js",}],
|
|
4195
|
-
[
|
|
3955
|
+
[246, {"create-hash":129,"safe-buffer":267}, function(){
|
|
4196
3956
|
with (this.scopeTerminator) {
|
|
4197
3957
|
with (this.globalThis) {
|
|
4198
3958
|
return function() {
|
|
@@ -4206,7 +3966,7 @@ var createHash=require("create-hash"),Buffer=require("safe-buffer").Buffer;funct
|
|
|
4206
3966
|
}
|
|
4207
3967
|
}
|
|
4208
3968
|
}, {package:"browserify>crypto-browserify>public-encrypt",file:"../../node_modules/public-encrypt/mgf.js",}],
|
|
4209
|
-
[
|
|
3969
|
+
[247, {"./mgf":246,"./withPublic":249,"./xor":250,"bn.js":76,"browserify-rsa":99,"create-hash":129,"parse-asn1":236,"safe-buffer":267}, function(){
|
|
4210
3970
|
with (this.scopeTerminator) {
|
|
4211
3971
|
with (this.globalThis) {
|
|
4212
3972
|
return function() {
|
|
@@ -4220,7 +3980,7 @@ var parseKeys=require("parse-asn1"),mgf=require("./mgf"),xor=require("./xor"),BN
|
|
|
4220
3980
|
}
|
|
4221
3981
|
}
|
|
4222
3982
|
}, {package:"browserify>crypto-browserify>public-encrypt",file:"../../node_modules/public-encrypt/privateDecrypt.js",}],
|
|
4223
|
-
[
|
|
3983
|
+
[248, {"./mgf":246,"./withPublic":249,"./xor":250,"bn.js":76,"browserify-rsa":99,"create-hash":129,"parse-asn1":236,"randombytes":252,"safe-buffer":267}, function(){
|
|
4224
3984
|
with (this.scopeTerminator) {
|
|
4225
3985
|
with (this.globalThis) {
|
|
4226
3986
|
return function() {
|
|
@@ -4234,7 +3994,7 @@ var parseKeys=require("parse-asn1"),randomBytes=require("randombytes"),createHas
|
|
|
4234
3994
|
}
|
|
4235
3995
|
}
|
|
4236
3996
|
}, {package:"browserify>crypto-browserify>public-encrypt",file:"../../node_modules/public-encrypt/publicEncrypt.js",}],
|
|
4237
|
-
[
|
|
3997
|
+
[249, {"bn.js":76,"safe-buffer":267}, function(){
|
|
4238
3998
|
with (this.scopeTerminator) {
|
|
4239
3999
|
with (this.globalThis) {
|
|
4240
4000
|
return function() {
|
|
@@ -4248,7 +4008,7 @@ var BN=require("bn.js"),Buffer=require("safe-buffer").Buffer;function withPublic
|
|
|
4248
4008
|
}
|
|
4249
4009
|
}
|
|
4250
4010
|
}, {package:"browserify>crypto-browserify>public-encrypt",file:"../../node_modules/public-encrypt/withPublic.js",}],
|
|
4251
|
-
[
|
|
4011
|
+
[250, {}, function(){
|
|
4252
4012
|
with (this.scopeTerminator) {
|
|
4253
4013
|
with (this.globalThis) {
|
|
4254
4014
|
return function() {
|
|
@@ -4262,7 +4022,7 @@ module.exports=function(r,e){for(var n=r.length,o=-1;++o<n;)r[o]^=e[o];return r}
|
|
|
4262
4022
|
}
|
|
4263
4023
|
}
|
|
4264
4024
|
}, {package:"browserify>crypto-browserify>public-encrypt",file:"../../node_modules/public-encrypt/xor.js",}],
|
|
4265
|
-
[
|
|
4025
|
+
[251, {"_process":244,"end-of-stream":169,"fs":78,"once":231}, function(){
|
|
4266
4026
|
with (this.scopeTerminator) {
|
|
4267
4027
|
with (this.globalThis) {
|
|
4268
4028
|
return function() {
|
|
@@ -4278,7 +4038,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4278
4038
|
}
|
|
4279
4039
|
}
|
|
4280
4040
|
}, {package:"pump",file:"../../node_modules/pump/index.js",}],
|
|
4281
|
-
[
|
|
4041
|
+
[252, {"_process":244,"safe-buffer":267}, function(){
|
|
4282
4042
|
with (this.scopeTerminator) {
|
|
4283
4043
|
with (this.globalThis) {
|
|
4284
4044
|
return function() {
|
|
@@ -4294,7 +4054,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4294
4054
|
}
|
|
4295
4055
|
}
|
|
4296
4056
|
}, {package:"browserify>crypto-browserify>randombytes",file:"../../node_modules/randombytes/browser.js",}],
|
|
4297
|
-
[
|
|
4057
|
+
[253, {"_process":244,"randombytes":252,"safe-buffer":267}, function(){
|
|
4298
4058
|
with (this.scopeTerminator) {
|
|
4299
4059
|
with (this.globalThis) {
|
|
4300
4060
|
return function() {
|
|
@@ -4310,7 +4070,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4310
4070
|
}
|
|
4311
4071
|
}
|
|
4312
4072
|
}, {package:"browserify>crypto-browserify>randomfill",file:"../../node_modules/randomfill/browser.js",}],
|
|
4313
|
-
[
|
|
4073
|
+
[254, {"./_stream_readable":256,"./_stream_writable":258,"core-util-is":127,"inherits":210,"process-nextick-args":243}, function(){
|
|
4314
4074
|
with (this.scopeTerminator) {
|
|
4315
4075
|
with (this.globalThis) {
|
|
4316
4076
|
return function() {
|
|
@@ -4324,7 +4084,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4324
4084
|
}
|
|
4325
4085
|
}
|
|
4326
4086
|
}, {package:"browserify>readable-stream",file:"../../node_modules/readable-stream/lib/_stream_duplex.js",}],
|
|
4327
|
-
[
|
|
4087
|
+
[255, {"./_stream_transform":257,"core-util-is":127,"inherits":210}, function(){
|
|
4328
4088
|
with (this.scopeTerminator) {
|
|
4329
4089
|
with (this.globalThis) {
|
|
4330
4090
|
return function() {
|
|
@@ -4338,7 +4098,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4338
4098
|
}
|
|
4339
4099
|
}
|
|
4340
4100
|
}, {package:"browserify>readable-stream",file:"../../node_modules/readable-stream/lib/_stream_passthrough.js",}],
|
|
4341
|
-
[
|
|
4101
|
+
[256, {"./_stream_duplex":254,"./internal/streams/BufferList":259,"./internal/streams/destroy":260,"./internal/streams/stream":261,"_process":244,"core-util-is":127,"events":175,"inherits":210,"isarray":213,"process-nextick-args":243,"safe-buffer":262,"string_decoder/":263,"util":78}, function(){
|
|
4342
4102
|
with (this.scopeTerminator) {
|
|
4343
4103
|
with (this.globalThis) {
|
|
4344
4104
|
return function() {
|
|
@@ -4354,7 +4114,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4354
4114
|
}
|
|
4355
4115
|
}
|
|
4356
4116
|
}, {package:"browserify>readable-stream",file:"../../node_modules/readable-stream/lib/_stream_readable.js",}],
|
|
4357
|
-
[
|
|
4117
|
+
[257, {"./_stream_duplex":254,"core-util-is":127,"inherits":210}, function(){
|
|
4358
4118
|
with (this.scopeTerminator) {
|
|
4359
4119
|
with (this.globalThis) {
|
|
4360
4120
|
return function() {
|
|
@@ -4368,7 +4128,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4368
4128
|
}
|
|
4369
4129
|
}
|
|
4370
4130
|
}, {package:"browserify>readable-stream",file:"../../node_modules/readable-stream/lib/_stream_transform.js",}],
|
|
4371
|
-
[
|
|
4131
|
+
[258, {"./_stream_duplex":254,"./internal/streams/destroy":260,"./internal/streams/stream":261,"_process":244,"core-util-is":127,"inherits":210,"process-nextick-args":243,"safe-buffer":262,"timers":339,"util-deprecate":340}, function(){
|
|
4372
4132
|
with (this.scopeTerminator) {
|
|
4373
4133
|
with (this.globalThis) {
|
|
4374
4134
|
return function() {
|
|
@@ -4384,7 +4144,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4384
4144
|
}
|
|
4385
4145
|
}
|
|
4386
4146
|
}, {package:"browserify>readable-stream",file:"../../node_modules/readable-stream/lib/_stream_writable.js",}],
|
|
4387
|
-
[
|
|
4147
|
+
[259, {"safe-buffer":262,"util":78}, function(){
|
|
4388
4148
|
with (this.scopeTerminator) {
|
|
4389
4149
|
with (this.globalThis) {
|
|
4390
4150
|
return function() {
|
|
@@ -4398,7 +4158,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4398
4158
|
}
|
|
4399
4159
|
}
|
|
4400
4160
|
}, {package:"browserify>readable-stream",file:"../../node_modules/readable-stream/lib/internal/streams/BufferList.js",}],
|
|
4401
|
-
[
|
|
4161
|
+
[260, {"process-nextick-args":243}, function(){
|
|
4402
4162
|
with (this.scopeTerminator) {
|
|
4403
4163
|
with (this.globalThis) {
|
|
4404
4164
|
return function() {
|
|
@@ -4412,7 +4172,7 @@ var once=require("once"),eos=require("end-of-stream"),fs=require("fs"),noop=func
|
|
|
4412
4172
|
}
|
|
4413
4173
|
}
|
|
4414
4174
|
}, {package:"browserify>readable-stream",file:"../../node_modules/readable-stream/lib/internal/streams/destroy.js",}],
|
|
4415
|
-
[
|
|
4175
|
+
[261, {"events":175}, function(){
|
|
4416
4176
|
with (this.scopeTerminator) {
|
|
4417
4177
|
with (this.globalThis) {
|
|
4418
4178
|
return function() {
|
|
@@ -4426,7 +4186,7 @@ module.exports=require("events").EventEmitter;
|
|
|
4426
4186
|
}
|
|
4427
4187
|
}
|
|
4428
4188
|
}, {package:"browserify>readable-stream",file:"../../node_modules/readable-stream/lib/internal/streams/stream-browser.js",}],
|
|
4429
|
-
[
|
|
4189
|
+
[262, {"buffer":123}, function(){
|
|
4430
4190
|
with (this.scopeTerminator) {
|
|
4431
4191
|
with (this.globalThis) {
|
|
4432
4192
|
return function() {
|
|
@@ -4440,7 +4200,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,r){for(va
|
|
|
4440
4200
|
}
|
|
4441
4201
|
}
|
|
4442
4202
|
}, {package:"browserify>readable-stream>safe-buffer",file:"../../node_modules/readable-stream/node_modules/safe-buffer/index.js",}],
|
|
4443
|
-
[
|
|
4203
|
+
[263, {"safe-buffer":262}, function(){
|
|
4444
4204
|
with (this.scopeTerminator) {
|
|
4445
4205
|
with (this.globalThis) {
|
|
4446
4206
|
return function() {
|
|
@@ -4454,7 +4214,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,r){for(va
|
|
|
4454
4214
|
}
|
|
4455
4215
|
}
|
|
4456
4216
|
}, {package:"browserify>readable-stream>string_decoder",file:"../../node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js",}],
|
|
4457
|
-
[
|
|
4217
|
+
[264, {"./lib/_stream_duplex.js":254,"./lib/_stream_passthrough.js":255,"./lib/_stream_readable.js":256,"./lib/_stream_transform.js":257,"./lib/_stream_writable.js":258}, function(){
|
|
4458
4218
|
with (this.scopeTerminator) {
|
|
4459
4219
|
with (this.globalThis) {
|
|
4460
4220
|
return function() {
|
|
@@ -4468,7 +4228,7 @@ exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=expor
|
|
|
4468
4228
|
}
|
|
4469
4229
|
}
|
|
4470
4230
|
}, {package:"browserify>readable-stream",file:"../../node_modules/readable-stream/readable-browser.js",}],
|
|
4471
|
-
[
|
|
4231
|
+
[265, {"buffer":123}, function(){
|
|
4472
4232
|
with (this.scopeTerminator) {
|
|
4473
4233
|
with (this.globalThis) {
|
|
4474
4234
|
return function() {
|
|
@@ -4484,7 +4244,7 @@ exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=expor
|
|
|
4484
4244
|
}
|
|
4485
4245
|
}
|
|
4486
4246
|
}, {package:"@metamask/snaps-utils>rfdc",file:"../../node_modules/rfdc/index.js",}],
|
|
4487
|
-
[
|
|
4247
|
+
[266, {"buffer":123,"hash-base":180,"inherits":210}, function(){
|
|
4488
4248
|
with (this.scopeTerminator) {
|
|
4489
4249
|
with (this.globalThis) {
|
|
4490
4250
|
return function() {
|
|
@@ -4498,7 +4258,7 @@ exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=expor
|
|
|
4498
4258
|
}
|
|
4499
4259
|
}
|
|
4500
4260
|
}, {package:"browserify>crypto-browserify>pbkdf2>ripemd160",file:"../../node_modules/ripemd160/index.js",}],
|
|
4501
|
-
[
|
|
4261
|
+
[267, {"buffer":123}, function(){
|
|
4502
4262
|
with (this.scopeTerminator) {
|
|
4503
4263
|
with (this.globalThis) {
|
|
4504
4264
|
return function() {
|
|
@@ -4513,7 +4273,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,e){for(va
|
|
|
4513
4273
|
}
|
|
4514
4274
|
}
|
|
4515
4275
|
}, {package:"browserify>browser-pack>safe-buffer",file:"../../node_modules/safe-buffer/index.js",}],
|
|
4516
|
-
[
|
|
4276
|
+
[268, {"_process":244,"buffer":123}, function(){
|
|
4517
4277
|
with (this.scopeTerminator) {
|
|
4518
4278
|
with (this.globalThis) {
|
|
4519
4279
|
return function() {
|
|
@@ -4529,7 +4289,7 @@ var buffer=require("buffer"),Buffer=buffer.Buffer;function copyProps(f,e){for(va
|
|
|
4529
4289
|
}
|
|
4530
4290
|
}
|
|
4531
4291
|
}, {package:"@wdio/cli>inquirer>external-editor>iconv-lite>safer-buffer",file:"../../node_modules/safer-buffer/safer.js",}],
|
|
4532
|
-
[
|
|
4292
|
+
[269, {"../functions/cmp":273,"../internal/debug":298,"../internal/parse-options":300,"../internal/re":301,"./range":270,"./semver":271}, function(){
|
|
4533
4293
|
with (this.scopeTerminator) {
|
|
4534
4294
|
with (this.globalThis) {
|
|
4535
4295
|
return function() {
|
|
@@ -4543,7 +4303,7 @@ const ANY=Symbol("SemVer ANY");class Comparator{static get ANY(){return ANY}cons
|
|
|
4543
4303
|
}
|
|
4544
4304
|
}
|
|
4545
4305
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/classes/comparator.js",}],
|
|
4546
|
-
[
|
|
4306
|
+
[270, {"../internal/debug":298,"../internal/parse-options":300,"../internal/re":301,"./comparator":269,"./semver":271,"lru-cache":302}, function(){
|
|
4547
4307
|
with (this.scopeTerminator) {
|
|
4548
4308
|
with (this.globalThis) {
|
|
4549
4309
|
return function() {
|
|
@@ -4557,7 +4317,7 @@ class Range{constructor(e,r){if(r=parseOptions(r),e instanceof Range)return e.lo
|
|
|
4557
4317
|
}
|
|
4558
4318
|
}
|
|
4559
4319
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/classes/range.js",}],
|
|
4560
|
-
[
|
|
4320
|
+
[271, {"../internal/constants":297,"../internal/debug":298,"../internal/identifiers":299,"../internal/parse-options":300,"../internal/re":301}, function(){
|
|
4561
4321
|
with (this.scopeTerminator) {
|
|
4562
4322
|
with (this.globalThis) {
|
|
4563
4323
|
return function() {
|
|
@@ -4571,7 +4331,7 @@ const debug=require("../internal/debug"),{MAX_LENGTH:MAX_LENGTH,MAX_SAFE_INTEGER
|
|
|
4571
4331
|
}
|
|
4572
4332
|
}
|
|
4573
4333
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/classes/semver.js",}],
|
|
4574
|
-
[
|
|
4334
|
+
[272, {"./parse":288}, function(){
|
|
4575
4335
|
with (this.scopeTerminator) {
|
|
4576
4336
|
with (this.globalThis) {
|
|
4577
4337
|
return function() {
|
|
@@ -4585,7 +4345,7 @@ const parse=require("./parse"),clean=(e,r)=>{const n=parse(e.trim().replace(/^[=
|
|
|
4585
4345
|
}
|
|
4586
4346
|
}
|
|
4587
4347
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/clean.js",}],
|
|
4588
|
-
[
|
|
4348
|
+
[273, {"./eq":279,"./gt":280,"./gte":281,"./lt":283,"./lte":284,"./neq":287}, function(){
|
|
4589
4349
|
with (this.scopeTerminator) {
|
|
4590
4350
|
with (this.globalThis) {
|
|
4591
4351
|
return function() {
|
|
@@ -4599,7 +4359,7 @@ const eq=require("./eq"),neq=require("./neq"),gt=require("./gt"),gte=require("./
|
|
|
4599
4359
|
}
|
|
4600
4360
|
}
|
|
4601
4361
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/cmp.js",}],
|
|
4602
|
-
[
|
|
4362
|
+
[274, {"../classes/semver":271,"../internal/re":301,"./parse":288}, function(){
|
|
4603
4363
|
with (this.scopeTerminator) {
|
|
4604
4364
|
with (this.globalThis) {
|
|
4605
4365
|
return function() {
|
|
@@ -4613,7 +4373,7 @@ const SemVer=require("../classes/semver"),parse=require("./parse"),{re:re,t:t}=r
|
|
|
4613
4373
|
}
|
|
4614
4374
|
}
|
|
4615
4375
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/coerce.js",}],
|
|
4616
|
-
[
|
|
4376
|
+
[275, {"../classes/semver":271}, function(){
|
|
4617
4377
|
with (this.scopeTerminator) {
|
|
4618
4378
|
with (this.globalThis) {
|
|
4619
4379
|
return function() {
|
|
@@ -4627,7 +4387,7 @@ const SemVer=require("../classes/semver"),compareBuild=(e,r,m)=>{const o=new Sem
|
|
|
4627
4387
|
}
|
|
4628
4388
|
}
|
|
4629
4389
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/compare-build.js",}],
|
|
4630
|
-
[
|
|
4390
|
+
[276, {"./compare":277}, function(){
|
|
4631
4391
|
with (this.scopeTerminator) {
|
|
4632
4392
|
with (this.globalThis) {
|
|
4633
4393
|
return function() {
|
|
@@ -4641,7 +4401,7 @@ const compare=require("./compare"),compareLoose=(o,e)=>compare(o,e,!0);module.ex
|
|
|
4641
4401
|
}
|
|
4642
4402
|
}
|
|
4643
4403
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/compare-loose.js",}],
|
|
4644
|
-
[
|
|
4404
|
+
[277, {"../classes/semver":271}, function(){
|
|
4645
4405
|
with (this.scopeTerminator) {
|
|
4646
4406
|
with (this.globalThis) {
|
|
4647
4407
|
return function() {
|
|
@@ -4655,7 +4415,7 @@ const SemVer=require("../classes/semver"),compare=(e,r,m)=>new SemVer(e,m).compa
|
|
|
4655
4415
|
}
|
|
4656
4416
|
}
|
|
4657
4417
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/compare.js",}],
|
|
4658
|
-
[
|
|
4418
|
+
[278, {"./eq":279,"./parse":288}, function(){
|
|
4659
4419
|
with (this.scopeTerminator) {
|
|
4660
4420
|
with (this.globalThis) {
|
|
4661
4421
|
return function() {
|
|
@@ -4669,7 +4429,7 @@ const parse=require("./parse"),eq=require("./eq"),diff=(e,r)=>{if(eq(e,r))return
|
|
|
4669
4429
|
}
|
|
4670
4430
|
}
|
|
4671
4431
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/diff.js",}],
|
|
4672
|
-
[
|
|
4432
|
+
[279, {"./compare":277}, function(){
|
|
4673
4433
|
with (this.scopeTerminator) {
|
|
4674
4434
|
with (this.globalThis) {
|
|
4675
4435
|
return function() {
|
|
@@ -4683,7 +4443,7 @@ const compare=require("./compare"),eq=(e,o,r)=>0===compare(e,o,r);module.exports
|
|
|
4683
4443
|
}
|
|
4684
4444
|
}
|
|
4685
4445
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/eq.js",}],
|
|
4686
|
-
[
|
|
4446
|
+
[280, {"./compare":277}, function(){
|
|
4687
4447
|
with (this.scopeTerminator) {
|
|
4688
4448
|
with (this.globalThis) {
|
|
4689
4449
|
return function() {
|
|
@@ -4697,7 +4457,7 @@ const compare=require("./compare"),gt=(e,o,r)=>compare(e,o,r)>0;module.exports=g
|
|
|
4697
4457
|
}
|
|
4698
4458
|
}
|
|
4699
4459
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/gt.js",}],
|
|
4700
|
-
[
|
|
4460
|
+
[281, {"./compare":277}, function(){
|
|
4701
4461
|
with (this.scopeTerminator) {
|
|
4702
4462
|
with (this.globalThis) {
|
|
4703
4463
|
return function() {
|
|
@@ -4711,7 +4471,7 @@ const compare=require("./compare"),gte=(e,o,r)=>compare(e,o,r)>=0;module.exports
|
|
|
4711
4471
|
}
|
|
4712
4472
|
}
|
|
4713
4473
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/gte.js",}],
|
|
4714
|
-
[
|
|
4474
|
+
[282, {"../classes/semver":271}, function(){
|
|
4715
4475
|
with (this.scopeTerminator) {
|
|
4716
4476
|
with (this.globalThis) {
|
|
4717
4477
|
return function() {
|
|
@@ -4725,7 +4485,7 @@ const SemVer=require("../classes/semver"),inc=(e,r,n,s)=>{"string"==typeof n&&(s
|
|
|
4725
4485
|
}
|
|
4726
4486
|
}
|
|
4727
4487
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/inc.js",}],
|
|
4728
|
-
[
|
|
4488
|
+
[283, {"./compare":277}, function(){
|
|
4729
4489
|
with (this.scopeTerminator) {
|
|
4730
4490
|
with (this.globalThis) {
|
|
4731
4491
|
return function() {
|
|
@@ -4739,7 +4499,7 @@ const compare=require("./compare"),lt=(e,o,r)=>compare(e,o,r)<0;module.exports=l
|
|
|
4739
4499
|
}
|
|
4740
4500
|
}
|
|
4741
4501
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/lt.js",}],
|
|
4742
|
-
[
|
|
4502
|
+
[284, {"./compare":277}, function(){
|
|
4743
4503
|
with (this.scopeTerminator) {
|
|
4744
4504
|
with (this.globalThis) {
|
|
4745
4505
|
return function() {
|
|
@@ -4753,7 +4513,7 @@ const compare=require("./compare"),lte=(e,o,r)=>compare(e,o,r)<=0;module.exports
|
|
|
4753
4513
|
}
|
|
4754
4514
|
}
|
|
4755
4515
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/lte.js",}],
|
|
4756
|
-
[
|
|
4516
|
+
[285, {"../classes/semver":271}, function(){
|
|
4757
4517
|
with (this.scopeTerminator) {
|
|
4758
4518
|
with (this.globalThis) {
|
|
4759
4519
|
return function() {
|
|
@@ -4767,7 +4527,7 @@ const SemVer=require("../classes/semver"),major=(e,r)=>new SemVer(e,r).major;mod
|
|
|
4767
4527
|
}
|
|
4768
4528
|
}
|
|
4769
4529
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/major.js",}],
|
|
4770
|
-
[
|
|
4530
|
+
[286, {"../classes/semver":271}, function(){
|
|
4771
4531
|
with (this.scopeTerminator) {
|
|
4772
4532
|
with (this.globalThis) {
|
|
4773
4533
|
return function() {
|
|
@@ -4781,7 +4541,7 @@ const SemVer=require("../classes/semver"),minor=(e,r)=>new SemVer(e,r).minor;mod
|
|
|
4781
4541
|
}
|
|
4782
4542
|
}
|
|
4783
4543
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/minor.js",}],
|
|
4784
|
-
[
|
|
4544
|
+
[287, {"./compare":277}, function(){
|
|
4785
4545
|
with (this.scopeTerminator) {
|
|
4786
4546
|
with (this.globalThis) {
|
|
4787
4547
|
return function() {
|
|
@@ -4795,7 +4555,7 @@ const compare=require("./compare"),neq=(e,o,r)=>0!==compare(e,o,r);module.export
|
|
|
4795
4555
|
}
|
|
4796
4556
|
}
|
|
4797
4557
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/neq.js",}],
|
|
4798
|
-
[
|
|
4558
|
+
[288, {"../classes/semver":271,"../internal/constants":297,"../internal/parse-options":300,"../internal/re":301}, function(){
|
|
4799
4559
|
with (this.scopeTerminator) {
|
|
4800
4560
|
with (this.globalThis) {
|
|
4801
4561
|
return function() {
|
|
@@ -4809,7 +4569,7 @@ const{MAX_LENGTH:MAX_LENGTH}=require("../internal/constants"),{re:re,t:t}=requir
|
|
|
4809
4569
|
}
|
|
4810
4570
|
}
|
|
4811
4571
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/parse.js",}],
|
|
4812
|
-
[
|
|
4572
|
+
[289, {"../classes/semver":271}, function(){
|
|
4813
4573
|
with (this.scopeTerminator) {
|
|
4814
4574
|
with (this.globalThis) {
|
|
4815
4575
|
return function() {
|
|
@@ -4823,7 +4583,7 @@ const SemVer=require("../classes/semver"),patch=(e,r)=>new SemVer(e,r).patch;mod
|
|
|
4823
4583
|
}
|
|
4824
4584
|
}
|
|
4825
4585
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/patch.js",}],
|
|
4826
|
-
[
|
|
4586
|
+
[290, {"./parse":288}, function(){
|
|
4827
4587
|
with (this.scopeTerminator) {
|
|
4828
4588
|
with (this.globalThis) {
|
|
4829
4589
|
return function() {
|
|
@@ -4837,7 +4597,7 @@ const parse=require("./parse"),prerelease=(e,r)=>{const s=parse(e,r);return s&&s
|
|
|
4837
4597
|
}
|
|
4838
4598
|
}
|
|
4839
4599
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/prerelease.js",}],
|
|
4840
|
-
[
|
|
4600
|
+
[291, {"./compare":277}, function(){
|
|
4841
4601
|
with (this.scopeTerminator) {
|
|
4842
4602
|
with (this.globalThis) {
|
|
4843
4603
|
return function() {
|
|
@@ -4851,7 +4611,7 @@ const compare=require("./compare"),rcompare=(r,e,o)=>compare(e,r,o);module.expor
|
|
|
4851
4611
|
}
|
|
4852
4612
|
}
|
|
4853
4613
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/rcompare.js",}],
|
|
4854
|
-
[
|
|
4614
|
+
[292, {"./compare-build":275}, function(){
|
|
4855
4615
|
with (this.scopeTerminator) {
|
|
4856
4616
|
with (this.globalThis) {
|
|
4857
4617
|
return function() {
|
|
@@ -4865,7 +4625,7 @@ const compareBuild=require("./compare-build"),rsort=(r,o)=>r.sort(((r,e)=>compar
|
|
|
4865
4625
|
}
|
|
4866
4626
|
}
|
|
4867
4627
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/rsort.js",}],
|
|
4868
|
-
[
|
|
4628
|
+
[293, {"../classes/range":270}, function(){
|
|
4869
4629
|
with (this.scopeTerminator) {
|
|
4870
4630
|
with (this.globalThis) {
|
|
4871
4631
|
return function() {
|
|
@@ -4879,7 +4639,7 @@ const Range=require("../classes/range"),satisfies=(e,s,t)=>{try{s=new Range(s,t)
|
|
|
4879
4639
|
}
|
|
4880
4640
|
}
|
|
4881
4641
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/satisfies.js",}],
|
|
4882
|
-
[
|
|
4642
|
+
[294, {"./compare-build":275}, function(){
|
|
4883
4643
|
with (this.scopeTerminator) {
|
|
4884
4644
|
with (this.globalThis) {
|
|
4885
4645
|
return function() {
|
|
@@ -4893,7 +4653,7 @@ const compareBuild=require("./compare-build"),sort=(o,r)=>o.sort(((o,e)=>compare
|
|
|
4893
4653
|
}
|
|
4894
4654
|
}
|
|
4895
4655
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/sort.js",}],
|
|
4896
|
-
[
|
|
4656
|
+
[295, {"./parse":288}, function(){
|
|
4897
4657
|
with (this.scopeTerminator) {
|
|
4898
4658
|
with (this.globalThis) {
|
|
4899
4659
|
return function() {
|
|
@@ -4907,7 +4667,7 @@ const parse=require("./parse"),valid=(e,r)=>{const s=parse(e,r);return s?s.versi
|
|
|
4907
4667
|
}
|
|
4908
4668
|
}
|
|
4909
4669
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/functions/valid.js",}],
|
|
4910
|
-
[
|
|
4670
|
+
[296, {"./classes/comparator":269,"./classes/range":270,"./classes/semver":271,"./functions/clean":272,"./functions/cmp":273,"./functions/coerce":274,"./functions/compare":277,"./functions/compare-build":275,"./functions/compare-loose":276,"./functions/diff":278,"./functions/eq":279,"./functions/gt":280,"./functions/gte":281,"./functions/inc":282,"./functions/lt":283,"./functions/lte":284,"./functions/major":285,"./functions/minor":286,"./functions/neq":287,"./functions/parse":288,"./functions/patch":289,"./functions/prerelease":290,"./functions/rcompare":291,"./functions/rsort":292,"./functions/satisfies":293,"./functions/sort":294,"./functions/valid":295,"./internal/constants":297,"./internal/identifiers":299,"./internal/re":301,"./ranges/gtr":303,"./ranges/intersects":304,"./ranges/ltr":305,"./ranges/max-satisfying":306,"./ranges/min-satisfying":307,"./ranges/min-version":308,"./ranges/outside":309,"./ranges/simplify":310,"./ranges/subset":311,"./ranges/to-comparators":312,"./ranges/valid":313}, function(){
|
|
4911
4671
|
with (this.scopeTerminator) {
|
|
4912
4672
|
with (this.globalThis) {
|
|
4913
4673
|
return function() {
|
|
@@ -4921,7 +4681,7 @@ const internalRe=require("./internal/re"),constants=require("./internal/constant
|
|
|
4921
4681
|
}
|
|
4922
4682
|
}
|
|
4923
4683
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/index.js",}],
|
|
4924
|
-
[
|
|
4684
|
+
[297, {}, function(){
|
|
4925
4685
|
with (this.scopeTerminator) {
|
|
4926
4686
|
with (this.globalThis) {
|
|
4927
4687
|
return function() {
|
|
@@ -4935,7 +4695,7 @@ const SEMVER_SPEC_VERSION="2.0.0",MAX_LENGTH=256,MAX_SAFE_INTEGER=Number.MAX_SAF
|
|
|
4935
4695
|
}
|
|
4936
4696
|
}
|
|
4937
4697
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/internal/constants.js",}],
|
|
4938
|
-
[
|
|
4698
|
+
[298, {"_process":244}, function(){
|
|
4939
4699
|
with (this.scopeTerminator) {
|
|
4940
4700
|
with (this.globalThis) {
|
|
4941
4701
|
return function() {
|
|
@@ -4951,7 +4711,7 @@ const debug="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bse
|
|
|
4951
4711
|
}
|
|
4952
4712
|
}
|
|
4953
4713
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/internal/debug.js",}],
|
|
4954
|
-
[
|
|
4714
|
+
[299, {}, function(){
|
|
4955
4715
|
with (this.scopeTerminator) {
|
|
4956
4716
|
with (this.globalThis) {
|
|
4957
4717
|
return function() {
|
|
@@ -4965,7 +4725,7 @@ const numeric=/^[0-9]+$/,compareIdentifiers=(e,r)=>{const i=numeric.test(e),t=nu
|
|
|
4965
4725
|
}
|
|
4966
4726
|
}
|
|
4967
4727
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/internal/identifiers.js",}],
|
|
4968
|
-
[
|
|
4728
|
+
[300, {}, function(){
|
|
4969
4729
|
with (this.scopeTerminator) {
|
|
4970
4730
|
with (this.globalThis) {
|
|
4971
4731
|
return function() {
|
|
@@ -4979,7 +4739,7 @@ const opts=["includePrerelease","loose","rtl"],parseOptions=e=>e?"object"!=typeo
|
|
|
4979
4739
|
}
|
|
4980
4740
|
}
|
|
4981
4741
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/internal/parse-options.js",}],
|
|
4982
|
-
[
|
|
4742
|
+
[301, {"./constants":297,"./debug":298}, function(){
|
|
4983
4743
|
with (this.scopeTerminator) {
|
|
4984
4744
|
with (this.globalThis) {
|
|
4985
4745
|
return function() {
|
|
@@ -4993,7 +4753,21 @@ const{MAX_SAFE_COMPONENT_LENGTH:MAX_SAFE_COMPONENT_LENGTH}=require("./constants"
|
|
|
4993
4753
|
}
|
|
4994
4754
|
}
|
|
4995
4755
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/internal/re.js",}],
|
|
4996
|
-
[
|
|
4756
|
+
[302, {"yallist":344}, function(){
|
|
4757
|
+
with (this.scopeTerminator) {
|
|
4758
|
+
with (this.globalThis) {
|
|
4759
|
+
return function() {
|
|
4760
|
+
'use strict';
|
|
4761
|
+
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/node_modules/semver/node_modules/lru-cache/index.js
|
|
4762
|
+
return function (require, module, exports) {
|
|
4763
|
+
"use strict";const Yallist=require("yallist"),MAX=Symbol("max"),LENGTH=Symbol("length"),LENGTH_CALCULATOR=Symbol("lengthCalculator"),ALLOW_STALE=Symbol("allowStale"),MAX_AGE=Symbol("maxAge"),DISPOSE=Symbol("dispose"),NO_DISPOSE_ON_SET=Symbol("noDisposeOnSet"),LRU_LIST=Symbol("lruList"),CACHE=Symbol("cache"),UPDATE_AGE_ON_GET=Symbol("updateAgeOnGet"),naiveLength=()=>1;class LRUCache{constructor(t){if("number"==typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!=typeof t.max||t.max<0))throw new TypeError("max must be a non-negative number");this[MAX]=t.max||1/0;const e=t.length||naiveLength;if(this[LENGTH_CALCULATOR]="function"!=typeof e?naiveLength:e,this[ALLOW_STALE]=t.stale||!1,t.maxAge&&"number"!=typeof t.maxAge)throw new TypeError("maxAge must be a number");this[MAX_AGE]=t.maxAge||0,this[DISPOSE]=t.dispose,this[NO_DISPOSE_ON_SET]=t.noDisposeOnSet||!1,this[UPDATE_AGE_ON_GET]=t.updateAgeOnGet||!1,this.reset()}set max(t){if("number"!=typeof t||t<0)throw new TypeError("max must be a non-negative number");this[MAX]=t||1/0,trim(this)}get max(){return this[MAX]}set allowStale(t){this[ALLOW_STALE]=!!t}get allowStale(){return this[ALLOW_STALE]}set maxAge(t){if("number"!=typeof t)throw new TypeError("maxAge must be a non-negative number");this[MAX_AGE]=t,trim(this)}get maxAge(){return this[MAX_AGE]}set lengthCalculator(t){"function"!=typeof t&&(t=naiveLength),t!==this[LENGTH_CALCULATOR]&&(this[LENGTH_CALCULATOR]=t,this[LENGTH]=0,this[LRU_LIST].forEach((t=>{t.length=this[LENGTH_CALCULATOR](t.value,t.key),this[LENGTH]+=t.length}))),trim(this)}get lengthCalculator(){return this[LENGTH_CALCULATOR]}get length(){return this[LENGTH]}get itemCount(){return this[LRU_LIST].length}rforEach(t,e){e=e||this;for(let s=this[LRU_LIST].tail;null!==s;){const i=s.prev;forEachStep(this,t,s,e),s=i}}forEach(t,e){e=e||this;for(let s=this[LRU_LIST].head;null!==s;){const i=s.next;forEachStep(this,t,s,e),s=i}}keys(){return this[LRU_LIST].toArray().map((t=>t.key))}values(){return this[LRU_LIST].toArray().map((t=>t.value))}reset(){this[DISPOSE]&&this[LRU_LIST]&&this[LRU_LIST].length&&this[LRU_LIST].forEach((t=>this[DISPOSE](t.key,t.value))),this[CACHE]=new Map,this[LRU_LIST]=new Yallist,this[LENGTH]=0}dump(){return this[LRU_LIST].map((t=>!isStale(this,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)})).toArray().filter((t=>t))}dumpLru(){return this[LRU_LIST]}set(t,e,s){if((s=s||this[MAX_AGE])&&"number"!=typeof s)throw new TypeError("maxAge must be a number");const i=s?Date.now():0,h=this[LENGTH_CALCULATOR](e,t);if(this[CACHE].has(t)){if(h>this[MAX])return del(this,this[CACHE].get(t)),!1;const n=this[CACHE].get(t).value;return this[DISPOSE]&&(this[NO_DISPOSE_ON_SET]||this[DISPOSE](t,n.value)),n.now=i,n.maxAge=s,n.value=e,this[LENGTH]+=h-n.length,n.length=h,this.get(t),trim(this),!0}const n=new Entry(t,e,h,i,s);return n.length>this[MAX]?(this[DISPOSE]&&this[DISPOSE](t,e),!1):(this[LENGTH]+=n.length,this[LRU_LIST].unshift(n),this[CACHE].set(t,this[LRU_LIST].head),trim(this),!0)}has(t){if(!this[CACHE].has(t))return!1;const e=this[CACHE].get(t).value;return!isStale(this,e)}get(t){return get(this,t,!0)}peek(t){return get(this,t,!1)}pop(){const t=this[LRU_LIST].tail;return t?(del(this,t),t.value):null}del(t){del(this,this[CACHE].get(t))}load(t){this.reset();const e=Date.now();for(let s=t.length-1;s>=0;s--){const i=t[s],h=i.e||0;if(0===h)this.set(i.k,i.v);else{const t=h-e;t>0&&this.set(i.k,i.v,t)}}}prune(){this[CACHE].forEach(((t,e)=>get(this,e,!1)))}}const get=(t,e,s)=>{const i=t[CACHE].get(e);if(i){const e=i.value;if(isStale(t,e)){if(del(t,i),!t[ALLOW_STALE])return}else s&&(t[UPDATE_AGE_ON_GET]&&(i.value.now=Date.now()),t[LRU_LIST].unshiftNode(i));return e.value}},isStale=(t,e)=>{if(!e||!e.maxAge&&!t[MAX_AGE])return!1;const s=Date.now()-e.now;return e.maxAge?s>e.maxAge:t[MAX_AGE]&&s>t[MAX_AGE]},trim=t=>{if(t[LENGTH]>t[MAX])for(let e=t[LRU_LIST].tail;t[LENGTH]>t[MAX]&&null!==e;){const s=e.prev;del(t,e),e=s}},del=(t,e)=>{if(e){const s=e.value;t[DISPOSE]&&t[DISPOSE](s.key,s.value),t[LENGTH]-=s.length,t[CACHE].delete(s.key),t[LRU_LIST].removeNode(e)}};class Entry{constructor(t,e,s,i,h){this.key=t,this.value=e,this.length=s,this.now=i,this.maxAge=h||0}}const forEachStep=(t,e,s,i)=>{let h=s.value;isStale(t,h)&&(del(t,s),t[ALLOW_STALE]||(h=void 0)),h&&e.call(i,h.value,h.key,t)};module.exports=LRUCache;
|
|
4764
|
+
|
|
4765
|
+
};
|
|
4766
|
+
};
|
|
4767
|
+
}
|
|
4768
|
+
}
|
|
4769
|
+
}, {package:"ts-jest>semver>lru-cache",file:"../../node_modules/semver/node_modules/lru-cache/index.js",}],
|
|
4770
|
+
[303, {"./outside":309}, function(){
|
|
4997
4771
|
with (this.scopeTerminator) {
|
|
4998
4772
|
with (this.globalThis) {
|
|
4999
4773
|
return function() {
|
|
@@ -5007,7 +4781,7 @@ const outside=require("./outside"),gtr=(e,t,o)=>outside(e,t,">",o);module.export
|
|
|
5007
4781
|
}
|
|
5008
4782
|
}
|
|
5009
4783
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/gtr.js",}],
|
|
5010
|
-
[
|
|
4784
|
+
[304, {"../classes/range":270}, function(){
|
|
5011
4785
|
with (this.scopeTerminator) {
|
|
5012
4786
|
with (this.globalThis) {
|
|
5013
4787
|
return function() {
|
|
@@ -5021,7 +4795,7 @@ const Range=require("../classes/range"),intersects=(e,s,n)=>(e=new Range(e,n),s=
|
|
|
5021
4795
|
}
|
|
5022
4796
|
}
|
|
5023
4797
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/intersects.js",}],
|
|
5024
|
-
[
|
|
4798
|
+
[305, {"./outside":309}, function(){
|
|
5025
4799
|
with (this.scopeTerminator) {
|
|
5026
4800
|
with (this.globalThis) {
|
|
5027
4801
|
return function() {
|
|
@@ -5035,7 +4809,7 @@ const outside=require("./outside"),ltr=(e,t,o)=>outside(e,t,"<",o);module.export
|
|
|
5035
4809
|
}
|
|
5036
4810
|
}
|
|
5037
4811
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/ltr.js",}],
|
|
5038
|
-
[
|
|
4812
|
+
[306, {"../classes/range":270,"../classes/semver":271}, function(){
|
|
5039
4813
|
with (this.scopeTerminator) {
|
|
5040
4814
|
with (this.globalThis) {
|
|
5041
4815
|
return function() {
|
|
@@ -5049,7 +4823,7 @@ const SemVer=require("../classes/semver"),Range=require("../classes/range"),maxS
|
|
|
5049
4823
|
}
|
|
5050
4824
|
}
|
|
5051
4825
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/max-satisfying.js",}],
|
|
5052
|
-
[
|
|
4826
|
+
[307, {"../classes/range":270,"../classes/semver":271}, function(){
|
|
5053
4827
|
with (this.scopeTerminator) {
|
|
5054
4828
|
with (this.globalThis) {
|
|
5055
4829
|
return function() {
|
|
@@ -5063,7 +4837,7 @@ const SemVer=require("../classes/semver"),Range=require("../classes/range"),minS
|
|
|
5063
4837
|
}
|
|
5064
4838
|
}
|
|
5065
4839
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/min-satisfying.js",}],
|
|
5066
|
-
[
|
|
4840
|
+
[308, {"../classes/range":270,"../classes/semver":271,"../functions/gt":280}, function(){
|
|
5067
4841
|
with (this.scopeTerminator) {
|
|
5068
4842
|
with (this.globalThis) {
|
|
5069
4843
|
return function() {
|
|
@@ -5077,7 +4851,7 @@ const SemVer=require("../classes/semver"),Range=require("../classes/range"),gt=r
|
|
|
5077
4851
|
}
|
|
5078
4852
|
}
|
|
5079
4853
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/min-version.js",}],
|
|
5080
|
-
[
|
|
4854
|
+
[309, {"../classes/comparator":269,"../classes/range":270,"../classes/semver":271,"../functions/gt":280,"../functions/gte":281,"../functions/lt":283,"../functions/lte":284,"../functions/satisfies":293}, function(){
|
|
5081
4855
|
with (this.scopeTerminator) {
|
|
5082
4856
|
with (this.globalThis) {
|
|
5083
4857
|
return function() {
|
|
@@ -5091,7 +4865,7 @@ const SemVer=require("../classes/semver"),Comparator=require("../classes/compara
|
|
|
5091
4865
|
}
|
|
5092
4866
|
}
|
|
5093
4867
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/outside.js",}],
|
|
5094
|
-
[
|
|
4868
|
+
[310, {"../functions/compare.js":277,"../functions/satisfies.js":293}, function(){
|
|
5095
4869
|
with (this.scopeTerminator) {
|
|
5096
4870
|
with (this.globalThis) {
|
|
5097
4871
|
return function() {
|
|
@@ -5105,7 +4879,7 @@ const satisfies=require("../functions/satisfies.js"),compare=require("../functio
|
|
|
5105
4879
|
}
|
|
5106
4880
|
}
|
|
5107
4881
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/simplify.js",}],
|
|
5108
|
-
[
|
|
4882
|
+
[311, {"../classes/comparator.js":269,"../classes/range.js":270,"../functions/compare.js":277,"../functions/satisfies.js":293}, function(){
|
|
5109
4883
|
with (this.scopeTerminator) {
|
|
5110
4884
|
with (this.globalThis) {
|
|
5111
4885
|
return function() {
|
|
@@ -5119,7 +4893,7 @@ const Range=require("../classes/range.js"),Comparator=require("../classes/compar
|
|
|
5119
4893
|
}
|
|
5120
4894
|
}
|
|
5121
4895
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/subset.js",}],
|
|
5122
|
-
[
|
|
4896
|
+
[312, {"../classes/range":270}, function(){
|
|
5123
4897
|
with (this.scopeTerminator) {
|
|
5124
4898
|
with (this.globalThis) {
|
|
5125
4899
|
return function() {
|
|
@@ -5133,7 +4907,7 @@ const Range=require("../classes/range"),toComparators=(a,e)=>new Range(a,e).set.
|
|
|
5133
4907
|
}
|
|
5134
4908
|
}
|
|
5135
4909
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/to-comparators.js",}],
|
|
5136
|
-
[
|
|
4910
|
+
[313, {"../classes/range":270}, function(){
|
|
5137
4911
|
with (this.scopeTerminator) {
|
|
5138
4912
|
with (this.globalThis) {
|
|
5139
4913
|
return function() {
|
|
@@ -5147,7 +4921,7 @@ const Range=require("../classes/range"),validRange=(e,n)=>{try{return new Range(
|
|
|
5147
4921
|
}
|
|
5148
4922
|
}
|
|
5149
4923
|
}, {package:"ts-jest>semver",file:"../../node_modules/semver/ranges/valid.js",}],
|
|
5150
|
-
[
|
|
4924
|
+
[314, {"safe-buffer":267}, function(){
|
|
5151
4925
|
with (this.scopeTerminator) {
|
|
5152
4926
|
with (this.globalThis) {
|
|
5153
4927
|
return function() {
|
|
@@ -5161,7 +4935,7 @@ var Buffer=require("safe-buffer").Buffer;function Hash(t,i){this._block=Buffer.a
|
|
|
5161
4935
|
}
|
|
5162
4936
|
}
|
|
5163
4937
|
}, {package:"browserify>crypto-browserify>pbkdf2>sha.js",file:"../../node_modules/sha.js/hash.js",}],
|
|
5164
|
-
[
|
|
4938
|
+
[315, {"./sha":316,"./sha1":317,"./sha224":318,"./sha256":319,"./sha384":320,"./sha512":321}, function(){
|
|
5165
4939
|
with (this.scopeTerminator) {
|
|
5166
4940
|
with (this.globalThis) {
|
|
5167
4941
|
return function() {
|
|
@@ -5175,7 +4949,7 @@ var exports=module.exports=function(e){e=e.toLowerCase();var r=exports[e];if(!r)
|
|
|
5175
4949
|
}
|
|
5176
4950
|
}
|
|
5177
4951
|
}, {package:"browserify>crypto-browserify>pbkdf2>sha.js",file:"../../node_modules/sha.js/index.js",}],
|
|
5178
|
-
[
|
|
4952
|
+
[316, {"./hash":314,"inherits":210,"safe-buffer":267}, function(){
|
|
5179
4953
|
with (this.scopeTerminator) {
|
|
5180
4954
|
with (this.globalThis) {
|
|
5181
4955
|
return function() {
|
|
@@ -5189,7 +4963,7 @@ var inherits=require("inherits"),Hash=require("./hash"),Buffer=require("safe-buf
|
|
|
5189
4963
|
}
|
|
5190
4964
|
}
|
|
5191
4965
|
}, {package:"browserify>crypto-browserify>pbkdf2>sha.js",file:"../../node_modules/sha.js/sha.js",}],
|
|
5192
|
-
[
|
|
4966
|
+
[317, {"./hash":314,"inherits":210,"safe-buffer":267}, function(){
|
|
5193
4967
|
with (this.scopeTerminator) {
|
|
5194
4968
|
with (this.globalThis) {
|
|
5195
4969
|
return function() {
|
|
@@ -5203,7 +4977,7 @@ var inherits=require("inherits"),Hash=require("./hash"),Buffer=require("safe-buf
|
|
|
5203
4977
|
}
|
|
5204
4978
|
}
|
|
5205
4979
|
}, {package:"browserify>crypto-browserify>pbkdf2>sha.js",file:"../../node_modules/sha.js/sha1.js",}],
|
|
5206
|
-
[
|
|
4980
|
+
[318, {"./hash":314,"./sha256":319,"inherits":210,"safe-buffer":267}, function(){
|
|
5207
4981
|
with (this.scopeTerminator) {
|
|
5208
4982
|
with (this.globalThis) {
|
|
5209
4983
|
return function() {
|
|
@@ -5217,7 +4991,7 @@ var inherits=require("inherits"),Sha256=require("./sha256"),Hash=require("./hash
|
|
|
5217
4991
|
}
|
|
5218
4992
|
}
|
|
5219
4993
|
}, {package:"browserify>crypto-browserify>pbkdf2>sha.js",file:"../../node_modules/sha.js/sha224.js",}],
|
|
5220
|
-
[
|
|
4994
|
+
[319, {"./hash":314,"inherits":210,"safe-buffer":267}, function(){
|
|
5221
4995
|
with (this.scopeTerminator) {
|
|
5222
4996
|
with (this.globalThis) {
|
|
5223
4997
|
return function() {
|
|
@@ -5231,7 +5005,7 @@ var inherits=require("inherits"),Hash=require("./hash"),Buffer=require("safe-buf
|
|
|
5231
5005
|
}
|
|
5232
5006
|
}
|
|
5233
5007
|
}, {package:"browserify>crypto-browserify>pbkdf2>sha.js",file:"../../node_modules/sha.js/sha256.js",}],
|
|
5234
|
-
[
|
|
5008
|
+
[320, {"./hash":314,"./sha512":321,"inherits":210,"safe-buffer":267}, function(){
|
|
5235
5009
|
with (this.scopeTerminator) {
|
|
5236
5010
|
with (this.globalThis) {
|
|
5237
5011
|
return function() {
|
|
@@ -5245,7 +5019,7 @@ var inherits=require("inherits"),SHA512=require("./sha512"),Hash=require("./hash
|
|
|
5245
5019
|
}
|
|
5246
5020
|
}
|
|
5247
5021
|
}, {package:"browserify>crypto-browserify>pbkdf2>sha.js",file:"../../node_modules/sha.js/sha384.js",}],
|
|
5248
|
-
[
|
|
5022
|
+
[321, {"./hash":314,"inherits":210,"safe-buffer":267}, function(){
|
|
5249
5023
|
with (this.scopeTerminator) {
|
|
5250
5024
|
with (this.globalThis) {
|
|
5251
5025
|
return function() {
|
|
@@ -5259,7 +5033,7 @@ var inherits=require("inherits"),Hash=require("./hash"),Buffer=require("safe-buf
|
|
|
5259
5033
|
}
|
|
5260
5034
|
}
|
|
5261
5035
|
}, {package:"browserify>crypto-browserify>pbkdf2>sha.js",file:"../../node_modules/sha.js/sha512.js",}],
|
|
5262
|
-
[
|
|
5036
|
+
[322, {"events":175,"inherits":210,"readable-stream/lib/_stream_duplex.js":324,"readable-stream/lib/_stream_passthrough.js":325,"readable-stream/lib/_stream_readable.js":326,"readable-stream/lib/_stream_transform.js":327,"readable-stream/lib/_stream_writable.js":328,"readable-stream/lib/internal/streams/end-of-stream.js":332,"readable-stream/lib/internal/streams/pipeline.js":334}, function(){
|
|
5263
5037
|
with (this.scopeTerminator) {
|
|
5264
5038
|
with (this.globalThis) {
|
|
5265
5039
|
return function() {
|
|
@@ -5273,7 +5047,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5273
5047
|
}
|
|
5274
5048
|
}
|
|
5275
5049
|
}, {package:"stream-browserify",file:"../../node_modules/stream-browserify/index.js",}],
|
|
5276
|
-
[
|
|
5050
|
+
[323, {}, function(){
|
|
5277
5051
|
with (this.scopeTerminator) {
|
|
5278
5052
|
with (this.globalThis) {
|
|
5279
5053
|
return function() {
|
|
@@ -5287,7 +5061,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5287
5061
|
}
|
|
5288
5062
|
}
|
|
5289
5063
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/errors-browser.js",}],
|
|
5290
|
-
[
|
|
5064
|
+
[324, {"./_stream_readable":326,"./_stream_writable":328,"_process":244,"inherits":210}, function(){
|
|
5291
5065
|
with (this.scopeTerminator) {
|
|
5292
5066
|
with (this.globalThis) {
|
|
5293
5067
|
return function() {
|
|
@@ -5303,7 +5077,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5303
5077
|
}
|
|
5304
5078
|
}
|
|
5305
5079
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_duplex.js",}],
|
|
5306
|
-
[
|
|
5080
|
+
[325, {"./_stream_transform":327,"inherits":210}, function(){
|
|
5307
5081
|
with (this.scopeTerminator) {
|
|
5308
5082
|
with (this.globalThis) {
|
|
5309
5083
|
return function() {
|
|
@@ -5317,7 +5091,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5317
5091
|
}
|
|
5318
5092
|
}
|
|
5319
5093
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_passthrough.js",}],
|
|
5320
|
-
[
|
|
5094
|
+
[326, {"../errors":323,"./_stream_duplex":324,"./internal/streams/async_iterator":329,"./internal/streams/buffer_list":330,"./internal/streams/destroy":331,"./internal/streams/from":333,"./internal/streams/state":335,"./internal/streams/stream":336,"_process":244,"buffer":123,"events":175,"inherits":210,"string_decoder/":337,"util":78}, function(){
|
|
5321
5095
|
with (this.scopeTerminator) {
|
|
5322
5096
|
with (this.globalThis) {
|
|
5323
5097
|
return function() {
|
|
@@ -5333,7 +5107,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5333
5107
|
}
|
|
5334
5108
|
}
|
|
5335
5109
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_readable.js",}],
|
|
5336
|
-
[
|
|
5110
|
+
[327, {"../errors":323,"./_stream_duplex":324,"inherits":210}, function(){
|
|
5337
5111
|
with (this.scopeTerminator) {
|
|
5338
5112
|
with (this.globalThis) {
|
|
5339
5113
|
return function() {
|
|
@@ -5347,7 +5121,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5347
5121
|
}
|
|
5348
5122
|
}
|
|
5349
5123
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_transform.js",}],
|
|
5350
|
-
[
|
|
5124
|
+
[328, {"../errors":323,"./_stream_duplex":324,"./internal/streams/destroy":331,"./internal/streams/state":335,"./internal/streams/stream":336,"_process":244,"buffer":123,"inherits":210,"util-deprecate":340}, function(){
|
|
5351
5125
|
with (this.scopeTerminator) {
|
|
5352
5126
|
with (this.globalThis) {
|
|
5353
5127
|
return function() {
|
|
@@ -5363,7 +5137,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5363
5137
|
}
|
|
5364
5138
|
}
|
|
5365
5139
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/_stream_writable.js",}],
|
|
5366
|
-
[
|
|
5140
|
+
[329, {"./end-of-stream":332,"_process":244}, function(){
|
|
5367
5141
|
with (this.scopeTerminator) {
|
|
5368
5142
|
with (this.globalThis) {
|
|
5369
5143
|
return function() {
|
|
@@ -5379,7 +5153,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5379
5153
|
}
|
|
5380
5154
|
}
|
|
5381
5155
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/async_iterator.js",}],
|
|
5382
|
-
[
|
|
5156
|
+
[330, {"buffer":123,"util":78}, function(){
|
|
5383
5157
|
with (this.scopeTerminator) {
|
|
5384
5158
|
with (this.globalThis) {
|
|
5385
5159
|
return function() {
|
|
@@ -5393,7 +5167,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5393
5167
|
}
|
|
5394
5168
|
}
|
|
5395
5169
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/buffer_list.js",}],
|
|
5396
|
-
[
|
|
5170
|
+
[331, {"_process":244}, function(){
|
|
5397
5171
|
with (this.scopeTerminator) {
|
|
5398
5172
|
with (this.globalThis) {
|
|
5399
5173
|
return function() {
|
|
@@ -5409,7 +5183,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5409
5183
|
}
|
|
5410
5184
|
}
|
|
5411
5185
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/destroy.js",}],
|
|
5412
|
-
[
|
|
5186
|
+
[332, {"../../../errors":323}, function(){
|
|
5413
5187
|
with (this.scopeTerminator) {
|
|
5414
5188
|
with (this.globalThis) {
|
|
5415
5189
|
return function() {
|
|
@@ -5423,7 +5197,7 @@ module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("in
|
|
|
5423
5197
|
}
|
|
5424
5198
|
}
|
|
5425
5199
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/end-of-stream.js",}],
|
|
5426
|
-
[
|
|
5200
|
+
[333, {}, function(){
|
|
5427
5201
|
with (this.scopeTerminator) {
|
|
5428
5202
|
with (this.globalThis) {
|
|
5429
5203
|
return function() {
|
|
@@ -5437,7 +5211,7 @@ module.exports=function(){throw new Error("Readable.from is not available in the
|
|
|
5437
5211
|
}
|
|
5438
5212
|
}
|
|
5439
5213
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/from-browser.js",}],
|
|
5440
|
-
[
|
|
5214
|
+
[334, {"../../../errors":323,"./end-of-stream":332}, function(){
|
|
5441
5215
|
with (this.scopeTerminator) {
|
|
5442
5216
|
with (this.globalThis) {
|
|
5443
5217
|
return function() {
|
|
@@ -5451,7 +5225,7 @@ module.exports=function(){throw new Error("Readable.from is not available in the
|
|
|
5451
5225
|
}
|
|
5452
5226
|
}
|
|
5453
5227
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/pipeline.js",}],
|
|
5454
|
-
[
|
|
5228
|
+
[335, {"../../../errors":323}, function(){
|
|
5455
5229
|
with (this.scopeTerminator) {
|
|
5456
5230
|
with (this.globalThis) {
|
|
5457
5231
|
return function() {
|
|
@@ -5465,7 +5239,7 @@ module.exports=function(){throw new Error("Readable.from is not available in the
|
|
|
5465
5239
|
}
|
|
5466
5240
|
}
|
|
5467
5241
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/state.js",}],
|
|
5468
|
-
[
|
|
5242
|
+
[336, {"events":175}, function(){
|
|
5469
5243
|
with (this.scopeTerminator) {
|
|
5470
5244
|
with (this.globalThis) {
|
|
5471
5245
|
return function() {
|
|
@@ -5479,7 +5253,7 @@ module.exports=require("events").EventEmitter;
|
|
|
5479
5253
|
}
|
|
5480
5254
|
}
|
|
5481
5255
|
}, {package:"stream-browserify>readable-stream",file:"../../node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js",}],
|
|
5482
|
-
[
|
|
5256
|
+
[337, {"safe-buffer":267}, function(){
|
|
5483
5257
|
with (this.scopeTerminator) {
|
|
5484
5258
|
with (this.globalThis) {
|
|
5485
5259
|
return function() {
|
|
@@ -5493,7 +5267,7 @@ module.exports=require("events").EventEmitter;
|
|
|
5493
5267
|
}
|
|
5494
5268
|
}
|
|
5495
5269
|
}, {package:"browserify>string_decoder",file:"../../node_modules/string_decoder/lib/string_decoder.js",}],
|
|
5496
|
-
[
|
|
5270
|
+
[338, {}, function(){
|
|
5497
5271
|
with (this.scopeTerminator) {
|
|
5498
5272
|
with (this.globalThis) {
|
|
5499
5273
|
return function() {
|
|
@@ -5507,7 +5281,7 @@ module.exports=require("events").EventEmitter;
|
|
|
5507
5281
|
}
|
|
5508
5282
|
}
|
|
5509
5283
|
}, {package:"superstruct",file:"../../node_modules/superstruct/dist/index.cjs",}],
|
|
5510
|
-
[
|
|
5284
|
+
[339, {"process/browser.js":244,"timers":339}, function(){
|
|
5511
5285
|
with (this.scopeTerminator) {
|
|
5512
5286
|
with (this.globalThis) {
|
|
5513
5287
|
return function() {
|
|
@@ -5523,7 +5297,7 @@ var nextTick=require("process/browser.js").nextTick,apply=Function.prototype.app
|
|
|
5523
5297
|
}
|
|
5524
5298
|
}
|
|
5525
5299
|
}, {package:"browserify>timers-browserify",file:"../../node_modules/timers-browserify/main.js",}],
|
|
5526
|
-
[
|
|
5300
|
+
[340, {}, function(){
|
|
5527
5301
|
with (this.scopeTerminator) {
|
|
5528
5302
|
with (this.globalThis) {
|
|
5529
5303
|
return function() {
|
|
@@ -5537,7 +5311,7 @@ function deprecate(r,e){if(config("noDeprecation"))return r;var o=!1;return func
|
|
|
5537
5311
|
}
|
|
5538
5312
|
}
|
|
5539
5313
|
}, {package:"browserify>readable-stream>util-deprecate",file:"../../node_modules/util-deprecate/browser.js",}],
|
|
5540
|
-
[
|
|
5314
|
+
[341, {"builtins":125}, function(){
|
|
5541
5315
|
with (this.scopeTerminator) {
|
|
5542
5316
|
with (this.globalThis) {
|
|
5543
5317
|
return function() {
|
|
@@ -5551,7 +5325,7 @@ function deprecate(r,e){if(config("noDeprecation"))return r;var o=!1;return func
|
|
|
5551
5325
|
}
|
|
5552
5326
|
}
|
|
5553
5327
|
}, {package:"@metamask/snaps-utils>validate-npm-package-name",file:"../../node_modules/validate-npm-package-name/lib/index.js",}],
|
|
5554
|
-
[
|
|
5328
|
+
[342, {}, function(){
|
|
5555
5329
|
with (this.scopeTerminator) {
|
|
5556
5330
|
with (this.globalThis) {
|
|
5557
5331
|
return function() {
|
|
@@ -5565,7 +5339,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5565
5339
|
}
|
|
5566
5340
|
}
|
|
5567
5341
|
}, {package:"pump>once>wrappy",file:"../../node_modules/wrappy/wrappy.js",}],
|
|
5568
|
-
[
|
|
5342
|
+
[343, {}, function(){
|
|
5569
5343
|
with (this.scopeTerminator) {
|
|
5570
5344
|
with (this.globalThis) {
|
|
5571
5345
|
return function() {
|
|
@@ -5579,7 +5353,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5579
5353
|
}
|
|
5580
5354
|
}
|
|
5581
5355
|
}, {package:"ts-jest>semver>lru-cache>yallist",file:"../../node_modules/yallist/iterator.js",}],
|
|
5582
|
-
[
|
|
5356
|
+
[344, {"./iterator.js":343}, function(){
|
|
5583
5357
|
with (this.scopeTerminator) {
|
|
5584
5358
|
with (this.globalThis) {
|
|
5585
5359
|
return function() {
|
|
@@ -5593,21 +5367,21 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5593
5367
|
}
|
|
5594
5368
|
}
|
|
5595
5369
|
}, {package:"ts-jest>semver>lru-cache>yallist",file:"../../node_modules/yallist/yallist.js",}],
|
|
5596
|
-
[
|
|
5370
|
+
[345, {"../logging":368,"../openrpc.json":369,"./../../../snaps-utils/src/index.browser":378,"./commands":346,"./endowments":351,"./globalEvents":358,"./keyring":360,"./sortParams":363,"./utils":364,"./validation":365,"@metamask/providers":28,"@metamask/utils":45,"eth-rpc-errors":173,"json-rpc-engine":219,"superstruct":338}, function(){
|
|
5597
5371
|
with (this.scopeTerminator) {
|
|
5598
5372
|
with (this.globalThis) {
|
|
5599
5373
|
return function() {
|
|
5600
5374
|
'use strict';
|
|
5601
5375
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-execution-environments/src/common/BaseSnapExecutor.ts
|
|
5602
5376
|
return function (require, module, exports) {
|
|
5603
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BaseSnapExecutor=void 0;var _providers=require("@metamask/providers"),_index=require("./../../../snaps-utils/src/index.browser"),_utils=require("@metamask/utils"),_ethRpcErrors=require("eth-rpc-errors"),_jsonRpcEngine=require("json-rpc-engine"),_superstruct=require("superstruct"),_logging=require("../logging"),_openrpc=_interopRequireDefault(require("../openrpc.json")),_commands=require("./commands"),_endowments2=require("./endowments"),_globalEvents=require("./globalEvents"),_keyring=require("./keyring"),_sortParams=require("./sortParams"),_utils2=require("./utils"),_validation=require("./validation");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(e){var r=_toPrimitive(e,"string");return"symbol"==typeof r?r:String(r)}function _toPrimitive(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}const fallbackError={code:_ethRpcErrors.errorCodes.rpc.internal,message:"Execution Environment Error"},EXECUTION_ENVIRONMENT_METHODS={ping:{struct:_validation.PingRequestArgumentsStruct,params:[]},executeSnap:{struct:_validation.ExecuteSnapRequestArgumentsStruct,params:["
|
|
5377
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BaseSnapExecutor=void 0;var _providers=require("@metamask/providers"),_index=require("./../../../snaps-utils/src/index.browser"),_utils=require("@metamask/utils"),_ethRpcErrors=require("eth-rpc-errors"),_jsonRpcEngine=require("json-rpc-engine"),_superstruct=require("superstruct"),_logging=require("../logging"),_openrpc=_interopRequireDefault(require("../openrpc.json")),_commands=require("./commands"),_endowments2=require("./endowments"),_globalEvents=require("./globalEvents"),_keyring=require("./keyring"),_sortParams=require("./sortParams"),_utils2=require("./utils"),_validation=require("./validation");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(e){var r=_toPrimitive(e,"string");return"symbol"==typeof r?r:String(r)}function _toPrimitive(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}const fallbackError={code:_ethRpcErrors.errorCodes.rpc.internal,message:"Execution Environment Error"},EXECUTION_ENVIRONMENT_METHODS={ping:{struct:_validation.PingRequestArgumentsStruct,params:[]},executeSnap:{struct:_validation.ExecuteSnapRequestArgumentsStruct,params:["snapId","sourceCode","endowments"]},terminate:{struct:_validation.TerminateRequestArgumentsStruct,params:[]},snapRpc:{struct:_validation.SnapRpcRequestArgumentsStruct,params:["target","handler","origin","request"]}};class BaseSnapExecutor{constructor(e,r){_defineProperty(this,"snapData",void 0),_defineProperty(this,"commandStream",void 0),_defineProperty(this,"rpcStream",void 0),_defineProperty(this,"methods",void 0),_defineProperty(this,"snapErrorHandler",void 0),_defineProperty(this,"snapPromiseErrorHandler",void 0),_defineProperty(this,"lastTeardown",0),this.snapData=new Map,this.commandStream=e,this.commandStream.on("data",(e=>{this.onCommandRequest(e).catch((e=>{(0,_index.logError)(e)}))})),this.rpcStream=r,this.methods=(0,_commands.getCommandMethodImplementations)(this.startSnap.bind(this),(async(e,r,t)=>{const n=this.snapData.get(e),s=r===_index.HandlerType.SnapKeyring?(0,_keyring.wrapKeyring)(this.notify.bind(this),null==n?void 0:n.exports.keyring):null==n?void 0:n.exports[r];(0,_utils.assert)(void 0!==s,`No ${r} handler exported for snap "${e}`);let a=await this.executeInSnapContext(e,(()=>s(t)));return void 0===a&&(a=null),(0,_utils.assert)((0,_utils.isValidJson)(a),new TypeError("Received non-JSON-serializable value.")),a}),this.onTerminate.bind(this))}errorHandler(e,r){const t=(0,_utils2.constructError)(e),n=(0,_ethRpcErrors.serializeError)(t,{fallbackError:fallbackError,shouldIncludeStack:!1}),s={...r,stack:(null==t?void 0:t.stack)??null};this.notify({method:"UnhandledError",params:{error:{...n,data:s}}})}async onCommandRequest(e){if(!(0,_utils.isJsonRpcRequest)(e))throw new Error("Command stream received a non-JSON-RPC request.");const{id:r,method:t,params:n}=e;if("rpc.discover"===t)return void this.respond(r,{result:_openrpc.default});if(!(0,_utils.hasProperty)(EXECUTION_ENVIRONMENT_METHODS,t))return void this.respond(r,{error:_ethRpcErrors.ethErrors.rpc.methodNotFound({data:{method:t}}).serialize()});const s=EXECUTION_ENVIRONMENT_METHODS[t],a=(0,_sortParams.sortParamKeys)(s.params,n),[i]=(0,_superstruct.validate)(a,s.struct);if(i)this.respond(r,{error:_ethRpcErrors.ethErrors.rpc.invalidParams({message:`Invalid parameters for method "${t}": ${i.message}.`,data:{method:t,params:a}}).serialize()});else try{const e=await this.methods[t](...a);this.respond(r,{result:e})}catch(e){this.respond(r,{error:(0,_ethRpcErrors.serializeError)(e,{fallbackError:fallbackError})})}}notify(e){if(!(0,_utils.isValidJson)(e)||!(0,_utils.isObject)(e))throw new Error("JSON-RPC notifications must be JSON serializable objects");this.commandStream.write({...e,jsonrpc:"2.0"})}respond(e,r){if(!(0,_utils.isValidJson)(r)||!(0,_utils.isObject)(r))throw new Error("JSON-RPC responses must be JSON serializable objects.");this.commandStream.write({...r,id:e,jsonrpc:"2.0"})}async startSnap(e,r,t){(0,_logging.log)(`Starting snap '${e}' in worker.`),this.snapPromiseErrorHandler&&(0,_globalEvents.removeEventListener)("unhandledrejection",this.snapPromiseErrorHandler),this.snapErrorHandler&&(0,_globalEvents.removeEventListener)("error",this.snapErrorHandler),this.snapErrorHandler=r=>{this.errorHandler(r.error,{snapId:e})},this.snapPromiseErrorHandler=r=>{this.errorHandler(r instanceof Error?r:r.reason,{snapId:e})};const n=new _providers.StreamProvider(this.rpcStream,{jsonRpcStreamName:"metamask-provider",rpcMiddleware:[(0,_jsonRpcEngine.createIdRemapMiddleware)()]});await n.initialize();const s=this.createSnapGlobal(n),a=this.createEIP1193Provider(n),i={exports:{}};try{const{endowments:n,teardown:o}=(0,_endowments2.createEndowments)(s,a,e,t);this.snapData.set(e,{idleTeardown:o,runningEvaluations:new Set,exports:{}}),(0,_globalEvents.addEventListener)("unhandledRejection",this.snapPromiseErrorHandler),(0,_globalEvents.addEventListener)("error",this.snapErrorHandler);const d=new Compartment({...n,module:i,exports:i.exports});d.globalThis.self=d.globalThis,d.globalThis.global=d.globalThis,d.globalThis.window=d.globalThis,await this.executeInSnapContext(e,(()=>{d.evaluate(r),this.registerSnapExports(e,i)}))}catch(r){throw this.removeSnap(e),new Error(`Error while running snap '${e}': ${r.message}`)}}onTerminate(){this.snapData.forEach((e=>e.runningEvaluations.forEach((e=>e.stop())))),this.snapData.clear()}registerSnapExports(e,r){const t=this.snapData.get(e);t&&(t.exports=_index.SNAP_EXPORT_NAMES.reduce(((e,t)=>{const n=r.exports[t];return(0,_validation.validateExport)(t,n)?{...e,[t]:n}:e}),{}))}createSnapGlobal(e){const r=e.request.bind(e),t=async e=>{(0,_utils2.assertSnapOutboundRequest)(e),this.notify({method:"OutboundRequest"});try{return await(0,_utils2.withTeardown)(r(e),this)}finally{this.notify({method:"OutboundResponse"})}},n=new Proxy({},{has:(e,r)=>"string"==typeof r&&["request"].includes(r),get(e,r){if("request"===r)return t}});return harden(n)}createEIP1193Provider(e){const r=e.request.bind(e),t=(0,_utils2.proxyStreamProvider)(e,(async e=>{(0,_utils2.assertEthereumOutboundRequest)(e),this.notify({method:"OutboundRequest"});try{return await(0,_utils2.withTeardown)(r(e),this)}finally{this.notify({method:"OutboundResponse"})}}));return harden(t)}removeSnap(e){this.snapData.delete(e)}async executeInSnapContext(e,r){const t=this.snapData.get(e);if(void 0===t)throw new Error(`Tried to execute in context of unknown snap: "${e}".`);let n;const s=new Promise(((r,t)=>n=()=>t(_ethRpcErrors.ethErrors.rpc.internal(`The snap "${e}" has been terminated during execution.`)))),a={stop:n};try{return t.runningEvaluations.add(a),await Promise.race([r(),s])}finally{t.runningEvaluations.delete(a),0===t.runningEvaluations.size&&(this.lastTeardown+=1,await t.idleTeardown())}}}exports.BaseSnapExecutor=BaseSnapExecutor;
|
|
5604
5378
|
|
|
5605
5379
|
};
|
|
5606
5380
|
};
|
|
5607
5381
|
}
|
|
5608
5382
|
}
|
|
5609
5383
|
}, {package:"$root$",file:"src/common/BaseSnapExecutor.ts",}],
|
|
5610
|
-
[
|
|
5384
|
+
[346, {"./../../../snaps-utils/src/index.browser":378,"./validation":365,"@metamask/utils":45}, function(){
|
|
5611
5385
|
with (this.scopeTerminator) {
|
|
5612
5386
|
with (this.globalThis) {
|
|
5613
5387
|
return function() {
|
|
@@ -5621,35 +5395,49 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5621
5395
|
}
|
|
5622
5396
|
}
|
|
5623
5397
|
}, {package:"$root$",file:"src/common/commands.ts",}],
|
|
5624
|
-
[
|
|
5398
|
+
[347, {"../globalObject":359,"./console":348,"./crypto":349,"./date":350,"./interval":352,"./math":353,"./network":354,"./textDecoder":355,"./textEncoder":356,"./timeout":357}, function(){
|
|
5625
5399
|
with (this.scopeTerminator) {
|
|
5626
5400
|
with (this.globalThis) {
|
|
5627
5401
|
return function() {
|
|
5628
5402
|
'use strict';
|
|
5629
5403
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-execution-environments/src/common/endowments/commonEndowmentFactory.ts
|
|
5630
5404
|
return function (require, module, exports) {
|
|
5631
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _globalObject=require("../globalObject"),_crypto=_interopRequireDefault(require("./crypto")),_date=_interopRequireDefault(require("./date")),_interval=_interopRequireDefault(require("./interval")),_math=_interopRequireDefault(require("./math")),_network=_interopRequireDefault(require("./network")),_textDecoder=_interopRequireDefault(require("./textDecoder")),_textEncoder=_interopRequireDefault(require("./textEncoder")),_timeout=_interopRequireDefault(require("./timeout"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const commonEndowments=[{endowment:AbortController,name:"AbortController"},{endowment:AbortSignal,name:"AbortSignal"},{endowment:ArrayBuffer,name:"ArrayBuffer"},{endowment:atob,name:"atob",bind:!0},{endowment:BigInt,name:"BigInt"},{endowment:BigInt64Array,name:"BigInt64Array"},{endowment:BigUint64Array,name:"BigUint64Array"},{endowment:btoa,name:"btoa",bind:!0},{endowment:
|
|
5405
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _globalObject=require("../globalObject"),_console=_interopRequireDefault(require("./console")),_crypto=_interopRequireDefault(require("./crypto")),_date=_interopRequireDefault(require("./date")),_interval=_interopRequireDefault(require("./interval")),_math=_interopRequireDefault(require("./math")),_network=_interopRequireDefault(require("./network")),_textDecoder=_interopRequireDefault(require("./textDecoder")),_textEncoder=_interopRequireDefault(require("./textEncoder")),_timeout=_interopRequireDefault(require("./timeout"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const commonEndowments=[{endowment:AbortController,name:"AbortController"},{endowment:AbortSignal,name:"AbortSignal"},{endowment:ArrayBuffer,name:"ArrayBuffer"},{endowment:atob,name:"atob",bind:!0},{endowment:BigInt,name:"BigInt"},{endowment:BigInt64Array,name:"BigInt64Array"},{endowment:BigUint64Array,name:"BigUint64Array"},{endowment:btoa,name:"btoa",bind:!0},{endowment:DataView,name:"DataView"},{endowment:Float32Array,name:"Float32Array"},{endowment:Float64Array,name:"Float64Array"},{endowment:Int8Array,name:"Int8Array"},{endowment:Int16Array,name:"Int16Array"},{endowment:Int32Array,name:"Int32Array"},{endowment:Uint8Array,name:"Uint8Array"},{endowment:Uint8ClampedArray,name:"Uint8ClampedArray"},{endowment:Uint16Array,name:"Uint16Array"},{endowment:Uint32Array,name:"Uint32Array"},{endowment:URL,name:"URL"},{endowment:WebAssembly,name:"WebAssembly"}],buildCommonEndowments=()=>{const e=[_crypto.default,_interval.default,_math.default,_network.default,_timeout.default,_textDecoder.default,_textEncoder.default,_date.default,_console.default];return commonEndowments.forEach((t=>{const n={names:[t.name],factory:()=>{const e="function"==typeof t.endowment&&t.bind?t.endowment.bind(_globalObject.rootRealmGlobal):t.endowment;return{[t.name]:harden(e)}}};e.push(n)})),e};var _default=buildCommonEndowments;exports.default=_default;
|
|
5632
5406
|
|
|
5633
5407
|
};
|
|
5634
5408
|
};
|
|
5635
5409
|
}
|
|
5636
5410
|
}
|
|
5637
5411
|
}, {package:"$root$",file:"src/common/endowments/commonEndowmentFactory.ts",}],
|
|
5638
|
-
[
|
|
5412
|
+
[348, {"../globalObject":359,"@metamask/utils":45}, function(){
|
|
5413
|
+
with (this.scopeTerminator) {
|
|
5414
|
+
with (this.globalThis) {
|
|
5415
|
+
return function() {
|
|
5416
|
+
'use strict';
|
|
5417
|
+
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-execution-environments/src/common/endowments/console.ts
|
|
5418
|
+
return function (require, module, exports) {
|
|
5419
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.consoleMethods=exports.consoleAttenuatedMethods=void 0;var _utils=require("@metamask/utils"),_globalObject=require("../globalObject");const consoleAttenuatedMethods=new Set(["log","assert","error","debug","info","warn"]);exports.consoleAttenuatedMethods=consoleAttenuatedMethods;const consoleMethods=new Set(["debug","error","info","log","warn","dir","dirxml","table","trace","group","groupCollapsed","groupEnd","clear","count","countReset","assert","profile","profileEnd","time","timeLog","timeEnd","timeStamp","context"]);exports.consoleMethods=consoleMethods;const consoleFunctions=["log","error","debug","info","warn"];function getMessage(e,o,...t){const s=`[Snap: ${e}]`;return"string"==typeof o?[`${s} ${o}`,...t]:[s,o,...t]}function createConsole({snapId:e}={}){(0,_utils.assert)(void 0!==e);const o=Object.getOwnPropertyNames(_globalObject.rootRealmGlobal.console).reduce(((e,o)=>consoleMethods.has(o)&&!consoleAttenuatedMethods.has(o)?{...e,[o]:_globalObject.rootRealmGlobal.console[o]}:e),{});return harden({console:{...o,assert:(o,t,...s)=>{_globalObject.rootRealmGlobal.console.assert(o,...getMessage(e,t,...s))},...consoleFunctions.reduce(((o,t)=>({...o,[t]:(o,...s)=>{_globalObject.rootRealmGlobal.console[t](...getMessage(e,o,...s))}})),{})}})}const endowmentModule={names:["console"],factory:createConsole};var _default=endowmentModule;exports.default=_default;
|
|
5420
|
+
|
|
5421
|
+
};
|
|
5422
|
+
};
|
|
5423
|
+
}
|
|
5424
|
+
}
|
|
5425
|
+
}, {package:"$root$",file:"src/common/endowments/console.ts",}],
|
|
5426
|
+
[349, {"../globalObject":359,"crypto":138}, function(){
|
|
5639
5427
|
with (this.scopeTerminator) {
|
|
5640
5428
|
with (this.globalThis) {
|
|
5641
5429
|
return function() {
|
|
5642
5430
|
'use strict';
|
|
5643
5431
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-execution-environments/src/common/endowments/crypto.ts
|
|
5644
5432
|
return function (require, module, exports) {
|
|
5645
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _globalObject=require("../globalObject");const createCrypto=()=>{if("crypto"in _globalObject.rootRealmGlobal&&"object"==typeof _globalObject.rootRealmGlobal.crypto&&"SubtleCrypto"in _globalObject.rootRealmGlobal&&"function"==typeof _globalObject.rootRealmGlobal.SubtleCrypto)return{crypto:harden(_globalObject.rootRealmGlobal.crypto),SubtleCrypto:harden(_globalObject.rootRealmGlobal.SubtleCrypto)};const t=require("crypto").webcrypto;return{crypto:harden(t),SubtleCrypto:harden(t.subtle.constructor)}}
|
|
5433
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.createCrypto=void 0;var _globalObject=require("../globalObject");const createCrypto=()=>{if("crypto"in _globalObject.rootRealmGlobal&&"object"==typeof _globalObject.rootRealmGlobal.crypto&&"SubtleCrypto"in _globalObject.rootRealmGlobal&&"function"==typeof _globalObject.rootRealmGlobal.SubtleCrypto)return{crypto:harden(_globalObject.rootRealmGlobal.crypto),SubtleCrypto:harden(_globalObject.rootRealmGlobal.SubtleCrypto)};const t=require("crypto").webcrypto;return{crypto:harden(t),SubtleCrypto:harden(t.subtle.constructor)}};exports.createCrypto=createCrypto;const endowmentModule={names:["crypto","SubtleCrypto"],factory:createCrypto};var _default=endowmentModule;exports.default=_default;
|
|
5646
5434
|
|
|
5647
5435
|
};
|
|
5648
5436
|
};
|
|
5649
5437
|
}
|
|
5650
5438
|
}
|
|
5651
5439
|
}, {package:"$root$",file:"src/common/endowments/crypto.ts",}],
|
|
5652
|
-
[
|
|
5440
|
+
[350, {"../globalObject":359}, function(){
|
|
5653
5441
|
with (this.scopeTerminator) {
|
|
5654
5442
|
with (this.globalThis) {
|
|
5655
5443
|
return function() {
|
|
@@ -5663,21 +5451,21 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5663
5451
|
}
|
|
5664
5452
|
}
|
|
5665
5453
|
}, {package:"$root$",file:"src/common/endowments/date.ts",}],
|
|
5666
|
-
[
|
|
5454
|
+
[351, {"../globalObject":359,"./../../../../snaps-utils/src/index.browser":378,"./commonEndowmentFactory":347,"@metamask/utils":45}, function(){
|
|
5667
5455
|
with (this.scopeTerminator) {
|
|
5668
5456
|
with (this.globalThis) {
|
|
5669
5457
|
return function() {
|
|
5670
5458
|
'use strict';
|
|
5671
5459
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-execution-environments/src/common/endowments/index.ts
|
|
5672
5460
|
return function (require, module, exports) {
|
|
5673
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createEndowments=createEndowments;var _index=require("./../../../../snaps-utils/src/index.browser"),_utils=require("@metamask/utils"),_globalObject=require("../globalObject"),_commonEndowmentFactory=_interopRequireDefault(require("./commonEndowmentFactory"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const registeredEndowments=(0,_commonEndowmentFactory.default)(),endowmentFactories=registeredEndowments.reduce(((e,n)=>(n.names.forEach((t=>{e.set(t,n.factory)})),e)),new Map);function createEndowments(e,n,t=[]){const
|
|
5461
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createEndowments=createEndowments;var _index=require("./../../../../snaps-utils/src/index.browser"),_utils=require("@metamask/utils"),_globalObject=require("../globalObject"),_commonEndowmentFactory=_interopRequireDefault(require("./commonEndowmentFactory"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const registeredEndowments=(0,_commonEndowmentFactory.default)(),endowmentFactories=registeredEndowments.reduce(((e,n)=>(n.names.forEach((t=>{e.set(t,n.factory)})),e)),new Map);function createEndowments(e,n,t,o=[]){const r={},a=o.reduce((({allEndowments:e,teardowns:o},a)=>{if(endowmentFactories.has(a)){if(!(0,_utils.hasProperty)(r,a)){const{teardownFunction:e,...n}=endowmentFactories.get(a)({snapId:t});Object.assign(r,n),e&&o.push(e)}e[a]=r[a]}else if("ethereum"===a)e[a]=n;else{if(!(a in _globalObject.rootRealmGlobal))throw new Error(`Unknown endowment: "${a}".`);{(0,_index.logWarning)(`Access to unhardened global ${a}.`);const n=_globalObject.rootRealmGlobal[a];e[a]=n}}return{allEndowments:e,teardowns:o}}),{allEndowments:{snap:e},teardowns:[]});return{endowments:a.allEndowments,teardown:async()=>{await Promise.all(a.teardowns.map((e=>e())))}}}
|
|
5674
5462
|
|
|
5675
5463
|
};
|
|
5676
5464
|
};
|
|
5677
5465
|
}
|
|
5678
5466
|
}
|
|
5679
5467
|
}, {package:"$root$",file:"src/common/endowments/index.ts",}],
|
|
5680
|
-
[
|
|
5468
|
+
[352, {}, function(){
|
|
5681
5469
|
with (this.scopeTerminator) {
|
|
5682
5470
|
with (this.globalThis) {
|
|
5683
5471
|
return function() {
|
|
@@ -5691,21 +5479,21 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5691
5479
|
}
|
|
5692
5480
|
}
|
|
5693
5481
|
}, {package:"$root$",file:"src/common/endowments/interval.ts",}],
|
|
5694
|
-
[
|
|
5482
|
+
[353, {"../globalObject":359,"./crypto":349}, function(){
|
|
5695
5483
|
with (this.scopeTerminator) {
|
|
5696
5484
|
with (this.globalThis) {
|
|
5697
5485
|
return function() {
|
|
5698
5486
|
'use strict';
|
|
5699
5487
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-execution-environments/src/common/endowments/math.ts
|
|
5700
5488
|
return function (require, module, exports) {
|
|
5701
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _globalObject=require("../globalObject");function createMath(){const e=Object.getOwnPropertyNames(_globalObject.rootRealmGlobal.Math).reduce(((e,t)=>"random"===t?e:{...e,[t]:_globalObject.rootRealmGlobal.Math[t]}),{});return harden({Math:{...e,random:()=>
|
|
5489
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _globalObject=require("../globalObject"),_crypto=require("./crypto");function createMath(){const e=Object.getOwnPropertyNames(_globalObject.rootRealmGlobal.Math).reduce(((e,t)=>"random"===t?e:{...e,[t]:_globalObject.rootRealmGlobal.Math[t]}),{}),{crypto:t}=(0,_crypto.createCrypto)();return harden({Math:{...e,random:()=>t.getRandomValues(new Uint32Array(1))[0]/2**32}})}const endowmentModule={names:["Math"],factory:createMath};var _default=endowmentModule;exports.default=_default;
|
|
5702
5490
|
|
|
5703
5491
|
};
|
|
5704
5492
|
};
|
|
5705
5493
|
}
|
|
5706
5494
|
}
|
|
5707
5495
|
}, {package:"$root$",file:"src/common/endowments/math.ts",}],
|
|
5708
|
-
[
|
|
5496
|
+
[354, {"../utils":364}, function(){
|
|
5709
5497
|
with (this.scopeTerminator) {
|
|
5710
5498
|
with (this.globalThis) {
|
|
5711
5499
|
return function() {
|
|
@@ -5719,7 +5507,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5719
5507
|
}
|
|
5720
5508
|
}
|
|
5721
5509
|
}, {package:"$root$",file:"src/common/endowments/network.ts",}],
|
|
5722
|
-
[
|
|
5510
|
+
[355, {}, function(){
|
|
5723
5511
|
with (this.scopeTerminator) {
|
|
5724
5512
|
with (this.globalThis) {
|
|
5725
5513
|
return function() {
|
|
@@ -5733,7 +5521,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5733
5521
|
}
|
|
5734
5522
|
}
|
|
5735
5523
|
}, {package:"$root$",file:"src/common/endowments/textDecoder.ts",}],
|
|
5736
|
-
[
|
|
5524
|
+
[356, {}, function(){
|
|
5737
5525
|
with (this.scopeTerminator) {
|
|
5738
5526
|
with (this.globalThis) {
|
|
5739
5527
|
return function() {
|
|
@@ -5747,7 +5535,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5747
5535
|
}
|
|
5748
5536
|
}
|
|
5749
5537
|
}, {package:"$root$",file:"src/common/endowments/textEncoder.ts",}],
|
|
5750
|
-
[
|
|
5538
|
+
[357, {}, function(){
|
|
5751
5539
|
with (this.scopeTerminator) {
|
|
5752
5540
|
with (this.globalThis) {
|
|
5753
5541
|
return function() {
|
|
@@ -5761,7 +5549,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5761
5549
|
}
|
|
5762
5550
|
}
|
|
5763
5551
|
}, {package:"$root$",file:"src/common/endowments/timeout.ts",}],
|
|
5764
|
-
[
|
|
5552
|
+
[358, {"./globalObject":359}, function(){
|
|
5765
5553
|
with (this.scopeTerminator) {
|
|
5766
5554
|
with (this.globalThis) {
|
|
5767
5555
|
return function() {
|
|
@@ -5775,21 +5563,21 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5775
5563
|
}
|
|
5776
5564
|
}
|
|
5777
5565
|
}, {package:"$root$",file:"src/common/globalEvents.ts",}],
|
|
5778
|
-
[
|
|
5566
|
+
[359, {}, function(){
|
|
5779
5567
|
with (this.scopeTerminator) {
|
|
5780
5568
|
with (this.globalThis) {
|
|
5781
5569
|
return function() {
|
|
5782
5570
|
'use strict';
|
|
5783
5571
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-execution-environments/src/common/globalObject.ts
|
|
5784
5572
|
return function (require, module, exports) {
|
|
5785
|
-
"use strict";
|
|
5573
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),/* common-shake removed: exports.rootRealmGlobalName = */ exports.rootRealmGlobal=void 0;var GlobalObjectNames=function(l){return l.globalThis="globalThis",l.global="global",l.self="self",l.window="window",l}(GlobalObjectNames||{});let _rootRealmGlobal,_rootRealmGlobalName;if("undefined"!=typeof globalThis)_rootRealmGlobal=globalThis,_rootRealmGlobalName=GlobalObjectNames.globalThis;else if("undefined"!=typeof self)_rootRealmGlobal=self,_rootRealmGlobalName=GlobalObjectNames.self;else if("undefined"!=typeof window)_rootRealmGlobal=window,_rootRealmGlobalName=GlobalObjectNames.window;else{if("undefined"==typeof global)throw new Error("Unknown realm type; failed to identify global object.");_rootRealmGlobal=global,_rootRealmGlobalName=GlobalObjectNames.global}const rootRealmGlobal=_rootRealmGlobal;exports.rootRealmGlobal=rootRealmGlobal;const rootRealmGlobalName=_rootRealmGlobalName;/* common-shake removed: exports.rootRealmGlobalName = */ void rootRealmGlobalName;
|
|
5786
5574
|
|
|
5787
5575
|
};
|
|
5788
5576
|
};
|
|
5789
5577
|
}
|
|
5790
5578
|
}
|
|
5791
5579
|
}, {package:"$root$",file:"src/common/globalObject.ts",}],
|
|
5792
|
-
[
|
|
5580
|
+
[360, {"@metamask/utils":45}, function(){
|
|
5793
5581
|
with (this.scopeTerminator) {
|
|
5794
5582
|
with (this.globalThis) {
|
|
5795
5583
|
return function() {
|
|
@@ -5803,7 +5591,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5803
5591
|
}
|
|
5804
5592
|
}
|
|
5805
5593
|
}, {package:"$root$",file:"src/common/keyring.ts",}],
|
|
5806
|
-
[
|
|
5594
|
+
[361, {"@metamask/utils":45}, function(){
|
|
5807
5595
|
with (this.scopeTerminator) {
|
|
5808
5596
|
with (this.globalThis) {
|
|
5809
5597
|
return function() {
|
|
@@ -5817,7 +5605,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5817
5605
|
}
|
|
5818
5606
|
}
|
|
5819
5607
|
}, {package:"$root$",file:"src/common/lockdown/lockdown-events.ts",}],
|
|
5820
|
-
[
|
|
5608
|
+
[362, {"./../../../../snaps-utils/src/index.browser":378}, function(){
|
|
5821
5609
|
with (this.scopeTerminator) {
|
|
5822
5610
|
with (this.globalThis) {
|
|
5823
5611
|
return function() {
|
|
@@ -5831,7 +5619,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5831
5619
|
}
|
|
5832
5620
|
}
|
|
5833
5621
|
}, {package:"$root$",file:"src/common/lockdown/lockdown-more.ts",}],
|
|
5834
|
-
[
|
|
5622
|
+
[363, {}, function(){
|
|
5835
5623
|
with (this.scopeTerminator) {
|
|
5836
5624
|
with (this.globalThis) {
|
|
5837
5625
|
return function() {
|
|
@@ -5845,21 +5633,21 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5845
5633
|
}
|
|
5846
5634
|
}
|
|
5847
5635
|
}, {package:"$root$",file:"src/common/sortParams.ts",}],
|
|
5848
|
-
[
|
|
5636
|
+
[364, {"../logging":368,"@metamask/utils":45,"eth-rpc-errors":173}, function(){
|
|
5849
5637
|
with (this.scopeTerminator) {
|
|
5850
5638
|
with (this.globalThis) {
|
|
5851
5639
|
return function() {
|
|
5852
5640
|
'use strict';
|
|
5853
5641
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-execution-environments/src/common/utils.ts
|
|
5854
5642
|
return function (require, module, exports) {
|
|
5855
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.assertEthereumOutboundRequest=assertEthereumOutboundRequest,exports.assertSnapOutboundRequest=assertSnapOutboundRequest,exports.constructError=constructError,exports.proxyStreamProvider=proxyStreamProvider,exports.withTeardown=withTeardown;var _utils=require("@metamask/utils"),_ethRpcErrors=require("eth-rpc-errors"),_logging=require("../logging");function constructError(e){let t;return e instanceof Error?t=e:"string"==typeof e&&(t=new Error(e),delete t.stack),t}async function withTeardown(e,t){const r=t.lastTeardown;return new Promise(((o,s)=>{e.then((e=>{t.lastTeardown===r?o(e):(0,_logging.log)("Late promise received after Snap finished execution. Promise will be dropped.")})).catch((e=>{t.lastTeardown===r?s(e):(0,_logging.log)("Late promise received after Snap finished execution. Promise will be dropped.")}))}))}function proxyStreamProvider(e,t){return new Proxy({},{has:(e,t)=>"string"==typeof t&&["request","on","removeListener"].includes(t),get:(r,o)=>"request"===o?t:["on","removeListener"].includes(o)?e[o]:void 0})}const BLOCKED_RPC_METHODS=Object.freeze(["eth_requestAccounts","wallet_requestSnaps"]);function assertSnapOutboundRequest(e){(0,_utils.assert)(String.prototype.startsWith.call(e.method,"wallet_")||String.prototype.startsWith.call(e.method,"snap_"),"The global Snap API only allows RPC methods starting with `wallet_*` and `snap_*`."),(0,_utils.assert)(!BLOCKED_RPC_METHODS.includes(e.method),_ethRpcErrors.ethErrors.rpc.methodNotFound({data:{method:e.method}})),(0,_utils.assertStruct)(e,_utils.JsonStruct,"Provided value is not JSON-RPC compatible")}function assertEthereumOutboundRequest(e){(0,_utils.assert)(!String.prototype.startsWith.call(e.method,"snap_"),_ethRpcErrors.ethErrors.rpc.methodNotFound({data:{method:e.method}})),(0,_utils.assert)(!BLOCKED_RPC_METHODS.includes(e.method),_ethRpcErrors.ethErrors.rpc.methodNotFound({data:{method:e.method}})),(0,_utils.assertStruct)(e,_utils.JsonStruct,"Provided value is not JSON-RPC compatible")}
|
|
5643
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.assertEthereumOutboundRequest=assertEthereumOutboundRequest,exports.assertSnapOutboundRequest=assertSnapOutboundRequest,exports.constructError=constructError,exports.proxyStreamProvider=proxyStreamProvider,exports.withTeardown=withTeardown;var _utils=require("@metamask/utils"),_ethRpcErrors=require("eth-rpc-errors"),_logging=require("../logging");function constructError(e){let t;return e instanceof Error?t=e:"string"==typeof e&&(t=new Error(e),delete t.stack),t}async function withTeardown(e,t){const r=t.lastTeardown;return new Promise(((o,s)=>{e.then((e=>{t.lastTeardown===r?o(e):(0,_logging.log)("Late promise received after Snap finished execution. Promise will be dropped.")})).catch((e=>{t.lastTeardown===r?s(e):(0,_logging.log)("Late promise received after Snap finished execution. Promise will be dropped.")}))}))}function proxyStreamProvider(e,t){return new Proxy({},{has:(e,t)=>"string"==typeof t&&["request","on","removeListener"].includes(t),get:(r,o)=>"request"===o?t:["on","removeListener"].includes(o)?e[o]:void 0})}const BLOCKED_RPC_METHODS=Object.freeze(["eth_requestAccounts","wallet_requestSnaps","wallet_requestPermissions"]);function assertSnapOutboundRequest(e){(0,_utils.assert)(String.prototype.startsWith.call(e.method,"wallet_")||String.prototype.startsWith.call(e.method,"snap_"),"The global Snap API only allows RPC methods starting with `wallet_*` and `snap_*`."),(0,_utils.assert)(!BLOCKED_RPC_METHODS.includes(e.method),_ethRpcErrors.ethErrors.rpc.methodNotFound({data:{method:e.method}})),(0,_utils.assertStruct)(e,_utils.JsonStruct,"Provided value is not JSON-RPC compatible")}function assertEthereumOutboundRequest(e){(0,_utils.assert)(!String.prototype.startsWith.call(e.method,"snap_"),_ethRpcErrors.ethErrors.rpc.methodNotFound({data:{method:e.method}})),(0,_utils.assert)(!BLOCKED_RPC_METHODS.includes(e.method),_ethRpcErrors.ethErrors.rpc.methodNotFound({data:{method:e.method}})),(0,_utils.assertStruct)(e,_utils.JsonStruct,"Provided value is not JSON-RPC compatible")}
|
|
5856
5644
|
|
|
5857
5645
|
};
|
|
5858
5646
|
};
|
|
5859
5647
|
}
|
|
5860
5648
|
}
|
|
5861
5649
|
}, {package:"$root$",file:"src/common/utils.ts",}],
|
|
5862
|
-
[
|
|
5650
|
+
[365, {"./../../../snaps-utils/src/index.browser":378,"@metamask/utils":45,"superstruct":338}, function(){
|
|
5863
5651
|
with (this.scopeTerminator) {
|
|
5864
5652
|
with (this.globalThis) {
|
|
5865
5653
|
return function() {
|
|
@@ -5873,7 +5661,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5873
5661
|
}
|
|
5874
5662
|
}
|
|
5875
5663
|
}, {package:"$root$",file:"src/common/validation.ts",}],
|
|
5876
|
-
[
|
|
5664
|
+
[366, {"../common/BaseSnapExecutor":345,"../logging":368,"./../../../snaps-utils/src/index.browser":378,"@metamask/object-multiplex":3,"@metamask/post-message-stream":7,"pump":251}, function(){
|
|
5877
5665
|
with (this.scopeTerminator) {
|
|
5878
5666
|
with (this.globalThis) {
|
|
5879
5667
|
return function() {
|
|
@@ -5887,7 +5675,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5887
5675
|
}
|
|
5888
5676
|
}
|
|
5889
5677
|
}, {package:"$root$",file:"src/iframe/IFrameSnapExecutor.ts",}],
|
|
5890
|
-
[
|
|
5678
|
+
[367, {"../common/lockdown/lockdown-events":361,"../common/lockdown/lockdown-more":362,"./IFrameSnapExecutor":366}, function(){
|
|
5891
5679
|
with (this.scopeTerminator) {
|
|
5892
5680
|
with (this.globalThis) {
|
|
5893
5681
|
return function() {
|
|
@@ -5901,7 +5689,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5901
5689
|
}
|
|
5902
5690
|
}
|
|
5903
5691
|
}, {package:"$root$",file:"src/iframe/index.ts",}],
|
|
5904
|
-
[
|
|
5692
|
+
[368, {"./../../snaps-utils/src/index.browser":378,"@metamask/utils":45}, function(){
|
|
5905
5693
|
with (this.scopeTerminator) {
|
|
5906
5694
|
with (this.globalThis) {
|
|
5907
5695
|
return function() {
|
|
@@ -5915,7 +5703,7 @@ function wrappy(n,r){if(n&&r)return wrappy(n)(r);if("function"!=typeof n)throw n
|
|
|
5915
5703
|
}
|
|
5916
5704
|
}
|
|
5917
5705
|
}, {package:"$root$",file:"src/logging.ts",}],
|
|
5918
|
-
[
|
|
5706
|
+
[369, {}, function(){
|
|
5919
5707
|
with (this.scopeTerminator) {
|
|
5920
5708
|
with (this.globalThis) {
|
|
5921
5709
|
return function() {
|
|
@@ -5956,7 +5744,7 @@ module.exports={
|
|
|
5956
5744
|
"description": "executes a snap in the environment. The snap can then be interacted with via `snapRpc`",
|
|
5957
5745
|
"params": [
|
|
5958
5746
|
{
|
|
5959
|
-
"name": "
|
|
5747
|
+
"name": "snapId",
|
|
5960
5748
|
"required": true,
|
|
5961
5749
|
"description": "the name of the snap",
|
|
5962
5750
|
"schema": {
|
|
@@ -5999,7 +5787,7 @@ module.exports={
|
|
|
5999
5787
|
"name": "BasicTestSnapExecuteExample",
|
|
6000
5788
|
"params": [
|
|
6001
5789
|
{
|
|
6002
|
-
"name": "
|
|
5790
|
+
"name": "snapId",
|
|
6003
5791
|
"value": "TestSnap"
|
|
6004
5792
|
},
|
|
6005
5793
|
{
|
|
@@ -6138,21 +5926,21 @@ module.exports={
|
|
|
6138
5926
|
}
|
|
6139
5927
|
}
|
|
6140
5928
|
}, {package:"$root$",file:"src/openrpc.json",}],
|
|
6141
|
-
[
|
|
5929
|
+
[370, {}, function(){
|
|
6142
5930
|
with (this.scopeTerminator) {
|
|
6143
5931
|
with (this.globalThis) {
|
|
6144
5932
|
return function() {
|
|
6145
5933
|
'use strict';
|
|
6146
5934
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-utils/src/caveats.ts
|
|
6147
5935
|
return function (require, module, exports) {
|
|
6148
|
-
"use strict";
|
|
5936
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SnapCaveatType=void 0;let SnapCaveatType=function(e){return e.PermittedDerivationPaths="permittedDerivationPaths",e.PermittedCoinTypes="permittedCoinTypes",e.SnapKeyring="snapKeyring",e.SnapCronjob="snapCronjob",e.TransactionOrigin="transactionOrigin",e.RpcOrigin="rpcOrigin",e.SnapIds="snapIds",e}({});exports.SnapCaveatType=SnapCaveatType;
|
|
6149
5937
|
|
|
6150
5938
|
};
|
|
6151
5939
|
};
|
|
6152
5940
|
}
|
|
6153
5941
|
}
|
|
6154
5942
|
}, {package:"external:../snaps-utils/src/caveats.ts",file:"../snaps-utils/src/caveats.ts",}],
|
|
6155
|
-
[
|
|
5943
|
+
[371, {"./virtual-file/VirtualFile":389,"@metamask/utils":45,"@noble/hashes/sha256":58}, function(){
|
|
6156
5944
|
with (this.scopeTerminator) {
|
|
6157
5945
|
with (this.globalThis) {
|
|
6158
5946
|
return function() {
|
|
@@ -6166,7 +5954,7 @@ module.exports={
|
|
|
6166
5954
|
}
|
|
6167
5955
|
}
|
|
6168
5956
|
}, {package:"external:../snaps-utils/src/checksum.ts",file:"../snaps-utils/src/checksum.ts",}],
|
|
6169
|
-
[
|
|
5957
|
+
[372, {"@metamask/utils":45,"cron-parser":137,"superstruct":338}, function(){
|
|
6170
5958
|
with (this.scopeTerminator) {
|
|
6171
5959
|
with (this.globalThis) {
|
|
6172
5960
|
return function() {
|
|
@@ -6180,7 +5968,7 @@ module.exports={
|
|
|
6180
5968
|
}
|
|
6181
5969
|
}
|
|
6182
5970
|
}, {package:"external:../snaps-utils/src/cronjob.ts",file:"../snaps-utils/src/cronjob.ts",}],
|
|
6183
|
-
[
|
|
5971
|
+
[373, {"rfdc":265}, function(){
|
|
6184
5972
|
with (this.scopeTerminator) {
|
|
6185
5973
|
with (this.globalThis) {
|
|
6186
5974
|
return function() {
|
|
@@ -6194,7 +5982,7 @@ module.exports={
|
|
|
6194
5982
|
}
|
|
6195
5983
|
}
|
|
6196
5984
|
}, {package:"external:../snaps-utils/src/deep-clone.ts",file:"../snaps-utils/src/deep-clone.ts",}],
|
|
6197
|
-
[
|
|
5985
|
+
[374, {}, function(){
|
|
6198
5986
|
with (this.scopeTerminator) {
|
|
6199
5987
|
with (this.globalThis) {
|
|
6200
5988
|
return function() {
|
|
@@ -6208,7 +5996,7 @@ module.exports={
|
|
|
6208
5996
|
}
|
|
6209
5997
|
}
|
|
6210
5998
|
}, {package:"external:../snaps-utils/src/default-endowments.ts",file:"../snaps-utils/src/default-endowments.ts",}],
|
|
6211
|
-
[
|
|
5999
|
+
[375, {}, function(){
|
|
6212
6000
|
with (this.scopeTerminator) {
|
|
6213
6001
|
with (this.globalThis) {
|
|
6214
6002
|
return function() {
|
|
@@ -6222,7 +6010,7 @@ module.exports={
|
|
|
6222
6010
|
}
|
|
6223
6011
|
}
|
|
6224
6012
|
}, {package:"external:../snaps-utils/src/entropy.ts",file:"../snaps-utils/src/entropy.ts",}],
|
|
6225
|
-
[
|
|
6013
|
+
[376, {}, function(){
|
|
6226
6014
|
with (this.scopeTerminator) {
|
|
6227
6015
|
with (this.globalThis) {
|
|
6228
6016
|
return function() {
|
|
@@ -6236,21 +6024,21 @@ module.exports={
|
|
|
6236
6024
|
}
|
|
6237
6025
|
}
|
|
6238
6026
|
}, {package:"external:../snaps-utils/src/handlers.ts",file:"../snaps-utils/src/handlers.ts",}],
|
|
6239
|
-
[
|
|
6027
|
+
[377, {}, function(){
|
|
6240
6028
|
with (this.scopeTerminator) {
|
|
6241
6029
|
with (this.globalThis) {
|
|
6242
6030
|
return function() {
|
|
6243
6031
|
'use strict';
|
|
6244
6032
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-utils/src/iframe.ts
|
|
6245
6033
|
return function (require, module, exports) {
|
|
6246
|
-
"use strict";async function createWindow(e,t){return await new Promise(((
|
|
6034
|
+
"use strict";async function createWindow(e,t,n=!0){return await new Promise(((o,r)=>{const i=document.createElement("iframe");i.setAttribute("id",t),i.setAttribute("data-testid","snaps-iframe"),n&&i.setAttribute("sandbox","allow-scripts"),i.setAttribute("src",e),document.body.appendChild(i),i.addEventListener("load",(()=>{i.contentWindow?o(i.contentWindow):r(new Error(`iframe.contentWindow not present on load for job "${t}".`))}))}))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.createWindow=createWindow;
|
|
6247
6035
|
|
|
6248
6036
|
};
|
|
6249
6037
|
};
|
|
6250
6038
|
}
|
|
6251
6039
|
}
|
|
6252
6040
|
}, {package:"external:../snaps-utils/src/iframe.ts",file:"../snaps-utils/src/iframe.ts",}],
|
|
6253
|
-
[
|
|
6041
|
+
[378, {"./caveats":370,"./checksum":371,"./cronjob":372,"./deep-clone":373,"./default-endowments":374,"./entropy":375,"./handlers":376,"./iframe":377,"./json-rpc":379,"./logging":380,"./manifest/index.browser":381,"./namespace":383,"./notification":384,"./path":385,"./snaps":386,"./types":387,"./versions":388,"./virtual-file/index.browser":390}, function(){
|
|
6254
6042
|
with (this.scopeTerminator) {
|
|
6255
6043
|
with (this.globalThis) {
|
|
6256
6044
|
return function() {
|
|
@@ -6264,7 +6052,7 @@ module.exports={
|
|
|
6264
6052
|
}
|
|
6265
6053
|
}
|
|
6266
6054
|
}, {package:"external:../snaps-utils/src/index.browser.ts",file:"../snaps-utils/src/index.browser.ts",}],
|
|
6267
|
-
[
|
|
6055
|
+
[379, {"@metamask/utils":45,"superstruct":338}, function(){
|
|
6268
6056
|
with (this.scopeTerminator) {
|
|
6269
6057
|
with (this.globalThis) {
|
|
6270
6058
|
return function() {
|
|
@@ -6278,7 +6066,7 @@ module.exports={
|
|
|
6278
6066
|
}
|
|
6279
6067
|
}
|
|
6280
6068
|
}, {package:"external:../snaps-utils/src/json-rpc.ts",file:"../snaps-utils/src/json-rpc.ts",}],
|
|
6281
|
-
[
|
|
6069
|
+
[380, {"@metamask/utils":45}, function(){
|
|
6282
6070
|
with (this.scopeTerminator) {
|
|
6283
6071
|
with (this.globalThis) {
|
|
6284
6072
|
return function() {
|
|
@@ -6292,7 +6080,7 @@ module.exports={
|
|
|
6292
6080
|
}
|
|
6293
6081
|
}
|
|
6294
6082
|
}, {package:"external:../snaps-utils/src/logging.ts",file:"../snaps-utils/src/logging.ts",}],
|
|
6295
|
-
[
|
|
6083
|
+
[381, {"./validation":382}, function(){
|
|
6296
6084
|
with (this.scopeTerminator) {
|
|
6297
6085
|
with (this.globalThis) {
|
|
6298
6086
|
return function() {
|
|
@@ -6306,21 +6094,21 @@ module.exports={
|
|
|
6306
6094
|
}
|
|
6307
6095
|
}
|
|
6308
6096
|
}, {package:"external:../snaps-utils/src/manifest/index.browser.ts",file:"../snaps-utils/src/manifest/index.browser.ts",}],
|
|
6309
|
-
[
|
|
6097
|
+
[382, {"../cronjob":372,"../entropy":375,"../json-rpc":379,"../namespace":383,"../snaps":386,"../types":387,"@metamask/utils":45,"superstruct":338}, function(){
|
|
6310
6098
|
with (this.scopeTerminator) {
|
|
6311
6099
|
with (this.globalThis) {
|
|
6312
6100
|
return function() {
|
|
6313
6101
|
'use strict';
|
|
6314
6102
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-utils/src/manifest/validation.ts
|
|
6315
6103
|
return function (require, module, exports) {
|
|
6316
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SnapManifestStruct=exports.SnapGetBip32EntropyPermissionsStruct=exports.PermissionsStruct=exports.Bip32PathStruct=exports.Bip32EntropyStruct=void 0,exports.assertIsSnapManifest=assertIsSnapManifest,exports.bip32entropy=void 0,exports.createSnapManifest=createSnapManifest,exports.isSnapManifest=isSnapManifest;var _utils=require("@metamask/utils"),_superstruct=require("superstruct"),_cronjob=require("../cronjob"),_entropy=require("../entropy"),_jsonRpc=require("../json-rpc"),_namespace=require("../namespace"),_types=require("../types");const FORBIDDEN_PURPOSES=[_entropy.SIP_6_MAGIC_VALUE,_entropy.STATE_ENCRYPTION_MAGIC_VALUE],BIP32_INDEX_REGEX=/^\d+'?$/u,Bip32PathStruct=(0,_superstruct.refine)((0,_superstruct.array)((0,_superstruct.string)()),"BIP-32 path",(t=>0===t.length?"Path must be a non-empty BIP-32 derivation path array":"m"!==t[0]?'Path must start with "m".':t.length<3?"Paths must have a length of at least three.":t.slice(1).some((t=>!BIP32_INDEX_REGEX.test(t)))?"Path must be a valid BIP-32 derivation path array.":!FORBIDDEN_PURPOSES.includes(t[1])||`The purpose "${t[1]}" is not allowed for entropy derivation.`));exports.Bip32PathStruct=Bip32PathStruct;const bip32entropy=t=>(0,_superstruct.refine)(t,"BIP-32 entropy",(t=>"ed25519"!==t.curve||!t.path.slice(1).some((t=>!t.endsWith("'")))||"Ed25519 does not support unhardened paths."));exports.bip32entropy=bip32entropy;const Bip32EntropyStruct=bip32entropy((0,_superstruct.type)({path:Bip32PathStruct,curve:(0,_superstruct.enums)(["ed25519","secp256k1"])}));exports.Bip32EntropyStruct=Bip32EntropyStruct;const SnapGetBip32EntropyPermissionsStruct=(0,_superstruct.size)((0,_superstruct.array)(Bip32EntropyStruct),1,1/0);exports.SnapGetBip32EntropyPermissionsStruct=SnapGetBip32EntropyPermissionsStruct;const PermissionsStruct=(0,_superstruct.type)({"endowment:long-running":(0,_superstruct.optional)((0,_superstruct.object)({})),"endowment:network-access":(0,_superstruct.optional)((0,_superstruct.object)({})),"endowment:webassembly":(0,_superstruct.optional)((0,_superstruct.object)({})),"endowment:transaction-insight":(0,_superstruct.optional)((0,_superstruct.object)({allowTransactionOrigin:(0,_superstruct.optional)((0,_superstruct.boolean)())})),"endowment:cronjob":(0,_superstruct.optional)((0,_superstruct.object)({jobs:_cronjob.CronjobSpecificationArrayStruct})),"endowment:rpc":(0,_superstruct.optional)(_jsonRpc.RpcOriginsStruct),snap_dialog:(0,_superstruct.optional)((0,_superstruct.object)({})),snap_confirm:(0,_superstruct.optional)((0,_superstruct.object)({})),snap_manageState:(0,_superstruct.optional)((0,_superstruct.object)({})),snap_notify:(0,_superstruct.optional)((0,_superstruct.object)({})),snap_getBip32Entropy:(0,_superstruct.optional)(SnapGetBip32EntropyPermissionsStruct),snap_getBip32PublicKey:(0,_superstruct.optional)(SnapGetBip32EntropyPermissionsStruct),snap_getBip44Entropy:(0,_superstruct.optional)((0,_superstruct.size)((0,_superstruct.array)((0,_superstruct.object)({coinType:(0,_superstruct.size)((0,_superstruct.integer)(),0,2**32-1)})),1,1/0)),snap_getEntropy:(0,_superstruct.optional)((0,_superstruct.object)({})),"endowment:keyring":(0,_superstruct.optional)((0,_superstruct.object)({namespaces:_namespace.NamespacesStruct}))});exports.PermissionsStruct=PermissionsStruct;const SnapManifestStruct=(0,_superstruct.object)({version:_utils.VersionStruct,description:(0,_superstruct.size)((0,_superstruct.string)(),1,280),proposedName:(0,_superstruct.size)((0,_superstruct.pattern)((0,_superstruct.string)(),/^(?:[A-Za-z0-9-_]+( [A-Za-z0-9-_]+)*)|(?:(?:@[A-Za-z0-9-*~][A-Za-z0-9-*._~]*\/)?[A-Za-z0-9-~][A-Za-z0-9-._~]*)$/u),1,214),repository:(0,_superstruct.optional)((0,_superstruct.object)({type:(0,_superstruct.size)((0,_superstruct.string)(),1,1/0),url:(0,_superstruct.size)((0,_superstruct.string)(),1,1/0)})),source:(0,_superstruct.object)({shasum:_utils.ChecksumStruct,location:(0,_superstruct.object)({npm:(0,_superstruct.object)({filePath:(0,_superstruct.size)((0,_superstruct.string)(),1,1/0),iconPath:(0,_superstruct.optional)((0,_superstruct.size)((0,_superstruct.string)(),1,1/0)),packageName:_types.NameStruct,registry:(0,_superstruct.union)([(0,_superstruct.literal)("https://registry.npmjs.org"),(0,_superstruct.literal)("https://registry.npmjs.org/")])})})}),initialPermissions:PermissionsStruct,manifestVersion:(0,_superstruct.literal)("0.1")});function isSnapManifest(t){return(0,_superstruct.is)(t,SnapManifestStruct)}function assertIsSnapManifest(t){(0,_utils.assertStruct)(t,SnapManifestStruct,`"${_types.NpmSnapFileNames.Manifest}" is invalid`)}function createSnapManifest(t){return(0,_superstruct.create)(t,SnapManifestStruct)}exports.SnapManifestStruct=SnapManifestStruct;
|
|
6104
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SnapManifestStruct=exports.SnapIdsStruct=exports.SnapGetBip32EntropyPermissionsStruct=exports.SemVerRangeStruct=exports.PermissionsStruct=exports.Bip32PathStruct=exports.Bip32EntropyStruct=void 0,exports.assertIsSnapManifest=assertIsSnapManifest,exports.bip32entropy=void 0,exports.createSnapManifest=createSnapManifest,exports.isSnapManifest=isSnapManifest;var _utils=require("@metamask/utils"),_superstruct=require("superstruct"),_cronjob=require("../cronjob"),_entropy=require("../entropy"),_jsonRpc=require("../json-rpc"),_namespace=require("../namespace"),_snaps=require("../snaps"),_types=require("../types");const FORBIDDEN_PURPOSES=[_entropy.SIP_6_MAGIC_VALUE,_entropy.STATE_ENCRYPTION_MAGIC_VALUE],BIP32_INDEX_REGEX=/^\d+'?$/u,Bip32PathStruct=(0,_superstruct.refine)((0,_superstruct.array)((0,_superstruct.string)()),"BIP-32 path",(t=>0===t.length?"Path must be a non-empty BIP-32 derivation path array":"m"!==t[0]?'Path must start with "m".':t.length<3?"Paths must have a length of at least three.":t.slice(1).some((t=>!BIP32_INDEX_REGEX.test(t)))?"Path must be a valid BIP-32 derivation path array.":!FORBIDDEN_PURPOSES.includes(t[1])||`The purpose "${t[1]}" is not allowed for entropy derivation.`));exports.Bip32PathStruct=Bip32PathStruct;const bip32entropy=t=>(0,_superstruct.refine)(t,"BIP-32 entropy",(t=>"ed25519"!==t.curve||!t.path.slice(1).some((t=>!t.endsWith("'")))||"Ed25519 does not support unhardened paths."));exports.bip32entropy=bip32entropy;const Bip32EntropyStruct=bip32entropy((0,_superstruct.type)({path:Bip32PathStruct,curve:(0,_superstruct.enums)(["ed25519","secp256k1"])}));exports.Bip32EntropyStruct=Bip32EntropyStruct;const SnapGetBip32EntropyPermissionsStruct=(0,_superstruct.size)((0,_superstruct.array)(Bip32EntropyStruct),1,1/0);exports.SnapGetBip32EntropyPermissionsStruct=SnapGetBip32EntropyPermissionsStruct;const SemVerRangeStruct=(0,_superstruct.refine)((0,_superstruct.string)(),"SemVer range",(t=>!!(0,_utils.isValidSemVerRange)(t)||"Expected a valid SemVer range."));exports.SemVerRangeStruct=SemVerRangeStruct;const SnapIdsStruct=(0,_superstruct.refine)((0,_superstruct.record)(_snaps.SnapIdStruct,(0,_superstruct.object)({version:(0,_superstruct.optional)(SemVerRangeStruct)})),"SnapIds",(t=>0!==Object.keys(t).length));exports.SnapIdsStruct=SnapIdsStruct;const PermissionsStruct=(0,_superstruct.type)({"endowment:long-running":(0,_superstruct.optional)((0,_superstruct.object)({})),"endowment:network-access":(0,_superstruct.optional)((0,_superstruct.object)({})),"endowment:webassembly":(0,_superstruct.optional)((0,_superstruct.object)({})),"endowment:transaction-insight":(0,_superstruct.optional)((0,_superstruct.object)({allowTransactionOrigin:(0,_superstruct.optional)((0,_superstruct.boolean)())})),"endowment:cronjob":(0,_superstruct.optional)((0,_superstruct.object)({jobs:_cronjob.CronjobSpecificationArrayStruct})),"endowment:rpc":(0,_superstruct.optional)(_jsonRpc.RpcOriginsStruct),snap_dialog:(0,_superstruct.optional)((0,_superstruct.object)({})),snap_confirm:(0,_superstruct.optional)((0,_superstruct.object)({})),snap_manageState:(0,_superstruct.optional)((0,_superstruct.object)({})),snap_notify:(0,_superstruct.optional)((0,_superstruct.object)({})),snap_getBip32Entropy:(0,_superstruct.optional)(SnapGetBip32EntropyPermissionsStruct),snap_getBip32PublicKey:(0,_superstruct.optional)(SnapGetBip32EntropyPermissionsStruct),snap_getBip44Entropy:(0,_superstruct.optional)((0,_superstruct.size)((0,_superstruct.array)((0,_superstruct.object)({coinType:(0,_superstruct.size)((0,_superstruct.integer)(),0,2**32-1)})),1,1/0)),snap_getEntropy:(0,_superstruct.optional)((0,_superstruct.object)({})),"endowment:keyring":(0,_superstruct.optional)((0,_superstruct.object)({namespaces:_namespace.NamespacesStruct})),wallet_snap:(0,_superstruct.optional)(SnapIdsStruct)});exports.PermissionsStruct=PermissionsStruct;const SnapManifestStruct=(0,_superstruct.object)({version:_utils.VersionStruct,description:(0,_superstruct.size)((0,_superstruct.string)(),1,280),proposedName:(0,_superstruct.size)((0,_superstruct.pattern)((0,_superstruct.string)(),/^(?:[A-Za-z0-9-_]+( [A-Za-z0-9-_]+)*)|(?:(?:@[A-Za-z0-9-*~][A-Za-z0-9-*._~]*\/)?[A-Za-z0-9-~][A-Za-z0-9-._~]*)$/u),1,214),repository:(0,_superstruct.optional)((0,_superstruct.object)({type:(0,_superstruct.size)((0,_superstruct.string)(),1,1/0),url:(0,_superstruct.size)((0,_superstruct.string)(),1,1/0)})),source:(0,_superstruct.object)({shasum:_utils.ChecksumStruct,location:(0,_superstruct.object)({npm:(0,_superstruct.object)({filePath:(0,_superstruct.size)((0,_superstruct.string)(),1,1/0),iconPath:(0,_superstruct.optional)((0,_superstruct.size)((0,_superstruct.string)(),1,1/0)),packageName:_types.NameStruct,registry:(0,_superstruct.union)([(0,_superstruct.literal)("https://registry.npmjs.org"),(0,_superstruct.literal)("https://registry.npmjs.org/")])})})}),initialPermissions:PermissionsStruct,manifestVersion:(0,_superstruct.literal)("0.1")});function isSnapManifest(t){return(0,_superstruct.is)(t,SnapManifestStruct)}function assertIsSnapManifest(t){(0,_utils.assertStruct)(t,SnapManifestStruct,`"${_types.NpmSnapFileNames.Manifest}" is invalid`)}function createSnapManifest(t){return(0,_superstruct.create)(t,SnapManifestStruct)}exports.SnapManifestStruct=SnapManifestStruct;
|
|
6317
6105
|
|
|
6318
6106
|
};
|
|
6319
6107
|
};
|
|
6320
6108
|
}
|
|
6321
6109
|
}
|
|
6322
6110
|
}, {package:"external:../snaps-utils/src/manifest/validation.ts",file:"../snaps-utils/src/manifest/validation.ts",}],
|
|
6323
|
-
[
|
|
6111
|
+
[383, {"@metamask/utils":45,"superstruct":338}, function(){
|
|
6324
6112
|
with (this.scopeTerminator) {
|
|
6325
6113
|
with (this.globalThis) {
|
|
6326
6114
|
return function() {
|
|
@@ -6334,7 +6122,7 @@ module.exports={
|
|
|
6334
6122
|
}
|
|
6335
6123
|
}
|
|
6336
6124
|
}, {package:"external:../snaps-utils/src/namespace.ts",file:"../snaps-utils/src/namespace.ts",}],
|
|
6337
|
-
[
|
|
6125
|
+
[384, {"./namespace":383,"@metamask/utils":45,"superstruct":338}, function(){
|
|
6338
6126
|
with (this.scopeTerminator) {
|
|
6339
6127
|
with (this.globalThis) {
|
|
6340
6128
|
return function() {
|
|
@@ -6348,7 +6136,7 @@ module.exports={
|
|
|
6348
6136
|
}
|
|
6349
6137
|
}
|
|
6350
6138
|
}, {package:"external:../snaps-utils/src/notification.ts",file:"../snaps-utils/src/notification.ts",}],
|
|
6351
|
-
[
|
|
6139
|
+
[385, {"@metamask/utils":45}, function(){
|
|
6352
6140
|
with (this.scopeTerminator) {
|
|
6353
6141
|
with (this.globalThis) {
|
|
6354
6142
|
return function() {
|
|
@@ -6362,35 +6150,35 @@ module.exports={
|
|
|
6362
6150
|
}
|
|
6363
6151
|
}
|
|
6364
6152
|
}, {package:"external:../snaps-utils/src/path.ts",file:"../snaps-utils/src/path.ts",}],
|
|
6365
|
-
[
|
|
6153
|
+
[386, {"./caveats":370,"./checksum":371,"./types":387,"@metamask/utils":45,"@scure/base":60,"fast-json-stable-stringify":178,"superstruct":338,"validate-npm-package-name":341}, function(){
|
|
6366
6154
|
with (this.scopeTerminator) {
|
|
6367
6155
|
with (this.globalThis) {
|
|
6368
6156
|
return function() {
|
|
6369
6157
|
'use strict';
|
|
6370
6158
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-utils/src/snaps.ts
|
|
6371
6159
|
return function (require, module, exports) {
|
|
6372
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SnapStatusEvents=exports.SnapStatus=exports.SnapIdStruct=exports.ProgrammaticallyFixableSnapError=exports.PROPOSED_NAME_REGEX=exports.NpmSnapIdStruct=exports.LocalSnapIdStruct=exports.LOCALHOST_HOSTNAMES=exports.HttpSnapIdStruct=exports.BaseSnapIdStruct=void 0,exports.assertIsValidSnapId=assertIsValidSnapId,exports.getSnapChecksum=getSnapChecksum,exports.getSnapPrefix=getSnapPrefix,exports.isCaipChainId=isCaipChainId,exports.isSnapPermitted=isSnapPermitted,exports.validateSnapShasum=validateSnapShasum,exports.verifyRequestedSnapPermissions=verifyRequestedSnapPermissions;var _utils=require("@metamask/utils"),_base=require("@scure/base"),_fastJsonStableStringify=_interopRequireDefault(require("fast-json-stable-stringify")),_superstruct=require("superstruct"),_validateNpmPackageName=_interopRequireDefault(require("validate-npm-package-name")),_caveats=require("./caveats"),_checksum=require("./checksum"),_types=require("./types");function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _defineProperty(t,e,
|
|
6160
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SnapStatusEvents=exports.SnapStatus=exports.SnapIdStruct=exports.ProgrammaticallyFixableSnapError=exports.PROPOSED_NAME_REGEX=exports.NpmSnapIdStruct=exports.LocalSnapIdStruct=exports.LOCALHOST_HOSTNAMES=exports.HttpSnapIdStruct=exports.BaseSnapIdStruct=void 0,exports.assertIsValidSnapId=assertIsValidSnapId,exports.getSnapChecksum=getSnapChecksum,exports.getSnapPrefix=getSnapPrefix,exports.isCaipChainId=isCaipChainId,exports.isSnapPermitted=isSnapPermitted,exports.validateSnapShasum=validateSnapShasum,exports.verifyRequestedSnapPermissions=verifyRequestedSnapPermissions;var _utils=require("@metamask/utils"),_base=require("@scure/base"),_fastJsonStableStringify=_interopRequireDefault(require("fast-json-stable-stringify")),_superstruct=require("superstruct"),_validateNpmPackageName=_interopRequireDefault(require("validate-npm-package-name")),_caveats=require("./caveats"),_checksum=require("./checksum"),_types=require("./types");function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _defineProperty(t,e,r){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:String(e)}function _toPrimitive(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var s=r.call(t,e||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}const PROPOSED_NAME_REGEX=/^(?:[A-Za-z0-9-_]+( [A-Za-z0-9-_]+)*)|(?:(?:@[A-Za-z0-9-*~][A-Za-z0-9-*._~]*\/)?[A-Za-z0-9-~][A-Za-z0-9-._~]*)$/u;exports.PROPOSED_NAME_REGEX=PROPOSED_NAME_REGEX;let SnapStatus=function(t){return t.Installing="installing",t.Updating="updating",t.Running="running",t.Stopped="stopped",t.Crashed="crashed",t}({});exports.SnapStatus=SnapStatus;let SnapStatusEvents=function(t){return t.Start="START",t.Stop="STOP",t.Crash="CRASH",t.Update="UPDATE",t}({});exports.SnapStatusEvents=SnapStatusEvents;class ProgrammaticallyFixableSnapError extends Error{constructor(t,e){super(t),_defineProperty(this,"reason",void 0),this.reason=e}}function getChecksummableManifest(t){const e=t.clone();return delete e.result.source.shasum,e.value=(0,_fastJsonStableStringify.default)(e.result),e}function getSnapChecksum(t){const{manifest:e,sourceCode:r,svgIcon:s}=t,a=[getChecksummableManifest(e),r,s].filter((t=>void 0!==t));return _base.base64.encode((0,_checksum.checksumFiles)(a))}function validateSnapShasum(t,e="Invalid Snap manifest: manifest shasum does not match computed shasum."){if(t.manifest.result.source.shasum!==getSnapChecksum(t))throw new ProgrammaticallyFixableSnapError(e,_types.SnapValidationFailureReason.ShasumMismatch)}exports.ProgrammaticallyFixableSnapError=ProgrammaticallyFixableSnapError;const LOCALHOST_HOSTNAMES=["localhost","127.0.0.1","[::1]"];exports.LOCALHOST_HOSTNAMES=LOCALHOST_HOSTNAMES;const BaseSnapIdStruct=(0,_superstruct.pattern)((0,_superstruct.string)(),/^[\x21-\x7E]*$/u);exports.BaseSnapIdStruct=BaseSnapIdStruct;const LocalSnapIdSubUrlStruct=(0,_types.uri)({protocol:(0,_superstruct.enums)(["http:","https:"]),hostname:(0,_superstruct.enums)(LOCALHOST_HOSTNAMES),hash:(0,_superstruct.empty)((0,_superstruct.string)()),search:(0,_superstruct.empty)((0,_superstruct.string)())}),LocalSnapIdStruct=(0,_superstruct.refine)(BaseSnapIdStruct,"local Snap Id",(t=>{if(!t.startsWith(_types.SnapIdPrefixes.local))return`Expected local snap ID, got "${t}".`;const[e]=(0,_superstruct.validate)(t.slice(_types.SnapIdPrefixes.local.length),LocalSnapIdSubUrlStruct);return e??!0}));exports.LocalSnapIdStruct=LocalSnapIdStruct;const NpmSnapIdStruct=(0,_superstruct.intersection)([BaseSnapIdStruct,(0,_types.uri)({protocol:(0,_superstruct.literal)(_types.SnapIdPrefixes.npm),pathname:(0,_superstruct.refine)((0,_superstruct.string)(),"package name",(function*(t){const e=t.startsWith("/")?t.slice(1):t,{errors:r,validForNewPackages:s,warnings:a}=(0,_validateNpmPackageName.default)(e);return s||(void 0===r?((0,_utils.assert)(void 0!==a),yield*a):yield*r),!0})),search:(0,_superstruct.empty)((0,_superstruct.string)()),hash:(0,_superstruct.empty)((0,_superstruct.string)())})]);exports.NpmSnapIdStruct=NpmSnapIdStruct;const HttpSnapIdStruct=(0,_superstruct.intersection)([BaseSnapIdStruct,(0,_types.uri)({protocol:(0,_superstruct.enums)(["http:","https:"]),search:(0,_superstruct.empty)((0,_superstruct.string)()),hash:(0,_superstruct.empty)((0,_superstruct.string)())})]);exports.HttpSnapIdStruct=HttpSnapIdStruct;const SnapIdStruct=(0,_superstruct.union)([NpmSnapIdStruct,LocalSnapIdStruct]);function getSnapPrefix(t){const e=Object.values(_types.SnapIdPrefixes).find((e=>t.startsWith(e)));if(void 0!==e)return e;throw new Error(`Invalid or no prefix found for "${t}"`)}function assertIsValidSnapId(t){(0,_utils.assertStruct)(t,SnapIdStruct,"Invalid snap ID")}function isCaipChainId(t){return"string"==typeof t&&/^(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-a-zA-Z0-9]{1,32})$/u.test(t)}function isSnapPermitted(t,e){var r,s,a;return Boolean(null===(r=((null==t||null===(s=t.wallet_snap)||void 0===s||null===(a=s.caveats)||void 0===a?void 0:a.find((t=>t.type===_caveats.SnapCaveatType.SnapIds)))??{}).value)||void 0===r?void 0:r[e])}function verifyRequestedSnapPermissions(t){(0,_utils.assert)((0,_utils.isObject)(t),"Requested permissions must be an object.");const{wallet_snap:e}=t;(0,_utils.assert)((0,_utils.isObject)(e),"wallet_snap is missing from the requested permissions.");const{caveats:r}=e;(0,_utils.assert)(Array.isArray(r)&&1===r.length,"wallet_snap must have a caveat property with a single-item array value.");const[s]=r;(0,_utils.assert)((0,_utils.isObject)(s)&&s.type===_caveats.SnapCaveatType.SnapIds&&(0,_utils.isObject)(s.value),`The requested permissions do not have a valid ${_caveats.SnapCaveatType.SnapIds} caveat.`)}exports.SnapIdStruct=SnapIdStruct;
|
|
6373
6161
|
|
|
6374
6162
|
};
|
|
6375
6163
|
};
|
|
6376
6164
|
}
|
|
6377
6165
|
}
|
|
6378
6166
|
}, {package:"external:../snaps-utils/src/snaps.ts",file:"../snaps-utils/src/snaps.ts",}],
|
|
6379
|
-
[
|
|
6167
|
+
[387, {"@metamask/utils":45,"superstruct":338}, function(){
|
|
6380
6168
|
with (this.scopeTerminator) {
|
|
6381
6169
|
with (this.globalThis) {
|
|
6382
6170
|
return function() {
|
|
6383
6171
|
'use strict';
|
|
6384
6172
|
// source: /home/runner/work/snaps-monorepo/snaps-monorepo/packages/snaps-utils/src/types.ts
|
|
6385
6173
|
return function (require, module, exports) {
|
|
6386
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WALLET_SNAP_PERMISSION_KEY=exports.SnapValidationFailureReason=exports.SnapIdPrefixes=exports.SNAP_STREAM_NAMES=exports.SNAP_EXPORT_NAMES=exports.NpmSnapPackageJsonStruct=exports.NpmSnapFileNames=exports.NameStruct=exports.HandlerType=void 0,exports.assertIsNpmSnapPackageJson=assertIsNpmSnapPackageJson,exports.isNpmSnapPackageJson=isNpmSnapPackageJson,exports.isValidUrl=isValidUrl,exports.uri=void 0;var _utils=require("@metamask/utils"),_superstruct=require("superstruct");let NpmSnapFileNames
|
|
6174
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WALLET_SNAP_PERMISSION_KEY=exports.SnapValidationFailureReason=exports.SnapIdPrefixes=exports.SNAP_STREAM_NAMES=exports.SNAP_EXPORT_NAMES=exports.NpmSnapPackageJsonStruct=exports.NpmSnapFileNames=exports.NameStruct=exports.HandlerType=void 0,exports.assertIsNpmSnapPackageJson=assertIsNpmSnapPackageJson,exports.isNpmSnapPackageJson=isNpmSnapPackageJson,exports.isValidUrl=isValidUrl,exports.uri=void 0;var _utils=require("@metamask/utils"),_superstruct=require("superstruct");let NpmSnapFileNames=function(t){return t.PackageJson="package.json",t.Manifest="snap.manifest.json",t}({});exports.NpmSnapFileNames=NpmSnapFileNames;const NameStruct=(0,_superstruct.size)((0,_superstruct.pattern)((0,_superstruct.string)(),/^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/u),1,214);exports.NameStruct=NameStruct;const NpmSnapPackageJsonStruct=(0,_superstruct.type)({version:_utils.VersionStruct,name:NameStruct,main:(0,_superstruct.optional)((0,_superstruct.size)((0,_superstruct.string)(),1,1/0)),repository:(0,_superstruct.optional)((0,_superstruct.object)({type:(0,_superstruct.size)((0,_superstruct.string)(),1,1/0),url:(0,_superstruct.size)((0,_superstruct.string)(),1,1/0)}))});function isNpmSnapPackageJson(t){return(0,_superstruct.is)(t,NpmSnapPackageJsonStruct)}function assertIsNpmSnapPackageJson(t){(0,_utils.assertStruct)(t,NpmSnapPackageJsonStruct,`"${NpmSnapFileNames.PackageJson}" is invalid`)}exports.NpmSnapPackageJsonStruct=NpmSnapPackageJsonStruct;let SnapIdPrefixes=function(t){return t.npm="npm:",t.local="local:",t}({});exports.SnapIdPrefixes=SnapIdPrefixes;let SnapValidationFailureReason=function(t){return t.NameMismatch='"name" field mismatch',t.VersionMismatch='"version" field mismatch',t.RepositoryMismatch='"repository" field mismatch',t.ShasumMismatch='"shasum" field mismatch',t}({});exports.SnapValidationFailureReason=SnapValidationFailureReason;let SNAP_STREAM_NAMES=function(t){return t.JSON_RPC="jsonRpc",t.COMMAND="command",t}({});exports.SNAP_STREAM_NAMES=SNAP_STREAM_NAMES;let HandlerType=function(t){return t.OnRpcRequest="onRpcRequest",t.OnTransaction="onTransaction",t.SnapKeyring="keyring",t.OnCronjob="onCronjob",t}({});exports.HandlerType=HandlerType;const SNAP_EXPORT_NAMES=Object.values(HandlerType);exports.SNAP_EXPORT_NAMES=SNAP_EXPORT_NAMES;const uri=(t={})=>(0,_superstruct.refine)((0,_superstruct.union)([(0,_superstruct.string)(),(0,_superstruct.instance)(URL)]),"uri",(e=>{try{const s=new URL(e),r=(0,_superstruct.type)(t);return(0,_superstruct.assert)(s,r),!0}catch{return`Expected URL, got "${e.toString()}".`}}));function isValidUrl(t,e={}){return(0,_superstruct.is)(t,uri(e))}exports.uri=uri;const WALLET_SNAP_PERMISSION_KEY="wallet_snap";exports.WALLET_SNAP_PERMISSION_KEY="wallet_snap";
|
|
6387
6175
|
|
|
6388
6176
|
};
|
|
6389
6177
|
};
|
|
6390
6178
|
}
|
|
6391
6179
|
}
|
|
6392
6180
|
}, {package:"external:../snaps-utils/src/types.ts",file:"../snaps-utils/src/types.ts",}],
|
|
6393
|
-
[
|
|
6181
|
+
[388, {"@metamask/utils":45,"semver":296,"superstruct":338}, function(){
|
|
6394
6182
|
with (this.scopeTerminator) {
|
|
6395
6183
|
with (this.globalThis) {
|
|
6396
6184
|
return function() {
|
|
@@ -6404,7 +6192,7 @@ module.exports={
|
|
|
6404
6192
|
}
|
|
6405
6193
|
}
|
|
6406
6194
|
}, {package:"external:../snaps-utils/src/versions.ts",file:"../snaps-utils/src/versions.ts",}],
|
|
6407
|
-
[
|
|
6195
|
+
[389, {"../deep-clone":373,"@metamask/utils":45}, function(){
|
|
6408
6196
|
with (this.scopeTerminator) {
|
|
6409
6197
|
with (this.globalThis) {
|
|
6410
6198
|
return function() {
|
|
@@ -6418,7 +6206,7 @@ module.exports={
|
|
|
6418
6206
|
}
|
|
6419
6207
|
}
|
|
6420
6208
|
}, {package:"external:../snaps-utils/src/virtual-file/VirtualFile.ts",file:"../snaps-utils/src/virtual-file/VirtualFile.ts",}],
|
|
6421
|
-
[
|
|
6209
|
+
[390, {"./VirtualFile":389}, function(){
|
|
6422
6210
|
with (this.scopeTerminator) {
|
|
6423
6211
|
with (this.globalThis) {
|
|
6424
6212
|
return function() {
|
|
@@ -6431,5 +6219,5 @@ module.exports={
|
|
|
6431
6219
|
};
|
|
6432
6220
|
}
|
|
6433
6221
|
}
|
|
6434
|
-
}, {package:"external:../snaps-utils/src/virtual-file/index.browser.ts",file:"../snaps-utils/src/virtual-file/index.browser.ts",}]],[382],{"resources":{"@metamask/object-multiplex":{"globals":{"console.warn":true},"packages":{"browserify>readable-stream":true,"pump>end-of-stream":true,"pump>once":true}},"@metamask/post-message-stream":{"globals":{"MessageEvent.prototype":true,"WorkerGlobalScope":true,"addEventListener":true,"browser":true,"chrome":true,"location.origin":true,"onmessage":"write","postMessage":true,"removeEventListener":true},"packages":{"@metamask/post-message-stream>@metamask/utils":true,"@metamask/post-message-stream>readable-stream":true}},"@metamask/post-message-stream>@metamask/utils":{"globals":{"TextDecoder":true,"TextEncoder":true},"packages":{"browserify>buffer":true,"eslint>debug":true,"superstruct":true,"ts-jest>semver":true}},"@metamask/post-message-stream>readable-stream":{"packages":{"@metamask/post-message-stream>readable-stream>process-nextick-args":true,"@metamask/post-message-stream>readable-stream>safe-buffer":true,"@metamask/post-message-stream>readable-stream>string_decoder":true,"browserify>browser-resolve":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>core-util-is":true,"browserify>readable-stream>isarray":true,"browserify>readable-stream>util-deprecate":true,"browserify>timers-browserify":true,"process":true}},"@metamask/post-message-stream>readable-stream>process-nextick-args":{"packages":{"process":true}},"@metamask/post-message-stream>readable-stream>safe-buffer":{"packages":{"browserify>buffer":true}},"@metamask/post-message-stream>readable-stream>string_decoder":{"packages":{"@metamask/post-message-stream>readable-stream>safe-buffer":true}},"@metamask/providers":{"globals":{"Event":true,"addEventListener":true,"chrome.runtime.connect":true,"console":true,"dispatchEvent":true,"document.createElement":true,"document.readyState":true,"ethereum":"write","location.hostname":true,"removeEventListener":true,"web3":true},"packages":{"@metamask/object-multiplex":true,"@metamask/providers>detect-browser":true,"@metamask/providers>extension-port-stream":true,"@metamask/providers>fast-deep-equal":true,"@metamask/providers>is-stream":true,"@metamask/providers>json-rpc-middleware-stream":true,"eth-rpc-errors":true,"json-rpc-engine":true,"json-rpc-engine>@metamask/safe-event-emitter":true,"pump":true}},"@metamask/providers>detect-browser":{"globals":{"document":true,"navigator":true},"packages":{"process":true}},"@metamask/providers>extension-port-stream":{"packages":{"browserify>buffer":true,"stream-browserify":true}},"@metamask/providers>json-rpc-middleware-stream":{"globals":{"console.warn":true,"setTimeout":true},"packages":{"browserify>readable-stream":true,"json-rpc-engine>@metamask/safe-event-emitter":true}},"@metamask/rpc-methods>@noble/hashes":{"globals":{"TextEncoder":true,"crypto":true}},"@metamask/snaps-utils>@scure/base":{"globals":{"TextDecoder":true,"TextEncoder":true}},"@metamask/snaps-utils>cron-parser":{"packages":{"@metamask/snaps-utils>cron-parser>luxon":true,"browserify>browser-resolve":true}},"@metamask/snaps-utils>cron-parser>luxon":{"globals":{"Intl":true}},"@metamask/snaps-utils>rfdc":{"packages":{"browserify>buffer":true}},"@metamask/snaps-utils>validate-npm-package-name":{"packages":{"@metamask/snaps-utils>validate-npm-package-name>builtins":true}},"@metamask/snaps-utils>validate-npm-package-name>builtins":{"packages":{"process":true,"ts-jest>semver":true}},"@metamask/utils":{"globals":{"TextDecoder":true,"TextEncoder":true},"packages":{"browserify>buffer":true,"eslint>debug":true,"superstruct":true,"ts-jest>semver":true}},"@wdio/cli>inquirer>external-editor>iconv-lite>safer-buffer":{"packages":{"browserify>buffer":true,"process":true}},"browserify>browser-pack>safe-buffer":{"packages":{"browserify>buffer":true}},"browserify>buffer":{"globals":{"console":true},"packages":{"buffer>base64-js":true,"buffer>ieee754":true}},"browserify>crypto-browserify":{"packages":{"browserify>crypto-browserify>browserify-cipher":true,"browserify>crypto-browserify>browserify-sign":true,"browserify>crypto-browserify>create-ecdh":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>create-hmac":true,"browserify>crypto-browserify>diffie-hellman":true,"browserify>crypto-browserify>pbkdf2":true,"browserify>crypto-browserify>public-encrypt":true,"browserify>crypto-browserify>randombytes":true,"browserify>crypto-browserify>randomfill":true}},"browserify>crypto-browserify>browserify-cipher":{"packages":{"browserify>crypto-browserify>browserify-cipher>browserify-aes":true,"browserify>crypto-browserify>browserify-cipher>browserify-des":true,"browserify>crypto-browserify>browserify-cipher>evp_bytestokey":true}},"browserify>crypto-browserify>browserify-cipher>browserify-aes":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>buffer":true,"browserify>crypto-browserify>browserify-cipher>browserify-aes>buffer-xor":true,"browserify>crypto-browserify>browserify-cipher>evp_bytestokey":true,"browserify>crypto-browserify>create-hash>cipher-base":true,"browserify>inherits":true}},"browserify>crypto-browserify>browserify-cipher>browserify-aes>buffer-xor":{"packages":{"browserify>buffer":true}},"browserify>crypto-browserify>browserify-cipher>browserify-des":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js":true,"browserify>crypto-browserify>create-hash>cipher-base":true,"browserify>inherits":true}},"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js":{"packages":{"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>inherits":true}},"browserify>crypto-browserify>browserify-cipher>evp_bytestokey":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>create-hash>md5.js":true}},"browserify>crypto-browserify>browserify-sign":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>browserify-sign>bn.js":true,"browserify>crypto-browserify>browserify-sign>readable-stream":true,"browserify>crypto-browserify>create-ecdh>elliptic":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>create-hmac":true,"browserify>crypto-browserify>public-encrypt>browserify-rsa":true,"browserify>crypto-browserify>public-encrypt>parse-asn1":true,"browserify>inherits":true}},"browserify>crypto-browserify>browserify-sign>bn.js":{"globals":{"Buffer":true},"packages":{"browserify>browser-resolve":true}},"browserify>crypto-browserify>browserify-sign>readable-stream":{"packages":{"browserify>browser-resolve":true,"browserify>buffer":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>util-deprecate":true,"browserify>string_decoder":true,"process":true}},"browserify>crypto-browserify>create-ecdh":{"packages":{"browserify>buffer":true,"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-ecdh>elliptic":true}},"browserify>crypto-browserify>create-ecdh>bn.js":{"packages":{"browserify>browser-resolve":true}},"browserify>crypto-browserify>create-ecdh>elliptic":{"packages":{"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>brorand":true,"browserify>crypto-browserify>create-ecdh>elliptic>hash.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>hmac-drbg":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-crypto-utils":true,"browserify>inherits":true}},"browserify>crypto-browserify>create-ecdh>elliptic>brorand":{"globals":{"crypto":true,"msCrypto":true},"packages":{"browserify>browser-resolve":true}},"browserify>crypto-browserify>create-ecdh>elliptic>hash.js":{"packages":{"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>inherits":true}},"browserify>crypto-browserify>create-ecdh>elliptic>hmac-drbg":{"packages":{"browserify>crypto-browserify>create-ecdh>elliptic>hash.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-crypto-utils":true}},"browserify>crypto-browserify>create-hash":{"packages":{"browserify>crypto-browserify>create-hash>cipher-base":true,"browserify>crypto-browserify>create-hash>md5.js":true,"browserify>crypto-browserify>pbkdf2>ripemd160":true,"browserify>crypto-browserify>pbkdf2>sha.js":true,"browserify>inherits":true}},"browserify>crypto-browserify>create-hash>cipher-base":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>inherits":true,"browserify>string_decoder":true,"stream-browserify":true}},"browserify>crypto-browserify>create-hash>md5.js":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base":true,"browserify>inherits":true}},"browserify>crypto-browserify>create-hmac":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>create-hash>cipher-base":true,"browserify>crypto-browserify>pbkdf2>ripemd160":true,"browserify>crypto-browserify>pbkdf2>sha.js":true,"browserify>inherits":true}},"browserify>crypto-browserify>diffie-hellman":{"packages":{"browserify>buffer":true,"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>diffie-hellman>miller-rabin":true,"browserify>crypto-browserify>randombytes":true}},"browserify>crypto-browserify>diffie-hellman>miller-rabin":{"packages":{"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>brorand":true}},"browserify>crypto-browserify>pbkdf2":{"globals":{"crypto":true,"process":true},"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>pbkdf2>ripemd160":true,"browserify>crypto-browserify>pbkdf2>sha.js":true,"process":true}},"browserify>crypto-browserify>pbkdf2>ripemd160":{"packages":{"browserify>buffer":true,"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base":true,"browserify>inherits":true}},"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream":true,"browserify>inherits":true}},"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream":{"packages":{"browserify>browser-resolve":true,"browserify>buffer":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>util-deprecate":true,"browserify>string_decoder":true,"process":true}},"browserify>crypto-browserify>pbkdf2>sha.js":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>inherits":true}},"browserify>crypto-browserify>public-encrypt":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>public-encrypt>browserify-rsa":true,"browserify>crypto-browserify>public-encrypt>parse-asn1":true,"browserify>crypto-browserify>randombytes":true}},"browserify>crypto-browserify>public-encrypt>browserify-rsa":{"packages":{"browserify>buffer":true,"browserify>crypto-browserify>public-encrypt>browserify-rsa>bn.js":true,"browserify>crypto-browserify>randombytes":true}},"browserify>crypto-browserify>public-encrypt>browserify-rsa>bn.js":{"globals":{"Buffer":true},"packages":{"browserify>browser-resolve":true}},"browserify>crypto-browserify>public-encrypt>parse-asn1":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>browserify-cipher>browserify-aes":true,"browserify>crypto-browserify>browserify-cipher>evp_bytestokey":true,"browserify>crypto-browserify>pbkdf2":true,"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js":true}},"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js":{"packages":{"@wdio/cli>inquirer>external-editor>iconv-lite>safer-buffer":true,"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>inherits":true}},"browserify>crypto-browserify>randombytes":{"globals":{"crypto":true,"msCrypto":true},"packages":{"browserify>browser-pack>safe-buffer":true,"process":true}},"browserify>crypto-browserify>randomfill":{"globals":{"crypto":true,"msCrypto":true},"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>randombytes":true,"process":true}},"browserify>events":{"globals":{"console":true}},"browserify>readable-stream":{"packages":{"browserify>browser-resolve":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>core-util-is":true,"browserify>readable-stream>isarray":true,"browserify>readable-stream>process-nextick-args":true,"browserify>readable-stream>safe-buffer":true,"browserify>readable-stream>string_decoder":true,"browserify>readable-stream>util-deprecate":true,"browserify>timers-browserify":true,"process":true}},"browserify>readable-stream>core-util-is":{"packages":{"browserify>insert-module-globals>is-buffer":true}},"browserify>readable-stream>process-nextick-args":{"packages":{"process":true}},"browserify>readable-stream>safe-buffer":{"packages":{"browserify>buffer":true}},"browserify>readable-stream>string_decoder":{"packages":{"browserify>readable-stream>safe-buffer":true}},"browserify>readable-stream>util-deprecate":{"globals":{"console.trace":true,"console.warn":true,"localStorage":true}},"browserify>string_decoder":{"packages":{"browserify>browser-pack>safe-buffer":true}},"browserify>timers-browserify":{"globals":{"clearInterval":true,"clearTimeout":true,"setInterval":true,"setTimeout":true},"packages":{"process":true}},"eslint>debug":{"globals":{"console":true,"document":true,"localStorage":true,"navigator":true,"process":true},"packages":{"eslint>debug>ms":true,"process":true}},"eth-rpc-errors":{"packages":{"eth-rpc-errors>fast-safe-stringify":true}},"external:../snaps-utils/src/checksum.ts":{"packages":{"@metamask/rpc-methods>@noble/hashes":true,"@metamask/utils":true,"external:../snaps-utils/src/virtual-file/VirtualFile.ts":true}},"external:../snaps-utils/src/cronjob.ts":{"packages":{"@metamask/snaps-utils>cron-parser":true,"@metamask/utils":true,"superstruct":true}},"external:../snaps-utils/src/deep-clone.ts":{"packages":{"@metamask/snaps-utils>rfdc":true}},"external:../snaps-utils/src/index.browser.ts":{"packages":{"external:../snaps-utils/src/caveats.ts":true,"external:../snaps-utils/src/checksum.ts":true,"external:../snaps-utils/src/cronjob.ts":true,"external:../snaps-utils/src/deep-clone.ts":true,"external:../snaps-utils/src/default-endowments.ts":true,"external:../snaps-utils/src/entropy.ts":true,"external:../snaps-utils/src/handlers.ts":true,"external:../snaps-utils/src/iframe.ts":true,"external:../snaps-utils/src/json-rpc.ts":true,"external:../snaps-utils/src/logging.ts":true,"external:../snaps-utils/src/manifest/index.browser.ts":true,"external:../snaps-utils/src/namespace.ts":true,"external:../snaps-utils/src/notification.ts":true,"external:../snaps-utils/src/path.ts":true,"external:../snaps-utils/src/snaps.ts":true,"external:../snaps-utils/src/types.ts":true,"external:../snaps-utils/src/versions.ts":true,"external:../snaps-utils/src/virtual-file/index.browser.ts":true}},"external:../snaps-utils/src/json-rpc.ts":{"packages":{"@metamask/utils":true,"superstruct":true}},"external:../snaps-utils/src/logging.ts":{"globals":{"console":true},"packages":{"@metamask/utils":true}},"external:../snaps-utils/src/manifest/index.browser.ts":{"packages":{"external:../snaps-utils/src/manifest/validation.ts":true}},"external:../snaps-utils/src/manifest/validation.ts":{"packages":{"@metamask/utils":true,"external:../snaps-utils/src/cronjob.ts":true,"external:../snaps-utils/src/entropy.ts":true,"external:../snaps-utils/src/json-rpc.ts":true,"external:../snaps-utils/src/namespace.ts":true,"external:../snaps-utils/src/types.ts":true,"superstruct":true}},"external:../snaps-utils/src/namespace.ts":{"packages":{"@metamask/utils":true,"superstruct":true}},"external:../snaps-utils/src/notification.ts":{"packages":{"@metamask/utils":true,"external:../snaps-utils/src/namespace.ts":true,"superstruct":true}},"external:../snaps-utils/src/path.ts":{"packages":{"@metamask/utils":true}},"external:../snaps-utils/src/snaps.ts":{"packages":{"@metamask/snaps-utils>@scure/base":true,"@metamask/snaps-utils>validate-npm-package-name":true,"@metamask/utils":true,"external:../snaps-utils/src/caveats.ts":true,"external:../snaps-utils/src/checksum.ts":true,"external:../snaps-utils/src/types.ts":true,"superstruct":true,"ts-jest>fast-json-stable-stringify":true}},"external:../snaps-utils/src/types.ts":{"packages":{"@metamask/utils":true,"superstruct":true}},"external:../snaps-utils/src/versions.ts":{"packages":{"@metamask/utils":true,"superstruct":true,"ts-jest>semver":true}},"external:../snaps-utils/src/virtual-file/VirtualFile.ts":{"packages":{"@metamask/utils":true,"external:../snaps-utils/src/deep-clone.ts":true}},"external:../snaps-utils/src/virtual-file/index.browser.ts":{"packages":{"external:../snaps-utils/src/virtual-file/VirtualFile.ts":true}},"json-rpc-engine":{"packages":{"eth-rpc-errors":true,"json-rpc-engine>@metamask/safe-event-emitter":true}},"json-rpc-engine>@metamask/safe-event-emitter":{"globals":{"setTimeout":true},"packages":{"browserify>events":true}},"process":{"globals":{"clearTimeout":true,"setTimeout":true}},"pump":{"packages":{"browserify>browser-resolve":true,"process":true,"pump>end-of-stream":true,"pump>once":true}},"pump>end-of-stream":{"packages":{"process":true,"pump>once":true}},"pump>once":{"packages":{"pump>once>wrappy":true}},"stream-browserify":{"packages":{"browserify>events":true,"browserify>inherits":true,"stream-browserify>readable-stream":true}},"stream-browserify>readable-stream":{"packages":{"browserify>browser-resolve":true,"browserify>buffer":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>util-deprecate":true,"browserify>string_decoder":true,"process":true}},"ts-jest>semver":{"globals":{"console.error":true},"packages":{"process":true,"ts-jest>semver>lru-cache":true}},"ts-jest>semver>lru-cache":{"packages":{"ts-jest>semver>lru-cache>yallist":true}}}})
|
|
6222
|
+
}, {package:"external:../snaps-utils/src/virtual-file/index.browser.ts",file:"../snaps-utils/src/virtual-file/index.browser.ts",}]],[367],{"resources":{"@metamask/object-multiplex":{"globals":{"console.warn":true},"packages":{"browserify>readable-stream":true,"pump>end-of-stream":true,"pump>once":true}},"@metamask/post-message-stream":{"globals":{"MessageEvent.prototype":true,"WorkerGlobalScope":true,"addEventListener":true,"browser":true,"chrome":true,"location.origin":true,"postMessage":true,"removeEventListener":true},"packages":{"@metamask/post-message-stream>readable-stream":true,"@metamask/utils":true}},"@metamask/post-message-stream>readable-stream":{"packages":{"@metamask/post-message-stream>readable-stream>process-nextick-args":true,"@metamask/post-message-stream>readable-stream>safe-buffer":true,"@metamask/post-message-stream>readable-stream>string_decoder":true,"browserify>browser-resolve":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>core-util-is":true,"browserify>readable-stream>isarray":true,"browserify>readable-stream>util-deprecate":true,"browserify>timers-browserify":true,"process":true}},"@metamask/post-message-stream>readable-stream>process-nextick-args":{"packages":{"process":true}},"@metamask/post-message-stream>readable-stream>safe-buffer":{"packages":{"browserify>buffer":true}},"@metamask/post-message-stream>readable-stream>string_decoder":{"packages":{"@metamask/post-message-stream>readable-stream>safe-buffer":true}},"@metamask/providers":{"globals":{"Event":true,"addEventListener":true,"chrome.runtime.connect":true,"console":true,"dispatchEvent":true,"document.createElement":true,"document.readyState":true,"ethereum":"write","location.hostname":true,"removeEventListener":true,"web3":true},"packages":{"@metamask/object-multiplex":true,"@metamask/providers>@metamask/safe-event-emitter":true,"@metamask/providers>detect-browser":true,"@metamask/providers>extension-port-stream":true,"@metamask/providers>fast-deep-equal":true,"@metamask/providers>is-stream":true,"@metamask/providers>json-rpc-middleware-stream":true,"eth-rpc-errors":true,"json-rpc-engine":true,"pump":true}},"@metamask/providers>@metamask/safe-event-emitter":{"globals":{"setTimeout":true},"packages":{"browserify>events":true}},"@metamask/providers>detect-browser":{"globals":{"document":true,"navigator":true},"packages":{"process":true}},"@metamask/providers>extension-port-stream":{"packages":{"browserify>buffer":true,"stream-browserify":true}},"@metamask/providers>json-rpc-middleware-stream":{"globals":{"console.warn":true,"setTimeout":true},"packages":{"@metamask/providers>json-rpc-middleware-stream>@metamask/safe-event-emitter":true,"browserify>readable-stream":true}},"@metamask/providers>json-rpc-middleware-stream>@metamask/safe-event-emitter":{"globals":{"setTimeout":true},"packages":{"browserify>events":true}},"@metamask/rpc-methods>@noble/hashes":{"globals":{"TextEncoder":true,"crypto":true}},"@metamask/snaps-utils>@scure/base":{"globals":{"TextDecoder":true,"TextEncoder":true}},"@metamask/snaps-utils>cron-parser":{"packages":{"@metamask/snaps-utils>cron-parser>luxon":true,"browserify>browser-resolve":true}},"@metamask/snaps-utils>cron-parser>luxon":{"globals":{"Intl":true}},"@metamask/snaps-utils>rfdc":{"packages":{"browserify>buffer":true}},"@metamask/snaps-utils>validate-npm-package-name":{"packages":{"@metamask/snaps-utils>validate-npm-package-name>builtins":true}},"@metamask/snaps-utils>validate-npm-package-name>builtins":{"packages":{"process":true,"ts-jest>semver":true}},"@metamask/utils":{"globals":{"TextDecoder":true,"TextEncoder":true},"packages":{"browserify>buffer":true,"eslint>debug":true,"superstruct":true,"ts-jest>semver":true}},"@wdio/cli>inquirer>external-editor>iconv-lite>safer-buffer":{"packages":{"browserify>buffer":true,"process":true}},"browserify>browser-pack>safe-buffer":{"packages":{"browserify>buffer":true}},"browserify>buffer":{"globals":{"console":true},"packages":{"buffer>base64-js":true,"buffer>ieee754":true}},"browserify>crypto-browserify":{"packages":{"browserify>crypto-browserify>browserify-cipher":true,"browserify>crypto-browserify>browserify-sign":true,"browserify>crypto-browserify>create-ecdh":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>create-hmac":true,"browserify>crypto-browserify>diffie-hellman":true,"browserify>crypto-browserify>pbkdf2":true,"browserify>crypto-browserify>public-encrypt":true,"browserify>crypto-browserify>randombytes":true,"browserify>crypto-browserify>randomfill":true}},"browserify>crypto-browserify>browserify-cipher":{"packages":{"browserify>crypto-browserify>browserify-cipher>browserify-aes":true,"browserify>crypto-browserify>browserify-cipher>browserify-des":true,"browserify>crypto-browserify>browserify-cipher>evp_bytestokey":true}},"browserify>crypto-browserify>browserify-cipher>browserify-aes":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>buffer":true,"browserify>crypto-browserify>browserify-cipher>browserify-aes>buffer-xor":true,"browserify>crypto-browserify>browserify-cipher>evp_bytestokey":true,"browserify>crypto-browserify>create-hash>cipher-base":true,"browserify>inherits":true}},"browserify>crypto-browserify>browserify-cipher>browserify-aes>buffer-xor":{"packages":{"browserify>buffer":true}},"browserify>crypto-browserify>browserify-cipher>browserify-des":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js":true,"browserify>crypto-browserify>create-hash>cipher-base":true,"browserify>inherits":true}},"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js":{"packages":{"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>inherits":true}},"browserify>crypto-browserify>browserify-cipher>evp_bytestokey":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>create-hash>md5.js":true}},"browserify>crypto-browserify>browserify-sign":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>browserify-sign>bn.js":true,"browserify>crypto-browserify>browserify-sign>readable-stream":true,"browserify>crypto-browserify>create-ecdh>elliptic":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>create-hmac":true,"browserify>crypto-browserify>public-encrypt>browserify-rsa":true,"browserify>crypto-browserify>public-encrypt>parse-asn1":true,"browserify>inherits":true}},"browserify>crypto-browserify>browserify-sign>bn.js":{"globals":{"Buffer":true},"packages":{"browserify>browser-resolve":true}},"browserify>crypto-browserify>browserify-sign>readable-stream":{"packages":{"browserify>browser-resolve":true,"browserify>buffer":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>util-deprecate":true,"browserify>string_decoder":true,"process":true}},"browserify>crypto-browserify>create-ecdh":{"packages":{"browserify>buffer":true,"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-ecdh>elliptic":true}},"browserify>crypto-browserify>create-ecdh>bn.js":{"packages":{"browserify>browser-resolve":true}},"browserify>crypto-browserify>create-ecdh>elliptic":{"packages":{"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>brorand":true,"browserify>crypto-browserify>create-ecdh>elliptic>hash.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>hmac-drbg":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-crypto-utils":true,"browserify>inherits":true}},"browserify>crypto-browserify>create-ecdh>elliptic>brorand":{"globals":{"crypto":true,"msCrypto":true},"packages":{"browserify>browser-resolve":true}},"browserify>crypto-browserify>create-ecdh>elliptic>hash.js":{"packages":{"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>inherits":true}},"browserify>crypto-browserify>create-ecdh>elliptic>hmac-drbg":{"packages":{"browserify>crypto-browserify>create-ecdh>elliptic>hash.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-crypto-utils":true}},"browserify>crypto-browserify>create-hash":{"packages":{"browserify>crypto-browserify>create-hash>cipher-base":true,"browserify>crypto-browserify>create-hash>md5.js":true,"browserify>crypto-browserify>pbkdf2>ripemd160":true,"browserify>crypto-browserify>pbkdf2>sha.js":true,"browserify>inherits":true}},"browserify>crypto-browserify>create-hash>cipher-base":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>inherits":true,"browserify>string_decoder":true,"stream-browserify":true}},"browserify>crypto-browserify>create-hash>md5.js":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base":true,"browserify>inherits":true}},"browserify>crypto-browserify>create-hmac":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>create-hash>cipher-base":true,"browserify>crypto-browserify>pbkdf2>ripemd160":true,"browserify>crypto-browserify>pbkdf2>sha.js":true,"browserify>inherits":true}},"browserify>crypto-browserify>diffie-hellman":{"packages":{"browserify>buffer":true,"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>diffie-hellman>miller-rabin":true,"browserify>crypto-browserify>randombytes":true}},"browserify>crypto-browserify>diffie-hellman>miller-rabin":{"packages":{"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>brorand":true}},"browserify>crypto-browserify>pbkdf2":{"globals":{"crypto":true,"process":true},"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>pbkdf2>ripemd160":true,"browserify>crypto-browserify>pbkdf2>sha.js":true,"process":true}},"browserify>crypto-browserify>pbkdf2>ripemd160":{"packages":{"browserify>buffer":true,"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base":true,"browserify>inherits":true}},"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream":true,"browserify>inherits":true}},"browserify>crypto-browserify>pbkdf2>ripemd160>hash-base>readable-stream":{"packages":{"browserify>browser-resolve":true,"browserify>buffer":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>util-deprecate":true,"browserify>string_decoder":true,"process":true}},"browserify>crypto-browserify>pbkdf2>sha.js":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>inherits":true}},"browserify>crypto-browserify>public-encrypt":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-hash":true,"browserify>crypto-browserify>public-encrypt>browserify-rsa":true,"browserify>crypto-browserify>public-encrypt>parse-asn1":true,"browserify>crypto-browserify>randombytes":true}},"browserify>crypto-browserify>public-encrypt>browserify-rsa":{"packages":{"browserify>buffer":true,"browserify>crypto-browserify>public-encrypt>browserify-rsa>bn.js":true,"browserify>crypto-browserify>randombytes":true}},"browserify>crypto-browserify>public-encrypt>browserify-rsa>bn.js":{"globals":{"Buffer":true},"packages":{"browserify>browser-resolve":true}},"browserify>crypto-browserify>public-encrypt>parse-asn1":{"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>browserify-cipher>browserify-aes":true,"browserify>crypto-browserify>browserify-cipher>evp_bytestokey":true,"browserify>crypto-browserify>pbkdf2":true,"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js":true}},"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js":{"packages":{"@wdio/cli>inquirer>external-editor>iconv-lite>safer-buffer":true,"browserify>crypto-browserify>create-ecdh>bn.js":true,"browserify>crypto-browserify>create-ecdh>elliptic>minimalistic-assert":true,"browserify>inherits":true}},"browserify>crypto-browserify>randombytes":{"globals":{"crypto":true,"msCrypto":true},"packages":{"browserify>browser-pack>safe-buffer":true,"process":true}},"browserify>crypto-browserify>randomfill":{"globals":{"crypto":true,"msCrypto":true},"packages":{"browserify>browser-pack>safe-buffer":true,"browserify>crypto-browserify>randombytes":true,"process":true}},"browserify>events":{"globals":{"console":true}},"browserify>readable-stream":{"packages":{"browserify>browser-resolve":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>core-util-is":true,"browserify>readable-stream>isarray":true,"browserify>readable-stream>process-nextick-args":true,"browserify>readable-stream>safe-buffer":true,"browserify>readable-stream>string_decoder":true,"browserify>readable-stream>util-deprecate":true,"browserify>timers-browserify":true,"process":true}},"browserify>readable-stream>core-util-is":{"packages":{"browserify>insert-module-globals>is-buffer":true}},"browserify>readable-stream>process-nextick-args":{"packages":{"process":true}},"browserify>readable-stream>safe-buffer":{"packages":{"browserify>buffer":true}},"browserify>readable-stream>string_decoder":{"packages":{"browserify>readable-stream>safe-buffer":true}},"browserify>readable-stream>util-deprecate":{"globals":{"console.trace":true,"console.warn":true,"localStorage":true}},"browserify>string_decoder":{"packages":{"browserify>browser-pack>safe-buffer":true}},"browserify>timers-browserify":{"globals":{"clearInterval":true,"clearTimeout":true,"setInterval":true,"setTimeout":true},"packages":{"process":true}},"eslint>debug":{"globals":{"console":true,"document":true,"localStorage":true,"navigator":true,"process":true},"packages":{"eslint>debug>ms":true,"process":true}},"eth-rpc-errors":{"packages":{"eth-rpc-errors>fast-safe-stringify":true}},"external:../snaps-utils/src/checksum.ts":{"packages":{"@metamask/rpc-methods>@noble/hashes":true,"@metamask/utils":true,"external:../snaps-utils/src/virtual-file/VirtualFile.ts":true}},"external:../snaps-utils/src/cronjob.ts":{"packages":{"@metamask/snaps-utils>cron-parser":true,"@metamask/utils":true,"superstruct":true}},"external:../snaps-utils/src/deep-clone.ts":{"packages":{"@metamask/snaps-utils>rfdc":true}},"external:../snaps-utils/src/index.browser.ts":{"packages":{"external:../snaps-utils/src/caveats.ts":true,"external:../snaps-utils/src/checksum.ts":true,"external:../snaps-utils/src/cronjob.ts":true,"external:../snaps-utils/src/deep-clone.ts":true,"external:../snaps-utils/src/default-endowments.ts":true,"external:../snaps-utils/src/entropy.ts":true,"external:../snaps-utils/src/handlers.ts":true,"external:../snaps-utils/src/iframe.ts":true,"external:../snaps-utils/src/json-rpc.ts":true,"external:../snaps-utils/src/logging.ts":true,"external:../snaps-utils/src/manifest/index.browser.ts":true,"external:../snaps-utils/src/namespace.ts":true,"external:../snaps-utils/src/notification.ts":true,"external:../snaps-utils/src/path.ts":true,"external:../snaps-utils/src/snaps.ts":true,"external:../snaps-utils/src/types.ts":true,"external:../snaps-utils/src/versions.ts":true,"external:../snaps-utils/src/virtual-file/index.browser.ts":true}},"external:../snaps-utils/src/json-rpc.ts":{"packages":{"@metamask/utils":true,"superstruct":true}},"external:../snaps-utils/src/logging.ts":{"globals":{"console":true},"packages":{"@metamask/utils":true}},"external:../snaps-utils/src/manifest/index.browser.ts":{"packages":{"external:../snaps-utils/src/manifest/validation.ts":true}},"external:../snaps-utils/src/manifest/validation.ts":{"packages":{"@metamask/utils":true,"external:../snaps-utils/src/cronjob.ts":true,"external:../snaps-utils/src/entropy.ts":true,"external:../snaps-utils/src/json-rpc.ts":true,"external:../snaps-utils/src/namespace.ts":true,"external:../snaps-utils/src/snaps.ts":true,"external:../snaps-utils/src/types.ts":true,"superstruct":true}},"external:../snaps-utils/src/namespace.ts":{"packages":{"@metamask/utils":true,"superstruct":true}},"external:../snaps-utils/src/notification.ts":{"packages":{"@metamask/utils":true,"external:../snaps-utils/src/namespace.ts":true,"superstruct":true}},"external:../snaps-utils/src/path.ts":{"packages":{"@metamask/utils":true}},"external:../snaps-utils/src/snaps.ts":{"packages":{"@metamask/snaps-utils>@scure/base":true,"@metamask/snaps-utils>validate-npm-package-name":true,"@metamask/utils":true,"external:../snaps-utils/src/caveats.ts":true,"external:../snaps-utils/src/checksum.ts":true,"external:../snaps-utils/src/types.ts":true,"superstruct":true,"ts-jest>fast-json-stable-stringify":true}},"external:../snaps-utils/src/types.ts":{"packages":{"@metamask/utils":true,"superstruct":true}},"external:../snaps-utils/src/versions.ts":{"packages":{"@metamask/utils":true,"superstruct":true,"ts-jest>semver":true}},"external:../snaps-utils/src/virtual-file/VirtualFile.ts":{"packages":{"@metamask/utils":true,"external:../snaps-utils/src/deep-clone.ts":true}},"external:../snaps-utils/src/virtual-file/index.browser.ts":{"packages":{"external:../snaps-utils/src/virtual-file/VirtualFile.ts":true}},"json-rpc-engine":{"packages":{"eth-rpc-errors":true,"json-rpc-engine>@metamask/safe-event-emitter":true}},"json-rpc-engine>@metamask/safe-event-emitter":{"globals":{"setTimeout":true},"packages":{"browserify>events":true}},"process":{"globals":{"clearTimeout":true,"setTimeout":true}},"pump":{"packages":{"browserify>browser-resolve":true,"process":true,"pump>end-of-stream":true,"pump>once":true}},"pump>end-of-stream":{"packages":{"process":true,"pump>once":true}},"pump>once":{"packages":{"pump>once>wrappy":true}},"stream-browserify":{"packages":{"browserify>events":true,"browserify>inherits":true,"stream-browserify>readable-stream":true}},"stream-browserify>readable-stream":{"packages":{"browserify>browser-resolve":true,"browserify>buffer":true,"browserify>events":true,"browserify>inherits":true,"browserify>readable-stream>util-deprecate":true,"browserify>string_decoder":true,"process":true}},"ts-jest>semver":{"globals":{"console.error":true},"packages":{"process":true,"ts-jest>semver>lru-cache":true}},"ts-jest>semver>lru-cache":{"packages":{"ts-jest>semver>lru-cache>yallist":true}}}})
|
|
6435
6223
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIn0=
|