@cartridge/controller-wasm 0.3.2 → 0.3.4
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/package.json +1 -1
- package/pkg-controller/account_wasm.d.ts +30 -0
- package/pkg-controller/account_wasm_bg.js +229 -182
- package/pkg-controller/account_wasm_bg.wasm +0 -0
- package/pkg-session/session_wasm.d.ts +20 -0
- package/pkg-session/session_wasm_bg.js +183 -153
- package/pkg-session/session_wasm_bg.wasm +0 -0
|
@@ -6,14 +6,6 @@ export function __wbg_set_wasm(val) {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
const heap = new Array(128).fill(undefined);
|
|
10
|
-
|
|
11
|
-
heap.push(undefined, null, true, false);
|
|
12
|
-
|
|
13
|
-
function getObject(idx) { return heap[idx]; }
|
|
14
|
-
|
|
15
|
-
let WASM_VECTOR_LEN = 0;
|
|
16
|
-
|
|
17
9
|
let cachedUint8ArrayMemory0 = null;
|
|
18
10
|
|
|
19
11
|
function getUint8ArrayMemory0() {
|
|
@@ -23,9 +15,51 @@ function getUint8ArrayMemory0() {
|
|
|
23
15
|
return cachedUint8ArrayMemory0;
|
|
24
16
|
}
|
|
25
17
|
|
|
18
|
+
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
19
|
+
|
|
20
|
+
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
21
|
+
|
|
22
|
+
cachedTextDecoder.decode();
|
|
23
|
+
|
|
24
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
25
|
+
let numBytesDecoded = 0;
|
|
26
|
+
function decodeText(ptr, len) {
|
|
27
|
+
numBytesDecoded += len;
|
|
28
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
29
|
+
cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
30
|
+
cachedTextDecoder.decode();
|
|
31
|
+
numBytesDecoded = len;
|
|
32
|
+
}
|
|
33
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function getStringFromWasm0(ptr, len) {
|
|
37
|
+
ptr = ptr >>> 0;
|
|
38
|
+
return decodeText(ptr, len);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
const heap = new Array(128).fill(undefined);
|
|
42
|
+
|
|
43
|
+
heap.push(undefined, null, true, false);
|
|
44
|
+
|
|
45
|
+
let heap_next = heap.length;
|
|
46
|
+
|
|
47
|
+
function addHeapObject(obj) {
|
|
48
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
49
|
+
const idx = heap_next;
|
|
50
|
+
heap_next = heap[idx];
|
|
51
|
+
|
|
52
|
+
heap[idx] = obj;
|
|
53
|
+
return idx;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function getObject(idx) { return heap[idx]; }
|
|
57
|
+
|
|
58
|
+
let WASM_VECTOR_LEN = 0;
|
|
59
|
+
|
|
26
60
|
const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
|
|
27
61
|
|
|
28
|
-
|
|
62
|
+
const cachedTextEncoder = new lTextEncoder('utf-8');
|
|
29
63
|
|
|
30
64
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
31
65
|
? function (arg, view) {
|
|
@@ -88,28 +122,6 @@ function getDataViewMemory0() {
|
|
|
88
122
|
return cachedDataViewMemory0;
|
|
89
123
|
}
|
|
90
124
|
|
|
91
|
-
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
92
|
-
|
|
93
|
-
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
94
|
-
|
|
95
|
-
cachedTextDecoder.decode();
|
|
96
|
-
|
|
97
|
-
function getStringFromWasm0(ptr, len) {
|
|
98
|
-
ptr = ptr >>> 0;
|
|
99
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
let heap_next = heap.length;
|
|
103
|
-
|
|
104
|
-
function addHeapObject(obj) {
|
|
105
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
106
|
-
const idx = heap_next;
|
|
107
|
-
heap_next = heap[idx];
|
|
108
|
-
|
|
109
|
-
heap[idx] = obj;
|
|
110
|
-
return idx;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
125
|
function handleError(f, args) {
|
|
114
126
|
try {
|
|
115
127
|
return f.apply(this, args);
|
|
@@ -130,6 +142,11 @@ function takeObject(idx) {
|
|
|
130
142
|
return ret;
|
|
131
143
|
}
|
|
132
144
|
|
|
145
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
146
|
+
ptr = ptr >>> 0;
|
|
147
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
148
|
+
}
|
|
149
|
+
|
|
133
150
|
function isLikeNone(x) {
|
|
134
151
|
return x === undefined || x === null;
|
|
135
152
|
}
|
|
@@ -239,20 +256,20 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
239
256
|
WASM_VECTOR_LEN = array.length;
|
|
240
257
|
return ptr;
|
|
241
258
|
}
|
|
242
|
-
function
|
|
259
|
+
function __wbg_adapter_36(arg0, arg1) {
|
|
243
260
|
wasm.__wbindgen_export_5(arg0, arg1);
|
|
244
261
|
}
|
|
245
262
|
|
|
246
|
-
function
|
|
263
|
+
function __wbg_adapter_39(arg0, arg1, arg2) {
|
|
247
264
|
wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
|
|
248
265
|
}
|
|
249
266
|
|
|
250
|
-
function
|
|
267
|
+
function __wbg_adapter_195(arg0, arg1, arg2, arg3) {
|
|
251
268
|
wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
252
269
|
}
|
|
253
270
|
|
|
254
271
|
/**
|
|
255
|
-
* @enum {1 | 20 | 24 | 27 | 28 | 29 | 31 | 32 | 33 | 34 | 40 | 41 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 10 | 64 | 65 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140}
|
|
272
|
+
* @enum {1 | 20 | 24 | 27 | 28 | 29 | 31 | 32 | 33 | 34 | 40 | 41 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 10 | 64 | 65 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141}
|
|
256
273
|
*/
|
|
257
274
|
export const ErrorCode = Object.freeze({
|
|
258
275
|
StarknetFailedToReceiveTransaction: 1, "1": "StarknetFailedToReceiveTransaction",
|
|
@@ -322,6 +339,7 @@ export const ErrorCode = Object.freeze({
|
|
|
322
339
|
GasPriceTooHigh: 138, "138": "GasPriceTooHigh",
|
|
323
340
|
TransactionTimeout: 139, "139": "TransactionTimeout",
|
|
324
341
|
ConversionError: 140, "140": "ConversionError",
|
|
342
|
+
InvalidChainId: 141, "141": "InvalidChainId",
|
|
325
343
|
});
|
|
326
344
|
|
|
327
345
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
@@ -536,6 +554,11 @@ export class JsControllerError {
|
|
|
536
554
|
}
|
|
537
555
|
}
|
|
538
556
|
|
|
557
|
+
export function __wbg_Error_0497d5bdba9362e5(arg0, arg1) {
|
|
558
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
559
|
+
return addHeapObject(ret);
|
|
560
|
+
};
|
|
561
|
+
|
|
539
562
|
export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
|
|
540
563
|
const ret = String(getObject(arg1));
|
|
541
564
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
@@ -544,35 +567,35 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
|
|
|
544
567
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
545
568
|
};
|
|
546
569
|
|
|
547
|
-
export function
|
|
548
|
-
getObject(arg0).abort(
|
|
570
|
+
export function __wbg_abort_18ba44d46e13d7fe(arg0) {
|
|
571
|
+
getObject(arg0).abort();
|
|
549
572
|
};
|
|
550
573
|
|
|
551
|
-
export function
|
|
552
|
-
getObject(arg0).abort();
|
|
574
|
+
export function __wbg_abort_4198a1129c47f21a(arg0, arg1) {
|
|
575
|
+
getObject(arg0).abort(getObject(arg1));
|
|
553
576
|
};
|
|
554
577
|
|
|
555
|
-
export function
|
|
578
|
+
export function __wbg_append_0342728346e47425() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
556
579
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
557
580
|
}, arguments) };
|
|
558
581
|
|
|
559
|
-
export function
|
|
582
|
+
export function __wbg_arrayBuffer_d58b858456021d7f() { return handleError(function (arg0) {
|
|
560
583
|
const ret = getObject(arg0).arrayBuffer();
|
|
561
584
|
return addHeapObject(ret);
|
|
562
585
|
}, arguments) };
|
|
563
586
|
|
|
564
|
-
export function
|
|
587
|
+
export function __wbg_buffer_a1a27a0dfa70165d(arg0) {
|
|
565
588
|
const ret = getObject(arg0).buffer;
|
|
566
589
|
return addHeapObject(ret);
|
|
567
590
|
};
|
|
568
591
|
|
|
569
|
-
export function
|
|
570
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
592
|
+
export function __wbg_call_f2db6205e5c51dc8() { return handleError(function (arg0, arg1, arg2) {
|
|
593
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
571
594
|
return addHeapObject(ret);
|
|
572
595
|
}, arguments) };
|
|
573
596
|
|
|
574
|
-
export function
|
|
575
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
597
|
+
export function __wbg_call_fbe8be8bf6436ce5() { return handleError(function (arg0, arg1) {
|
|
598
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
576
599
|
return addHeapObject(ret);
|
|
577
600
|
}, arguments) };
|
|
578
601
|
|
|
@@ -581,7 +604,7 @@ export function __wbg_clearTimeout_6222fede17abcb1a(arg0) {
|
|
|
581
604
|
return addHeapObject(ret);
|
|
582
605
|
};
|
|
583
606
|
|
|
584
|
-
export function
|
|
607
|
+
export function __wbg_credentials_2111b2d8612be757(arg0) {
|
|
585
608
|
const ret = getObject(arg0).credentials;
|
|
586
609
|
return addHeapObject(ret);
|
|
587
610
|
};
|
|
@@ -591,12 +614,12 @@ export function __wbg_crypto_574e78ad8b13b65f(arg0) {
|
|
|
591
614
|
return addHeapObject(ret);
|
|
592
615
|
};
|
|
593
616
|
|
|
594
|
-
export function
|
|
617
|
+
export function __wbg_done_4d01f352bade43b7(arg0) {
|
|
595
618
|
const ret = getObject(arg0).done;
|
|
596
619
|
return ret;
|
|
597
620
|
};
|
|
598
621
|
|
|
599
|
-
export function
|
|
622
|
+
export function __wbg_fetch_a8e43a4e138dfc93(arg0, arg1) {
|
|
600
623
|
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
601
624
|
return addHeapObject(ret);
|
|
602
625
|
};
|
|
@@ -611,7 +634,7 @@ export function __wbg_fetch_f1856afdb49415d1(arg0) {
|
|
|
611
634
|
return addHeapObject(ret);
|
|
612
635
|
};
|
|
613
636
|
|
|
614
|
-
export function
|
|
637
|
+
export function __wbg_getClientExtensionResults_6e8c179868f9d3bb(arg0) {
|
|
615
638
|
const ret = getObject(arg0).getClientExtensionResults();
|
|
616
639
|
return addHeapObject(ret);
|
|
617
640
|
};
|
|
@@ -620,18 +643,18 @@ export function __wbg_getRandomValues_b8f5dbd5f3995a9e() { return handleError(fu
|
|
|
620
643
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
621
644
|
}, arguments) };
|
|
622
645
|
|
|
623
|
-
export function
|
|
646
|
+
export function __wbg_getTime_2afe67905d873e92(arg0) {
|
|
624
647
|
const ret = getObject(arg0).getTime();
|
|
625
648
|
return ret;
|
|
626
649
|
};
|
|
627
650
|
|
|
628
|
-
export function
|
|
629
|
-
const ret =
|
|
651
|
+
export function __wbg_get_5d953d918b77e646() { return handleError(function (arg0, arg1) {
|
|
652
|
+
const ret = getObject(arg0).get(getObject(arg1));
|
|
630
653
|
return addHeapObject(ret);
|
|
631
654
|
}, arguments) };
|
|
632
655
|
|
|
633
|
-
export function
|
|
634
|
-
const ret = getObject(arg0)
|
|
656
|
+
export function __wbg_get_92470be87867c2e5() { return handleError(function (arg0, arg1) {
|
|
657
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
635
658
|
return addHeapObject(ret);
|
|
636
659
|
}, arguments) };
|
|
637
660
|
|
|
@@ -640,17 +663,17 @@ export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) {
|
|
|
640
663
|
return addHeapObject(ret);
|
|
641
664
|
};
|
|
642
665
|
|
|
643
|
-
export function
|
|
666
|
+
export function __wbg_has_809e438ee9d787a7() { return handleError(function (arg0, arg1) {
|
|
644
667
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
645
668
|
return ret;
|
|
646
669
|
}, arguments) };
|
|
647
670
|
|
|
648
|
-
export function
|
|
671
|
+
export function __wbg_headers_0f0cbdc6290b6780(arg0) {
|
|
649
672
|
const ret = getObject(arg0).headers;
|
|
650
673
|
return addHeapObject(ret);
|
|
651
674
|
};
|
|
652
675
|
|
|
653
|
-
export function
|
|
676
|
+
export function __wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc(arg0) {
|
|
654
677
|
let result;
|
|
655
678
|
try {
|
|
656
679
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -661,7 +684,7 @@ export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
|
|
|
661
684
|
return ret;
|
|
662
685
|
};
|
|
663
686
|
|
|
664
|
-
export function
|
|
687
|
+
export function __wbg_instanceof_Object_9a05796038b7a8f6(arg0) {
|
|
665
688
|
let result;
|
|
666
689
|
try {
|
|
667
690
|
result = getObject(arg0) instanceof Object;
|
|
@@ -672,7 +695,7 @@ export function __wbg_instanceof_Object_7f2dcef8f78644a4(arg0) {
|
|
|
672
695
|
return ret;
|
|
673
696
|
};
|
|
674
697
|
|
|
675
|
-
export function
|
|
698
|
+
export function __wbg_instanceof_Response_e80ce8b7a2b968d2(arg0) {
|
|
676
699
|
let result;
|
|
677
700
|
try {
|
|
678
701
|
result = getObject(arg0) instanceof Response;
|
|
@@ -683,7 +706,7 @@ export function __wbg_instanceof_Response_f2cc20d9f7dfd644(arg0) {
|
|
|
683
706
|
return ret;
|
|
684
707
|
};
|
|
685
708
|
|
|
686
|
-
export function
|
|
709
|
+
export function __wbg_instanceof_Uint8Array_ca460677bc155827(arg0) {
|
|
687
710
|
let result;
|
|
688
711
|
try {
|
|
689
712
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -694,7 +717,7 @@ export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
|
|
|
694
717
|
return ret;
|
|
695
718
|
};
|
|
696
719
|
|
|
697
|
-
export function
|
|
720
|
+
export function __wbg_instanceof_Window_68f3f67bad1729c1(arg0) {
|
|
698
721
|
let result;
|
|
699
722
|
try {
|
|
700
723
|
result = getObject(arg0) instanceof Window;
|
|
@@ -705,7 +728,7 @@ export function __wbg_instanceof_Window_def73ea0955fc569(arg0) {
|
|
|
705
728
|
return ret;
|
|
706
729
|
};
|
|
707
730
|
|
|
708
|
-
export function
|
|
731
|
+
export function __wbg_iterator_4068add5b2aef7a6() {
|
|
709
732
|
const ret = Symbol.iterator;
|
|
710
733
|
return addHeapObject(ret);
|
|
711
734
|
};
|
|
@@ -715,17 +738,17 @@ export function __wbg_jscontrollererror_new(arg0) {
|
|
|
715
738
|
return addHeapObject(ret);
|
|
716
739
|
};
|
|
717
740
|
|
|
718
|
-
export function
|
|
741
|
+
export function __wbg_length_ab6d22b5ead75c72(arg0) {
|
|
719
742
|
const ret = getObject(arg0).length;
|
|
720
743
|
return ret;
|
|
721
744
|
};
|
|
722
745
|
|
|
723
|
-
export function
|
|
746
|
+
export function __wbg_location_53fd1bbab625ae8d(arg0) {
|
|
724
747
|
const ret = getObject(arg0).location;
|
|
725
748
|
return addHeapObject(ret);
|
|
726
749
|
};
|
|
727
750
|
|
|
728
|
-
export function
|
|
751
|
+
export function __wbg_log_ea240990d83e374e(arg0) {
|
|
729
752
|
console.log(getObject(arg0));
|
|
730
753
|
};
|
|
731
754
|
|
|
@@ -734,29 +757,49 @@ export function __wbg_msCrypto_a61aeb35a24c1329(arg0) {
|
|
|
734
757
|
return addHeapObject(ret);
|
|
735
758
|
};
|
|
736
759
|
|
|
737
|
-
export function
|
|
760
|
+
export function __wbg_navigator_fc64ba1417939b25(arg0) {
|
|
738
761
|
const ret = getObject(arg0).navigator;
|
|
739
762
|
return addHeapObject(ret);
|
|
740
763
|
};
|
|
741
764
|
|
|
742
|
-
export function
|
|
765
|
+
export function __wbg_new0_97314565408dea38() {
|
|
743
766
|
const ret = new Date();
|
|
744
767
|
return addHeapObject(ret);
|
|
745
768
|
};
|
|
746
769
|
|
|
747
|
-
export function
|
|
770
|
+
export function __wbg_new_07b483f72211fd66() {
|
|
771
|
+
const ret = new Object();
|
|
772
|
+
return addHeapObject(ret);
|
|
773
|
+
};
|
|
774
|
+
|
|
775
|
+
export function __wbg_new_186abcfdff244e42() { return handleError(function () {
|
|
776
|
+
const ret = new AbortController();
|
|
777
|
+
return addHeapObject(ret);
|
|
778
|
+
}, arguments) };
|
|
779
|
+
|
|
780
|
+
export function __wbg_new_2658d63118834d8e() {
|
|
781
|
+
const ret = new Mutex();
|
|
782
|
+
return addHeapObject(ret);
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
export function __wbg_new_4796e1cd2eb9ea6d() { return handleError(function () {
|
|
748
786
|
const ret = new Headers();
|
|
749
787
|
return addHeapObject(ret);
|
|
750
788
|
}, arguments) };
|
|
751
789
|
|
|
752
|
-
export function
|
|
790
|
+
export function __wbg_new_58353953ad2097cc() {
|
|
791
|
+
const ret = new Array();
|
|
792
|
+
return addHeapObject(ret);
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
export function __wbg_new_e30c39c06edaabf2(arg0, arg1) {
|
|
753
796
|
try {
|
|
754
797
|
var state0 = {a: arg0, b: arg1};
|
|
755
798
|
var cb0 = (arg0, arg1) => {
|
|
756
799
|
const a = state0.a;
|
|
757
800
|
state0.a = 0;
|
|
758
801
|
try {
|
|
759
|
-
return
|
|
802
|
+
return __wbg_adapter_195(a, state0.b, arg0, arg1);
|
|
760
803
|
} finally {
|
|
761
804
|
state0.a = a;
|
|
762
805
|
}
|
|
@@ -768,57 +811,42 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
|
|
|
768
811
|
}
|
|
769
812
|
};
|
|
770
813
|
|
|
771
|
-
export function
|
|
772
|
-
const ret = new Mutex();
|
|
773
|
-
return addHeapObject(ret);
|
|
774
|
-
};
|
|
775
|
-
|
|
776
|
-
export function __wbg_new_405e22f390576ce2() {
|
|
777
|
-
const ret = new Object();
|
|
778
|
-
return addHeapObject(ret);
|
|
779
|
-
};
|
|
780
|
-
|
|
781
|
-
export function __wbg_new_78feb108b6472713() {
|
|
782
|
-
const ret = new Array();
|
|
783
|
-
return addHeapObject(ret);
|
|
784
|
-
};
|
|
785
|
-
|
|
786
|
-
export function __wbg_new_a12002a7f91c75be(arg0) {
|
|
814
|
+
export function __wbg_new_e52b3efaaa774f96(arg0) {
|
|
787
815
|
const ret = new Uint8Array(getObject(arg0));
|
|
788
816
|
return addHeapObject(ret);
|
|
789
817
|
};
|
|
790
818
|
|
|
791
|
-
export function
|
|
792
|
-
const ret = new
|
|
819
|
+
export function __wbg_newfromslice_7c05ab1297cb2d88(arg0, arg1) {
|
|
820
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
793
821
|
return addHeapObject(ret);
|
|
794
|
-
}
|
|
822
|
+
};
|
|
795
823
|
|
|
796
|
-
export function
|
|
824
|
+
export function __wbg_newnoargs_ff528e72d35de39a(arg0, arg1) {
|
|
797
825
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
798
826
|
return addHeapObject(ret);
|
|
799
827
|
};
|
|
800
828
|
|
|
801
|
-
export function
|
|
829
|
+
export function __wbg_newwithbyteoffsetandlength_3b01ecda099177e8(arg0, arg1, arg2) {
|
|
802
830
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
803
831
|
return addHeapObject(ret);
|
|
804
832
|
};
|
|
805
833
|
|
|
806
|
-
export function
|
|
834
|
+
export function __wbg_newwithlength_08f872dc1e3ada2e(arg0) {
|
|
807
835
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
808
836
|
return addHeapObject(ret);
|
|
809
837
|
};
|
|
810
838
|
|
|
811
|
-
export function
|
|
839
|
+
export function __wbg_newwithstrandinit_f8a9dbe009d6be37() { return handleError(function (arg0, arg1, arg2) {
|
|
812
840
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
813
841
|
return addHeapObject(ret);
|
|
814
842
|
}, arguments) };
|
|
815
843
|
|
|
816
|
-
export function
|
|
844
|
+
export function __wbg_next_8bb824d217961b5d(arg0) {
|
|
817
845
|
const ret = getObject(arg0).next;
|
|
818
846
|
return addHeapObject(ret);
|
|
819
847
|
};
|
|
820
848
|
|
|
821
|
-
export function
|
|
849
|
+
export function __wbg_next_e2da48d8fff7439a() { return handleError(function (arg0) {
|
|
822
850
|
const ret = getObject(arg0).next();
|
|
823
851
|
return addHeapObject(ret);
|
|
824
852
|
}, arguments) };
|
|
@@ -833,7 +861,7 @@ export function __wbg_obtain_a9626b3b96e6dc2c(arg0) {
|
|
|
833
861
|
return addHeapObject(ret);
|
|
834
862
|
};
|
|
835
863
|
|
|
836
|
-
export function
|
|
864
|
+
export function __wbg_origin_5c460f727a4fbf19() { return handleError(function (arg0, arg1) {
|
|
837
865
|
const ret = getObject(arg1).origin;
|
|
838
866
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
839
867
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -841,21 +869,34 @@ export function __wbg_origin_7c5d649acdace3ea() { return handleError(function (a
|
|
|
841
869
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
842
870
|
}, arguments) };
|
|
843
871
|
|
|
872
|
+
export function __wbg_parse_2e023e23741dc54b(arg0, arg1) {
|
|
873
|
+
let deferred0_0;
|
|
874
|
+
let deferred0_1;
|
|
875
|
+
try {
|
|
876
|
+
deferred0_0 = arg0;
|
|
877
|
+
deferred0_1 = arg1;
|
|
878
|
+
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
879
|
+
return addHeapObject(ret);
|
|
880
|
+
} finally {
|
|
881
|
+
wasm.__wbindgen_export_3(deferred0_0, deferred0_1, 1);
|
|
882
|
+
}
|
|
883
|
+
};
|
|
884
|
+
|
|
844
885
|
export function __wbg_process_dc0fbacc7c1c06f7(arg0) {
|
|
845
886
|
const ret = getObject(arg0).process;
|
|
846
887
|
return addHeapObject(ret);
|
|
847
888
|
};
|
|
848
889
|
|
|
849
|
-
export function
|
|
890
|
+
export function __wbg_push_73fd7b5550ebf707(arg0, arg1) {
|
|
850
891
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
851
892
|
return ret;
|
|
852
893
|
};
|
|
853
894
|
|
|
854
|
-
export function
|
|
895
|
+
export function __wbg_queueMicrotask_46c1df247678729f(arg0) {
|
|
855
896
|
queueMicrotask(getObject(arg0));
|
|
856
897
|
};
|
|
857
898
|
|
|
858
|
-
export function
|
|
899
|
+
export function __wbg_queueMicrotask_8acf3ccb75ed8d11(arg0) {
|
|
859
900
|
const ret = getObject(arg0).queueMicrotask;
|
|
860
901
|
return addHeapObject(ret);
|
|
861
902
|
};
|
|
@@ -869,7 +910,7 @@ export function __wbg_require_60cc747a6bc5215a() { return handleError(function (
|
|
|
869
910
|
return addHeapObject(ret);
|
|
870
911
|
}, arguments) };
|
|
871
912
|
|
|
872
|
-
export function
|
|
913
|
+
export function __wbg_resolve_0dac8c580ffd4678(arg0) {
|
|
873
914
|
const ret = Promise.resolve(getObject(arg0));
|
|
874
915
|
return addHeapObject(ret);
|
|
875
916
|
};
|
|
@@ -879,10 +920,6 @@ export function __wbg_setTimeout_2b339866a2aa3789(arg0, arg1) {
|
|
|
879
920
|
return addHeapObject(ret);
|
|
880
921
|
};
|
|
881
922
|
|
|
882
|
-
export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
|
|
883
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
884
|
-
};
|
|
885
|
-
|
|
886
923
|
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
887
924
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
888
925
|
};
|
|
@@ -891,40 +928,44 @@ export function __wbg_set_3fda3bac07393de4(arg0, arg1, arg2) {
|
|
|
891
928
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
892
929
|
};
|
|
893
930
|
|
|
894
|
-
export function
|
|
895
|
-
getObject(arg0)
|
|
931
|
+
export function __wbg_set_7422acbe992d64ab(arg0, arg1, arg2) {
|
|
932
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
896
933
|
};
|
|
897
934
|
|
|
898
|
-
export function
|
|
935
|
+
export function __wbg_set_c43293f93a35998a() { return handleError(function (arg0, arg1, arg2) {
|
|
899
936
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
900
937
|
return ret;
|
|
901
938
|
}, arguments) };
|
|
902
939
|
|
|
903
|
-
export function
|
|
940
|
+
export function __wbg_set_fe4e79d1ed3b0e9b(arg0, arg1, arg2) {
|
|
941
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
export function __wbg_setbody_971ec015fc13d6b4(arg0, arg1) {
|
|
904
945
|
getObject(arg0).body = getObject(arg1);
|
|
905
946
|
};
|
|
906
947
|
|
|
907
|
-
export function
|
|
948
|
+
export function __wbg_setcache_a94cd14dc0cc72a2(arg0, arg1) {
|
|
908
949
|
getObject(arg0).cache = __wbindgen_enum_RequestCache[arg1];
|
|
909
950
|
};
|
|
910
951
|
|
|
911
|
-
export function
|
|
952
|
+
export function __wbg_setcredentials_920d91fb5984c94a(arg0, arg1) {
|
|
912
953
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
913
954
|
};
|
|
914
955
|
|
|
915
|
-
export function
|
|
956
|
+
export function __wbg_setheaders_65a4eb4c0443ae61(arg0, arg1) {
|
|
916
957
|
getObject(arg0).headers = getObject(arg1);
|
|
917
958
|
};
|
|
918
959
|
|
|
919
|
-
export function
|
|
960
|
+
export function __wbg_setmethod_8ce1be0b4d701b7c(arg0, arg1, arg2) {
|
|
920
961
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
921
962
|
};
|
|
922
963
|
|
|
923
|
-
export function
|
|
964
|
+
export function __wbg_setmode_bd35f026f55b6247(arg0, arg1) {
|
|
924
965
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
925
966
|
};
|
|
926
967
|
|
|
927
|
-
export function
|
|
968
|
+
export function __wbg_setsignal_8e72abfe7ee03c97(arg0, arg1) {
|
|
928
969
|
getObject(arg0).signal = getObject(arg1);
|
|
929
970
|
};
|
|
930
971
|
|
|
@@ -946,62 +987,70 @@ export function __wbg_signMessage_c732ea9d998cac79() { return handleError(functi
|
|
|
946
987
|
}
|
|
947
988
|
}, arguments) };
|
|
948
989
|
|
|
949
|
-
export function
|
|
990
|
+
export function __wbg_signal_b96223519a041faa(arg0) {
|
|
950
991
|
const ret = getObject(arg0).signal;
|
|
951
992
|
return addHeapObject(ret);
|
|
952
993
|
};
|
|
953
994
|
|
|
954
|
-
export function
|
|
995
|
+
export function __wbg_static_accessor_GLOBAL_487c52c58d65314d() {
|
|
955
996
|
const ret = typeof global === 'undefined' ? null : global;
|
|
956
997
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
957
998
|
};
|
|
958
999
|
|
|
959
|
-
export function
|
|
1000
|
+
export function __wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291() {
|
|
960
1001
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
961
1002
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
962
1003
|
};
|
|
963
1004
|
|
|
964
|
-
export function
|
|
1005
|
+
export function __wbg_static_accessor_SELF_78c9e3071b912620() {
|
|
965
1006
|
const ret = typeof self === 'undefined' ? null : self;
|
|
966
1007
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
967
1008
|
};
|
|
968
1009
|
|
|
969
|
-
export function
|
|
1010
|
+
export function __wbg_static_accessor_WINDOW_a093d21393777366() {
|
|
970
1011
|
const ret = typeof window === 'undefined' ? null : window;
|
|
971
1012
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
972
1013
|
};
|
|
973
1014
|
|
|
974
|
-
export function
|
|
1015
|
+
export function __wbg_status_a54682bbe52f9058(arg0) {
|
|
975
1016
|
const ret = getObject(arg0).status;
|
|
976
1017
|
return ret;
|
|
977
1018
|
};
|
|
978
1019
|
|
|
979
|
-
export function
|
|
1020
|
+
export function __wbg_stringify_7f942ad6a97a2d11(arg0, arg1) {
|
|
1021
|
+
const ret = JSON.stringify(getObject(arg1));
|
|
1022
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1023
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1024
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1025
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
export function __wbg_stringify_c242842b97f054cc() { return handleError(function (arg0) {
|
|
980
1029
|
const ret = JSON.stringify(getObject(arg0));
|
|
981
1030
|
return addHeapObject(ret);
|
|
982
1031
|
}, arguments) };
|
|
983
1032
|
|
|
984
|
-
export function
|
|
1033
|
+
export function __wbg_subarray_dd4ade7d53bd8e26(arg0, arg1, arg2) {
|
|
985
1034
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
986
1035
|
return addHeapObject(ret);
|
|
987
1036
|
};
|
|
988
1037
|
|
|
989
|
-
export function
|
|
1038
|
+
export function __wbg_text_ec0e22f60e30dd2f() { return handleError(function (arg0) {
|
|
990
1039
|
const ret = getObject(arg0).text();
|
|
991
1040
|
return addHeapObject(ret);
|
|
992
1041
|
}, arguments) };
|
|
993
1042
|
|
|
994
|
-
export function
|
|
995
|
-
const ret = getObject(arg0).then(getObject(arg1));
|
|
1043
|
+
export function __wbg_then_82ab9fb4080f1707(arg0, arg1, arg2) {
|
|
1044
|
+
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
996
1045
|
return addHeapObject(ret);
|
|
997
1046
|
};
|
|
998
1047
|
|
|
999
|
-
export function
|
|
1000
|
-
const ret = getObject(arg0).then(getObject(arg1)
|
|
1048
|
+
export function __wbg_then_db882932c0c714c6(arg0, arg1) {
|
|
1049
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
1001
1050
|
return addHeapObject(ret);
|
|
1002
1051
|
};
|
|
1003
1052
|
|
|
1004
|
-
export function
|
|
1053
|
+
export function __wbg_url_e6ed869ea05b7a71(arg0, arg1) {
|
|
1005
1054
|
const ret = getObject(arg1).url;
|
|
1006
1055
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1007
1056
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -1009,7 +1058,7 @@ export function __wbg_url_ae10c34ca209681d(arg0, arg1) {
|
|
|
1009
1058
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1010
1059
|
};
|
|
1011
1060
|
|
|
1012
|
-
export function
|
|
1061
|
+
export function __wbg_value_17b896954e14f896(arg0) {
|
|
1013
1062
|
const ret = getObject(arg0).value;
|
|
1014
1063
|
return addHeapObject(ret);
|
|
1015
1064
|
};
|
|
@@ -1035,13 +1084,13 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
1035
1084
|
return ret;
|
|
1036
1085
|
};
|
|
1037
1086
|
|
|
1038
|
-
export function
|
|
1039
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1087
|
+
export function __wbindgen_closure_wrapper3365(arg0, arg1, arg2) {
|
|
1088
|
+
const ret = makeMutClosure(arg0, arg1, 400, __wbg_adapter_36);
|
|
1040
1089
|
return addHeapObject(ret);
|
|
1041
1090
|
};
|
|
1042
1091
|
|
|
1043
|
-
export function
|
|
1044
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1092
|
+
export function __wbindgen_closure_wrapper3495(arg0, arg1, arg2) {
|
|
1093
|
+
const ret = makeMutClosure(arg0, arg1, 434, __wbg_adapter_39);
|
|
1045
1094
|
return addHeapObject(ret);
|
|
1046
1095
|
};
|
|
1047
1096
|
|
|
@@ -1053,11 +1102,6 @@ export function __wbindgen_debug_string(arg0, arg1) {
|
|
|
1053
1102
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1054
1103
|
};
|
|
1055
1104
|
|
|
1056
|
-
export function __wbindgen_error_new(arg0, arg1) {
|
|
1057
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1058
|
-
return addHeapObject(ret);
|
|
1059
|
-
};
|
|
1060
|
-
|
|
1061
1105
|
export function __wbindgen_in(arg0, arg1) {
|
|
1062
1106
|
const ret = getObject(arg0) in getObject(arg1);
|
|
1063
1107
|
return ret;
|
|
@@ -1084,20 +1128,6 @@ export function __wbindgen_is_undefined(arg0) {
|
|
|
1084
1128
|
return ret;
|
|
1085
1129
|
};
|
|
1086
1130
|
|
|
1087
|
-
export function __wbindgen_json_parse(arg0, arg1) {
|
|
1088
|
-
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
1089
|
-
return addHeapObject(ret);
|
|
1090
|
-
};
|
|
1091
|
-
|
|
1092
|
-
export function __wbindgen_json_serialize(arg0, arg1) {
|
|
1093
|
-
const obj = getObject(arg1);
|
|
1094
|
-
const ret = JSON.stringify(obj === undefined ? null : obj);
|
|
1095
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1096
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1097
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1098
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1099
|
-
};
|
|
1100
|
-
|
|
1101
1131
|
export function __wbindgen_jsval_loose_eq(arg0, arg1) {
|
|
1102
1132
|
const ret = getObject(arg0) == getObject(arg1);
|
|
1103
1133
|
return ret;
|