@cartridge/controller-wasm 0.3.3 → 0.3.5
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 +29 -0
- package/pkg-controller/account_wasm_bg.js +227 -181
- package/pkg-controller/account_wasm_bg.wasm +0 -0
- package/pkg-session/session_wasm.d.ts +19 -0
- package/pkg-session/session_wasm_bg.js +181 -152
- 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,15 +256,15 @@ 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
|
|
|
@@ -537,6 +554,11 @@ export class JsControllerError {
|
|
|
537
554
|
}
|
|
538
555
|
}
|
|
539
556
|
|
|
557
|
+
export function __wbg_Error_0497d5bdba9362e5(arg0, arg1) {
|
|
558
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
559
|
+
return addHeapObject(ret);
|
|
560
|
+
};
|
|
561
|
+
|
|
540
562
|
export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
|
|
541
563
|
const ret = String(getObject(arg1));
|
|
542
564
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
@@ -545,35 +567,35 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
|
|
|
545
567
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
546
568
|
};
|
|
547
569
|
|
|
548
|
-
export function
|
|
549
|
-
getObject(arg0).abort(
|
|
570
|
+
export function __wbg_abort_18ba44d46e13d7fe(arg0) {
|
|
571
|
+
getObject(arg0).abort();
|
|
550
572
|
};
|
|
551
573
|
|
|
552
|
-
export function
|
|
553
|
-
getObject(arg0).abort();
|
|
574
|
+
export function __wbg_abort_4198a1129c47f21a(arg0, arg1) {
|
|
575
|
+
getObject(arg0).abort(getObject(arg1));
|
|
554
576
|
};
|
|
555
577
|
|
|
556
|
-
export function
|
|
578
|
+
export function __wbg_append_0342728346e47425() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
557
579
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
558
580
|
}, arguments) };
|
|
559
581
|
|
|
560
|
-
export function
|
|
582
|
+
export function __wbg_arrayBuffer_d58b858456021d7f() { return handleError(function (arg0) {
|
|
561
583
|
const ret = getObject(arg0).arrayBuffer();
|
|
562
584
|
return addHeapObject(ret);
|
|
563
585
|
}, arguments) };
|
|
564
586
|
|
|
565
|
-
export function
|
|
587
|
+
export function __wbg_buffer_a1a27a0dfa70165d(arg0) {
|
|
566
588
|
const ret = getObject(arg0).buffer;
|
|
567
589
|
return addHeapObject(ret);
|
|
568
590
|
};
|
|
569
591
|
|
|
570
|
-
export function
|
|
571
|
-
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));
|
|
572
594
|
return addHeapObject(ret);
|
|
573
595
|
}, arguments) };
|
|
574
596
|
|
|
575
|
-
export function
|
|
576
|
-
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));
|
|
577
599
|
return addHeapObject(ret);
|
|
578
600
|
}, arguments) };
|
|
579
601
|
|
|
@@ -582,7 +604,7 @@ export function __wbg_clearTimeout_6222fede17abcb1a(arg0) {
|
|
|
582
604
|
return addHeapObject(ret);
|
|
583
605
|
};
|
|
584
606
|
|
|
585
|
-
export function
|
|
607
|
+
export function __wbg_credentials_2111b2d8612be757(arg0) {
|
|
586
608
|
const ret = getObject(arg0).credentials;
|
|
587
609
|
return addHeapObject(ret);
|
|
588
610
|
};
|
|
@@ -592,12 +614,12 @@ export function __wbg_crypto_574e78ad8b13b65f(arg0) {
|
|
|
592
614
|
return addHeapObject(ret);
|
|
593
615
|
};
|
|
594
616
|
|
|
595
|
-
export function
|
|
617
|
+
export function __wbg_done_4d01f352bade43b7(arg0) {
|
|
596
618
|
const ret = getObject(arg0).done;
|
|
597
619
|
return ret;
|
|
598
620
|
};
|
|
599
621
|
|
|
600
|
-
export function
|
|
622
|
+
export function __wbg_fetch_a8e43a4e138dfc93(arg0, arg1) {
|
|
601
623
|
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
602
624
|
return addHeapObject(ret);
|
|
603
625
|
};
|
|
@@ -612,7 +634,7 @@ export function __wbg_fetch_f1856afdb49415d1(arg0) {
|
|
|
612
634
|
return addHeapObject(ret);
|
|
613
635
|
};
|
|
614
636
|
|
|
615
|
-
export function
|
|
637
|
+
export function __wbg_getClientExtensionResults_6e8c179868f9d3bb(arg0) {
|
|
616
638
|
const ret = getObject(arg0).getClientExtensionResults();
|
|
617
639
|
return addHeapObject(ret);
|
|
618
640
|
};
|
|
@@ -621,18 +643,18 @@ export function __wbg_getRandomValues_b8f5dbd5f3995a9e() { return handleError(fu
|
|
|
621
643
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
622
644
|
}, arguments) };
|
|
623
645
|
|
|
624
|
-
export function
|
|
646
|
+
export function __wbg_getTime_2afe67905d873e92(arg0) {
|
|
625
647
|
const ret = getObject(arg0).getTime();
|
|
626
648
|
return ret;
|
|
627
649
|
};
|
|
628
650
|
|
|
629
|
-
export function
|
|
630
|
-
const ret =
|
|
651
|
+
export function __wbg_get_5d953d918b77e646() { return handleError(function (arg0, arg1) {
|
|
652
|
+
const ret = getObject(arg0).get(getObject(arg1));
|
|
631
653
|
return addHeapObject(ret);
|
|
632
654
|
}, arguments) };
|
|
633
655
|
|
|
634
|
-
export function
|
|
635
|
-
const ret = getObject(arg0)
|
|
656
|
+
export function __wbg_get_92470be87867c2e5() { return handleError(function (arg0, arg1) {
|
|
657
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
636
658
|
return addHeapObject(ret);
|
|
637
659
|
}, arguments) };
|
|
638
660
|
|
|
@@ -641,17 +663,17 @@ export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) {
|
|
|
641
663
|
return addHeapObject(ret);
|
|
642
664
|
};
|
|
643
665
|
|
|
644
|
-
export function
|
|
666
|
+
export function __wbg_has_809e438ee9d787a7() { return handleError(function (arg0, arg1) {
|
|
645
667
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
646
668
|
return ret;
|
|
647
669
|
}, arguments) };
|
|
648
670
|
|
|
649
|
-
export function
|
|
671
|
+
export function __wbg_headers_0f0cbdc6290b6780(arg0) {
|
|
650
672
|
const ret = getObject(arg0).headers;
|
|
651
673
|
return addHeapObject(ret);
|
|
652
674
|
};
|
|
653
675
|
|
|
654
|
-
export function
|
|
676
|
+
export function __wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc(arg0) {
|
|
655
677
|
let result;
|
|
656
678
|
try {
|
|
657
679
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -662,7 +684,7 @@ export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
|
|
|
662
684
|
return ret;
|
|
663
685
|
};
|
|
664
686
|
|
|
665
|
-
export function
|
|
687
|
+
export function __wbg_instanceof_Object_9a05796038b7a8f6(arg0) {
|
|
666
688
|
let result;
|
|
667
689
|
try {
|
|
668
690
|
result = getObject(arg0) instanceof Object;
|
|
@@ -673,7 +695,7 @@ export function __wbg_instanceof_Object_7f2dcef8f78644a4(arg0) {
|
|
|
673
695
|
return ret;
|
|
674
696
|
};
|
|
675
697
|
|
|
676
|
-
export function
|
|
698
|
+
export function __wbg_instanceof_Response_e80ce8b7a2b968d2(arg0) {
|
|
677
699
|
let result;
|
|
678
700
|
try {
|
|
679
701
|
result = getObject(arg0) instanceof Response;
|
|
@@ -684,7 +706,7 @@ export function __wbg_instanceof_Response_f2cc20d9f7dfd644(arg0) {
|
|
|
684
706
|
return ret;
|
|
685
707
|
};
|
|
686
708
|
|
|
687
|
-
export function
|
|
709
|
+
export function __wbg_instanceof_Uint8Array_ca460677bc155827(arg0) {
|
|
688
710
|
let result;
|
|
689
711
|
try {
|
|
690
712
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -695,7 +717,7 @@ export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
|
|
|
695
717
|
return ret;
|
|
696
718
|
};
|
|
697
719
|
|
|
698
|
-
export function
|
|
720
|
+
export function __wbg_instanceof_Window_68f3f67bad1729c1(arg0) {
|
|
699
721
|
let result;
|
|
700
722
|
try {
|
|
701
723
|
result = getObject(arg0) instanceof Window;
|
|
@@ -706,7 +728,7 @@ export function __wbg_instanceof_Window_def73ea0955fc569(arg0) {
|
|
|
706
728
|
return ret;
|
|
707
729
|
};
|
|
708
730
|
|
|
709
|
-
export function
|
|
731
|
+
export function __wbg_iterator_4068add5b2aef7a6() {
|
|
710
732
|
const ret = Symbol.iterator;
|
|
711
733
|
return addHeapObject(ret);
|
|
712
734
|
};
|
|
@@ -716,17 +738,17 @@ export function __wbg_jscontrollererror_new(arg0) {
|
|
|
716
738
|
return addHeapObject(ret);
|
|
717
739
|
};
|
|
718
740
|
|
|
719
|
-
export function
|
|
741
|
+
export function __wbg_length_ab6d22b5ead75c72(arg0) {
|
|
720
742
|
const ret = getObject(arg0).length;
|
|
721
743
|
return ret;
|
|
722
744
|
};
|
|
723
745
|
|
|
724
|
-
export function
|
|
746
|
+
export function __wbg_location_53fd1bbab625ae8d(arg0) {
|
|
725
747
|
const ret = getObject(arg0).location;
|
|
726
748
|
return addHeapObject(ret);
|
|
727
749
|
};
|
|
728
750
|
|
|
729
|
-
export function
|
|
751
|
+
export function __wbg_log_ea240990d83e374e(arg0) {
|
|
730
752
|
console.log(getObject(arg0));
|
|
731
753
|
};
|
|
732
754
|
|
|
@@ -735,29 +757,49 @@ export function __wbg_msCrypto_a61aeb35a24c1329(arg0) {
|
|
|
735
757
|
return addHeapObject(ret);
|
|
736
758
|
};
|
|
737
759
|
|
|
738
|
-
export function
|
|
760
|
+
export function __wbg_navigator_fc64ba1417939b25(arg0) {
|
|
739
761
|
const ret = getObject(arg0).navigator;
|
|
740
762
|
return addHeapObject(ret);
|
|
741
763
|
};
|
|
742
764
|
|
|
743
|
-
export function
|
|
765
|
+
export function __wbg_new0_97314565408dea38() {
|
|
744
766
|
const ret = new Date();
|
|
745
767
|
return addHeapObject(ret);
|
|
746
768
|
};
|
|
747
769
|
|
|
748
|
-
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 () {
|
|
749
786
|
const ret = new Headers();
|
|
750
787
|
return addHeapObject(ret);
|
|
751
788
|
}, arguments) };
|
|
752
789
|
|
|
753
|
-
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) {
|
|
754
796
|
try {
|
|
755
797
|
var state0 = {a: arg0, b: arg1};
|
|
756
798
|
var cb0 = (arg0, arg1) => {
|
|
757
799
|
const a = state0.a;
|
|
758
800
|
state0.a = 0;
|
|
759
801
|
try {
|
|
760
|
-
return
|
|
802
|
+
return __wbg_adapter_195(a, state0.b, arg0, arg1);
|
|
761
803
|
} finally {
|
|
762
804
|
state0.a = a;
|
|
763
805
|
}
|
|
@@ -769,57 +811,42 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
|
|
|
769
811
|
}
|
|
770
812
|
};
|
|
771
813
|
|
|
772
|
-
export function
|
|
773
|
-
const ret = new Mutex();
|
|
774
|
-
return addHeapObject(ret);
|
|
775
|
-
};
|
|
776
|
-
|
|
777
|
-
export function __wbg_new_405e22f390576ce2() {
|
|
778
|
-
const ret = new Object();
|
|
779
|
-
return addHeapObject(ret);
|
|
780
|
-
};
|
|
781
|
-
|
|
782
|
-
export function __wbg_new_78feb108b6472713() {
|
|
783
|
-
const ret = new Array();
|
|
784
|
-
return addHeapObject(ret);
|
|
785
|
-
};
|
|
786
|
-
|
|
787
|
-
export function __wbg_new_a12002a7f91c75be(arg0) {
|
|
814
|
+
export function __wbg_new_e52b3efaaa774f96(arg0) {
|
|
788
815
|
const ret = new Uint8Array(getObject(arg0));
|
|
789
816
|
return addHeapObject(ret);
|
|
790
817
|
};
|
|
791
818
|
|
|
792
|
-
export function
|
|
793
|
-
const ret = new
|
|
819
|
+
export function __wbg_newfromslice_7c05ab1297cb2d88(arg0, arg1) {
|
|
820
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
794
821
|
return addHeapObject(ret);
|
|
795
|
-
}
|
|
822
|
+
};
|
|
796
823
|
|
|
797
|
-
export function
|
|
824
|
+
export function __wbg_newnoargs_ff528e72d35de39a(arg0, arg1) {
|
|
798
825
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
799
826
|
return addHeapObject(ret);
|
|
800
827
|
};
|
|
801
828
|
|
|
802
|
-
export function
|
|
829
|
+
export function __wbg_newwithbyteoffsetandlength_3b01ecda099177e8(arg0, arg1, arg2) {
|
|
803
830
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
804
831
|
return addHeapObject(ret);
|
|
805
832
|
};
|
|
806
833
|
|
|
807
|
-
export function
|
|
834
|
+
export function __wbg_newwithlength_08f872dc1e3ada2e(arg0) {
|
|
808
835
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
809
836
|
return addHeapObject(ret);
|
|
810
837
|
};
|
|
811
838
|
|
|
812
|
-
export function
|
|
839
|
+
export function __wbg_newwithstrandinit_f8a9dbe009d6be37() { return handleError(function (arg0, arg1, arg2) {
|
|
813
840
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
814
841
|
return addHeapObject(ret);
|
|
815
842
|
}, arguments) };
|
|
816
843
|
|
|
817
|
-
export function
|
|
844
|
+
export function __wbg_next_8bb824d217961b5d(arg0) {
|
|
818
845
|
const ret = getObject(arg0).next;
|
|
819
846
|
return addHeapObject(ret);
|
|
820
847
|
};
|
|
821
848
|
|
|
822
|
-
export function
|
|
849
|
+
export function __wbg_next_e2da48d8fff7439a() { return handleError(function (arg0) {
|
|
823
850
|
const ret = getObject(arg0).next();
|
|
824
851
|
return addHeapObject(ret);
|
|
825
852
|
}, arguments) };
|
|
@@ -834,7 +861,7 @@ export function __wbg_obtain_a9626b3b96e6dc2c(arg0) {
|
|
|
834
861
|
return addHeapObject(ret);
|
|
835
862
|
};
|
|
836
863
|
|
|
837
|
-
export function
|
|
864
|
+
export function __wbg_origin_5c460f727a4fbf19() { return handleError(function (arg0, arg1) {
|
|
838
865
|
const ret = getObject(arg1).origin;
|
|
839
866
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
840
867
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -842,21 +869,34 @@ export function __wbg_origin_7c5d649acdace3ea() { return handleError(function (a
|
|
|
842
869
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
843
870
|
}, arguments) };
|
|
844
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
|
+
|
|
845
885
|
export function __wbg_process_dc0fbacc7c1c06f7(arg0) {
|
|
846
886
|
const ret = getObject(arg0).process;
|
|
847
887
|
return addHeapObject(ret);
|
|
848
888
|
};
|
|
849
889
|
|
|
850
|
-
export function
|
|
890
|
+
export function __wbg_push_73fd7b5550ebf707(arg0, arg1) {
|
|
851
891
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
852
892
|
return ret;
|
|
853
893
|
};
|
|
854
894
|
|
|
855
|
-
export function
|
|
895
|
+
export function __wbg_queueMicrotask_46c1df247678729f(arg0) {
|
|
856
896
|
queueMicrotask(getObject(arg0));
|
|
857
897
|
};
|
|
858
898
|
|
|
859
|
-
export function
|
|
899
|
+
export function __wbg_queueMicrotask_8acf3ccb75ed8d11(arg0) {
|
|
860
900
|
const ret = getObject(arg0).queueMicrotask;
|
|
861
901
|
return addHeapObject(ret);
|
|
862
902
|
};
|
|
@@ -870,7 +910,7 @@ export function __wbg_require_60cc747a6bc5215a() { return handleError(function (
|
|
|
870
910
|
return addHeapObject(ret);
|
|
871
911
|
}, arguments) };
|
|
872
912
|
|
|
873
|
-
export function
|
|
913
|
+
export function __wbg_resolve_0dac8c580ffd4678(arg0) {
|
|
874
914
|
const ret = Promise.resolve(getObject(arg0));
|
|
875
915
|
return addHeapObject(ret);
|
|
876
916
|
};
|
|
@@ -880,10 +920,6 @@ export function __wbg_setTimeout_2b339866a2aa3789(arg0, arg1) {
|
|
|
880
920
|
return addHeapObject(ret);
|
|
881
921
|
};
|
|
882
922
|
|
|
883
|
-
export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
|
|
884
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
885
|
-
};
|
|
886
|
-
|
|
887
923
|
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
888
924
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
889
925
|
};
|
|
@@ -892,40 +928,44 @@ export function __wbg_set_3fda3bac07393de4(arg0, arg1, arg2) {
|
|
|
892
928
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
893
929
|
};
|
|
894
930
|
|
|
895
|
-
export function
|
|
896
|
-
getObject(arg0)
|
|
931
|
+
export function __wbg_set_7422acbe992d64ab(arg0, arg1, arg2) {
|
|
932
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
897
933
|
};
|
|
898
934
|
|
|
899
|
-
export function
|
|
935
|
+
export function __wbg_set_c43293f93a35998a() { return handleError(function (arg0, arg1, arg2) {
|
|
900
936
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
901
937
|
return ret;
|
|
902
938
|
}, arguments) };
|
|
903
939
|
|
|
904
|
-
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) {
|
|
905
945
|
getObject(arg0).body = getObject(arg1);
|
|
906
946
|
};
|
|
907
947
|
|
|
908
|
-
export function
|
|
948
|
+
export function __wbg_setcache_a94cd14dc0cc72a2(arg0, arg1) {
|
|
909
949
|
getObject(arg0).cache = __wbindgen_enum_RequestCache[arg1];
|
|
910
950
|
};
|
|
911
951
|
|
|
912
|
-
export function
|
|
952
|
+
export function __wbg_setcredentials_920d91fb5984c94a(arg0, arg1) {
|
|
913
953
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
914
954
|
};
|
|
915
955
|
|
|
916
|
-
export function
|
|
956
|
+
export function __wbg_setheaders_65a4eb4c0443ae61(arg0, arg1) {
|
|
917
957
|
getObject(arg0).headers = getObject(arg1);
|
|
918
958
|
};
|
|
919
959
|
|
|
920
|
-
export function
|
|
960
|
+
export function __wbg_setmethod_8ce1be0b4d701b7c(arg0, arg1, arg2) {
|
|
921
961
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
922
962
|
};
|
|
923
963
|
|
|
924
|
-
export function
|
|
964
|
+
export function __wbg_setmode_bd35f026f55b6247(arg0, arg1) {
|
|
925
965
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
926
966
|
};
|
|
927
967
|
|
|
928
|
-
export function
|
|
968
|
+
export function __wbg_setsignal_8e72abfe7ee03c97(arg0, arg1) {
|
|
929
969
|
getObject(arg0).signal = getObject(arg1);
|
|
930
970
|
};
|
|
931
971
|
|
|
@@ -947,62 +987,70 @@ export function __wbg_signMessage_c732ea9d998cac79() { return handleError(functi
|
|
|
947
987
|
}
|
|
948
988
|
}, arguments) };
|
|
949
989
|
|
|
950
|
-
export function
|
|
990
|
+
export function __wbg_signal_b96223519a041faa(arg0) {
|
|
951
991
|
const ret = getObject(arg0).signal;
|
|
952
992
|
return addHeapObject(ret);
|
|
953
993
|
};
|
|
954
994
|
|
|
955
|
-
export function
|
|
995
|
+
export function __wbg_static_accessor_GLOBAL_487c52c58d65314d() {
|
|
956
996
|
const ret = typeof global === 'undefined' ? null : global;
|
|
957
997
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
958
998
|
};
|
|
959
999
|
|
|
960
|
-
export function
|
|
1000
|
+
export function __wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291() {
|
|
961
1001
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
962
1002
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
963
1003
|
};
|
|
964
1004
|
|
|
965
|
-
export function
|
|
1005
|
+
export function __wbg_static_accessor_SELF_78c9e3071b912620() {
|
|
966
1006
|
const ret = typeof self === 'undefined' ? null : self;
|
|
967
1007
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
968
1008
|
};
|
|
969
1009
|
|
|
970
|
-
export function
|
|
1010
|
+
export function __wbg_static_accessor_WINDOW_a093d21393777366() {
|
|
971
1011
|
const ret = typeof window === 'undefined' ? null : window;
|
|
972
1012
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
973
1013
|
};
|
|
974
1014
|
|
|
975
|
-
export function
|
|
1015
|
+
export function __wbg_status_a54682bbe52f9058(arg0) {
|
|
976
1016
|
const ret = getObject(arg0).status;
|
|
977
1017
|
return ret;
|
|
978
1018
|
};
|
|
979
1019
|
|
|
980
|
-
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) {
|
|
981
1029
|
const ret = JSON.stringify(getObject(arg0));
|
|
982
1030
|
return addHeapObject(ret);
|
|
983
1031
|
}, arguments) };
|
|
984
1032
|
|
|
985
|
-
export function
|
|
1033
|
+
export function __wbg_subarray_dd4ade7d53bd8e26(arg0, arg1, arg2) {
|
|
986
1034
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
987
1035
|
return addHeapObject(ret);
|
|
988
1036
|
};
|
|
989
1037
|
|
|
990
|
-
export function
|
|
1038
|
+
export function __wbg_text_ec0e22f60e30dd2f() { return handleError(function (arg0) {
|
|
991
1039
|
const ret = getObject(arg0).text();
|
|
992
1040
|
return addHeapObject(ret);
|
|
993
1041
|
}, arguments) };
|
|
994
1042
|
|
|
995
|
-
export function
|
|
996
|
-
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));
|
|
997
1045
|
return addHeapObject(ret);
|
|
998
1046
|
};
|
|
999
1047
|
|
|
1000
|
-
export function
|
|
1001
|
-
const ret = getObject(arg0).then(getObject(arg1)
|
|
1048
|
+
export function __wbg_then_db882932c0c714c6(arg0, arg1) {
|
|
1049
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
1002
1050
|
return addHeapObject(ret);
|
|
1003
1051
|
};
|
|
1004
1052
|
|
|
1005
|
-
export function
|
|
1053
|
+
export function __wbg_url_e6ed869ea05b7a71(arg0, arg1) {
|
|
1006
1054
|
const ret = getObject(arg1).url;
|
|
1007
1055
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1008
1056
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -1010,7 +1058,7 @@ export function __wbg_url_ae10c34ca209681d(arg0, arg1) {
|
|
|
1010
1058
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1011
1059
|
};
|
|
1012
1060
|
|
|
1013
|
-
export function
|
|
1061
|
+
export function __wbg_value_17b896954e14f896(arg0) {
|
|
1014
1062
|
const ret = getObject(arg0).value;
|
|
1015
1063
|
return addHeapObject(ret);
|
|
1016
1064
|
};
|
|
@@ -1036,13 +1084,13 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
1036
1084
|
return ret;
|
|
1037
1085
|
};
|
|
1038
1086
|
|
|
1039
|
-
export function
|
|
1040
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1087
|
+
export function __wbindgen_closure_wrapper3398(arg0, arg1, arg2) {
|
|
1088
|
+
const ret = makeMutClosure(arg0, arg1, 404, __wbg_adapter_36);
|
|
1041
1089
|
return addHeapObject(ret);
|
|
1042
1090
|
};
|
|
1043
1091
|
|
|
1044
|
-
export function
|
|
1045
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1092
|
+
export function __wbindgen_closure_wrapper3532(arg0, arg1, arg2) {
|
|
1093
|
+
const ret = makeMutClosure(arg0, arg1, 437, __wbg_adapter_39);
|
|
1046
1094
|
return addHeapObject(ret);
|
|
1047
1095
|
};
|
|
1048
1096
|
|
|
@@ -1054,11 +1102,6 @@ export function __wbindgen_debug_string(arg0, arg1) {
|
|
|
1054
1102
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1055
1103
|
};
|
|
1056
1104
|
|
|
1057
|
-
export function __wbindgen_error_new(arg0, arg1) {
|
|
1058
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1059
|
-
return addHeapObject(ret);
|
|
1060
|
-
};
|
|
1061
|
-
|
|
1062
1105
|
export function __wbindgen_in(arg0, arg1) {
|
|
1063
1106
|
const ret = getObject(arg0) in getObject(arg1);
|
|
1064
1107
|
return ret;
|
|
@@ -1085,20 +1128,6 @@ export function __wbindgen_is_undefined(arg0) {
|
|
|
1085
1128
|
return ret;
|
|
1086
1129
|
};
|
|
1087
1130
|
|
|
1088
|
-
export function __wbindgen_json_parse(arg0, arg1) {
|
|
1089
|
-
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
1090
|
-
return addHeapObject(ret);
|
|
1091
|
-
};
|
|
1092
|
-
|
|
1093
|
-
export function __wbindgen_json_serialize(arg0, arg1) {
|
|
1094
|
-
const obj = getObject(arg1);
|
|
1095
|
-
const ret = JSON.stringify(obj === undefined ? null : obj);
|
|
1096
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1097
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1098
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1099
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1100
|
-
};
|
|
1101
|
-
|
|
1102
1131
|
export function __wbindgen_jsval_loose_eq(arg0, arg1) {
|
|
1103
1132
|
const ret = getObject(arg0) == getObject(arg1);
|
|
1104
1133
|
return ret;
|