@provablehq/wasm 0.9.13 → 0.9.15

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.
@@ -31,26 +31,83 @@ function spawnWorker(url, module, memory, address) {
31
31
 
32
32
  let wasm;
33
33
 
34
- const heap = new Array(128).fill(undefined);
34
+ let heap = new Array(128).fill(undefined);
35
35
 
36
36
  heap.push(undefined, null, true, false);
37
37
 
38
38
  function getObject(idx) { return heap[idx]; }
39
39
 
40
- let heap_next = heap.length;
41
-
42
- function addHeapObject(obj) {
43
- if (heap_next === heap.length) heap.push(heap.length + 1);
44
- const idx = heap_next;
45
- heap_next = heap[idx];
40
+ function isLikeNone(x) {
41
+ return x === undefined || x === null;
42
+ }
46
43
 
47
- heap[idx] = obj;
48
- return idx;
44
+ function debugString(val) {
45
+ // primitive types
46
+ const type = typeof val;
47
+ if (type == 'number' || type == 'boolean' || val == null) {
48
+ return `${val}`;
49
+ }
50
+ if (type == 'string') {
51
+ return `"${val}"`;
52
+ }
53
+ if (type == 'symbol') {
54
+ const description = val.description;
55
+ if (description == null) {
56
+ return 'Symbol';
57
+ } else {
58
+ return `Symbol(${description})`;
59
+ }
60
+ }
61
+ if (type == 'function') {
62
+ const name = val.name;
63
+ if (typeof name == 'string' && name.length > 0) {
64
+ return `Function(${name})`;
65
+ } else {
66
+ return 'Function';
67
+ }
68
+ }
69
+ // objects
70
+ if (Array.isArray(val)) {
71
+ const length = val.length;
72
+ let debug = '[';
73
+ if (length > 0) {
74
+ debug += debugString(val[0]);
75
+ }
76
+ for(let i = 1; i < length; i++) {
77
+ debug += ', ' + debugString(val[i]);
78
+ }
79
+ debug += ']';
80
+ return debug;
81
+ }
82
+ // Test for built-in
83
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
84
+ let className;
85
+ if (builtInMatches && builtInMatches.length > 1) {
86
+ className = builtInMatches[1];
87
+ } else {
88
+ // Failed to match the standard '[object ClassName]'
89
+ return toString.call(val);
90
+ }
91
+ if (className == 'Object') {
92
+ // we're a user defined class or Object
93
+ // JSON.stringify avoids problems with cycles, and is generally much
94
+ // easier than looping through ownProperties of `val`.
95
+ try {
96
+ return 'Object(' + JSON.stringify(val) + ')';
97
+ } catch (_) {
98
+ return 'Object';
99
+ }
100
+ }
101
+ // errors
102
+ if (val instanceof Error) {
103
+ return `${val.name}: ${val.message}\n${val.stack}`;
104
+ }
105
+ // TODO we could test for more things here, like `Set`s and `Map`s.
106
+ return className;
49
107
  }
50
108
 
51
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
109
+ let WASM_VECTOR_LEN = 0;
52
110
 
53
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); }
54
111
  let cachedUint8ArrayMemory0 = null;
55
112
 
56
113
  function getUint8ArrayMemory0() {
@@ -60,43 +117,18 @@ function getUint8ArrayMemory0() {
60
117
  return cachedUint8ArrayMemory0;
61
118
  }
62
119
 
63
- function getStringFromWasm0(ptr, len) {
64
- ptr = ptr >>> 0;
65
- return cachedTextDecoder.decode(getUint8ArrayMemory0().slice(ptr, ptr + len));
66
- }
120
+ const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder() : undefined);
67
121
 
68
- function handleError(f, args) {
69
- try {
70
- return f.apply(this, args);
71
- } catch (e) {
72
- wasm.__wbindgen_export_1(addHeapObject(e));
73
- }
74
- }
75
-
76
- function dropObject(idx) {
77
- if (idx < 132) return;
78
- heap[idx] = heap_next;
79
- heap_next = idx;
80
- }
81
-
82
- function takeObject(idx) {
83
- const ret = getObject(idx);
84
- dropObject(idx);
85
- return ret;
86
- }
87
-
88
- let WASM_VECTOR_LEN = 0;
89
-
90
- const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
91
-
92
- const encodeString = function (arg, view) {
93
- const buf = cachedTextEncoder.encode(arg);
94
- view.set(buf);
95
- return {
96
- read: arg.length,
97
- written: buf.length
122
+ if (cachedTextEncoder) {
123
+ cachedTextEncoder.encodeInto = function (arg, view) {
124
+ const buf = cachedTextEncoder.encode(arg);
125
+ view.set(buf);
126
+ return {
127
+ read: arg.length,
128
+ written: buf.length
129
+ };
98
130
  };
99
- };
131
+ }
100
132
 
101
133
  function passStringToWasm0(arg, malloc, realloc) {
102
134
 
@@ -127,7 +159,7 @@ function passStringToWasm0(arg, malloc, realloc) {
127
159
  }
128
160
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
129
161
  const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
130
- const ret = encodeString(arg, view);
162
+ const ret = cachedTextEncoder.encodeInto(arg, view);
131
163
 
132
164
  offset += ret.written;
133
165
  ptr = realloc(ptr, len, offset, 1) >>> 0;
@@ -137,10 +169,6 @@ function passStringToWasm0(arg, malloc, realloc) {
137
169
  return ptr;
138
170
  }
139
171
 
140
- function isLikeNone(x) {
141
- return x === undefined || x === null;
142
- }
143
-
144
172
  let cachedDataViewMemory0 = null;
145
173
 
146
174
  function getDataViewMemory0() {
@@ -150,15 +178,71 @@ function getDataViewMemory0() {
150
178
  return cachedDataViewMemory0;
151
179
  }
152
180
 
181
+ let heap_next = heap.length;
182
+
183
+ function addHeapObject(obj) {
184
+ if (heap_next === heap.length) heap.push(heap.length + 1);
185
+ const idx = heap_next;
186
+ heap_next = heap[idx];
187
+
188
+ heap[idx] = obj;
189
+ return idx;
190
+ }
191
+
192
+ function dropObject(idx) {
193
+ if (idx < 132) return;
194
+ heap[idx] = heap_next;
195
+ heap_next = idx;
196
+ }
197
+
198
+ function takeObject(idx) {
199
+ const ret = getObject(idx);
200
+ dropObject(idx);
201
+ return ret;
202
+ }
203
+
204
+ let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : undefined);
205
+
206
+ if (cachedTextDecoder) cachedTextDecoder.decode();
207
+
208
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
209
+ let numBytesDecoded = 0;
210
+ function decodeText(ptr, len) {
211
+ numBytesDecoded += len;
212
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
213
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
214
+ cachedTextDecoder.decode();
215
+ numBytesDecoded = len;
216
+ }
217
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().slice(ptr, ptr + len));
218
+ }
219
+
220
+ function getStringFromWasm0(ptr, len) {
221
+ ptr = ptr >>> 0;
222
+ return decodeText(ptr, len);
223
+ }
224
+
225
+ function handleError(f, args) {
226
+ try {
227
+ return f.apply(this, args);
228
+ } catch (e) {
229
+ wasm.__wbindgen_export3(addHeapObject(e));
230
+ }
231
+ }
232
+
233
+ function getArrayU8FromWasm0(ptr, len) {
234
+ ptr = ptr >>> 0;
235
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
236
+ }
237
+
153
238
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
154
239
  ? { register: () => {}, unregister: () => {} }
155
- : new FinalizationRegistry(state => {
156
- wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
157
- });
240
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
158
241
 
159
242
  function makeMutClosure(arg0, arg1, dtor, f) {
160
243
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
161
244
  const real = (...args) => {
245
+
162
246
  // First up with a closure we increment the internal reference
163
247
  // count. This ensures that the Rust closure environment won't
164
248
  // be deallocated while we're invoking it.
@@ -168,15 +252,17 @@ function makeMutClosure(arg0, arg1, dtor, f) {
168
252
  try {
169
253
  return f(a, state.b, ...args);
170
254
  } finally {
171
- if (--state.cnt === 0) {
172
- wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
173
- CLOSURE_DTORS.unregister(state);
174
- } else {
175
- state.a = a;
176
- }
255
+ state.a = a;
256
+ real._wbg_cb_unref();
257
+ }
258
+ };
259
+ real._wbg_cb_unref = () => {
260
+ if (--state.cnt === 0) {
261
+ state.dtor(state.a, state.b);
262
+ state.a = 0;
263
+ CLOSURE_DTORS.unregister(state);
177
264
  }
178
265
  };
179
- real.original = state;
180
266
  CLOSURE_DTORS.register(real, state, state);
181
267
  return real;
182
268
  }
@@ -217,11 +303,6 @@ function passArray8ToWasm0(arg, malloc) {
217
303
  WASM_VECTOR_LEN = arg.length;
218
304
  return ptr;
219
305
  }
220
-
221
- function getArrayU8FromWasm0(ptr, len) {
222
- ptr = ptr >>> 0;
223
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
224
- }
225
306
  /**
226
307
  * Verify an execution. Executions with multiple transitions must have the program source code and
227
308
  * verifying keys of imported functions supplied from outside to correctly verify. Also, this does
@@ -249,7 +330,7 @@ function verifyFunctionExecution(execution, verifying_key, program, function_id,
249
330
  _assertClass(execution, Execution);
250
331
  _assertClass(verifying_key, VerifyingKey);
251
332
  _assertClass(program, Program);
252
- const ptr0 = passStringToWasm0(function_id, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
333
+ const ptr0 = passStringToWasm0(function_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
253
334
  const len0 = WASM_VECTOR_LEN;
254
335
  wasm.verifyFunctionExecution(retptr, execution.__wbg_ptr, verifying_key.__wbg_ptr, program.__wbg_ptr, ptr0, len0, isLikeNone(imports) ? 0 : addHeapObject(imports), isLikeNone(imported_verifying_keys) ? 0 : addHeapObject(imported_verifying_keys), block_height);
255
336
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -278,7 +359,7 @@ function verifyFunctionExecution(execution, verifying_key, program, function_id,
278
359
  * @returns {Array<any>}
279
360
  */
280
361
  function getOrInitConsensusVersionTestHeights(heights) {
281
- var ptr0 = isLikeNone(heights) ? 0 : passStringToWasm0(heights, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
362
+ var ptr0 = isLikeNone(heights) ? 0 : passStringToWasm0(heights, wasm.__wbindgen_export, wasm.__wbindgen_export2);
282
363
  var len0 = WASM_VECTOR_LEN;
283
364
  const ret = wasm.getOrInitConsensusVersionTestHeights(ptr0, len0);
284
365
  return takeObject(ret);
@@ -303,12 +384,12 @@ function getArrayJsValueFromWasm0(ptr, len) {
303
384
  }
304
385
  return result;
305
386
  }
306
- function __wbg_adapter_40(arg0, arg1, arg2) {
307
- wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
387
+ function __wasm_bindgen_func_elem_7844(arg0, arg1, arg2) {
388
+ wasm.__wasm_bindgen_func_elem_7844(arg0, arg1, addHeapObject(arg2));
308
389
  }
309
390
 
310
- function __wbg_adapter_874(arg0, arg1, arg2, arg3) {
311
- wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
391
+ function __wasm_bindgen_func_elem_6792(arg0, arg1, arg2, arg3) {
392
+ wasm.__wasm_bindgen_func_elem_6792(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
312
393
  }
313
394
 
314
395
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
@@ -398,7 +479,7 @@ class Address {
398
479
  * @returns {Address}
399
480
  */
400
481
  static from_string(address) {
401
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
482
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_export, wasm.__wbindgen_export2);
402
483
  const len0 = WASM_VECTOR_LEN;
403
484
  const ret = wasm.address_from_string(ptr0, len0);
404
485
  return Address.__wrap(ret);
@@ -491,6 +572,31 @@ class Address {
491
572
  const ret = wasm.address_from_view_key(view_key.__wbg_ptr);
492
573
  return Address.__wrap(ret);
493
574
  }
575
+ /**
576
+ * Get the address of a program based on the program ID.
577
+ *
578
+ * @param {string} program_id The program ID string.
579
+ * @returns {Address} The address corresponding to the program ID.
580
+ * @param {string} program_id
581
+ * @returns {Address}
582
+ */
583
+ static fromProgramId(program_id) {
584
+ try {
585
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
586
+ const ptr0 = passStringToWasm0(program_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
587
+ const len0 = WASM_VECTOR_LEN;
588
+ wasm.address_fromProgramId(retptr, ptr0, len0);
589
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
590
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
591
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
592
+ if (r2) {
593
+ throw takeObject(r1);
594
+ }
595
+ return Address.__wrap(r0);
596
+ } finally {
597
+ wasm.__wbindgen_add_to_stack_pointer(16);
598
+ }
599
+ }
494
600
  /**
495
601
  * Derive an Aleo address from a compute key.
496
602
  *
@@ -526,7 +632,7 @@ class Address {
526
632
  * @returns {boolean}
527
633
  */
528
634
  verify(message, signature) {
529
- const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_export_3);
635
+ const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_export);
530
636
  const len0 = WASM_VECTOR_LEN;
531
637
  _assertClass(signature, Signature);
532
638
  const ret = wasm.address_verify(this.__wbg_ptr, ptr0, len0, signature.__wbg_ptr);
@@ -579,10 +685,11 @@ class Address {
579
685
  return getStringFromWasm0(r0, r1);
580
686
  } finally {
581
687
  wasm.__wbindgen_add_to_stack_pointer(16);
582
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
688
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
583
689
  }
584
690
  }
585
691
  }
692
+ if (Symbol.dispose) Address.prototype[Symbol.dispose] = Address.prototype.free;
586
693
 
587
694
  const AuthorizationFinalization = (typeof FinalizationRegistry === 'undefined')
588
695
  ? { register: () => {}, unregister: () => {} }
@@ -621,7 +728,7 @@ class Authorization {
621
728
  static fromString(authorization) {
622
729
  try {
623
730
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
624
- const ptr0 = passStringToWasm0(authorization, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
731
+ const ptr0 = passStringToWasm0(authorization, wasm.__wbindgen_export, wasm.__wbindgen_export2);
625
732
  const len0 = WASM_VECTOR_LEN;
626
733
  wasm.authorization_fromString(retptr, ptr0, len0);
627
734
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -713,7 +820,7 @@ class Authorization {
713
820
  return getStringFromWasm0(ptr1, len1);
714
821
  } finally {
715
822
  wasm.__wbindgen_add_to_stack_pointer(16);
716
- wasm.__wbindgen_export_2(deferred2_0, deferred2_1, 1);
823
+ wasm.__wbindgen_export4(deferred2_0, deferred2_1, 1);
717
824
  }
718
825
  }
719
826
  /**
@@ -859,10 +966,11 @@ class Authorization {
859
966
  return getStringFromWasm0(r0, r1);
860
967
  } finally {
861
968
  wasm.__wbindgen_add_to_stack_pointer(16);
862
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
969
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
863
970
  }
864
971
  }
865
972
  }
973
+ if (Symbol.dispose) Authorization.prototype[Symbol.dispose] = Authorization.prototype.free;
866
974
 
867
975
  const BHP1024Finalization = (typeof FinalizationRegistry === 'undefined')
868
976
  ? { register: () => {}, unregister: () => {} }
@@ -969,7 +1077,7 @@ class BHP1024 {
969
1077
  static setup(domain_separator) {
970
1078
  try {
971
1079
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
972
- const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
1080
+ const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export, wasm.__wbindgen_export2);
973
1081
  const len0 = WASM_VECTOR_LEN;
974
1082
  wasm.bhp1024_setup(retptr, ptr0, len0);
975
1083
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -1007,6 +1115,7 @@ class BHP1024 {
1007
1115
  }
1008
1116
  }
1009
1117
  }
1118
+ if (Symbol.dispose) BHP1024.prototype[Symbol.dispose] = BHP1024.prototype.free;
1010
1119
 
1011
1120
  const BHP256Finalization = (typeof FinalizationRegistry === 'undefined')
1012
1121
  ? { register: () => {}, unregister: () => {} }
@@ -1113,7 +1222,7 @@ class BHP256 {
1113
1222
  static setup(domain_separator) {
1114
1223
  try {
1115
1224
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1116
- const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
1225
+ const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1117
1226
  const len0 = WASM_VECTOR_LEN;
1118
1227
  wasm.bhp256_setup(retptr, ptr0, len0);
1119
1228
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -1151,6 +1260,7 @@ class BHP256 {
1151
1260
  }
1152
1261
  }
1153
1262
  }
1263
+ if (Symbol.dispose) BHP256.prototype[Symbol.dispose] = BHP256.prototype.free;
1154
1264
 
1155
1265
  const BHP512Finalization = (typeof FinalizationRegistry === 'undefined')
1156
1266
  ? { register: () => {}, unregister: () => {} }
@@ -1257,7 +1367,7 @@ class BHP512 {
1257
1367
  static setup(domain_separator) {
1258
1368
  try {
1259
1369
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1260
- const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
1370
+ const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1261
1371
  const len0 = WASM_VECTOR_LEN;
1262
1372
  wasm.bhp512_setup(retptr, ptr0, len0);
1263
1373
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -1295,6 +1405,7 @@ class BHP512 {
1295
1405
  }
1296
1406
  }
1297
1407
  }
1408
+ if (Symbol.dispose) BHP512.prototype[Symbol.dispose] = BHP512.prototype.free;
1298
1409
 
1299
1410
  const BHP768Finalization = (typeof FinalizationRegistry === 'undefined')
1300
1411
  ? { register: () => {}, unregister: () => {} }
@@ -1401,7 +1512,7 @@ class BHP768 {
1401
1512
  static setup(domain_separator) {
1402
1513
  try {
1403
1514
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1404
- const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
1515
+ const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1405
1516
  const len0 = WASM_VECTOR_LEN;
1406
1517
  wasm.bhp768_setup(retptr, ptr0, len0);
1407
1518
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -1439,6 +1550,7 @@ class BHP768 {
1439
1550
  }
1440
1551
  }
1441
1552
  }
1553
+ if (Symbol.dispose) BHP768.prototype[Symbol.dispose] = BHP768.prototype.free;
1442
1554
 
1443
1555
  const BooleanFinalization = (typeof FinalizationRegistry === 'undefined')
1444
1556
  ? { register: () => {}, unregister: () => {} }
@@ -1483,7 +1595,7 @@ class Boolean {
1483
1595
  static fromString(boolean) {
1484
1596
  try {
1485
1597
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1486
- const ptr0 = passStringToWasm0(boolean, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
1598
+ const ptr0 = passStringToWasm0(boolean, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1487
1599
  const len0 = WASM_VECTOR_LEN;
1488
1600
  wasm.boolean_fromString(retptr, ptr0, len0);
1489
1601
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -1677,10 +1789,11 @@ class Boolean {
1677
1789
  return getStringFromWasm0(r0, r1);
1678
1790
  } finally {
1679
1791
  wasm.__wbindgen_add_to_stack_pointer(16);
1680
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
1792
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
1681
1793
  }
1682
1794
  }
1683
1795
  }
1796
+ if (Symbol.dispose) Boolean.prototype[Symbol.dispose] = Boolean.prototype.free;
1684
1797
 
1685
1798
  const CiphertextFinalization = (typeof FinalizationRegistry === 'undefined')
1686
1799
  ? { register: () => {}, unregister: () => {} }
@@ -1755,7 +1868,7 @@ class Ciphertext {
1755
1868
  static fromString(ciphertext) {
1756
1869
  try {
1757
1870
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1758
- const ptr0 = passStringToWasm0(ciphertext, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
1871
+ const ptr0 = passStringToWasm0(ciphertext, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1759
1872
  const len0 = WASM_VECTOR_LEN;
1760
1873
  wasm.ciphertext_fromString(retptr, ptr0, len0);
1761
1874
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -1887,9 +2000,9 @@ class Ciphertext {
1887
2000
  var ptr0 = view_key.__destroy_into_raw();
1888
2001
  _assertClass(transition_public_key, Group);
1889
2002
  var ptr1 = transition_public_key.__destroy_into_raw();
1890
- const ptr2 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
2003
+ const ptr2 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1891
2004
  const len2 = WASM_VECTOR_LEN;
1892
- const ptr3 = passStringToWasm0(function_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
2005
+ const ptr3 = passStringToWasm0(function_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1893
2006
  const len3 = WASM_VECTOR_LEN;
1894
2007
  wasm.ciphertext_decryptWithTransitionInfo(retptr, this.__wbg_ptr, ptr0, ptr1, ptr2, len2, ptr3, len3, index);
1895
2008
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -1923,9 +2036,9 @@ class Ciphertext {
1923
2036
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1924
2037
  _assertClass(transition_view_key, Field);
1925
2038
  var ptr0 = transition_view_key.__destroy_into_raw();
1926
- const ptr1 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
2039
+ const ptr1 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1927
2040
  const len1 = WASM_VECTOR_LEN;
1928
- const ptr2 = passStringToWasm0(function_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
2041
+ const ptr2 = passStringToWasm0(function_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1929
2042
  const len2 = WASM_VECTOR_LEN;
1930
2043
  wasm.ciphertext_decryptWithTransitionViewKey(retptr, this.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, index);
1931
2044
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -2028,10 +2141,11 @@ class Ciphertext {
2028
2141
  return getStringFromWasm0(r0, r1);
2029
2142
  } finally {
2030
2143
  wasm.__wbindgen_add_to_stack_pointer(16);
2031
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2144
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
2032
2145
  }
2033
2146
  }
2034
2147
  }
2148
+ if (Symbol.dispose) Ciphertext.prototype[Symbol.dispose] = Ciphertext.prototype.free;
2035
2149
 
2036
2150
  const ComputeKeyFinalization = (typeof FinalizationRegistry === 'undefined')
2037
2151
  ? { register: () => {}, unregister: () => {} }
@@ -2113,6 +2227,7 @@ class ComputeKey {
2113
2227
  return Address.__wrap(ret);
2114
2228
  }
2115
2229
  }
2230
+ if (Symbol.dispose) ComputeKey.prototype[Symbol.dispose] = ComputeKey.prototype.free;
2116
2231
 
2117
2232
  const EncryptionToolkitFinalization = (typeof FinalizationRegistry === 'undefined')
2118
2233
  ? { register: () => {}, unregister: () => {} }
@@ -2196,7 +2311,7 @@ class EncryptionToolkit {
2196
2311
  try {
2197
2312
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2198
2313
  _assertClass(view_key, ViewKey);
2199
- const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_export_3);
2314
+ const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_export);
2200
2315
  const len0 = WASM_VECTOR_LEN;
2201
2316
  wasm.encryptiontoolkit_checkOwnedRecords(retptr, view_key.__wbg_ptr, ptr0, len0);
2202
2317
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -2207,7 +2322,7 @@ class EncryptionToolkit {
2207
2322
  throw takeObject(r2);
2208
2323
  }
2209
2324
  var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
2210
- wasm.__wbindgen_export_2(r0, r1 * 4, 4);
2325
+ wasm.__wbindgen_export4(r0, r1 * 4, 4);
2211
2326
  return v2;
2212
2327
  } finally {
2213
2328
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -2228,7 +2343,7 @@ class EncryptionToolkit {
2228
2343
  try {
2229
2344
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2230
2345
  _assertClass(view_key, ViewKey);
2231
- const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_export_3);
2346
+ const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_export);
2232
2347
  const len0 = WASM_VECTOR_LEN;
2233
2348
  wasm.encryptiontoolkit_decryptOwnedRecords(retptr, view_key.__wbg_ptr, ptr0, len0);
2234
2349
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -2239,7 +2354,7 @@ class EncryptionToolkit {
2239
2354
  throw takeObject(r2);
2240
2355
  }
2241
2356
  var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
2242
- wasm.__wbindgen_export_2(r0, r1 * 4, 4);
2357
+ wasm.__wbindgen_export4(r0, r1 * 4, 4);
2243
2358
  return v2;
2244
2359
  } finally {
2245
2360
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -2360,6 +2475,7 @@ class EncryptionToolkit {
2360
2475
  }
2361
2476
  }
2362
2477
  }
2478
+ if (Symbol.dispose) EncryptionToolkit.prototype[Symbol.dispose] = EncryptionToolkit.prototype.free;
2363
2479
 
2364
2480
  const ExecutionFinalization = (typeof FinalizationRegistry === 'undefined')
2365
2481
  ? { register: () => {}, unregister: () => {} }
@@ -2398,7 +2514,7 @@ class Execution {
2398
2514
  static fromString(execution) {
2399
2515
  try {
2400
2516
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2401
- const ptr0 = passStringToWasm0(execution, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
2517
+ const ptr0 = passStringToWasm0(execution, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2402
2518
  const len0 = WASM_VECTOR_LEN;
2403
2519
  wasm.execution_fromString(retptr, ptr0, len0);
2404
2520
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -2441,7 +2557,7 @@ class Execution {
2441
2557
  return getStringFromWasm0(r0, r1);
2442
2558
  } finally {
2443
2559
  wasm.__wbindgen_add_to_stack_pointer(16);
2444
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2560
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
2445
2561
  }
2446
2562
  }
2447
2563
  /**
@@ -2463,7 +2579,7 @@ class Execution {
2463
2579
  return getStringFromWasm0(r0, r1);
2464
2580
  } finally {
2465
2581
  wasm.__wbindgen_add_to_stack_pointer(16);
2466
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2582
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
2467
2583
  }
2468
2584
  }
2469
2585
  /**
@@ -2485,10 +2601,11 @@ class Execution {
2485
2601
  return getStringFromWasm0(r0, r1);
2486
2602
  } finally {
2487
2603
  wasm.__wbindgen_add_to_stack_pointer(16);
2488
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2604
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
2489
2605
  }
2490
2606
  }
2491
2607
  }
2608
+ if (Symbol.dispose) Execution.prototype[Symbol.dispose] = Execution.prototype.free;
2492
2609
 
2493
2610
  const ExecutionRequestFinalization = (typeof FinalizationRegistry === 'undefined')
2494
2611
  ? { register: () => {}, unregister: () => {} }
@@ -2540,7 +2657,7 @@ class ExecutionRequest {
2540
2657
  return getStringFromWasm0(r0, r1);
2541
2658
  } finally {
2542
2659
  wasm.__wbindgen_add_to_stack_pointer(16);
2543
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2660
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
2544
2661
  }
2545
2662
  }
2546
2663
  /**
@@ -2553,7 +2670,7 @@ class ExecutionRequest {
2553
2670
  static fromString(request) {
2554
2671
  try {
2555
2672
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2556
- const ptr0 = passStringToWasm0(request, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
2673
+ const ptr0 = passStringToWasm0(request, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2557
2674
  const len0 = WASM_VECTOR_LEN;
2558
2675
  wasm.executionrequest_fromString(retptr, ptr0, len0);
2559
2676
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -2623,7 +2740,7 @@ class ExecutionRequest {
2623
2740
  return getStringFromWasm0(r0, r1);
2624
2741
  } finally {
2625
2742
  wasm.__wbindgen_add_to_stack_pointer(16);
2626
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2743
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
2627
2744
  }
2628
2745
  }
2629
2746
  /**
@@ -2675,9 +2792,9 @@ class ExecutionRequest {
2675
2792
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2676
2793
  _assertClass(private_key, PrivateKey);
2677
2794
  var ptr0 = private_key.__destroy_into_raw();
2678
- const ptr1 = passStringToWasm0(program_id, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
2795
+ const ptr1 = passStringToWasm0(program_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2679
2796
  const len1 = WASM_VECTOR_LEN;
2680
- const ptr2 = passStringToWasm0(function_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
2797
+ const ptr2 = passStringToWasm0(function_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2681
2798
  const len2 = WASM_VECTOR_LEN;
2682
2799
  let ptr3 = 0;
2683
2800
  if (!isLikeNone(root_tvk)) {
@@ -2787,10 +2904,11 @@ class ExecutionRequest {
2787
2904
  return getStringFromWasm0(r0, r1);
2788
2905
  } finally {
2789
2906
  wasm.__wbindgen_add_to_stack_pointer(16);
2790
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2907
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
2791
2908
  }
2792
2909
  }
2793
2910
  }
2911
+ if (Symbol.dispose) ExecutionRequest.prototype[Symbol.dispose] = ExecutionRequest.prototype.free;
2794
2912
 
2795
2913
  const ExecutionResponseFinalization = (typeof FinalizationRegistry === 'undefined')
2796
2914
  ? { register: () => {}, unregister: () => {} }
@@ -2867,7 +2985,7 @@ class ExecutionResponse {
2867
2985
  return getStringFromWasm0(r0, r1);
2868
2986
  } finally {
2869
2987
  wasm.__wbindgen_add_to_stack_pointer(16);
2870
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2988
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
2871
2989
  }
2872
2990
  }
2873
2991
  /**
@@ -2912,6 +3030,7 @@ class ExecutionResponse {
2912
3030
  }
2913
3031
  }
2914
3032
  }
3033
+ if (Symbol.dispose) ExecutionResponse.prototype[Symbol.dispose] = ExecutionResponse.prototype.free;
2915
3034
 
2916
3035
  const FieldFinalization = (typeof FinalizationRegistry === 'undefined')
2917
3036
  ? { register: () => {}, unregister: () => {} }
@@ -2963,7 +3082,7 @@ class Field {
2963
3082
  static fromString(field) {
2964
3083
  try {
2965
3084
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2966
- const ptr0 = passStringToWasm0(field, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
3085
+ const ptr0 = passStringToWasm0(field, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2967
3086
  const len0 = WASM_VECTOR_LEN;
2968
3087
  wasm.field_fromString(retptr, ptr0, len0);
2969
3088
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -3052,7 +3171,7 @@ class Field {
3052
3171
  * @returns {Field}
3053
3172
  */
3054
3173
  static newDomainSeparator(domain) {
3055
- const ptr0 = passStringToWasm0(domain, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
3174
+ const ptr0 = passStringToWasm0(domain, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3056
3175
  const len0 = WASM_VECTOR_LEN;
3057
3176
  const ret = wasm.field_newDomainSeparator(ptr0, len0);
3058
3177
  return Field.__wrap(ret);
@@ -3182,10 +3301,11 @@ class Field {
3182
3301
  return getStringFromWasm0(r0, r1);
3183
3302
  } finally {
3184
3303
  wasm.__wbindgen_add_to_stack_pointer(16);
3185
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
3304
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
3186
3305
  }
3187
3306
  }
3188
3307
  }
3308
+ if (Symbol.dispose) Field.prototype[Symbol.dispose] = Field.prototype.free;
3189
3309
 
3190
3310
  const GraphKeyFinalization = (typeof FinalizationRegistry === 'undefined')
3191
3311
  ? { register: () => {}, unregister: () => {} }
@@ -3221,7 +3341,7 @@ class GraphKey {
3221
3341
  * @returns {GraphKey}
3222
3342
  */
3223
3343
  static from_string(graph_key) {
3224
- const ptr0 = passStringToWasm0(graph_key, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
3344
+ const ptr0 = passStringToWasm0(graph_key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3225
3345
  const len0 = WASM_VECTOR_LEN;
3226
3346
  const ret = wasm.graphkey_from_string(ptr0, len0);
3227
3347
  return GraphKey.__wrap(ret);
@@ -3266,10 +3386,11 @@ class GraphKey {
3266
3386
  return getStringFromWasm0(r0, r1);
3267
3387
  } finally {
3268
3388
  wasm.__wbindgen_add_to_stack_pointer(16);
3269
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
3389
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
3270
3390
  }
3271
3391
  }
3272
3392
  }
3393
+ if (Symbol.dispose) GraphKey.prototype[Symbol.dispose] = GraphKey.prototype.free;
3273
3394
 
3274
3395
  const GroupFinalization = (typeof FinalizationRegistry === 'undefined')
3275
3396
  ? { register: () => {}, unregister: () => {} }
@@ -3314,7 +3435,7 @@ class Group {
3314
3435
  static fromString(group) {
3315
3436
  try {
3316
3437
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3317
- const ptr0 = passStringToWasm0(group, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
3438
+ const ptr0 = passStringToWasm0(group, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3318
3439
  const len0 = WASM_VECTOR_LEN;
3319
3440
  wasm.group_fromString(retptr, ptr0, len0);
3320
3441
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -3530,10 +3651,11 @@ class Group {
3530
3651
  return getStringFromWasm0(r0, r1);
3531
3652
  } finally {
3532
3653
  wasm.__wbindgen_add_to_stack_pointer(16);
3533
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
3654
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
3534
3655
  }
3535
3656
  }
3536
3657
  }
3658
+ if (Symbol.dispose) Group.prototype[Symbol.dispose] = Group.prototype.free;
3537
3659
 
3538
3660
  const I128Finalization = (typeof FinalizationRegistry === 'undefined')
3539
3661
  ? { register: () => {}, unregister: () => {} }
@@ -3653,7 +3775,7 @@ class I128 {
3653
3775
  static fromString(s) {
3654
3776
  try {
3655
3777
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3656
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
3778
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3657
3779
  const len0 = WASM_VECTOR_LEN;
3658
3780
  wasm.i128_fromString(retptr, ptr0, len0);
3659
3781
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -3857,10 +3979,11 @@ class I128 {
3857
3979
  return getStringFromWasm0(r0, r1);
3858
3980
  } finally {
3859
3981
  wasm.__wbindgen_add_to_stack_pointer(16);
3860
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
3982
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
3861
3983
  }
3862
3984
  }
3863
3985
  }
3986
+ if (Symbol.dispose) I128.prototype[Symbol.dispose] = I128.prototype.free;
3864
3987
 
3865
3988
  const I16Finalization = (typeof FinalizationRegistry === 'undefined')
3866
3989
  ? { register: () => {}, unregister: () => {} }
@@ -3980,7 +4103,7 @@ class I16 {
3980
4103
  static fromString(s) {
3981
4104
  try {
3982
4105
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3983
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
4106
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3984
4107
  const len0 = WASM_VECTOR_LEN;
3985
4108
  wasm.i16_fromString(retptr, ptr0, len0);
3986
4109
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -4184,10 +4307,11 @@ class I16 {
4184
4307
  return getStringFromWasm0(r0, r1);
4185
4308
  } finally {
4186
4309
  wasm.__wbindgen_add_to_stack_pointer(16);
4187
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
4310
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
4188
4311
  }
4189
4312
  }
4190
4313
  }
4314
+ if (Symbol.dispose) I16.prototype[Symbol.dispose] = I16.prototype.free;
4191
4315
 
4192
4316
  const I32Finalization = (typeof FinalizationRegistry === 'undefined')
4193
4317
  ? { register: () => {}, unregister: () => {} }
@@ -4307,7 +4431,7 @@ class I32 {
4307
4431
  static fromString(s) {
4308
4432
  try {
4309
4433
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4310
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
4434
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
4311
4435
  const len0 = WASM_VECTOR_LEN;
4312
4436
  wasm.i32_fromString(retptr, ptr0, len0);
4313
4437
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -4511,10 +4635,11 @@ class I32 {
4511
4635
  return getStringFromWasm0(r0, r1);
4512
4636
  } finally {
4513
4637
  wasm.__wbindgen_add_to_stack_pointer(16);
4514
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
4638
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
4515
4639
  }
4516
4640
  }
4517
4641
  }
4642
+ if (Symbol.dispose) I32.prototype[Symbol.dispose] = I32.prototype.free;
4518
4643
 
4519
4644
  const I64Finalization = (typeof FinalizationRegistry === 'undefined')
4520
4645
  ? { register: () => {}, unregister: () => {} }
@@ -4634,7 +4759,7 @@ class I64 {
4634
4759
  static fromString(s) {
4635
4760
  try {
4636
4761
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4637
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
4762
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
4638
4763
  const len0 = WASM_VECTOR_LEN;
4639
4764
  wasm.i64_fromString(retptr, ptr0, len0);
4640
4765
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -4838,10 +4963,11 @@ class I64 {
4838
4963
  return getStringFromWasm0(r0, r1);
4839
4964
  } finally {
4840
4965
  wasm.__wbindgen_add_to_stack_pointer(16);
4841
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
4966
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
4842
4967
  }
4843
4968
  }
4844
4969
  }
4970
+ if (Symbol.dispose) I64.prototype[Symbol.dispose] = I64.prototype.free;
4845
4971
 
4846
4972
  const I8Finalization = (typeof FinalizationRegistry === 'undefined')
4847
4973
  ? { register: () => {}, unregister: () => {} }
@@ -4961,7 +5087,7 @@ class I8 {
4961
5087
  static fromString(s) {
4962
5088
  try {
4963
5089
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4964
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5090
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
4965
5091
  const len0 = WASM_VECTOR_LEN;
4966
5092
  wasm.i8_fromString(retptr, ptr0, len0);
4967
5093
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -5165,10 +5291,11 @@ class I8 {
5165
5291
  return getStringFromWasm0(r0, r1);
5166
5292
  } finally {
5167
5293
  wasm.__wbindgen_add_to_stack_pointer(16);
5168
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
5294
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
5169
5295
  }
5170
5296
  }
5171
5297
  }
5298
+ if (Symbol.dispose) I8.prototype[Symbol.dispose] = I8.prototype.free;
5172
5299
 
5173
5300
  const KeyPairFinalization = (typeof FinalizationRegistry === 'undefined')
5174
5301
  ? { register: () => {}, unregister: () => {} }
@@ -5259,6 +5386,7 @@ class KeyPair {
5259
5386
  return this;
5260
5387
  }
5261
5388
  }
5389
+ if (Symbol.dispose) KeyPair.prototype[Symbol.dispose] = KeyPair.prototype.free;
5262
5390
 
5263
5391
  const MetadataFinalization = (typeof FinalizationRegistry === 'undefined')
5264
5392
  ? { register: () => {}, unregister: () => {} }
@@ -5301,14 +5429,14 @@ class Metadata {
5301
5429
  return getStringFromWasm0(r0, r1);
5302
5430
  } finally {
5303
5431
  wasm.__wbindgen_add_to_stack_pointer(16);
5304
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
5432
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
5305
5433
  }
5306
5434
  }
5307
5435
  /**
5308
5436
  * @param {string} arg0
5309
5437
  */
5310
5438
  set name(arg0) {
5311
- const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5439
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5312
5440
  const len0 = WASM_VECTOR_LEN;
5313
5441
  wasm.__wbg_set_metadata_name(this.__wbg_ptr, ptr0, len0);
5314
5442
  }
@@ -5328,14 +5456,14 @@ class Metadata {
5328
5456
  return getStringFromWasm0(r0, r1);
5329
5457
  } finally {
5330
5458
  wasm.__wbindgen_add_to_stack_pointer(16);
5331
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
5459
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
5332
5460
  }
5333
5461
  }
5334
5462
  /**
5335
5463
  * @param {string} arg0
5336
5464
  */
5337
5465
  set locator(arg0) {
5338
- const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5466
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5339
5467
  const len0 = WASM_VECTOR_LEN;
5340
5468
  wasm.__wbg_set_metadata_locator(this.__wbg_ptr, ptr0, len0);
5341
5469
  }
@@ -5355,14 +5483,14 @@ class Metadata {
5355
5483
  return getStringFromWasm0(r0, r1);
5356
5484
  } finally {
5357
5485
  wasm.__wbindgen_add_to_stack_pointer(16);
5358
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
5486
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
5359
5487
  }
5360
5488
  }
5361
5489
  /**
5362
5490
  * @param {string} arg0
5363
5491
  */
5364
5492
  set prover(arg0) {
5365
- const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5493
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5366
5494
  const len0 = WASM_VECTOR_LEN;
5367
5495
  wasm.__wbg_set_metadata_prover(this.__wbg_ptr, ptr0, len0);
5368
5496
  }
@@ -5382,14 +5510,14 @@ class Metadata {
5382
5510
  return getStringFromWasm0(r0, r1);
5383
5511
  } finally {
5384
5512
  wasm.__wbindgen_add_to_stack_pointer(16);
5385
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
5513
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
5386
5514
  }
5387
5515
  }
5388
5516
  /**
5389
5517
  * @param {string} arg0
5390
5518
  */
5391
5519
  set verifier(arg0) {
5392
- const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5520
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5393
5521
  const len0 = WASM_VECTOR_LEN;
5394
5522
  wasm.__wbg_set_metadata_verifier(this.__wbg_ptr, ptr0, len0);
5395
5523
  }
@@ -5409,14 +5537,14 @@ class Metadata {
5409
5537
  return getStringFromWasm0(r0, r1);
5410
5538
  } finally {
5411
5539
  wasm.__wbindgen_add_to_stack_pointer(16);
5412
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
5540
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
5413
5541
  }
5414
5542
  }
5415
5543
  /**
5416
5544
  * @param {string} arg0
5417
5545
  */
5418
5546
  set verifyingKey(arg0) {
5419
- const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5547
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5420
5548
  const len0 = WASM_VECTOR_LEN;
5421
5549
  wasm.__wbg_set_metadata_verifyingKey(this.__wbg_ptr, ptr0, len0);
5422
5550
  }
@@ -5534,7 +5662,7 @@ class Metadata {
5534
5662
  return getStringFromWasm0(r0, r1);
5535
5663
  } finally {
5536
5664
  wasm.__wbindgen_add_to_stack_pointer(16);
5537
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
5665
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
5538
5666
  }
5539
5667
  }
5540
5668
  /**
@@ -5545,6 +5673,7 @@ class Metadata {
5545
5673
  return Metadata.__wrap(ret);
5546
5674
  }
5547
5675
  }
5676
+ if (Symbol.dispose) Metadata.prototype[Symbol.dispose] = Metadata.prototype.free;
5548
5677
 
5549
5678
  const OfflineQueryFinalization = (typeof FinalizationRegistry === 'undefined')
5550
5679
  ? { register: () => {}, unregister: () => {} }
@@ -5584,7 +5713,7 @@ class OfflineQuery {
5584
5713
  static fromString(s) {
5585
5714
  try {
5586
5715
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5587
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5716
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5588
5717
  const len0 = WASM_VECTOR_LEN;
5589
5718
  wasm.offlinequery_fromString(retptr, ptr0, len0);
5590
5719
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -5609,9 +5738,9 @@ class OfflineQuery {
5609
5738
  addStatePath(commitment, state_path) {
5610
5739
  try {
5611
5740
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5612
- const ptr0 = passStringToWasm0(commitment, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5741
+ const ptr0 = passStringToWasm0(commitment, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5613
5742
  const len0 = WASM_VECTOR_LEN;
5614
- const ptr1 = passStringToWasm0(state_path, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5743
+ const ptr1 = passStringToWasm0(state_path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5615
5744
  const len1 = WASM_VECTOR_LEN;
5616
5745
  wasm.offlinequery_addStatePath(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
5617
5746
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -5645,7 +5774,7 @@ class OfflineQuery {
5645
5774
  constructor(block_height, state_root) {
5646
5775
  try {
5647
5776
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5648
- const ptr0 = passStringToWasm0(state_root, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5777
+ const ptr0 = passStringToWasm0(state_root, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5649
5778
  const len0 = WASM_VECTOR_LEN;
5650
5779
  wasm.offlinequery_new(retptr, block_height, ptr0, len0);
5651
5780
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -5680,10 +5809,11 @@ class OfflineQuery {
5680
5809
  return getStringFromWasm0(r0, r1);
5681
5810
  } finally {
5682
5811
  wasm.__wbindgen_add_to_stack_pointer(16);
5683
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
5812
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
5684
5813
  }
5685
5814
  }
5686
5815
  }
5816
+ if (Symbol.dispose) OfflineQuery.prototype[Symbol.dispose] = OfflineQuery.prototype.free;
5687
5817
 
5688
5818
  const Pedersen128Finalization = (typeof FinalizationRegistry === 'undefined')
5689
5819
  ? { register: () => {}, unregister: () => {} }
@@ -5768,7 +5898,7 @@ class Pedersen128 {
5768
5898
  * @returns {Pedersen128}
5769
5899
  */
5770
5900
  static setup(domain_separator) {
5771
- const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
5901
+ const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5772
5902
  const len0 = WASM_VECTOR_LEN;
5773
5903
  const ret = wasm.pedersen128_setup(ptr0, len0);
5774
5904
  return Pedersen128.__wrap(ret);
@@ -5797,6 +5927,7 @@ class Pedersen128 {
5797
5927
  }
5798
5928
  }
5799
5929
  }
5930
+ if (Symbol.dispose) Pedersen128.prototype[Symbol.dispose] = Pedersen128.prototype.free;
5800
5931
 
5801
5932
  const Pedersen64Finalization = (typeof FinalizationRegistry === 'undefined')
5802
5933
  ? { register: () => {}, unregister: () => {} }
@@ -5881,7 +6012,7 @@ class Pedersen64 {
5881
6012
  * @returns {Pedersen64}
5882
6013
  */
5883
6014
  static setup(domain_separator) {
5884
- const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
6015
+ const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5885
6016
  const len0 = WASM_VECTOR_LEN;
5886
6017
  const ret = wasm.pedersen64_setup(ptr0, len0);
5887
6018
  return Pedersen64.__wrap(ret);
@@ -5910,6 +6041,7 @@ class Pedersen64 {
5910
6041
  }
5911
6042
  }
5912
6043
  }
6044
+ if (Symbol.dispose) Pedersen64.prototype[Symbol.dispose] = Pedersen64.prototype.free;
5913
6045
 
5914
6046
  const PlaintextFinalization = (typeof FinalizationRegistry === 'undefined')
5915
6047
  ? { register: () => {}, unregister: () => {} }
@@ -6001,7 +6133,7 @@ class Plaintext {
6001
6133
  static fromString(plaintext) {
6002
6134
  try {
6003
6135
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6004
- const ptr0 = passStringToWasm0(plaintext, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
6136
+ const ptr0 = passStringToWasm0(plaintext, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6005
6137
  const len0 = WASM_VECTOR_LEN;
6006
6138
  wasm.plaintext_fromString(retptr, ptr0, len0);
6007
6139
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6124,7 +6256,7 @@ class Plaintext {
6124
6256
  return getStringFromWasm0(r0, r1);
6125
6257
  } finally {
6126
6258
  wasm.__wbindgen_add_to_stack_pointer(16);
6127
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
6259
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
6128
6260
  }
6129
6261
  }
6130
6262
  /**
@@ -6228,7 +6360,7 @@ class Plaintext {
6228
6360
  find(name) {
6229
6361
  try {
6230
6362
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6231
- const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
6363
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6232
6364
  const len0 = WASM_VECTOR_LEN;
6233
6365
  wasm.plaintext_find(retptr, this.__wbg_ptr, ptr0, len0);
6234
6366
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6331,10 +6463,11 @@ class Plaintext {
6331
6463
  return getStringFromWasm0(r0, r1);
6332
6464
  } finally {
6333
6465
  wasm.__wbindgen_add_to_stack_pointer(16);
6334
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
6466
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
6335
6467
  }
6336
6468
  }
6337
6469
  }
6470
+ if (Symbol.dispose) Plaintext.prototype[Symbol.dispose] = Plaintext.prototype.free;
6338
6471
 
6339
6472
  const Poseidon2Finalization = (typeof FinalizationRegistry === 'undefined')
6340
6473
  ? { register: () => {}, unregister: () => {} }
@@ -6438,7 +6571,7 @@ class Poseidon2 {
6438
6571
  static setup(domain_separator) {
6439
6572
  try {
6440
6573
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6441
- const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
6574
+ const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6442
6575
  const len0 = WASM_VECTOR_LEN;
6443
6576
  wasm.poseidon2_setup(retptr, ptr0, len0);
6444
6577
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6474,6 +6607,7 @@ class Poseidon2 {
6474
6607
  }
6475
6608
  }
6476
6609
  }
6610
+ if (Symbol.dispose) Poseidon2.prototype[Symbol.dispose] = Poseidon2.prototype.free;
6477
6611
 
6478
6612
  const Poseidon4Finalization = (typeof FinalizationRegistry === 'undefined')
6479
6613
  ? { register: () => {}, unregister: () => {} }
@@ -6577,7 +6711,7 @@ class Poseidon4 {
6577
6711
  static setup(domain_separator) {
6578
6712
  try {
6579
6713
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6580
- const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
6714
+ const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6581
6715
  const len0 = WASM_VECTOR_LEN;
6582
6716
  wasm.poseidon4_setup(retptr, ptr0, len0);
6583
6717
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6613,6 +6747,7 @@ class Poseidon4 {
6613
6747
  }
6614
6748
  }
6615
6749
  }
6750
+ if (Symbol.dispose) Poseidon4.prototype[Symbol.dispose] = Poseidon4.prototype.free;
6616
6751
 
6617
6752
  const Poseidon8Finalization = (typeof FinalizationRegistry === 'undefined')
6618
6753
  ? { register: () => {}, unregister: () => {} }
@@ -6716,7 +6851,7 @@ class Poseidon8 {
6716
6851
  static setup(domain_separator) {
6717
6852
  try {
6718
6853
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6719
- const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
6854
+ const ptr0 = passStringToWasm0(domain_separator, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6720
6855
  const len0 = WASM_VECTOR_LEN;
6721
6856
  wasm.poseidon8_setup(retptr, ptr0, len0);
6722
6857
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6752,6 +6887,7 @@ class Poseidon8 {
6752
6887
  }
6753
6888
  }
6754
6889
  }
6890
+ if (Symbol.dispose) Poseidon8.prototype[Symbol.dispose] = Poseidon8.prototype.free;
6755
6891
 
6756
6892
  const PrivateKeyFinalization = (typeof FinalizationRegistry === 'undefined')
6757
6893
  ? { register: () => {}, unregister: () => {} }
@@ -6791,7 +6927,7 @@ class PrivateKey {
6791
6927
  signValue(message) {
6792
6928
  try {
6793
6929
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6794
- const ptr0 = passStringToWasm0(message, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
6930
+ const ptr0 = passStringToWasm0(message, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6795
6931
  const len0 = WASM_VECTOR_LEN;
6796
6932
  wasm.privatekey_signValue(retptr, this.__wbg_ptr, ptr0, len0);
6797
6933
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6826,7 +6962,7 @@ class PrivateKey {
6826
6962
  static from_string(private_key) {
6827
6963
  try {
6828
6964
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6829
- const ptr0 = passStringToWasm0(private_key, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
6965
+ const ptr0 = passStringToWasm0(private_key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6830
6966
  const len0 = WASM_VECTOR_LEN;
6831
6967
  wasm.privatekey_from_string(retptr, ptr0, len0);
6832
6968
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6862,7 +6998,7 @@ class PrivateKey {
6862
6998
  static newEncrypted(secret) {
6863
6999
  try {
6864
7000
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6865
- const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7001
+ const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6866
7002
  const len0 = WASM_VECTOR_LEN;
6867
7003
  wasm.privatekey_newEncrypted(retptr, ptr0, len0);
6868
7004
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6888,7 +7024,7 @@ class PrivateKey {
6888
7024
  toCiphertext(secret) {
6889
7025
  try {
6890
7026
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6891
- const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7027
+ const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6892
7028
  const len0 = WASM_VECTOR_LEN;
6893
7029
  wasm.privatekey_toCiphertext(retptr, this.__wbg_ptr, ptr0, len0);
6894
7030
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6911,7 +7047,7 @@ class PrivateKey {
6911
7047
  * @returns {PrivateKey}
6912
7048
  */
6913
7049
  static from_seed_unchecked(seed) {
6914
- const ptr0 = passArray8ToWasm0(seed, wasm.__wbindgen_export_3);
7050
+ const ptr0 = passArray8ToWasm0(seed, wasm.__wbindgen_export);
6915
7051
  const len0 = WASM_VECTOR_LEN;
6916
7052
  const ret = wasm.privatekey_from_seed_unchecked(ptr0, len0);
6917
7053
  return PrivateKey.__wrap(ret);
@@ -6930,7 +7066,7 @@ class PrivateKey {
6930
7066
  try {
6931
7067
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
6932
7068
  _assertClass(ciphertext, PrivateKeyCiphertext);
6933
- const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7069
+ const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
6934
7070
  const len0 = WASM_VECTOR_LEN;
6935
7071
  wasm.privatekey_fromPrivateKeyCiphertext(retptr, ciphertext.__wbg_ptr, ptr0, len0);
6936
7072
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -6964,7 +7100,7 @@ class PrivateKey {
6964
7100
  * @returns {Signature}
6965
7101
  */
6966
7102
  sign(message) {
6967
- const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_export_3);
7103
+ const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_export);
6968
7104
  const len0 = WASM_VECTOR_LEN;
6969
7105
  const ret = wasm.privatekey_sign(this.__wbg_ptr, ptr0, len0);
6970
7106
  return Signature.__wrap(ret);
@@ -6989,10 +7125,11 @@ class PrivateKey {
6989
7125
  return getStringFromWasm0(r0, r1);
6990
7126
  } finally {
6991
7127
  wasm.__wbindgen_add_to_stack_pointer(16);
6992
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
7128
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
6993
7129
  }
6994
7130
  }
6995
7131
  }
7132
+ if (Symbol.dispose) PrivateKey.prototype[Symbol.dispose] = PrivateKey.prototype.free;
6996
7133
 
6997
7134
  const PrivateKeyCiphertextFinalization = (typeof FinalizationRegistry === 'undefined')
6998
7135
  ? { register: () => {}, unregister: () => {} }
@@ -7032,7 +7169,7 @@ class PrivateKeyCiphertext {
7032
7169
  static fromString(ciphertext) {
7033
7170
  try {
7034
7171
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7035
- const ptr0 = passStringToWasm0(ciphertext, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7172
+ const ptr0 = passStringToWasm0(ciphertext, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7036
7173
  const len0 = WASM_VECTOR_LEN;
7037
7174
  wasm.privatekeyciphertext_fromString(retptr, ptr0, len0);
7038
7175
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -7061,7 +7198,7 @@ class PrivateKeyCiphertext {
7061
7198
  try {
7062
7199
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7063
7200
  _assertClass(private_key, PrivateKey);
7064
- const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7201
+ const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7065
7202
  const len0 = WASM_VECTOR_LEN;
7066
7203
  wasm.privatekey_toCiphertext(retptr, private_key.__wbg_ptr, ptr0, len0);
7067
7204
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -7087,7 +7224,7 @@ class PrivateKeyCiphertext {
7087
7224
  decryptToPrivateKey(secret) {
7088
7225
  try {
7089
7226
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7090
- const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7227
+ const ptr0 = passStringToWasm0(secret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7091
7228
  const len0 = WASM_VECTOR_LEN;
7092
7229
  wasm.privatekeyciphertext_decryptToPrivateKey(retptr, this.__wbg_ptr, ptr0, len0);
7093
7230
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -7120,10 +7257,11 @@ class PrivateKeyCiphertext {
7120
7257
  return getStringFromWasm0(r0, r1);
7121
7258
  } finally {
7122
7259
  wasm.__wbindgen_add_to_stack_pointer(16);
7123
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
7260
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
7124
7261
  }
7125
7262
  }
7126
7263
  }
7264
+ if (Symbol.dispose) PrivateKeyCiphertext.prototype[Symbol.dispose] = PrivateKeyCiphertext.prototype.free;
7127
7265
 
7128
7266
  const ProgramFinalization = (typeof FinalizationRegistry === 'undefined')
7129
7267
  ? { register: () => {}, unregister: () => {} }
@@ -7163,7 +7301,7 @@ class Program {
7163
7301
  static fromString(program) {
7164
7302
  try {
7165
7303
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7166
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7304
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7167
7305
  const len0 = WASM_VECTOR_LEN;
7168
7306
  wasm.program_fromString(retptr, ptr0, len0);
7169
7307
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -7250,7 +7388,7 @@ class Program {
7250
7388
  * @returns {boolean}
7251
7389
  */
7252
7390
  hasFunction(function_name) {
7253
- const ptr0 = passStringToWasm0(function_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7391
+ const ptr0 = passStringToWasm0(function_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7254
7392
  const len0 = WASM_VECTOR_LEN;
7255
7393
  const ret = wasm.program_hasFunction(this.__wbg_ptr, ptr0, len0);
7256
7394
  return ret !== 0;
@@ -7315,7 +7453,7 @@ class Program {
7315
7453
  getRecordMembers(record_name) {
7316
7454
  try {
7317
7455
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7318
- const ptr0 = passStringToWasm0(record_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7456
+ const ptr0 = passStringToWasm0(record_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7319
7457
  const len0 = WASM_VECTOR_LEN;
7320
7458
  wasm.program_getRecordMembers(retptr, this.__wbg_ptr, ptr0, len0);
7321
7459
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -7382,7 +7520,7 @@ class Program {
7382
7520
  getStructMembers(struct_name) {
7383
7521
  try {
7384
7522
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7385
- const ptr0 = passStringToWasm0(struct_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7523
+ const ptr0 = passStringToWasm0(struct_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7386
7524
  const len0 = WASM_VECTOR_LEN;
7387
7525
  wasm.program_getStructMembers(retptr, this.__wbg_ptr, ptr0, len0);
7388
7526
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -7449,7 +7587,7 @@ class Program {
7449
7587
  getFunctionInputs(function_name) {
7450
7588
  try {
7451
7589
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7452
- const ptr0 = passStringToWasm0(function_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7590
+ const ptr0 = passStringToWasm0(function_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7453
7591
  const len0 = WASM_VECTOR_LEN;
7454
7592
  wasm.program_getFunctionInputs(retptr, this.__wbg_ptr, ptr0, len0);
7455
7593
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -7482,7 +7620,7 @@ class Program {
7482
7620
  return getStringFromWasm0(r0, r1);
7483
7621
  } finally {
7484
7622
  wasm.__wbindgen_add_to_stack_pointer(16);
7485
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
7623
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
7486
7624
  }
7487
7625
  }
7488
7626
  /**
@@ -7538,10 +7676,11 @@ class Program {
7538
7676
  return getStringFromWasm0(r0, r1);
7539
7677
  } finally {
7540
7678
  wasm.__wbindgen_add_to_stack_pointer(16);
7541
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
7679
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
7542
7680
  }
7543
7681
  }
7544
7682
  }
7683
+ if (Symbol.dispose) Program.prototype[Symbol.dispose] = Program.prototype.free;
7545
7684
 
7546
7685
  const ProgramManagerFinalization = (typeof FinalizationRegistry === 'undefined')
7547
7686
  ? { register: () => {}, unregister: () => {} }
@@ -7577,9 +7716,9 @@ class ProgramManager {
7577
7716
  */
7578
7717
  static synthesizeKeyPair(private_key, program, function_id, inputs, imports, edition) {
7579
7718
  _assertClass(private_key, PrivateKey);
7580
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7719
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7581
7720
  const len0 = WASM_VECTOR_LEN;
7582
- const ptr1 = passStringToWasm0(function_id, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7721
+ const ptr1 = passStringToWasm0(function_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7583
7722
  const len1 = WASM_VECTOR_LEN;
7584
7723
  const ret = wasm.programmanager_synthesizeKeyPair(private_key.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(inputs), isLikeNone(imports) ? 0 : addHeapObject(imports), isLikeNone(edition) ? 0xFFFFFF : edition);
7585
7724
  return takeObject(ret);
@@ -7623,9 +7762,9 @@ class ProgramManager {
7623
7762
  */
7624
7763
  static buildProvingRequest(private_key, program, function_name, inputs, base_fee_credits, priority_fee_credits, fee_record, imports, broadcast, unchecked, edition) {
7625
7764
  _assertClass(private_key, PrivateKey);
7626
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7765
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7627
7766
  const len0 = WASM_VECTOR_LEN;
7628
- const ptr1 = passStringToWasm0(function_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7767
+ const ptr1 = passStringToWasm0(function_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7629
7768
  const len1 = WASM_VECTOR_LEN;
7630
7769
  let ptr2 = 0;
7631
7770
  if (!isLikeNone(fee_record)) {
@@ -7674,7 +7813,7 @@ class ProgramManager {
7674
7813
  _assertClass(fee_record, RecordPlaintext);
7675
7814
  ptr2 = fee_record.__destroy_into_raw();
7676
7815
  }
7677
- var ptr3 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7816
+ var ptr3 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7678
7817
  var len3 = WASM_VECTOR_LEN;
7679
7818
  let ptr4 = 0;
7680
7819
  if (!isLikeNone(join_proving_key)) {
@@ -7728,7 +7867,7 @@ class ProgramManager {
7728
7867
  _assertClass(private_key, PrivateKey);
7729
7868
  _assertClass(amount_record, RecordPlaintext);
7730
7869
  var ptr0 = amount_record.__destroy_into_raw();
7731
- var ptr1 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7870
+ var ptr1 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7732
7871
  var len1 = WASM_VECTOR_LEN;
7733
7872
  let ptr2 = 0;
7734
7873
  if (!isLikeNone(split_proving_key)) {
@@ -7777,14 +7916,14 @@ class ProgramManager {
7777
7916
  */
7778
7917
  static buildDevnodeDeploymentTransaction(private_key, program, priority_fee_credits, fee_record, url, imports) {
7779
7918
  _assertClass(private_key, PrivateKey);
7780
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7919
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7781
7920
  const len0 = WASM_VECTOR_LEN;
7782
7921
  let ptr1 = 0;
7783
7922
  if (!isLikeNone(fee_record)) {
7784
7923
  _assertClass(fee_record, RecordPlaintext);
7785
7924
  ptr1 = fee_record.__destroy_into_raw();
7786
7925
  }
7787
- var ptr2 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7926
+ var ptr2 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7788
7927
  var len2 = WASM_VECTOR_LEN;
7789
7928
  const ret = wasm.programmanager_buildDevnodeDeploymentTransaction(private_key.__wbg_ptr, ptr0, len0, priority_fee_credits, ptr1, ptr2, len2, isLikeNone(imports) ? 0 : addHeapObject(imports));
7790
7929
  return takeObject(ret);
@@ -7818,14 +7957,14 @@ class ProgramManager {
7818
7957
  */
7819
7958
  static buildDevnodeUpgradeTransaction(private_key, program, priority_fee_credits, fee_record, url, imports) {
7820
7959
  _assertClass(private_key, PrivateKey);
7821
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7960
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7822
7961
  const len0 = WASM_VECTOR_LEN;
7823
7962
  let ptr1 = 0;
7824
7963
  if (!isLikeNone(fee_record)) {
7825
7964
  _assertClass(fee_record, RecordPlaintext);
7826
7965
  ptr1 = fee_record.__destroy_into_raw();
7827
7966
  }
7828
- var ptr2 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7967
+ var ptr2 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7829
7968
  var len2 = WASM_VECTOR_LEN;
7830
7969
  const ret = wasm.programmanager_buildDevnodeUpgradeTransaction(private_key.__wbg_ptr, ptr0, len0, priority_fee_credits, ptr1, ptr2, len2, isLikeNone(imports) ? 0 : addHeapObject(imports));
7831
7970
  return takeObject(ret);
@@ -7845,7 +7984,7 @@ class ProgramManager {
7845
7984
  static estimateProgramNameCost(name) {
7846
7985
  try {
7847
7986
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7848
- const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
7987
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7849
7988
  const len0 = WASM_VECTOR_LEN;
7850
7989
  wasm.programmanager_estimateProgramNameCost(retptr, ptr0, len0);
7851
7990
  var r0 = getDataViewMemory0().getBigInt64(retptr + 8 * 0, true);
@@ -7874,7 +8013,7 @@ class ProgramManager {
7874
8013
  * @returns {Promise<bigint>}
7875
8014
  */
7876
8015
  static estimateDeploymentFee(program, imports) {
7877
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8016
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7878
8017
  const len0 = WASM_VECTOR_LEN;
7879
8018
  const ret = wasm.programmanager_estimateDeploymentFee(ptr0, len0, isLikeNone(imports) ? 0 : addHeapObject(imports));
7880
8019
  return takeObject(ret);
@@ -7910,14 +8049,14 @@ class ProgramManager {
7910
8049
  */
7911
8050
  static buildDeploymentTransaction(private_key, program, priority_fee_credits, fee_record, url, imports, fee_proving_key, fee_verifying_key, offline_query) {
7912
8051
  _assertClass(private_key, PrivateKey);
7913
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8052
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7914
8053
  const len0 = WASM_VECTOR_LEN;
7915
8054
  let ptr1 = 0;
7916
8055
  if (!isLikeNone(fee_record)) {
7917
8056
  _assertClass(fee_record, RecordPlaintext);
7918
8057
  ptr1 = fee_record.__destroy_into_raw();
7919
8058
  }
7920
- var ptr2 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8059
+ var ptr2 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7921
8060
  var len2 = WASM_VECTOR_LEN;
7922
8061
  let ptr3 = 0;
7923
8062
  if (!isLikeNone(fee_proving_key)) {
@@ -7966,14 +8105,14 @@ class ProgramManager {
7966
8105
  */
7967
8106
  static buildUpgradeTransaction(private_key, program, priority_fee_credits, fee_record, url, imports, fee_proving_key, fee_verifying_key, offline_query) {
7968
8107
  _assertClass(private_key, PrivateKey);
7969
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8108
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7970
8109
  const len0 = WASM_VECTOR_LEN;
7971
8110
  let ptr1 = 0;
7972
8111
  if (!isLikeNone(fee_record)) {
7973
8112
  _assertClass(fee_record, RecordPlaintext);
7974
8113
  ptr1 = fee_record.__destroy_into_raw();
7975
8114
  }
7976
- var ptr2 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8115
+ var ptr2 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
7977
8116
  var len2 = WASM_VECTOR_LEN;
7978
8117
  let ptr3 = 0;
7979
8118
  if (!isLikeNone(fee_proving_key)) {
@@ -8031,16 +8170,16 @@ class ProgramManager {
8031
8170
  */
8032
8171
  static buildDevnodeExecutionTransaction(private_key, program, _function, inputs, priority_fee_credits, fee_record, url, imports, edition) {
8033
8172
  _assertClass(private_key, PrivateKey);
8034
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8173
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8035
8174
  const len0 = WASM_VECTOR_LEN;
8036
- const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8175
+ const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8037
8176
  const len1 = WASM_VECTOR_LEN;
8038
8177
  let ptr2 = 0;
8039
8178
  if (!isLikeNone(fee_record)) {
8040
8179
  _assertClass(fee_record, RecordPlaintext);
8041
8180
  ptr2 = fee_record.__destroy_into_raw();
8042
8181
  }
8043
- var ptr3 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8182
+ var ptr3 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8044
8183
  var len3 = WASM_VECTOR_LEN;
8045
8184
  const ret = wasm.programmanager_buildDevnodeExecutionTransaction(private_key.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(inputs), priority_fee_credits, ptr2, ptr3, len3, isLikeNone(imports) ? 0 : addHeapObject(imports), isLikeNone(edition) ? 0xFFFFFF : edition);
8046
8185
  return takeObject(ret);
@@ -8062,9 +8201,9 @@ class ProgramManager {
8062
8201
  static estimateFinalizeFee(program, _function) {
8063
8202
  try {
8064
8203
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8065
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8204
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8066
8205
  const len0 = WASM_VECTOR_LEN;
8067
- const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8206
+ const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8068
8207
  const len1 = WASM_VECTOR_LEN;
8069
8208
  wasm.programmanager_estimateFinalizeFee(retptr, ptr0, len0, ptr1, len1);
8070
8209
  var r0 = getDataViewMemory0().getBigInt64(retptr + 8 * 0, true);
@@ -8107,7 +8246,7 @@ class ProgramManager {
8107
8246
  _assertClass(fee_authorization, Authorization);
8108
8247
  ptr1 = fee_authorization.__destroy_into_raw();
8109
8248
  }
8110
- const ptr2 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8249
+ const ptr2 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8111
8250
  const len2 = WASM_VECTOR_LEN;
8112
8251
  let ptr3 = 0;
8113
8252
  if (!isLikeNone(proving_key)) {
@@ -8129,7 +8268,7 @@ class ProgramManager {
8129
8268
  _assertClass(fee_verifying_key, VerifyingKey);
8130
8269
  ptr6 = fee_verifying_key.__destroy_into_raw();
8131
8270
  }
8132
- var ptr7 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8271
+ var ptr7 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8133
8272
  var len7 = WASM_VECTOR_LEN;
8134
8273
  let ptr8 = 0;
8135
8274
  if (!isLikeNone(offline_query)) {
@@ -8160,9 +8299,9 @@ class ProgramManager {
8160
8299
  static estimateExecutionFee(program, _function, imports, edition) {
8161
8300
  try {
8162
8301
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8163
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8302
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8164
8303
  const len0 = WASM_VECTOR_LEN;
8165
- const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8304
+ const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8166
8305
  const len1 = WASM_VECTOR_LEN;
8167
8306
  wasm.programmanager_estimateExecutionFee(retptr, ptr0, len0, ptr1, len1, isLikeNone(imports) ? 0 : addHeapObject(imports), isLikeNone(edition) ? 0xFFFFFF : edition);
8168
8307
  var r0 = getDataViewMemory0().getBigInt64(retptr + 8 * 0, true);
@@ -8211,9 +8350,9 @@ class ProgramManager {
8211
8350
  */
8212
8351
  static executeFunctionOffline(private_key, program, _function, inputs, prove_execution, cache, imports, proving_key, verifying_key, url, offline_query, edition) {
8213
8352
  _assertClass(private_key, PrivateKey);
8214
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8353
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8215
8354
  const len0 = WASM_VECTOR_LEN;
8216
- const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8355
+ const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8217
8356
  const len1 = WASM_VECTOR_LEN;
8218
8357
  let ptr2 = 0;
8219
8358
  if (!isLikeNone(proving_key)) {
@@ -8225,7 +8364,7 @@ class ProgramManager {
8225
8364
  _assertClass(verifying_key, VerifyingKey);
8226
8365
  ptr3 = verifying_key.__destroy_into_raw();
8227
8366
  }
8228
- var ptr4 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8367
+ var ptr4 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8229
8368
  var len4 = WASM_VECTOR_LEN;
8230
8369
  let ptr5 = 0;
8231
8370
  if (!isLikeNone(offline_query)) {
@@ -8257,7 +8396,7 @@ class ProgramManager {
8257
8396
  try {
8258
8397
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8259
8398
  _assertClass(authorization, Authorization);
8260
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8399
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8261
8400
  const len0 = WASM_VECTOR_LEN;
8262
8401
  wasm.programmanager_estimateFeeForAuthorization(retptr, authorization.__wbg_ptr, ptr0, len0, isLikeNone(imports) ? 0 : addHeapObject(imports), isLikeNone(edition) ? 0xFFFFFF : edition);
8263
8402
  var r0 = getDataViewMemory0().getBigInt64(retptr + 8 * 0, true);
@@ -8313,16 +8452,16 @@ class ProgramManager {
8313
8452
  */
8314
8453
  static buildExecutionTransaction(private_key, program, _function, inputs, priority_fee_credits, fee_record, url, imports, proving_key, verifying_key, fee_proving_key, fee_verifying_key, offline_query, edition) {
8315
8454
  _assertClass(private_key, PrivateKey);
8316
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8455
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8317
8456
  const len0 = WASM_VECTOR_LEN;
8318
- const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8457
+ const ptr1 = passStringToWasm0(_function, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8319
8458
  const len1 = WASM_VECTOR_LEN;
8320
8459
  let ptr2 = 0;
8321
8460
  if (!isLikeNone(fee_record)) {
8322
8461
  _assertClass(fee_record, RecordPlaintext);
8323
8462
  ptr2 = fee_record.__destroy_into_raw();
8324
8463
  }
8325
- var ptr3 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8464
+ var ptr3 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8326
8465
  var len3 = WASM_VECTOR_LEN;
8327
8466
  let ptr4 = 0;
8328
8467
  if (!isLikeNone(proving_key)) {
@@ -8385,9 +8524,9 @@ class ProgramManager {
8385
8524
  */
8386
8525
  static buildTransferTransaction(private_key, amount_credits, recipient, transfer_type, amount_record, priority_fee_credits, fee_record, url, transfer_proving_key, transfer_verifying_key, fee_proving_key, fee_verifying_key, offline_query) {
8387
8526
  _assertClass(private_key, PrivateKey);
8388
- const ptr0 = passStringToWasm0(recipient, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8527
+ const ptr0 = passStringToWasm0(recipient, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8389
8528
  const len0 = WASM_VECTOR_LEN;
8390
- const ptr1 = passStringToWasm0(transfer_type, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8529
+ const ptr1 = passStringToWasm0(transfer_type, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8391
8530
  const len1 = WASM_VECTOR_LEN;
8392
8531
  let ptr2 = 0;
8393
8532
  if (!isLikeNone(amount_record)) {
@@ -8399,7 +8538,7 @@ class ProgramManager {
8399
8538
  _assertClass(fee_record, RecordPlaintext);
8400
8539
  ptr3 = fee_record.__destroy_into_raw();
8401
8540
  }
8402
- var ptr4 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8541
+ var ptr4 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8403
8542
  var len4 = WASM_VECTOR_LEN;
8404
8543
  let ptr5 = 0;
8405
8544
  if (!isLikeNone(transfer_proving_key)) {
@@ -8449,7 +8588,7 @@ class ProgramManager {
8449
8588
  */
8450
8589
  static authorizeFee(private_key, deployment_or_execution_id, base_fee_credits, priority_fee_credits, fee_record) {
8451
8590
  _assertClass(private_key, PrivateKey);
8452
- const ptr0 = passStringToWasm0(deployment_or_execution_id, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8591
+ const ptr0 = passStringToWasm0(deployment_or_execution_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8453
8592
  const len0 = WASM_VECTOR_LEN;
8454
8593
  let ptr1 = 0;
8455
8594
  if (!isLikeNone(fee_record)) {
@@ -8478,9 +8617,9 @@ class ProgramManager {
8478
8617
  */
8479
8618
  static buildAuthorizationUnchecked(private_key, program, function_name, inputs, imports, edition) {
8480
8619
  _assertClass(private_key, PrivateKey);
8481
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8620
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8482
8621
  const len0 = WASM_VECTOR_LEN;
8483
- const ptr1 = passStringToWasm0(function_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8622
+ const ptr1 = passStringToWasm0(function_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8484
8623
  const len1 = WASM_VECTOR_LEN;
8485
8624
  const ret = wasm.programmanager_buildAuthorizationUnchecked(private_key.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(inputs), isLikeNone(imports) ? 0 : addHeapObject(imports), isLikeNone(edition) ? 0xFFFFFF : edition);
8486
8625
  return takeObject(ret);
@@ -8503,14 +8642,15 @@ class ProgramManager {
8503
8642
  */
8504
8643
  static authorize(private_key, program, function_name, inputs, imports, edition) {
8505
8644
  _assertClass(private_key, PrivateKey);
8506
- const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8645
+ const ptr0 = passStringToWasm0(program, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8507
8646
  const len0 = WASM_VECTOR_LEN;
8508
- const ptr1 = passStringToWasm0(function_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8647
+ const ptr1 = passStringToWasm0(function_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8509
8648
  const len1 = WASM_VECTOR_LEN;
8510
8649
  const ret = wasm.programmanager_authorize(private_key.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(inputs), isLikeNone(imports) ? 0 : addHeapObject(imports), isLikeNone(edition) ? 0xFFFFFF : edition);
8511
8650
  return takeObject(ret);
8512
8651
  }
8513
8652
  }
8653
+ if (Symbol.dispose) ProgramManager.prototype[Symbol.dispose] = ProgramManager.prototype.free;
8514
8654
 
8515
8655
  const ProvingKeyFinalization = (typeof FinalizationRegistry === 'undefined')
8516
8656
  ? { register: () => {}, unregister: () => {} }
@@ -8550,7 +8690,7 @@ class ProvingKey {
8550
8690
  static fromBytes(bytes) {
8551
8691
  try {
8552
8692
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8553
- const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export_3);
8693
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export);
8554
8694
  const len0 = WASM_VECTOR_LEN;
8555
8695
  wasm.provingkey_fromBytes(retptr, ptr0, len0);
8556
8696
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -8574,7 +8714,7 @@ class ProvingKey {
8574
8714
  static fromString(string) {
8575
8715
  try {
8576
8716
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8577
- const ptr0 = passStringToWasm0(string, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
8717
+ const ptr0 = passStringToWasm0(string, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8578
8718
  const len0 = WASM_VECTOR_LEN;
8579
8719
  wasm.provingkey_fromString(retptr, ptr0, len0);
8580
8720
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -8617,7 +8757,7 @@ class ProvingKey {
8617
8757
  return getStringFromWasm0(r0, r1);
8618
8758
  } finally {
8619
8759
  wasm.__wbindgen_add_to_stack_pointer(16);
8620
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
8760
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
8621
8761
  }
8622
8762
  }
8623
8763
  /**
@@ -8638,7 +8778,7 @@ class ProvingKey {
8638
8778
  throw takeObject(r2);
8639
8779
  }
8640
8780
  var v1 = getArrayU8FromWasm0(r0, r1).slice();
8641
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
8781
+ wasm.__wbindgen_export4(r0, r1 * 1, 1);
8642
8782
  return v1;
8643
8783
  } finally {
8644
8784
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -8663,7 +8803,7 @@ class ProvingKey {
8663
8803
  return getStringFromWasm0(r0, r1);
8664
8804
  } finally {
8665
8805
  wasm.__wbindgen_add_to_stack_pointer(16);
8666
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
8806
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
8667
8807
  }
8668
8808
  }
8669
8809
  /**
@@ -8877,6 +9017,7 @@ class ProvingKey {
8877
9017
  return ret !== 0;
8878
9018
  }
8879
9019
  }
9020
+ if (Symbol.dispose) ProvingKey.prototype[Symbol.dispose] = ProvingKey.prototype.free;
8880
9021
 
8881
9022
  const ProvingRequestFinalization = (typeof FinalizationRegistry === 'undefined')
8882
9023
  ? { register: () => {}, unregister: () => {} }
@@ -8915,7 +9056,7 @@ class ProvingRequest {
8915
9056
  static fromString(request) {
8916
9057
  try {
8917
9058
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8918
- const ptr0 = passStringToWasm0(request, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9059
+ const ptr0 = passStringToWasm0(request, wasm.__wbindgen_export, wasm.__wbindgen_export2);
8919
9060
  const len0 = WASM_VECTOR_LEN;
8920
9061
  wasm.provingrequest_fromString(retptr, ptr0, len0);
8921
9062
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -9043,10 +9184,11 @@ class ProvingRequest {
9043
9184
  return getStringFromWasm0(r0, r1);
9044
9185
  } finally {
9045
9186
  wasm.__wbindgen_add_to_stack_pointer(16);
9046
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
9187
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
9047
9188
  }
9048
9189
  }
9049
9190
  }
9191
+ if (Symbol.dispose) ProvingRequest.prototype[Symbol.dispose] = ProvingRequest.prototype.free;
9050
9192
 
9051
9193
  const RecordCiphertextFinalization = (typeof FinalizationRegistry === 'undefined')
9052
9194
  ? { register: () => {}, unregister: () => {} }
@@ -9103,7 +9245,7 @@ class RecordCiphertext {
9103
9245
  static fromString(record) {
9104
9246
  try {
9105
9247
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9106
- const ptr0 = passStringToWasm0(record, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9248
+ const ptr0 = passStringToWasm0(record, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9107
9249
  const len0 = WASM_VECTOR_LEN;
9108
9250
  wasm.recordciphertext_fromString(retptr, ptr0, len0);
9109
9251
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -9330,10 +9472,11 @@ class RecordCiphertext {
9330
9472
  return getStringFromWasm0(r0, r1);
9331
9473
  } finally {
9332
9474
  wasm.__wbindgen_add_to_stack_pointer(16);
9333
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
9475
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
9334
9476
  }
9335
9477
  }
9336
9478
  }
9479
+ if (Symbol.dispose) RecordCiphertext.prototype[Symbol.dispose] = RecordCiphertext.prototype.free;
9337
9480
 
9338
9481
  const RecordPlaintextFinalization = (typeof FinalizationRegistry === 'undefined')
9339
9482
  ? { register: () => {}, unregister: () => {} }
@@ -9371,11 +9514,11 @@ class RecordPlaintext {
9371
9514
  commitment(program_id, record_name, record_view_key) {
9372
9515
  try {
9373
9516
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9374
- const ptr0 = passStringToWasm0(program_id, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9517
+ const ptr0 = passStringToWasm0(program_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9375
9518
  const len0 = WASM_VECTOR_LEN;
9376
- const ptr1 = passStringToWasm0(record_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9519
+ const ptr1 = passStringToWasm0(record_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9377
9520
  const len1 = WASM_VECTOR_LEN;
9378
- const ptr2 = passStringToWasm0(record_view_key, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9521
+ const ptr2 = passStringToWasm0(record_view_key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9379
9522
  const len2 = WASM_VECTOR_LEN;
9380
9523
  wasm.recordplaintext_commitment(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
9381
9524
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -9401,7 +9544,7 @@ class RecordPlaintext {
9401
9544
  getMember(input) {
9402
9545
  try {
9403
9546
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9404
- const ptr0 = passStringToWasm0(input, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9547
+ const ptr0 = passStringToWasm0(input, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9405
9548
  const len0 = WASM_VECTOR_LEN;
9406
9549
  wasm.recordplaintext_getMember(retptr, this.__wbg_ptr, ptr0, len0);
9407
9550
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -9437,7 +9580,7 @@ class RecordPlaintext {
9437
9580
  static fromString(record) {
9438
9581
  try {
9439
9582
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9440
- const ptr0 = passStringToWasm0(record, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9583
+ const ptr0 = passStringToWasm0(record, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9441
9584
  const len0 = WASM_VECTOR_LEN;
9442
9585
  wasm.recordplaintext_fromString(retptr, ptr0, len0);
9443
9586
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -9637,11 +9780,11 @@ class RecordPlaintext {
9637
9780
  try {
9638
9781
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9639
9782
  _assertClass(private_key, PrivateKey);
9640
- const ptr0 = passStringToWasm0(program_id, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9783
+ const ptr0 = passStringToWasm0(program_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9641
9784
  const len0 = WASM_VECTOR_LEN;
9642
- const ptr1 = passStringToWasm0(record_name, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9785
+ const ptr1 = passStringToWasm0(record_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9643
9786
  const len1 = WASM_VECTOR_LEN;
9644
- const ptr2 = passStringToWasm0(record_view_key, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9787
+ const ptr2 = passStringToWasm0(record_view_key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9645
9788
  const len2 = WASM_VECTOR_LEN;
9646
9789
  wasm.recordplaintext_serialNumberString(retptr, this.__wbg_ptr, private_key.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
9647
9790
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -9659,7 +9802,7 @@ class RecordPlaintext {
9659
9802
  return getStringFromWasm0(ptr4, len4);
9660
9803
  } finally {
9661
9804
  wasm.__wbindgen_add_to_stack_pointer(16);
9662
- wasm.__wbindgen_export_2(deferred5_0, deferred5_1, 1);
9805
+ wasm.__wbindgen_export4(deferred5_0, deferred5_1, 1);
9663
9806
  }
9664
9807
  }
9665
9808
  /**
@@ -9715,7 +9858,7 @@ class RecordPlaintext {
9715
9858
  return getStringFromWasm0(r0, r1);
9716
9859
  } finally {
9717
9860
  wasm.__wbindgen_add_to_stack_pointer(16);
9718
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
9861
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
9719
9862
  }
9720
9863
  }
9721
9864
  /**
@@ -9777,10 +9920,11 @@ class RecordPlaintext {
9777
9920
  return getStringFromWasm0(r0, r1);
9778
9921
  } finally {
9779
9922
  wasm.__wbindgen_add_to_stack_pointer(16);
9780
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
9923
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
9781
9924
  }
9782
9925
  }
9783
9926
  }
9927
+ if (Symbol.dispose) RecordPlaintext.prototype[Symbol.dispose] = RecordPlaintext.prototype.free;
9784
9928
 
9785
9929
  const ScalarFinalization = (typeof FinalizationRegistry === 'undefined')
9786
9930
  ? { register: () => {}, unregister: () => {} }
@@ -9825,7 +9969,7 @@ class Scalar {
9825
9969
  static fromString(group) {
9826
9970
  try {
9827
9971
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9828
- const ptr0 = passStringToWasm0(group, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
9972
+ const ptr0 = passStringToWasm0(group, wasm.__wbindgen_export, wasm.__wbindgen_export2);
9829
9973
  const len0 = WASM_VECTOR_LEN;
9830
9974
  wasm.scalar_fromString(retptr, ptr0, len0);
9831
9975
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -10052,10 +10196,11 @@ class Scalar {
10052
10196
  return getStringFromWasm0(r0, r1);
10053
10197
  } finally {
10054
10198
  wasm.__wbindgen_add_to_stack_pointer(16);
10055
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
10199
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
10056
10200
  }
10057
10201
  }
10058
10202
  }
10203
+ if (Symbol.dispose) Scalar.prototype[Symbol.dispose] = Scalar.prototype.free;
10059
10204
 
10060
10205
  const SignatureFinalization = (typeof FinalizationRegistry === 'undefined')
10061
10206
  ? { register: () => {}, unregister: () => {} }
@@ -10098,7 +10243,7 @@ class Signature {
10098
10243
  try {
10099
10244
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10100
10245
  _assertClass(private_key, PrivateKey);
10101
- const ptr0 = passStringToWasm0(message, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
10246
+ const ptr0 = passStringToWasm0(message, wasm.__wbindgen_export, wasm.__wbindgen_export2);
10102
10247
  const len0 = WASM_VECTOR_LEN;
10103
10248
  wasm.signature_signValue(retptr, private_key.__wbg_ptr, ptr0, len0);
10104
10249
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -10139,7 +10284,7 @@ class Signature {
10139
10284
  * @returns {Signature}
10140
10285
  */
10141
10286
  static from_string(signature) {
10142
- const ptr0 = passStringToWasm0(signature, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
10287
+ const ptr0 = passStringToWasm0(signature, wasm.__wbindgen_export, wasm.__wbindgen_export2);
10143
10288
  const len0 = WASM_VECTOR_LEN;
10144
10289
  const ret = wasm.signature_from_string(ptr0, len0);
10145
10290
  return Signature.__wrap(ret);
@@ -10209,7 +10354,7 @@ class Signature {
10209
10354
  try {
10210
10355
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10211
10356
  _assertClass(address, Address);
10212
- const ptr0 = passStringToWasm0(message, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
10357
+ const ptr0 = passStringToWasm0(message, wasm.__wbindgen_export, wasm.__wbindgen_export2);
10213
10358
  const len0 = WASM_VECTOR_LEN;
10214
10359
  wasm.signature_verifyValue(retptr, this.__wbg_ptr, address.__wbg_ptr, ptr0, len0);
10215
10360
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -10259,7 +10404,7 @@ class Signature {
10259
10404
  */
10260
10405
  static sign(private_key, message) {
10261
10406
  _assertClass(private_key, PrivateKey);
10262
- const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_export_3);
10407
+ const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_export);
10263
10408
  const len0 = WASM_VECTOR_LEN;
10264
10409
  const ret = wasm.signature_sign(private_key.__wbg_ptr, ptr0, len0);
10265
10410
  return Signature.__wrap(ret);
@@ -10276,7 +10421,7 @@ class Signature {
10276
10421
  */
10277
10422
  verify(address, message) {
10278
10423
  _assertClass(address, Address);
10279
- const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_export_3);
10424
+ const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_export);
10280
10425
  const len0 = WASM_VECTOR_LEN;
10281
10426
  const ret = wasm.signature_verify(this.__wbg_ptr, address.__wbg_ptr, ptr0, len0);
10282
10427
  return ret !== 0;
@@ -10335,10 +10480,11 @@ class Signature {
10335
10480
  return getStringFromWasm0(r0, r1);
10336
10481
  } finally {
10337
10482
  wasm.__wbindgen_add_to_stack_pointer(16);
10338
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
10483
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
10339
10484
  }
10340
10485
  }
10341
10486
  }
10487
+ if (Symbol.dispose) Signature.prototype[Symbol.dispose] = Signature.prototype.free;
10342
10488
 
10343
10489
  const TransactionFinalization = (typeof FinalizationRegistry === 'undefined')
10344
10490
  ? { register: () => {}, unregister: () => {} }
@@ -10409,7 +10555,7 @@ class Transaction {
10409
10555
  static fromString(transaction) {
10410
10556
  try {
10411
10557
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10412
- const ptr0 = passStringToWasm0(transaction, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
10558
+ const ptr0 = passStringToWasm0(transaction, wasm.__wbindgen_export, wasm.__wbindgen_export2);
10413
10559
  const len0 = WASM_VECTOR_LEN;
10414
10560
  wasm.transaction_fromString(retptr, ptr0, len0);
10415
10561
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -10539,7 +10685,7 @@ class Transaction {
10539
10685
  return getStringFromWasm0(r0, r1);
10540
10686
  } finally {
10541
10687
  wasm.__wbindgen_add_to_stack_pointer(16);
10542
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
10688
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
10543
10689
  }
10544
10690
  }
10545
10691
  /**
@@ -10599,7 +10745,7 @@ class Transaction {
10599
10745
  return getStringFromWasm0(r0, r1);
10600
10746
  } finally {
10601
10747
  wasm.__wbindgen_add_to_stack_pointer(16);
10602
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
10748
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
10603
10749
  }
10604
10750
  }
10605
10751
  /**
@@ -10682,10 +10828,11 @@ class Transaction {
10682
10828
  return getStringFromWasm0(r0, r1);
10683
10829
  } finally {
10684
10830
  wasm.__wbindgen_add_to_stack_pointer(16);
10685
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
10831
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
10686
10832
  }
10687
10833
  }
10688
10834
  }
10835
+ if (Symbol.dispose) Transaction.prototype[Symbol.dispose] = Transaction.prototype.free;
10689
10836
 
10690
10837
  const TransitionFinalization = (typeof FinalizationRegistry === 'undefined')
10691
10838
  ? { register: () => {}, unregister: () => {} }
@@ -10729,7 +10876,7 @@ class Transition {
10729
10876
  return getStringFromWasm0(r0, r1);
10730
10877
  } finally {
10731
10878
  wasm.__wbindgen_add_to_stack_pointer(16);
10732
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
10879
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
10733
10880
  }
10734
10881
  }
10735
10882
  /**
@@ -10753,7 +10900,7 @@ class Transition {
10753
10900
  static fromString(transition) {
10754
10901
  try {
10755
10902
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10756
- const ptr0 = passStringToWasm0(transition, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
10903
+ const ptr0 = passStringToWasm0(transition, wasm.__wbindgen_export, wasm.__wbindgen_export2);
10757
10904
  const len0 = WASM_VECTOR_LEN;
10758
10905
  wasm.transition_fromString(retptr, ptr0, len0);
10759
10906
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -10828,7 +10975,7 @@ class Transition {
10828
10975
  return getStringFromWasm0(r0, r1);
10829
10976
  } finally {
10830
10977
  wasm.__wbindgen_add_to_stack_pointer(16);
10831
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
10978
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
10832
10979
  }
10833
10980
  }
10834
10981
  /**
@@ -10915,7 +11062,7 @@ class Transition {
10915
11062
  return getStringFromWasm0(r0, r1);
10916
11063
  } finally {
10917
11064
  wasm.__wbindgen_add_to_stack_pointer(16);
10918
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
11065
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
10919
11066
  }
10920
11067
  }
10921
11068
  /**
@@ -11020,10 +11167,11 @@ class Transition {
11020
11167
  return getStringFromWasm0(r0, r1);
11021
11168
  } finally {
11022
11169
  wasm.__wbindgen_add_to_stack_pointer(16);
11023
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
11170
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
11024
11171
  }
11025
11172
  }
11026
11173
  }
11174
+ if (Symbol.dispose) Transition.prototype[Symbol.dispose] = Transition.prototype.free;
11027
11175
 
11028
11176
  const U128Finalization = (typeof FinalizationRegistry === 'undefined')
11029
11177
  ? { register: () => {}, unregister: () => {} }
@@ -11123,7 +11271,7 @@ class U128 {
11123
11271
  static fromFields(fields) {
11124
11272
  try {
11125
11273
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11126
- wasm.u128_fromFields(retptr, addHeapObject(fields));
11274
+ wasm.i128_fromFields(retptr, addHeapObject(fields));
11127
11275
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11128
11276
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
11129
11277
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -11143,7 +11291,7 @@ class U128 {
11143
11291
  static fromString(s) {
11144
11292
  try {
11145
11293
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11146
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
11294
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
11147
11295
  const len0 = WASM_VECTOR_LEN;
11148
11296
  wasm.u128_fromString(retptr, ptr0, len0);
11149
11297
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -11347,10 +11495,11 @@ class U128 {
11347
11495
  return getStringFromWasm0(r0, r1);
11348
11496
  } finally {
11349
11497
  wasm.__wbindgen_add_to_stack_pointer(16);
11350
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
11498
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
11351
11499
  }
11352
11500
  }
11353
11501
  }
11502
+ if (Symbol.dispose) U128.prototype[Symbol.dispose] = U128.prototype.free;
11354
11503
 
11355
11504
  const U16Finalization = (typeof FinalizationRegistry === 'undefined')
11356
11505
  ? { register: () => {}, unregister: () => {} }
@@ -11470,7 +11619,7 @@ class U16 {
11470
11619
  static fromString(s) {
11471
11620
  try {
11472
11621
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11473
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
11622
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
11474
11623
  const len0 = WASM_VECTOR_LEN;
11475
11624
  wasm.u16_fromString(retptr, ptr0, len0);
11476
11625
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -11674,10 +11823,11 @@ class U16 {
11674
11823
  return getStringFromWasm0(r0, r1);
11675
11824
  } finally {
11676
11825
  wasm.__wbindgen_add_to_stack_pointer(16);
11677
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
11826
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
11678
11827
  }
11679
11828
  }
11680
11829
  }
11830
+ if (Symbol.dispose) U16.prototype[Symbol.dispose] = U16.prototype.free;
11681
11831
 
11682
11832
  const U32Finalization = (typeof FinalizationRegistry === 'undefined')
11683
11833
  ? { register: () => {}, unregister: () => {} }
@@ -11797,7 +11947,7 @@ class U32 {
11797
11947
  static fromString(s) {
11798
11948
  try {
11799
11949
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11800
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
11950
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
11801
11951
  const len0 = WASM_VECTOR_LEN;
11802
11952
  wasm.u32_fromString(retptr, ptr0, len0);
11803
11953
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -12001,10 +12151,11 @@ class U32 {
12001
12151
  return getStringFromWasm0(r0, r1);
12002
12152
  } finally {
12003
12153
  wasm.__wbindgen_add_to_stack_pointer(16);
12004
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
12154
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
12005
12155
  }
12006
12156
  }
12007
12157
  }
12158
+ if (Symbol.dispose) U32.prototype[Symbol.dispose] = U32.prototype.free;
12008
12159
 
12009
12160
  const U64Finalization = (typeof FinalizationRegistry === 'undefined')
12010
12161
  ? { register: () => {}, unregister: () => {} }
@@ -12124,7 +12275,7 @@ class U64 {
12124
12275
  static fromString(s) {
12125
12276
  try {
12126
12277
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12127
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
12278
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
12128
12279
  const len0 = WASM_VECTOR_LEN;
12129
12280
  wasm.u64_fromString(retptr, ptr0, len0);
12130
12281
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -12328,10 +12479,11 @@ class U64 {
12328
12479
  return getStringFromWasm0(r0, r1);
12329
12480
  } finally {
12330
12481
  wasm.__wbindgen_add_to_stack_pointer(16);
12331
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
12482
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
12332
12483
  }
12333
12484
  }
12334
12485
  }
12486
+ if (Symbol.dispose) U64.prototype[Symbol.dispose] = U64.prototype.free;
12335
12487
 
12336
12488
  const U8Finalization = (typeof FinalizationRegistry === 'undefined')
12337
12489
  ? { register: () => {}, unregister: () => {} }
@@ -12451,7 +12603,7 @@ class U8 {
12451
12603
  static fromString(s) {
12452
12604
  try {
12453
12605
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12454
- const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
12606
+ const ptr0 = passStringToWasm0(s, wasm.__wbindgen_export, wasm.__wbindgen_export2);
12455
12607
  const len0 = WASM_VECTOR_LEN;
12456
12608
  wasm.u8_fromString(retptr, ptr0, len0);
12457
12609
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -12655,10 +12807,11 @@ class U8 {
12655
12807
  return getStringFromWasm0(r0, r1);
12656
12808
  } finally {
12657
12809
  wasm.__wbindgen_add_to_stack_pointer(16);
12658
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
12810
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
12659
12811
  }
12660
12812
  }
12661
12813
  }
12814
+ if (Symbol.dispose) U8.prototype[Symbol.dispose] = U8.prototype.free;
12662
12815
 
12663
12816
  const VerifyingKeyFinalization = (typeof FinalizationRegistry === 'undefined')
12664
12817
  ? { register: () => {}, unregister: () => {} }
@@ -12698,7 +12851,7 @@ class VerifyingKey {
12698
12851
  static fromBytes(bytes) {
12699
12852
  try {
12700
12853
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12701
- const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export_3);
12854
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export);
12702
12855
  const len0 = WASM_VECTOR_LEN;
12703
12856
  wasm.verifyingkey_fromBytes(retptr, ptr0, len0);
12704
12857
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -12723,7 +12876,7 @@ class VerifyingKey {
12723
12876
  static fromString(string) {
12724
12877
  try {
12725
12878
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12726
- const ptr0 = passStringToWasm0(string, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
12879
+ const ptr0 = passStringToWasm0(string, wasm.__wbindgen_export, wasm.__wbindgen_export2);
12727
12880
  const len0 = WASM_VECTOR_LEN;
12728
12881
  wasm.verifyingkey_fromString(retptr, ptr0, len0);
12729
12882
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -12776,7 +12929,7 @@ class VerifyingKey {
12776
12929
  return getStringFromWasm0(r0, r1);
12777
12930
  } finally {
12778
12931
  wasm.__wbindgen_add_to_stack_pointer(16);
12779
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
12932
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
12780
12933
  }
12781
12934
  }
12782
12935
  /**
@@ -12797,7 +12950,7 @@ class VerifyingKey {
12797
12950
  throw takeObject(r2);
12798
12951
  }
12799
12952
  var v1 = getArrayU8FromWasm0(r0, r1).slice();
12800
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
12953
+ wasm.__wbindgen_export4(r0, r1 * 1, 1);
12801
12954
  return v1;
12802
12955
  } finally {
12803
12956
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -12822,7 +12975,7 @@ class VerifyingKey {
12822
12975
  return getStringFromWasm0(r0, r1);
12823
12976
  } finally {
12824
12977
  wasm.__wbindgen_add_to_stack_pointer(16);
12825
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
12978
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
12826
12979
  }
12827
12980
  }
12828
12981
  /**
@@ -13126,6 +13279,7 @@ class VerifyingKey {
13126
13279
  return ret !== 0;
13127
13280
  }
13128
13281
  }
13282
+ if (Symbol.dispose) VerifyingKey.prototype[Symbol.dispose] = VerifyingKey.prototype.free;
13129
13283
 
13130
13284
  const ViewKeyFinalization = (typeof FinalizationRegistry === 'undefined')
13131
13285
  ? { register: () => {}, unregister: () => {} }
@@ -13171,7 +13325,7 @@ class ViewKey {
13171
13325
  * @returns {ViewKey}
13172
13326
  */
13173
13327
  static from_string(view_key) {
13174
- const ptr0 = passStringToWasm0(view_key, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
13328
+ const ptr0 = passStringToWasm0(view_key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
13175
13329
  const len0 = WASM_VECTOR_LEN;
13176
13330
  const ret = wasm.viewkey_from_string(ptr0, len0);
13177
13331
  return ViewKey.__wrap(ret);
@@ -13202,7 +13356,7 @@ class ViewKey {
13202
13356
  let deferred3_1;
13203
13357
  try {
13204
13358
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
13205
- const ptr0 = passStringToWasm0(ciphertext, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
13359
+ const ptr0 = passStringToWasm0(ciphertext, wasm.__wbindgen_export, wasm.__wbindgen_export2);
13206
13360
  const len0 = WASM_VECTOR_LEN;
13207
13361
  wasm.viewkey_decrypt(retptr, this.__wbg_ptr, ptr0, len0);
13208
13362
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -13220,7 +13374,7 @@ class ViewKey {
13220
13374
  return getStringFromWasm0(ptr2, len2);
13221
13375
  } finally {
13222
13376
  wasm.__wbindgen_add_to_stack_pointer(16);
13223
- wasm.__wbindgen_export_2(deferred3_0, deferred3_1, 1);
13377
+ wasm.__wbindgen_export4(deferred3_0, deferred3_1, 1);
13224
13378
  }
13225
13379
  }
13226
13380
  /**
@@ -13269,10 +13423,13 @@ class ViewKey {
13269
13423
  return getStringFromWasm0(r0, r1);
13270
13424
  } finally {
13271
13425
  wasm.__wbindgen_add_to_stack_pointer(16);
13272
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
13426
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
13273
13427
  }
13274
13428
  }
13275
13429
  }
13430
+ if (Symbol.dispose) ViewKey.prototype[Symbol.dispose] = ViewKey.prototype.free;
13431
+
13432
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
13276
13433
 
13277
13434
  async function __wbg_load(module, imports) {
13278
13435
  if (typeof Response === 'function' && module instanceof Response) {
@@ -13281,7 +13438,9 @@ async function __wbg_load(module, imports) {
13281
13438
  return await WebAssembly.instantiateStreaming(module, imports);
13282
13439
 
13283
13440
  } catch (e) {
13284
- if (module.headers.get('Content-Type') != 'application/wasm') {
13441
+ const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
13442
+
13443
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
13285
13444
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
13286
13445
 
13287
13446
  } else {
@@ -13305,24 +13464,78 @@ async function __wbg_load(module, imports) {
13305
13464
  }
13306
13465
  }
13307
13466
 
13308
- function __wbg_get_imports() {
13467
+ function __wbg_get_imports(memory) {
13309
13468
  const imports = {};
13310
13469
  imports.wbg = {};
13311
- imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
13470
+ imports.wbg.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
13471
+ const v = getObject(arg0);
13472
+ const ret = typeof(v) === 'boolean' ? v : undefined;
13473
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
13474
+ };
13475
+ imports.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
13476
+ const ret = debugString(getObject(arg1));
13477
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
13478
+ const len1 = WASM_VECTOR_LEN;
13479
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
13480
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
13481
+ };
13482
+ imports.wbg.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
13483
+ const ret = typeof(getObject(arg0)) === 'function';
13484
+ return ret;
13485
+ };
13486
+ imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
13487
+ const val = getObject(arg0);
13488
+ const ret = typeof(val) === 'object' && val !== null;
13489
+ return ret;
13490
+ };
13491
+ imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
13492
+ const ret = typeof(getObject(arg0)) === 'string';
13493
+ return ret;
13494
+ };
13495
+ imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
13496
+ const ret = getObject(arg0) === undefined;
13497
+ return ret;
13498
+ };
13499
+ imports.wbg.__wbg___wbindgen_memory_27faa6e0e73716bd = function() {
13500
+ const ret = wasm.memory;
13501
+ return addHeapObject(ret);
13502
+ };
13503
+ imports.wbg.__wbg___wbindgen_module_66f1f22805762dd9 = function() {
13504
+ const ret = __wbg_init.__wbindgen_wasm_module;
13505
+ return addHeapObject(ret);
13506
+ };
13507
+ imports.wbg.__wbg___wbindgen_rethrow_ea38273dafc473e6 = function(arg0) {
13508
+ throw takeObject(arg0);
13509
+ };
13510
+ imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
13511
+ const obj = getObject(arg1);
13512
+ const ret = typeof(obj) === 'string' ? obj : undefined;
13513
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
13514
+ var len1 = WASM_VECTOR_LEN;
13515
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
13516
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
13517
+ };
13518
+ imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
13519
+ throw new Error(getStringFromWasm0(arg0, arg1));
13520
+ };
13521
+ imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
13522
+ getObject(arg0)._wbg_cb_unref();
13523
+ };
13524
+ imports.wbg.__wbg_abort_e7eb059f72f9ed0c = function(arg0) {
13312
13525
  getObject(arg0).abort();
13313
13526
  };
13314
13527
  imports.wbg.__wbg_address_new = function(arg0) {
13315
13528
  const ret = Address.__wrap(arg0);
13316
13529
  return addHeapObject(ret);
13317
13530
  };
13318
- imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
13531
+ imports.wbg.__wbg_append_b577eb3a177bc0fa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
13319
13532
  getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
13320
13533
  }, arguments) };
13321
- imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
13534
+ imports.wbg.__wbg_arrayBuffer_b375eccb84b4ddf3 = function() { return handleError(function (arg0) {
13322
13535
  const ret = getObject(arg0).arrayBuffer();
13323
13536
  return addHeapObject(ret);
13324
13537
  }, arguments) };
13325
- imports.wbg.__wbg_async_9ff6d9e405f13772 = function(arg0) {
13538
+ imports.wbg.__wbg_async_e87317718510d1c4 = function(arg0) {
13326
13539
  const ret = getObject(arg0).async;
13327
13540
  return ret;
13328
13541
  };
@@ -13330,31 +13543,31 @@ function __wbg_get_imports() {
13330
13543
  const ret = Authorization.__wrap(arg0);
13331
13544
  return addHeapObject(ret);
13332
13545
  };
13333
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
13546
+ imports.wbg.__wbg_buffer_83ef46cd84885a60 = function(arg0) {
13334
13547
  const ret = getObject(arg0).buffer;
13335
13548
  return addHeapObject(ret);
13336
13549
  };
13337
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
13338
- const ret = getObject(arg0).call(getObject(arg1));
13550
+ imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
13551
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
13339
13552
  return addHeapObject(ret);
13340
13553
  }, arguments) };
13341
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
13342
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
13554
+ imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
13555
+ const ret = getObject(arg0).call(getObject(arg1));
13343
13556
  return addHeapObject(ret);
13344
13557
  }, arguments) };
13345
13558
  imports.wbg.__wbg_ciphertext_new = function(arg0) {
13346
13559
  const ret = Ciphertext.__wrap(arg0);
13347
13560
  return addHeapObject(ret);
13348
13561
  };
13349
- imports.wbg.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
13562
+ imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
13350
13563
  const ret = getObject(arg0).crypto;
13351
13564
  return addHeapObject(ret);
13352
13565
  };
13353
- imports.wbg.__wbg_data_432d9c3df2630942 = function(arg0) {
13566
+ imports.wbg.__wbg_data_ee4306d069f24f2d = function(arg0) {
13354
13567
  const ret = getObject(arg0).data;
13355
13568
  return addHeapObject(ret);
13356
13569
  };
13357
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
13570
+ imports.wbg.__wbg_done_2042aa2670fb1db1 = function(arg0) {
13358
13571
  const ret = getObject(arg0).done;
13359
13572
  return ret;
13360
13573
  };
@@ -13366,21 +13579,21 @@ function __wbg_get_imports() {
13366
13579
  deferred0_1 = arg1;
13367
13580
  console.error(getStringFromWasm0(arg0, arg1));
13368
13581
  } finally {
13369
- wasm.__wbindgen_export_2(deferred0_0, deferred0_1, 1);
13582
+ wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
13370
13583
  }
13371
13584
  };
13372
13585
  imports.wbg.__wbg_executionresponse_new = function(arg0) {
13373
13586
  const ret = ExecutionResponse.__wrap(arg0);
13374
13587
  return addHeapObject(ret);
13375
13588
  };
13376
- imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
13377
- const ret = getObject(arg0).fetch(getObject(arg1));
13378
- return addHeapObject(ret);
13379
- };
13380
13589
  imports.wbg.__wbg_fetch_f1856afdb49415d1 = function(arg0) {
13381
13590
  const ret = fetch(getObject(arg0));
13382
13591
  return addHeapObject(ret);
13383
13592
  };
13593
+ imports.wbg.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
13594
+ const ret = getObject(arg0).fetch(getObject(arg1));
13595
+ return addHeapObject(ret);
13596
+ };
13384
13597
  imports.wbg.__wbg_field_new = function(arg0) {
13385
13598
  const ret = Field.__wrap(arg0);
13386
13599
  return addHeapObject(ret);
@@ -13389,30 +13602,30 @@ function __wbg_get_imports() {
13389
13602
  const ret = Field.__unwrap(takeObject(arg0));
13390
13603
  return ret;
13391
13604
  };
13392
- imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
13605
+ imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
13393
13606
  getObject(arg0).getRandomValues(getObject(arg1));
13394
13607
  }, arguments) };
13395
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
13396
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
13397
- return addHeapObject(ret);
13398
- }, arguments) };
13399
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
13608
+ imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
13400
13609
  const ret = getObject(arg0)[arg1 >>> 0];
13401
13610
  return addHeapObject(ret);
13402
13611
  };
13612
+ imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
13613
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
13614
+ return addHeapObject(ret);
13615
+ }, arguments) };
13403
13616
  imports.wbg.__wbg_group_new = function(arg0) {
13404
13617
  const ret = Group.__wrap(arg0);
13405
13618
  return addHeapObject(ret);
13406
13619
  };
13407
- imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
13620
+ imports.wbg.__wbg_has_787fafc980c3ccdb = function() { return handleError(function (arg0, arg1) {
13408
13621
  const ret = Reflect.has(getObject(arg0), getObject(arg1));
13409
13622
  return ret;
13410
13623
  }, arguments) };
13411
- imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
13624
+ imports.wbg.__wbg_headers_b87d7eaba61c3278 = function(arg0) {
13412
13625
  const ret = getObject(arg0).headers;
13413
13626
  return addHeapObject(ret);
13414
13627
  };
13415
- imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
13628
+ imports.wbg.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
13416
13629
  let result;
13417
13630
  try {
13418
13631
  result = getObject(arg0) instanceof Response;
@@ -13422,7 +13635,7 @@ function __wbg_get_imports() {
13422
13635
  const ret = result;
13423
13636
  return ret;
13424
13637
  };
13425
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
13638
+ imports.wbg.__wbg_iterator_e5822695327a3c39 = function() {
13426
13639
  const ret = Symbol.iterator;
13427
13640
  return addHeapObject(ret);
13428
13641
  };
@@ -13430,37 +13643,41 @@ function __wbg_get_imports() {
13430
13643
  const ret = KeyPair.__wrap(arg0);
13431
13644
  return addHeapObject(ret);
13432
13645
  };
13433
- imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
13646
+ imports.wbg.__wbg_keys_b4d27b02ad14f4be = function(arg0) {
13434
13647
  const ret = Object.keys(getObject(arg0));
13435
13648
  return addHeapObject(ret);
13436
13649
  };
13437
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
13650
+ imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
13438
13651
  const ret = getObject(arg0).length;
13439
13652
  return ret;
13440
13653
  };
13441
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
13654
+ imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
13442
13655
  const ret = getObject(arg0).length;
13443
13656
  return ret;
13444
13657
  };
13445
- imports.wbg.__wbg_log_044a3f26fd9262bb = function(arg0, arg1) {
13658
+ imports.wbg.__wbg_log_5f792c71a1602d65 = function(arg0, arg1) {
13446
13659
  console.log(getStringFromWasm0(arg0, arg1));
13447
13660
  };
13448
- imports.wbg.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
13661
+ imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
13449
13662
  const ret = getObject(arg0).msCrypto;
13450
13663
  return addHeapObject(ret);
13451
13664
  };
13452
- imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
13453
- const ret = new Headers();
13665
+ imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
13666
+ const ret = new Object();
13667
+ return addHeapObject(ret);
13668
+ };
13669
+ imports.wbg.__wbg_new_2531773dac38ebb3 = function() { return handleError(function () {
13670
+ const ret = new AbortController();
13454
13671
  return addHeapObject(ret);
13455
13672
  }, arguments) };
13456
- imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
13673
+ imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
13457
13674
  try {
13458
13675
  var state0 = {a: arg0, b: arg1};
13459
13676
  var cb0 = (arg0, arg1) => {
13460
13677
  const a = state0.a;
13461
13678
  state0.a = 0;
13462
13679
  try {
13463
- return __wbg_adapter_874(a, state0.b, arg0, arg1);
13680
+ return __wasm_bindgen_func_elem_6792(a, state0.b, arg0, arg1);
13464
13681
  } finally {
13465
13682
  state0.a = a;
13466
13683
  }
@@ -13471,107 +13688,106 @@ function __wbg_get_imports() {
13471
13688
  state0.a = state0.b = 0;
13472
13689
  }
13473
13690
  };
13474
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
13475
- const ret = new Object();
13691
+ imports.wbg.__wbg_new_4768a01acc2de787 = function() { return handleError(function (arg0, arg1) {
13692
+ const ret = new Worker(getStringFromWasm0(arg0, arg1));
13476
13693
  return addHeapObject(ret);
13477
- };
13478
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
13479
- const ret = new Array();
13694
+ }, arguments) };
13695
+ imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
13696
+ const ret = new Uint8Array(getObject(arg0));
13480
13697
  return addHeapObject(ret);
13481
13698
  };
13482
- imports.wbg.__wbg_new_86231e225ca6b962 = function() { return handleError(function () {
13483
- const ret = new XMLHttpRequest();
13699
+ imports.wbg.__wbg_new_76221876a34390ff = function(arg0) {
13700
+ const ret = new Int32Array(getObject(arg0));
13484
13701
  return addHeapObject(ret);
13485
- }, arguments) };
13702
+ };
13486
13703
  imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
13487
13704
  const ret = new Error();
13488
13705
  return addHeapObject(ret);
13489
13706
  };
13490
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
13491
- const ret = new Uint8Array(getObject(arg0));
13492
- return addHeapObject(ret);
13493
- };
13494
- imports.wbg.__wbg_new_b1a33e5095abf678 = function() { return handleError(function (arg0, arg1) {
13495
- const ret = new Worker(getStringFromWasm0(arg0, arg1));
13707
+ imports.wbg.__wbg_new_9edf9838a2def39c = function() { return handleError(function () {
13708
+ const ret = new Headers();
13496
13709
  return addHeapObject(ret);
13497
13710
  }, arguments) };
13498
- imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
13499
- const ret = new AbortController();
13711
+ imports.wbg.__wbg_new_e17d9f43105b08be = function() {
13712
+ const ret = new Array();
13713
+ return addHeapObject(ret);
13714
+ };
13715
+ imports.wbg.__wbg_new_f3e768bd20ab7547 = function() { return handleError(function () {
13716
+ const ret = new XMLHttpRequest();
13500
13717
  return addHeapObject(ret);
13501
13718
  }, arguments) };
13502
- imports.wbg.__wbg_new_e9a4a67dbababe57 = function(arg0) {
13503
- const ret = new Int32Array(getObject(arg0));
13719
+ imports.wbg.__wbg_new_from_slice_92f4d78ca282a2d2 = function(arg0, arg1) {
13720
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
13504
13721
  return addHeapObject(ret);
13505
13722
  };
13506
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
13723
+ imports.wbg.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
13507
13724
  const ret = new Function(getStringFromWasm0(arg0, arg1));
13508
13725
  return addHeapObject(ret);
13509
13726
  };
13510
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
13511
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
13512
- return addHeapObject(ret);
13513
- };
13514
- imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
13727
+ imports.wbg.__wbg_new_with_length_01aa0dc35aa13543 = function(arg0) {
13515
13728
  const ret = new Uint8Array(arg0 >>> 0);
13516
13729
  return addHeapObject(ret);
13517
13730
  };
13518
- imports.wbg.__wbg_newwithlength_c4c419ef0bc8a1f8 = function(arg0) {
13731
+ imports.wbg.__wbg_new_with_length_31d2669cb75c5215 = function(arg0) {
13519
13732
  const ret = new Array(arg0 >>> 0);
13520
13733
  return addHeapObject(ret);
13521
13734
  };
13522
- imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
13735
+ imports.wbg.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function() { return handleError(function (arg0, arg1, arg2) {
13523
13736
  const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
13524
13737
  return addHeapObject(ret);
13525
13738
  }, arguments) };
13526
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
13527
- const ret = getObject(arg0).next;
13528
- return addHeapObject(ret);
13529
- };
13530
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
13739
+ imports.wbg.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
13531
13740
  const ret = getObject(arg0).next();
13532
13741
  return addHeapObject(ret);
13533
13742
  }, arguments) };
13534
- imports.wbg.__wbg_node_02999533c4ea02e3 = function(arg0) {
13743
+ imports.wbg.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
13744
+ const ret = getObject(arg0).next;
13745
+ return addHeapObject(ret);
13746
+ };
13747
+ imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
13535
13748
  const ret = getObject(arg0).node;
13536
13749
  return addHeapObject(ret);
13537
13750
  };
13538
- imports.wbg.__wbg_of_4a05197bfc89556f = function(arg0, arg1, arg2) {
13751
+ imports.wbg.__wbg_of_3192b3b018b8f660 = function(arg0, arg1, arg2) {
13539
13752
  const ret = Array.of(getObject(arg0), getObject(arg1), getObject(arg2));
13540
13753
  return addHeapObject(ret);
13541
13754
  };
13542
- imports.wbg.__wbg_open_13a598ea50d82926 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
13755
+ imports.wbg.__wbg_open_2024059c832360cf = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
13543
13756
  getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), arg5 !== 0);
13544
13757
  }, arguments) };
13545
- imports.wbg.__wbg_overrideMimeType_36ce5eeae20aff9f = function() { return handleError(function (arg0, arg1, arg2) {
13758
+ imports.wbg.__wbg_overrideMimeType_254a6b64025fe2fd = function() { return handleError(function (arg0, arg1, arg2) {
13546
13759
  getObject(arg0).overrideMimeType(getStringFromWasm0(arg1, arg2));
13547
13760
  }, arguments) };
13548
13761
  imports.wbg.__wbg_plaintext_new = function(arg0) {
13549
13762
  const ret = Plaintext.__wrap(arg0);
13550
13763
  return addHeapObject(ret);
13551
13764
  };
13552
- imports.wbg.__wbg_postMessage_6edafa8f7b9c2f52 = function() { return handleError(function (arg0, arg1) {
13765
+ imports.wbg.__wbg_postMessage_f34857ca078c8536 = function() { return handleError(function (arg0, arg1) {
13553
13766
  getObject(arg0).postMessage(getObject(arg1));
13554
13767
  }, arguments) };
13555
- imports.wbg.__wbg_process_5c1d670bc53614b8 = function(arg0) {
13768
+ imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
13556
13769
  const ret = getObject(arg0).process;
13557
13770
  return addHeapObject(ret);
13558
13771
  };
13772
+ imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
13773
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
13774
+ };
13559
13775
  imports.wbg.__wbg_provingrequest_new = function(arg0) {
13560
13776
  const ret = ProvingRequest.__wrap(arg0);
13561
13777
  return addHeapObject(ret);
13562
13778
  };
13563
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
13779
+ imports.wbg.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
13564
13780
  const ret = getObject(arg0).push(getObject(arg1));
13565
13781
  return ret;
13566
13782
  };
13567
- imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
13568
- queueMicrotask(getObject(arg0));
13569
- };
13570
- imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
13783
+ imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
13571
13784
  const ret = getObject(arg0).queueMicrotask;
13572
13785
  return addHeapObject(ret);
13573
13786
  };
13574
- imports.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() { return handleError(function (arg0, arg1) {
13787
+ imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
13788
+ queueMicrotask(getObject(arg0));
13789
+ };
13790
+ imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
13575
13791
  getObject(arg0).randomFillSync(takeObject(arg1));
13576
13792
  }, arguments) };
13577
13793
  imports.wbg.__wbg_recordciphertext_new = function(arg0) {
@@ -13586,60 +13802,57 @@ function __wbg_get_imports() {
13586
13802
  const ret = RecordPlaintext.__wrap(arg0);
13587
13803
  return addHeapObject(ret);
13588
13804
  };
13589
- imports.wbg.__wbg_require_79b1e9274cde3c87 = function() { return handleError(function () {
13805
+ imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
13590
13806
  const ret = module.require;
13591
13807
  return addHeapObject(ret);
13592
13808
  }, arguments) };
13593
- imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
13809
+ imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
13594
13810
  const ret = Promise.resolve(getObject(arg0));
13595
13811
  return addHeapObject(ret);
13596
13812
  };
13597
- imports.wbg.__wbg_responseText_ad050aa7f8afec9f = function() { return handleError(function (arg0, arg1) {
13813
+ imports.wbg.__wbg_responseText_d80ed2074210c2e1 = function() { return handleError(function (arg0, arg1) {
13598
13814
  const ret = getObject(arg1).responseText;
13599
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
13815
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
13600
13816
  var len1 = WASM_VECTOR_LEN;
13601
13817
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
13602
13818
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
13603
13819
  }, arguments) };
13604
- imports.wbg.__wbg_response_49e10f8ee7f418db = function() { return handleError(function (arg0) {
13820
+ imports.wbg.__wbg_response_5d5eaee5f929ee4a = function() { return handleError(function (arg0) {
13605
13821
  const ret = getObject(arg0).response;
13606
13822
  return addHeapObject(ret);
13607
13823
  }, arguments) };
13608
- imports.wbg.__wbg_send_40a47636ff90f64d = function() { return handleError(function (arg0) {
13824
+ imports.wbg.__wbg_send_2e90b7c1fa1cdaf6 = function() { return handleError(function (arg0) {
13609
13825
  getObject(arg0).send();
13610
13826
  }, arguments) };
13611
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
13612
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
13827
+ imports.wbg.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
13828
+ getObject(arg0).body = getObject(arg1);
13613
13829
  };
13614
- imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
13615
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
13830
+ imports.wbg.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
13831
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
13616
13832
  };
13617
- imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
13833
+ imports.wbg.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
13618
13834
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
13619
13835
  return ret;
13620
13836
  }, arguments) };
13621
- imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
13622
- getObject(arg0).body = getObject(arg1);
13623
- };
13624
- imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
13837
+ imports.wbg.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
13625
13838
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
13626
13839
  };
13627
- imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
13840
+ imports.wbg.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
13628
13841
  getObject(arg0).headers = getObject(arg1);
13629
13842
  };
13630
- imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
13843
+ imports.wbg.__wbg_set_method_c02d8cbbe204ac2d = function(arg0, arg1, arg2) {
13631
13844
  getObject(arg0).method = getStringFromWasm0(arg1, arg2);
13632
13845
  };
13633
- imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
13846
+ imports.wbg.__wbg_set_mode_52ef73cfa79639cb = function(arg0, arg1) {
13634
13847
  getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
13635
13848
  };
13636
- imports.wbg.__wbg_setonmessage_5a885b16bdc6dca6 = function(arg0, arg1) {
13849
+ imports.wbg.__wbg_set_onmessage_d57c4b653d57594f = function(arg0, arg1) {
13637
13850
  getObject(arg0).onmessage = getObject(arg1);
13638
13851
  };
13639
- imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
13852
+ imports.wbg.__wbg_set_signal_dda2cf7ccb6bee0f = function(arg0, arg1) {
13640
13853
  getObject(arg0).signal = getObject(arg1);
13641
13854
  };
13642
- imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
13855
+ imports.wbg.__wbg_signal_4db5aa055bf9eb9a = function(arg0) {
13643
13856
  const ret = getObject(arg0).signal;
13644
13857
  return addHeapObject(ret);
13645
13858
  };
@@ -13647,54 +13860,54 @@ function __wbg_get_imports() {
13647
13860
  const ret = Signature.__wrap(arg0);
13648
13861
  return addHeapObject(ret);
13649
13862
  };
13650
- imports.wbg.__wbg_spawnWorker_d0638f4f528df5ed = function(arg0, arg1, arg2, arg3) {
13863
+ imports.wbg.__wbg_spawnWorker_293a39102d028ae7 = function(arg0, arg1, arg2, arg3) {
13651
13864
  const ret = spawnWorker(getObject(arg0), getObject(arg1), getObject(arg2), arg3 >>> 0);
13652
13865
  return addHeapObject(ret);
13653
13866
  };
13654
13867
  imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
13655
13868
  const ret = getObject(arg1).stack;
13656
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
13869
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
13657
13870
  const len1 = WASM_VECTOR_LEN;
13658
13871
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
13659
13872
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
13660
13873
  };
13661
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
13874
+ imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
13662
13875
  const ret = typeof global === 'undefined' ? null : global;
13663
13876
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
13664
13877
  };
13665
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
13878
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
13666
13879
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
13667
13880
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
13668
13881
  };
13669
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
13882
+ imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
13670
13883
  const ret = typeof self === 'undefined' ? null : self;
13671
13884
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
13672
13885
  };
13673
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
13886
+ imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
13674
13887
  const ret = typeof window === 'undefined' ? null : window;
13675
13888
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
13676
13889
  };
13677
- imports.wbg.__wbg_status_12bcf88a8ff51470 = function() { return handleError(function (arg0) {
13890
+ imports.wbg.__wbg_status_83225b765fbb895b = function() { return handleError(function (arg0) {
13678
13891
  const ret = getObject(arg0).status;
13679
13892
  return ret;
13680
13893
  }, arguments) };
13681
- imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
13894
+ imports.wbg.__wbg_status_de7eed5a7a5bfd5d = function(arg0) {
13682
13895
  const ret = getObject(arg0).status;
13683
13896
  return ret;
13684
13897
  };
13685
- imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
13898
+ imports.wbg.__wbg_stringify_b5fb28f6465d9c3e = function() { return handleError(function (arg0) {
13686
13899
  const ret = JSON.stringify(getObject(arg0));
13687
13900
  return addHeapObject(ret);
13688
13901
  }, arguments) };
13689
- imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
13902
+ imports.wbg.__wbg_subarray_480600f3d6a9f26c = function(arg0, arg1, arg2) {
13690
13903
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
13691
13904
  return addHeapObject(ret);
13692
13905
  };
13693
- imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
13906
+ imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
13694
13907
  const ret = getObject(arg0).then(getObject(arg1));
13695
13908
  return addHeapObject(ret);
13696
13909
  };
13697
- imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
13910
+ imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
13698
13911
  const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
13699
13912
  return addHeapObject(ret);
13700
13913
  };
@@ -13706,18 +13919,18 @@ function __wbg_get_imports() {
13706
13919
  const ret = Transition.__wrap(arg0);
13707
13920
  return addHeapObject(ret);
13708
13921
  };
13709
- imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
13922
+ imports.wbg.__wbg_url_b36d2a5008eb056f = function(arg0, arg1) {
13710
13923
  const ret = getObject(arg1).url;
13711
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
13924
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
13712
13925
  const len1 = WASM_VECTOR_LEN;
13713
13926
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
13714
13927
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
13715
13928
  };
13716
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
13929
+ imports.wbg.__wbg_value_692627309814bb8c = function(arg0) {
13717
13930
  const ret = getObject(arg0).value;
13718
13931
  return addHeapObject(ret);
13719
13932
  };
13720
- imports.wbg.__wbg_value_dab73d3d5d4abaaf = function(arg0) {
13933
+ imports.wbg.__wbg_value_e323024c868b5146 = function(arg0) {
13721
13934
  const ret = getObject(arg0).value;
13722
13935
  return addHeapObject(ret);
13723
13936
  };
@@ -13725,74 +13938,64 @@ function __wbg_get_imports() {
13725
13938
  const ret = VerifyingKey.__wrap(arg0);
13726
13939
  return addHeapObject(ret);
13727
13940
  };
13728
- imports.wbg.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
13941
+ imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
13729
13942
  const ret = getObject(arg0).versions;
13730
13943
  return addHeapObject(ret);
13731
13944
  };
13732
- imports.wbg.__wbg_waitAsync_61f0a081053dd3c2 = function(arg0, arg1, arg2) {
13733
- const ret = Atomics.waitAsync(getObject(arg0), arg1 >>> 0, arg2);
13945
+ imports.wbg.__wbg_waitAsync_2c4b633ebb554615 = function() {
13946
+ const ret = Atomics.waitAsync;
13734
13947
  return addHeapObject(ret);
13735
13948
  };
13736
- imports.wbg.__wbg_waitAsync_7ce6c8a047c752c3 = function() {
13737
- const ret = Atomics.waitAsync;
13949
+ imports.wbg.__wbg_waitAsync_95332bf1b4fe4c52 = function(arg0, arg1, arg2) {
13950
+ const ret = Atomics.waitAsync(getObject(arg0), arg1 >>> 0, arg2);
13738
13951
  return addHeapObject(ret);
13739
13952
  };
13740
- imports.wbg.__wbindgen_bigint_from_i128 = function(arg0, arg1) {
13741
- const ret = arg0 << BigInt(64) | BigInt.asUintN(64, arg1);
13953
+ imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
13954
+ // Cast intrinsic for `Ref(String) -> Externref`.
13955
+ const ret = getStringFromWasm0(arg0, arg1);
13742
13956
  return addHeapObject(ret);
13743
13957
  };
13744
- imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
13745
- const ret = arg0;
13958
+ imports.wbg.__wbindgen_cast_2ddd8a25ff58642a = function(arg0, arg1) {
13959
+ // Cast intrinsic for `I128 -> Externref`.
13960
+ const ret = (BigInt.asUintN(64, arg0) | (arg1 << BigInt(64)));
13746
13961
  return addHeapObject(ret);
13747
13962
  };
13748
- imports.wbg.__wbindgen_bigint_from_u128 = function(arg0, arg1) {
13749
- const ret = BigInt.asUintN(64, arg0) << BigInt(64) | BigInt.asUintN(64, arg1);
13963
+ imports.wbg.__wbindgen_cast_3e8b1a28e9899889 = function(arg0, arg1) {
13964
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 416, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 417, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13965
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13750
13966
  return addHeapObject(ret);
13751
13967
  };
13752
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
13968
+ imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
13969
+ // Cast intrinsic for `U64 -> Externref`.
13753
13970
  const ret = BigInt.asUintN(64, arg0);
13754
13971
  return addHeapObject(ret);
13755
13972
  };
13756
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
13757
- const v = getObject(arg0);
13758
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
13759
- return ret;
13760
- };
13761
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
13762
- const obj = takeObject(arg0).original;
13763
- if (obj.cnt-- == 1) {
13764
- obj.a = 0;
13765
- return true;
13766
- }
13767
- const ret = false;
13768
- return ret;
13769
- };
13770
- imports.wbg.__wbindgen_closure_wrapper7434 = function(arg0, arg1, arg2) {
13771
- const ret = makeMutClosure(arg0, arg1, 548, __wbg_adapter_40);
13973
+ imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
13974
+ // Cast intrinsic for `I64 -> Externref`.
13975
+ const ret = arg0;
13772
13976
  return addHeapObject(ret);
13773
13977
  };
13774
- imports.wbg.__wbindgen_closure_wrapper7439 = function(arg0, arg1, arg2) {
13775
- const ret = makeMutClosure(arg0, arg1, 548, __wbg_adapter_40);
13978
+ imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
13979
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
13980
+ const ret = getArrayU8FromWasm0(arg0, arg1);
13776
13981
  return addHeapObject(ret);
13777
13982
  };
13778
- imports.wbg.__wbindgen_is_function = function(arg0) {
13779
- const ret = typeof(getObject(arg0)) === 'function';
13780
- return ret;
13781
- };
13782
- imports.wbg.__wbindgen_is_object = function(arg0) {
13783
- const val = getObject(arg0);
13784
- const ret = typeof(val) === 'object' && val !== null;
13785
- return ret;
13983
+ imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
13984
+ // Cast intrinsic for `F64 -> Externref`.
13985
+ const ret = arg0;
13986
+ return addHeapObject(ret);
13786
13987
  };
13787
- imports.wbg.__wbindgen_is_string = function(arg0) {
13788
- const ret = typeof(getObject(arg0)) === 'string';
13789
- return ret;
13988
+ imports.wbg.__wbindgen_cast_e7b45dd881f38ce3 = function(arg0, arg1) {
13989
+ // Cast intrinsic for `U128 -> Externref`.
13990
+ const ret = (BigInt.asUintN(64, arg0) | (BigInt.asUintN(64, arg1) << BigInt(64)));
13991
+ return addHeapObject(ret);
13790
13992
  };
13791
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
13792
- const ret = getObject(arg0) === undefined;
13793
- return ret;
13993
+ imports.wbg.__wbindgen_cast_f45fc07d50d9127c = function(arg0, arg1) {
13994
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 416, function: Function { arguments: [Externref], shim_idx: 417, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
13995
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7843, __wasm_bindgen_func_elem_7844);
13996
+ return addHeapObject(ret);
13794
13997
  };
13795
- imports.wbg.__wbindgen_link_9579f016b4522a24 = function(arg0) {
13998
+ imports.wbg.__wbindgen_link_b9f45ffe079ef2c1 = function(arg0) {
13796
13999
  const val = `onmessage = function (ev) {
13797
14000
  let [ia, index, value] = ev.data;
13798
14001
  ia = new Int32Array(ia.buffer);
@@ -13801,23 +14004,11 @@ function __wbg_get_imports() {
13801
14004
  };
13802
14005
  `;
13803
14006
  const ret = typeof URL.createObjectURL === 'undefined' ? "data:application/javascript," + encodeURIComponent(val) : URL.createObjectURL(new Blob([val], { type: "text/javascript" }));
13804
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
14007
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
13805
14008
  const len1 = WASM_VECTOR_LEN;
13806
14009
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
13807
14010
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
13808
14011
  };
13809
- imports.wbg.__wbindgen_memory = function() {
13810
- const ret = wasm.memory;
13811
- return addHeapObject(ret);
13812
- };
13813
- imports.wbg.__wbindgen_module = function() {
13814
- const ret = __wbg_init.__wbindgen_wasm_module;
13815
- return addHeapObject(ret);
13816
- };
13817
- imports.wbg.__wbindgen_number_new = function(arg0) {
13818
- const ret = arg0;
13819
- return addHeapObject(ret);
13820
- };
13821
14012
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
13822
14013
  const ret = getObject(arg0);
13823
14014
  return addHeapObject(ret);
@@ -13825,32 +14016,11 @@ function __wbg_get_imports() {
13825
14016
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
13826
14017
  takeObject(arg0);
13827
14018
  };
13828
- imports.wbg.__wbindgen_rethrow = function(arg0) {
13829
- throw takeObject(arg0);
13830
- };
13831
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
13832
- const obj = getObject(arg1);
13833
- const ret = typeof(obj) === 'string' ? obj : undefined;
13834
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_3, wasm.__wbindgen_export_4);
13835
- var len1 = WASM_VECTOR_LEN;
13836
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
13837
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
13838
- };
13839
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
13840
- const ret = getStringFromWasm0(arg0, arg1);
13841
- return addHeapObject(ret);
13842
- };
13843
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
13844
- throw new Error(getStringFromWasm0(arg0, arg1));
13845
- };
14019
+ imports.wbg.memory = memory || new WebAssembly.Memory({initial:167,maximum:65536,shared:true});
13846
14020
 
13847
14021
  return imports;
13848
14022
  }
13849
14023
 
13850
- function __wbg_init_memory(imports, memory) {
13851
- imports.wbg.memory = memory || new WebAssembly.Memory({initial:167,maximum:65536,shared:true});
13852
- }
13853
-
13854
14024
  function __wbg_finalize_init(instance, module, thread_stack_size) {
13855
14025
  wasm = instance.exports;
13856
14026
  __wbg_init.__wbindgen_wasm_module = module;
@@ -13874,9 +14044,7 @@ function initSync(module, memory) {
13874
14044
  }
13875
14045
  }
13876
14046
 
13877
- const imports = __wbg_get_imports();
13878
-
13879
- __wbg_init_memory(imports, memory);
14047
+ const imports = __wbg_get_imports(memory);
13880
14048
 
13881
14049
  if (!(module instanceof WebAssembly.Module)) {
13882
14050
  module = new WebAssembly.Module(module);
@@ -13900,14 +14068,12 @@ async function __wbg_init(module_or_path, memory) {
13900
14068
  }
13901
14069
 
13902
14070
 
13903
- const imports = __wbg_get_imports();
14071
+ const imports = __wbg_get_imports(memory);
13904
14072
 
13905
14073
  if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
13906
14074
  module_or_path = fetch(module_or_path);
13907
14075
  }
13908
14076
 
13909
- __wbg_init_memory(imports, memory);
13910
-
13911
14077
  const { instance, module } = await __wbg_load(await module_or_path, imports);
13912
14078
 
13913
14079
  return __wbg_finalize_init(instance, module, thread_stack_size);