lumina-node-wasm 0.10.2 → 0.11.0

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.
@@ -4,8 +4,6 @@ export function __wbg_set_wasm(val) {
4
4
  }
5
5
 
6
6
 
7
- let WASM_VECTOR_LEN = 0;
8
-
9
7
  let cachedUint8ArrayMemory0 = null;
10
8
 
11
9
  function getUint8ArrayMemory0() {
@@ -15,9 +13,34 @@ function getUint8ArrayMemory0() {
15
13
  return cachedUint8ArrayMemory0;
16
14
  }
17
15
 
16
+ const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
17
+
18
+ let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
19
+
20
+ cachedTextDecoder.decode();
21
+
22
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
23
+ let numBytesDecoded = 0;
24
+ function decodeText(ptr, len) {
25
+ numBytesDecoded += len;
26
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
27
+ cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
28
+ cachedTextDecoder.decode();
29
+ numBytesDecoded = len;
30
+ }
31
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
32
+ }
33
+
34
+ function getStringFromWasm0(ptr, len) {
35
+ ptr = ptr >>> 0;
36
+ return decodeText(ptr, len);
37
+ }
38
+
39
+ let WASM_VECTOR_LEN = 0;
40
+
18
41
  const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
19
42
 
20
- let cachedTextEncoder = new lTextEncoder('utf-8');
43
+ const cachedTextEncoder = new lTextEncoder('utf-8');
21
44
 
22
45
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
23
46
  ? function (arg, view) {
@@ -95,17 +118,6 @@ function handleError(f, args) {
95
118
  }
96
119
  }
97
120
 
98
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
99
-
100
- let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
101
-
102
- cachedTextDecoder.decode();
103
-
104
- function getStringFromWasm0(ptr, len) {
105
- ptr = ptr >>> 0;
106
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
107
- }
108
-
109
121
  function passArray8ToWasm0(arg, malloc) {
110
122
  const ptr = malloc(arg.length * 1, 1) >>> 0;
111
123
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -122,59 +134,6 @@ function getArrayU8FromWasm0(ptr, len) {
122
134
  return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
123
135
  }
124
136
 
125
- const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
126
- ? { register: () => {}, unregister: () => {} }
127
- : new FinalizationRegistry(state => {
128
- wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b)
129
- });
130
-
131
- function makeClosure(arg0, arg1, dtor, f) {
132
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
133
- const real = (...args) => {
134
- // First up with a closure we increment the internal reference
135
- // count. This ensures that the Rust closure environment won't
136
- // be deallocated while we're invoking it.
137
- state.cnt++;
138
- try {
139
- return f(state.a, state.b, ...args);
140
- } finally {
141
- if (--state.cnt === 0) {
142
- wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
143
- state.a = 0;
144
- CLOSURE_DTORS.unregister(state);
145
- }
146
- }
147
- };
148
- real.original = state;
149
- CLOSURE_DTORS.register(real, state, state);
150
- return real;
151
- }
152
-
153
- function makeMutClosure(arg0, arg1, dtor, f) {
154
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
155
- const real = (...args) => {
156
- // First up with a closure we increment the internal reference
157
- // count. This ensures that the Rust closure environment won't
158
- // be deallocated while we're invoking it.
159
- state.cnt++;
160
- const a = state.a;
161
- state.a = 0;
162
- try {
163
- return f(a, state.b, ...args);
164
- } finally {
165
- if (--state.cnt === 0) {
166
- wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
167
- CLOSURE_DTORS.unregister(state);
168
- } else {
169
- state.a = a;
170
- }
171
- }
172
- };
173
- real.original = state;
174
- CLOSURE_DTORS.register(real, state, state);
175
- return real;
176
- }
177
-
178
137
  function debugString(val) {
179
138
  // primitive types
180
139
  const type = typeof val;
@@ -251,20 +210,60 @@ function getArrayJsValueFromWasm0(ptr, len) {
251
210
  return result;
252
211
  }
253
212
 
254
- function passArrayJsValueToWasm0(array, malloc) {
255
- const ptr = malloc(array.length * 4, 4) >>> 0;
256
- for (let i = 0; i < array.length; i++) {
257
- const add = addToExternrefTable0(array[i]);
258
- getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
259
- }
260
- WASM_VECTOR_LEN = array.length;
261
- return ptr;
213
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
214
+ ? { register: () => {}, unregister: () => {} }
215
+ : new FinalizationRegistry(
216
+ state => {
217
+ wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b);
262
218
  }
219
+ );
263
220
 
264
- function _assertClass(instance, klass) {
265
- if (!(instance instanceof klass)) {
266
- throw new Error(`expected instance of ${klass.name}`);
267
- }
221
+ function makeMutClosure(arg0, arg1, dtor, f) {
222
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
223
+ const real = (...args) => {
224
+
225
+ // First up with a closure we increment the internal reference
226
+ // count. This ensures that the Rust closure environment won't
227
+ // be deallocated while we're invoking it.
228
+ state.cnt++;
229
+ const a = state.a;
230
+ state.a = 0;
231
+ try {
232
+ return f(a, state.b, ...args);
233
+ } finally {
234
+ if (--state.cnt === 0) {
235
+ wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
236
+ CLOSURE_DTORS.unregister(state);
237
+ } else {
238
+ state.a = a;
239
+ }
240
+ }
241
+ };
242
+ real.original = state;
243
+ CLOSURE_DTORS.register(real, state, state);
244
+ return real;
245
+ }
246
+
247
+ function makeClosure(arg0, arg1, dtor, f) {
248
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
249
+ const real = (...args) => {
250
+
251
+ // First up with a closure we increment the internal reference
252
+ // count. This ensures that the Rust closure environment won't
253
+ // be deallocated while we're invoking it.
254
+ state.cnt++;
255
+ try {
256
+ return f(state.a, state.b, ...args);
257
+ } finally {
258
+ if (--state.cnt === 0) {
259
+ wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b); state.a = 0;
260
+ CLOSURE_DTORS.unregister(state);
261
+ }
262
+ }
263
+ };
264
+ real.original = state;
265
+ CLOSURE_DTORS.register(real, state, state);
266
+ return real;
268
267
  }
269
268
  /**
270
269
  * Set up a logging layer that direct logs to the browser's console.
@@ -273,6 +272,22 @@ export function setup_logging() {
273
272
  wasm.setup_logging();
274
273
  }
275
274
 
275
+ function _assertClass(instance, klass) {
276
+ if (!(instance instanceof klass)) {
277
+ throw new Error(`expected instance of ${klass.name}`);
278
+ }
279
+ }
280
+
281
+ function passArrayJsValueToWasm0(array, malloc) {
282
+ const ptr = malloc(array.length * 4, 4) >>> 0;
283
+ for (let i = 0; i < array.length; i++) {
284
+ const add = addToExternrefTable0(array[i]);
285
+ getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
286
+ }
287
+ WASM_VECTOR_LEN = array.length;
288
+ return ptr;
289
+ }
290
+
276
291
  function takeFromExternrefTable0(idx) {
277
292
  const value = wasm.__wbindgen_export_4.get(idx);
278
293
  wasm.__externref_table_dealloc(idx);
@@ -290,36 +305,41 @@ export function protoEncodeSignDoc(sign_doc) {
290
305
  return v1;
291
306
  }
292
307
 
293
- function __wbg_adapter_64(arg0, arg1, arg2) {
294
- wasm.closure313_externref_shim(arg0, arg1, arg2);
308
+ function __wbg_adapter_8(arg0, arg1) {
309
+ wasm.wasm_bindgen__convert__closures_____invoke__hfede219244329fd3(arg0, arg1);
310
+ }
311
+
312
+ function __wbg_adapter_11(arg0, arg1, arg2) {
313
+ wasm.closure1749_externref_shim(arg0, arg1, arg2);
295
314
  }
296
315
 
297
- function __wbg_adapter_67(arg0, arg1, arg2) {
298
- wasm.closure310_externref_shim(arg0, arg1, arg2);
316
+ function __wbg_adapter_20(arg0, arg1, arg2) {
317
+ wasm.closure731_externref_shim(arg0, arg1, arg2);
299
318
  }
300
319
 
301
- function __wbg_adapter_70(arg0, arg1, arg2) {
302
- wasm.closure1611_externref_shim(arg0, arg1, arg2);
320
+ function __wbg_adapter_23(arg0, arg1, arg2) {
321
+ wasm.closure2841_externref_shim(arg0, arg1, arg2);
303
322
  }
304
323
 
305
- function __wbg_adapter_77(arg0, arg1) {
306
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7d3d89703686d48f(arg0, arg1);
324
+ function __wbg_adapter_26(arg0, arg1, arg2) {
325
+ wasm.closure727_externref_shim(arg0, arg1, arg2);
307
326
  }
308
327
 
309
- function __wbg_adapter_80(arg0, arg1, arg2) {
310
- wasm.closure2686_externref_shim(arg0, arg1, arg2);
328
+ function __wbg_adapter_31(arg0, arg1, arg2) {
329
+ wasm.closure2961_externref_shim(arg0, arg1, arg2);
311
330
  }
312
331
 
313
- function __wbg_adapter_83(arg0, arg1) {
314
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h70a5324370145de4(arg0, arg1);
332
+ function __wbg_adapter_44(arg0, arg1, arg2) {
333
+ const ret = wasm.closure729_externref_shim(arg0, arg1, arg2);
334
+ return ret;
315
335
  }
316
336
 
317
- function __wbg_adapter_86(arg0, arg1, arg2) {
318
- wasm.closure2811_externref_shim(arg0, arg1, arg2);
337
+ function __wbg_adapter_47(arg0, arg1) {
338
+ wasm.wasm_bindgen__convert__closures_____invoke__h7953c2fdc3875afe(arg0, arg1);
319
339
  }
320
340
 
321
- function __wbg_adapter_984(arg0, arg1, arg2, arg3) {
322
- wasm.closure2829_externref_shim(arg0, arg1, arg2, arg3);
341
+ function __wbg_adapter_960(arg0, arg1, arg2, arg3) {
342
+ wasm.closure2981_externref_shim(arg0, arg1, arg2, arg3);
323
343
  }
324
344
 
325
345
  /**
@@ -1156,12 +1176,20 @@ export class AppVersion {
1156
1176
  const ret = wasm.appversion_V5();
1157
1177
  return AppVersion.__wrap(ret);
1158
1178
  }
1179
+ /**
1180
+ * App v6
1181
+ * @returns {AppVersion}
1182
+ */
1183
+ static get V6() {
1184
+ const ret = wasm.appversion_V6();
1185
+ return AppVersion.__wrap(ret);
1186
+ }
1159
1187
  /**
1160
1188
  * Latest App version variant.
1161
1189
  * @returns {AppVersion}
1162
1190
  */
1163
1191
  static latest() {
1164
- const ret = wasm.appversion_V5();
1192
+ const ret = wasm.appversion_V6();
1165
1193
  return AppVersion.__wrap(ret);
1166
1194
  }
1167
1195
  }
@@ -2285,6 +2313,95 @@ export class Commitment {
2285
2313
  }
2286
2314
  }
2287
2315
 
2316
+ const ConfigResponseFinalization = (typeof FinalizationRegistry === 'undefined')
2317
+ ? { register: () => {}, unregister: () => {} }
2318
+ : new FinalizationRegistry(ptr => wasm.__wbg_configresponse_free(ptr >>> 0, 1));
2319
+ /**
2320
+ * Response holding consensus node configuration.
2321
+ */
2322
+ export class ConfigResponse {
2323
+
2324
+ static __wrap(ptr) {
2325
+ ptr = ptr >>> 0;
2326
+ const obj = Object.create(ConfigResponse.prototype);
2327
+ obj.__wbg_ptr = ptr;
2328
+ ConfigResponseFinalization.register(obj, obj.__wbg_ptr, obj);
2329
+ return obj;
2330
+ }
2331
+
2332
+ __destroy_into_raw() {
2333
+ const ptr = this.__wbg_ptr;
2334
+ this.__wbg_ptr = 0;
2335
+ ConfigResponseFinalization.unregister(this);
2336
+ return ptr;
2337
+ }
2338
+
2339
+ free() {
2340
+ const ptr = this.__destroy_into_raw();
2341
+ wasm.__wbg_configresponse_free(ptr, 0);
2342
+ }
2343
+ /**
2344
+ * Minimum gas price for the node to accept tx. Value is in `utia` denom.
2345
+ * @returns {number | undefined}
2346
+ */
2347
+ get minimum_gas_price() {
2348
+ const ret = wasm.__wbg_get_configresponse_minimum_gas_price(this.__wbg_ptr);
2349
+ return ret[0] === 0 ? undefined : ret[1];
2350
+ }
2351
+ /**
2352
+ * Minimum gas price for the node to accept tx. Value is in `utia` denom.
2353
+ * @param {number | null} [arg0]
2354
+ */
2355
+ set minimum_gas_price(arg0) {
2356
+ wasm.__wbg_set_configresponse_minimum_gas_price(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
2357
+ }
2358
+ /**
2359
+ * How many recent blocks are stored by the node.
2360
+ * @returns {bigint}
2361
+ */
2362
+ get pruning_keep_recent() {
2363
+ const ret = wasm.__wbg_get_configresponse_pruning_keep_recent(this.__wbg_ptr);
2364
+ return BigInt.asUintN(64, ret);
2365
+ }
2366
+ /**
2367
+ * How many recent blocks are stored by the node.
2368
+ * @param {bigint} arg0
2369
+ */
2370
+ set pruning_keep_recent(arg0) {
2371
+ wasm.__wbg_set_configresponse_pruning_keep_recent(this.__wbg_ptr, arg0);
2372
+ }
2373
+ /**
2374
+ * Amount of blocks used as an interval to trigger prunning.
2375
+ * @returns {bigint}
2376
+ */
2377
+ get pruning_interval() {
2378
+ const ret = wasm.__wbg_get_configresponse_pruning_interval(this.__wbg_ptr);
2379
+ return BigInt.asUintN(64, ret);
2380
+ }
2381
+ /**
2382
+ * Amount of blocks used as an interval to trigger prunning.
2383
+ * @param {bigint} arg0
2384
+ */
2385
+ set pruning_interval(arg0) {
2386
+ wasm.__wbg_set_configresponse_pruning_interval(this.__wbg_ptr, arg0);
2387
+ }
2388
+ /**
2389
+ * A height at which the node should stop advancing state.
2390
+ * @returns {bigint}
2391
+ */
2392
+ get halt_height() {
2393
+ const ret = wasm.__wbg_get_configresponse_halt_height(this.__wbg_ptr);
2394
+ return BigInt.asUintN(64, ret);
2395
+ }
2396
+ /**
2397
+ * A height at which the node should stop advancing state.
2398
+ * @param {bigint} arg0
2399
+ */
2400
+ set halt_height(arg0) {
2401
+ wasm.__wbg_set_configresponse_halt_height(this.__wbg_ptr, arg0);
2402
+ }
2403
+ }
2404
+
2288
2405
  const ConflictingBlockFinalization = (typeof FinalizationRegistry === 'undefined')
2289
2406
  ? { register: () => {}, unregister: () => {} }
2290
2407
  : new FinalizationRegistry(ptr => wasm.__wbg_conflictingblock_free(ptr >>> 0, 1));
@@ -3214,7 +3331,7 @@ export class Fee {
3214
3331
  * @returns {bigint}
3215
3332
  */
3216
3333
  get gas_limit() {
3217
- const ret = wasm.__wbg_get_data_square_size(this.__wbg_ptr);
3334
+ const ret = wasm.__wbg_get_fee_gas_limit(this.__wbg_ptr);
3218
3335
  return BigInt.asUintN(64, ret);
3219
3336
  }
3220
3337
  /**
@@ -3223,7 +3340,7 @@ export class Fee {
3223
3340
  * @param {bigint} arg0
3224
3341
  */
3225
3342
  set gas_limit(arg0) {
3226
- wasm.__wbg_set_data_square_size(this.__wbg_ptr, arg0);
3343
+ wasm.__wbg_set_fee_gas_limit(this.__wbg_ptr, arg0);
3227
3344
  }
3228
3345
  /**
3229
3346
  * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
@@ -3434,7 +3551,7 @@ const GrpcClientFinalization = (typeof FinalizationRegistry === 'undefined')
3434
3551
  ? { register: () => {}, unregister: () => {} }
3435
3552
  : new FinalizationRegistry(ptr => wasm.__wbg_grpcclient_free(ptr >>> 0, 1));
3436
3553
  /**
3437
- * Celestia GRPC client
3554
+ * Celestia gRPC client, for builder see [`GrpcClientBuilder`]
3438
3555
  */
3439
3556
  export class GrpcClient {
3440
3557
 
@@ -3458,22 +3575,22 @@ export class GrpcClient {
3458
3575
  wasm.__wbg_grpcclient_free(ptr, 0);
3459
3576
  }
3460
3577
  /**
3461
- * Create a new client connected with the given `url`
3578
+ * Create a builder for [`GrpcClient`] connected to `url`
3462
3579
  * @param {string} url
3463
- * @returns {Promise<GrpcClient>}
3580
+ * @returns {GrpcClientBuilder}
3464
3581
  */
3465
- static new(url) {
3582
+ static withUrl(url) {
3466
3583
  const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3467
3584
  const len0 = WASM_VECTOR_LEN;
3468
- const ret = wasm.grpcclient_new(ptr0, len0);
3469
- return ret;
3585
+ const ret = wasm.grpcclient_withUrl(ptr0, len0);
3586
+ return GrpcClientBuilder.__wrap(ret);
3470
3587
  }
3471
3588
  /**
3472
3589
  * Get auth params
3473
3590
  * @returns {Promise<AuthParams>}
3474
3591
  */
3475
- get_auth_params() {
3476
- const ret = wasm.grpcclient_get_auth_params(this.__wbg_ptr);
3592
+ getAuthParams() {
3593
+ const ret = wasm.grpcclient_getAuthParams(this.__wbg_ptr);
3477
3594
  return ret;
3478
3595
  }
3479
3596
  /**
@@ -3481,50 +3598,52 @@ export class GrpcClient {
3481
3598
  * @param {string} account
3482
3599
  * @returns {Promise<BaseAccount>}
3483
3600
  */
3484
- get_account(account) {
3601
+ getAccount(account) {
3485
3602
  const ptr0 = passStringToWasm0(account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3486
3603
  const len0 = WASM_VECTOR_LEN;
3487
- const ret = wasm.grpcclient_get_account(this.__wbg_ptr, ptr0, len0);
3604
+ const ret = wasm.grpcclient_getAccount(this.__wbg_ptr, ptr0, len0);
3488
3605
  return ret;
3489
3606
  }
3490
3607
  /**
3491
3608
  * Get accounts
3492
3609
  * @returns {Promise<BaseAccount[]>}
3493
3610
  */
3494
- get_accounts() {
3495
- const ret = wasm.grpcclient_get_accounts(this.__wbg_ptr);
3611
+ getAccounts() {
3612
+ const ret = wasm.grpcclient_getAccounts(this.__wbg_ptr);
3496
3613
  return ret;
3497
3614
  }
3498
3615
  /**
3499
- * Get balance of coins with bond denom for the given address, together with a proof,
3500
- * and verify the returned balance against the corresponding block's app hash.
3616
+ * Retrieves the verified Celestia coin balance for the address.
3501
3617
  *
3502
- * NOTE: the balance returned is the balance reported by the parent block of
3503
- * the provided header. This is due to the fact that for block N, the block's
3504
- * app hash is the result of applying the previous block's transaction list.
3618
+ * # Notes
3619
+ *
3620
+ * This returns the verified balance which is the one that was reported by
3621
+ * the previous network block. In other words, if you transfer some coins,
3622
+ * you need to wait 1 more block in order to see the new balance. If you want
3623
+ * something more immediate then use [`GrpcClient::get_balance`].
3505
3624
  * @param {string} address
3506
3625
  * @param {ExtendedHeader} header
3507
3626
  * @returns {Promise<Coin>}
3508
3627
  */
3509
- get_verified_balance(address, header) {
3628
+ getVerifiedBalance(address, header) {
3510
3629
  const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3511
3630
  const len0 = WASM_VECTOR_LEN;
3512
3631
  _assertClass(header, ExtendedHeader);
3513
- const ret = wasm.grpcclient_get_verified_balance(this.__wbg_ptr, ptr0, len0, header.__wbg_ptr);
3632
+ const ret = wasm.grpcclient_getVerifiedBalance(this.__wbg_ptr, ptr0, len0, header.__wbg_ptr);
3514
3633
  return ret;
3515
3634
  }
3516
3635
  /**
3517
- * Get balance of coins with given denom
3636
+ * Retrieves the Celestia coin balance for the given address.
3518
3637
  * @param {string} address
3519
3638
  * @param {string} denom
3520
3639
  * @returns {Promise<Coin>}
3521
3640
  */
3522
- get_balance(address, denom) {
3641
+ getBalance(address, denom) {
3523
3642
  const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3524
3643
  const len0 = WASM_VECTOR_LEN;
3525
3644
  const ptr1 = passStringToWasm0(denom, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3526
3645
  const len1 = WASM_VECTOR_LEN;
3527
- const ret = wasm.grpcclient_get_balance(this.__wbg_ptr, ptr0, len0, ptr1, len1);
3646
+ const ret = wasm.grpcclient_getBalance(this.__wbg_ptr, ptr0, len0, ptr1, len1);
3528
3647
  return ret;
3529
3648
  }
3530
3649
  /**
@@ -3532,10 +3651,10 @@ export class GrpcClient {
3532
3651
  * @param {string} address
3533
3652
  * @returns {Promise<Coin[]>}
3534
3653
  */
3535
- get_all_balances(address) {
3654
+ getAllBalances(address) {
3536
3655
  const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3537
3656
  const len0 = WASM_VECTOR_LEN;
3538
- const ret = wasm.grpcclient_get_all_balances(this.__wbg_ptr, ptr0, len0);
3657
+ const ret = wasm.grpcclient_getAllBalances(this.__wbg_ptr, ptr0, len0);
3539
3658
  return ret;
3540
3659
  }
3541
3660
  /**
@@ -3543,34 +3662,34 @@ export class GrpcClient {
3543
3662
  * @param {string} address
3544
3663
  * @returns {Promise<Coin[]>}
3545
3664
  */
3546
- get_spendable_balances(address) {
3665
+ getSpendableBalances(address) {
3547
3666
  const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3548
3667
  const len0 = WASM_VECTOR_LEN;
3549
- const ret = wasm.grpcclient_get_spendable_balances(this.__wbg_ptr, ptr0, len0);
3668
+ const ret = wasm.grpcclient_getSpendableBalances(this.__wbg_ptr, ptr0, len0);
3550
3669
  return ret;
3551
3670
  }
3552
3671
  /**
3553
3672
  * Get total supply
3554
3673
  * @returns {Promise<Coin[]>}
3555
3674
  */
3556
- get_total_supply() {
3557
- const ret = wasm.grpcclient_get_total_supply(this.__wbg_ptr);
3675
+ getTotalSupply() {
3676
+ const ret = wasm.grpcclient_getTotalSupply(this.__wbg_ptr);
3558
3677
  return ret;
3559
3678
  }
3560
3679
  /**
3561
- * Get Minimum Gas price
3562
- * @returns {Promise<number>}
3680
+ * Get node configuration
3681
+ * @returns {Promise<ConfigResponse>}
3563
3682
  */
3564
- get_min_gas_price() {
3565
- const ret = wasm.grpcclient_get_min_gas_price(this.__wbg_ptr);
3683
+ get_node_config() {
3684
+ const ret = wasm.grpcclient_get_node_config(this.__wbg_ptr);
3566
3685
  return ret;
3567
3686
  }
3568
3687
  /**
3569
3688
  * Get latest block
3570
3689
  * @returns {Promise<Block>}
3571
3690
  */
3572
- get_latest_block() {
3573
- const ret = wasm.grpcclient_get_latest_block(this.__wbg_ptr);
3691
+ getLatestBlock() {
3692
+ const ret = wasm.grpcclient_getLatestBlock(this.__wbg_ptr);
3574
3693
  return ret;
3575
3694
  }
3576
3695
  /**
@@ -3578,8 +3697,8 @@ export class GrpcClient {
3578
3697
  * @param {bigint} height
3579
3698
  * @returns {Promise<Block>}
3580
3699
  */
3581
- get_block_by_height(height) {
3582
- const ret = wasm.grpcclient_get_block_by_height(this.__wbg_ptr, height);
3700
+ getBlockByHeight(height) {
3701
+ const ret = wasm.grpcclient_getBlockByHeight(this.__wbg_ptr, height);
3583
3702
  return ret;
3584
3703
  }
3585
3704
  /**
@@ -3590,12 +3709,12 @@ export class GrpcClient {
3590
3709
  * @param {boolean} prove
3591
3710
  * @returns {Promise<AbciQueryResponse>}
3592
3711
  */
3593
- abci_query(data, path, height, prove) {
3712
+ abciQuery(data, path, height, prove) {
3594
3713
  const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
3595
3714
  const len0 = WASM_VECTOR_LEN;
3596
3715
  const ptr1 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3597
3716
  const len1 = WASM_VECTOR_LEN;
3598
- const ret = wasm.grpcclient_abci_query(this.__wbg_ptr, ptr0, len0, ptr1, len1, height, prove);
3717
+ const ret = wasm.grpcclient_abciQuery(this.__wbg_ptr, ptr0, len0, ptr1, len1, height, prove);
3599
3718
  return ret;
3600
3719
  }
3601
3720
  /**
@@ -3604,11 +3723,11 @@ export class GrpcClient {
3604
3723
  * @param {BroadcastMode} mode
3605
3724
  * @returns {Promise<TxResponse>}
3606
3725
  */
3607
- broadcast_tx(tx_bytes, mode) {
3726
+ broadcastTx(tx_bytes, mode) {
3608
3727
  const ptr0 = passArray8ToWasm0(tx_bytes, wasm.__wbindgen_malloc);
3609
3728
  const len0 = WASM_VECTOR_LEN;
3610
3729
  _assertClass(mode, BroadcastMode);
3611
- const ret = wasm.grpcclient_broadcast_tx(this.__wbg_ptr, ptr0, len0, mode.__wbg_ptr);
3730
+ const ret = wasm.grpcclient_broadcastTx(this.__wbg_ptr, ptr0, len0, mode.__wbg_ptr);
3612
3731
  return ret;
3613
3732
  }
3614
3733
  /**
@@ -3616,10 +3735,10 @@ export class GrpcClient {
3616
3735
  * @param {string} hash
3617
3736
  * @returns {Promise<GetTxResponse>}
3618
3737
  */
3619
- get_tx(hash) {
3738
+ getTx(hash) {
3620
3739
  const ptr0 = passStringToWasm0(hash, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3621
3740
  const len0 = WASM_VECTOR_LEN;
3622
- const ret = wasm.grpcclient_get_tx(this.__wbg_ptr, ptr0, len0);
3741
+ const ret = wasm.grpcclient_getTx(this.__wbg_ptr, ptr0, len0);
3623
3742
  return ret;
3624
3743
  }
3625
3744
  /**
@@ -3637,8 +3756,8 @@ export class GrpcClient {
3637
3756
  * Get blob params
3638
3757
  * @returns {Promise<BlobParams>}
3639
3758
  */
3640
- get_blob_params() {
3641
- const ret = wasm.grpcclient_get_blob_params(this.__wbg_ptr);
3759
+ getBlobParams() {
3760
+ const ret = wasm.grpcclient_getBlobParams(this.__wbg_ptr);
3642
3761
  return ret;
3643
3762
  }
3644
3763
  /**
@@ -3646,32 +3765,278 @@ export class GrpcClient {
3646
3765
  * @param {string} hash
3647
3766
  * @returns {Promise<TxStatusResponse>}
3648
3767
  */
3649
- tx_status(hash) {
3768
+ txStatus(hash) {
3650
3769
  const ptr0 = passStringToWasm0(hash, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3651
3770
  const len0 = WASM_VECTOR_LEN;
3652
- const ret = wasm.grpcclient_tx_status(this.__wbg_ptr, ptr0, len0);
3771
+ const ret = wasm.grpcclient_txStatus(this.__wbg_ptr, ptr0, len0);
3653
3772
  return ret;
3654
3773
  }
3655
- }
3656
-
3657
- const HeaderFinalization = (typeof FinalizationRegistry === 'undefined')
3658
- ? { register: () => {}, unregister: () => {} }
3659
- : new FinalizationRegistry(ptr => wasm.__wbg_header_free(ptr >>> 0, 1));
3660
- /**
3661
- * Block Header values contain metadata about the block and about the consensus,
3662
- * as well as commitments to the data in the current block, the previous block,
3663
- * and the results returned by the application.
3664
- */
3665
- export class Header {
3666
-
3667
- static __wrap(ptr) {
3668
- ptr = ptr >>> 0;
3669
- const obj = Object.create(Header.prototype);
3670
- obj.__wbg_ptr = ptr;
3671
- HeaderFinalization.register(obj, obj.__wbg_ptr, obj);
3672
- return obj;
3774
+ /**
3775
+ * Estimate gas price for given transaction priority based
3776
+ * on the gas prices of the transactions in the last five blocks.
3777
+ *
3778
+ * If no transaction is found in the last five blocks, return the network
3779
+ * min gas price.
3780
+ * @param {TxPriority} priority
3781
+ * @returns {Promise<number>}
3782
+ */
3783
+ estimateGasPrice(priority) {
3784
+ const ret = wasm.grpcclient_estimateGasPrice(this.__wbg_ptr, priority);
3785
+ return ret;
3673
3786
  }
3674
-
3787
+ /**
3788
+ * Chain id of the client
3789
+ * @returns {Promise<string>}
3790
+ */
3791
+ get chainId() {
3792
+ const ret = wasm.grpcclient_chainId(this.__wbg_ptr);
3793
+ return ret;
3794
+ }
3795
+ /**
3796
+ * AppVersion of the client
3797
+ * @returns {Promise<AppVersion>}
3798
+ */
3799
+ get appVersion() {
3800
+ const ret = wasm.grpcclient_appVersion(this.__wbg_ptr);
3801
+ return ret;
3802
+ }
3803
+ /**
3804
+ * Submit blobs to the celestia network.
3805
+ *
3806
+ * # Example
3807
+ * ```js
3808
+ * const ns = Namespace.newV0(new Uint8Array([97, 98, 99]));
3809
+ * const data = new Uint8Array([100, 97, 116, 97]);
3810
+ * const blob = new Blob(ns, data, AppVersion.latest());
3811
+ *
3812
+ * const txInfo = await txClient.submitBlobs([blob]);
3813
+ * await txClient.submitBlobs([blob], { gasLimit: 100000n, gasPrice: 0.02, memo: "foo" });
3814
+ * ```
3815
+ *
3816
+ * # Note
3817
+ *
3818
+ * Provided blobs will be consumed by this method, meaning
3819
+ * they will no longer be accessible. If this behavior is not desired,
3820
+ * consider using `Blob.clone()`.
3821
+ *
3822
+ * ```js
3823
+ * const blobs = [blob1, blob2, blob3];
3824
+ * await txClient.submitBlobs(blobs.map(b => b.clone()));
3825
+ * ```
3826
+ * @param {Blob[]} blobs
3827
+ * @param {TxConfig | null} [tx_config]
3828
+ * @returns {Promise<TxInfo>}
3829
+ */
3830
+ submitBlobs(blobs, tx_config) {
3831
+ const ptr0 = passArrayJsValueToWasm0(blobs, wasm.__wbindgen_malloc);
3832
+ const len0 = WASM_VECTOR_LEN;
3833
+ const ret = wasm.grpcclient_submitBlobs(this.__wbg_ptr, ptr0, len0, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
3834
+ return ret;
3835
+ }
3836
+ /**
3837
+ * Submit message to the celestia network.
3838
+ *
3839
+ * # Example
3840
+ * ```js
3841
+ * import { Registry } from "@cosmjs/proto-signing";
3842
+ *
3843
+ * const registry = new Registry();
3844
+ * const sendMsg = {
3845
+ * typeUrl: "/cosmos.bank.v1beta1.MsgSend",
3846
+ * value: {
3847
+ * fromAddress: "celestia169s50psyj2f4la9a2235329xz7rk6c53zhw9mm",
3848
+ * toAddress: "celestia1t52q7uqgnjfzdh3wx5m5phvma3umrq8k6tq2p9",
3849
+ * amount: [{ denom: "utia", amount: "10000" }],
3850
+ * },
3851
+ * };
3852
+ * const sendMsgAny = registry.encodeAsAny(sendMsg);
3853
+ *
3854
+ * const txInfo = await txClient.submitMessage(sendMsgAny);
3855
+ * ```
3856
+ * @param {ProtoAny} message
3857
+ * @param {TxConfig | null} [tx_config]
3858
+ * @returns {Promise<TxInfo>}
3859
+ */
3860
+ submitMessage(message, tx_config) {
3861
+ const ret = wasm.grpcclient_submitMessage(this.__wbg_ptr, message, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
3862
+ return ret;
3863
+ }
3864
+ }
3865
+
3866
+ const GrpcClientBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
3867
+ ? { register: () => {}, unregister: () => {} }
3868
+ : new FinalizationRegistry(ptr => wasm.__wbg_grpcclientbuilder_free(ptr >>> 0, 1));
3869
+ /**
3870
+ * Builder for [`GrpcClient`] and [`TxClient`].
3871
+ *
3872
+ * Url must point to a [grpc-web proxy](https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-WEB.md).
3873
+ *
3874
+ * # Keyless client example
3875
+ *
3876
+ * ```js
3877
+ * const client = await GrpcClient
3878
+ * .withUrl("http://127.0.0.1:18080")
3879
+ * .build()
3880
+ * ```
3881
+ *
3882
+ * # Transaction client examples
3883
+ *
3884
+ * ## Example with noble/curves
3885
+ * ```js
3886
+ * import { secp256k1 } from "@noble/curves/secp256k1";
3887
+ *
3888
+ * const privKey = "fdc8ac75dfa1c142dbcba77938a14dd03078052ce0b49a529dcf72a9885a3abb";
3889
+ * const pubKey = secp256k1.getPublicKey(privKey);
3890
+ *
3891
+ * const signer = (signDoc) => {
3892
+ * const bytes = protoEncodeSignDoc(signDoc);
3893
+ * const sig = secp256k1.sign(bytes, privKey, { prehash: true });
3894
+ * return sig.toCompactRawBytes();
3895
+ * };
3896
+ *
3897
+ * const client = await GrpcClient
3898
+ * .withUrl("http://127.0.0.1:18080")
3899
+ * .withPubkeyAndSigner(pubKey, signer)
3900
+ * .build();
3901
+ * ```
3902
+ *
3903
+ * ## Example with leap wallet
3904
+ * ```js
3905
+ * await window.leap.enable("mocha-4")
3906
+ * const keys = await window.leap.getKey("mocha-4")
3907
+ *
3908
+ * const signer = (signDoc) => {
3909
+ * return window.leap.signDirect("mocha-4", keys.bech32Address, signDoc, { preferNoSetFee: true })
3910
+ * .then(sig => Uint8Array.from(atob(sig.signature.signature), c => c.charCodeAt(0)))
3911
+ * }
3912
+ *
3913
+ * const client = await GrpcClient
3914
+ * .withUrl("http://127.0.0.1:18080")
3915
+ * .withPubkeyAndSigner(keys.pubKey, signer)
3916
+ * .build()
3917
+ * ```
3918
+ */
3919
+ export class GrpcClientBuilder {
3920
+
3921
+ static __wrap(ptr) {
3922
+ ptr = ptr >>> 0;
3923
+ const obj = Object.create(GrpcClientBuilder.prototype);
3924
+ obj.__wbg_ptr = ptr;
3925
+ GrpcClientBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
3926
+ return obj;
3927
+ }
3928
+
3929
+ __destroy_into_raw() {
3930
+ const ptr = this.__wbg_ptr;
3931
+ this.__wbg_ptr = 0;
3932
+ GrpcClientBuilderFinalization.unregister(this);
3933
+ return ptr;
3934
+ }
3935
+
3936
+ free() {
3937
+ const ptr = this.__destroy_into_raw();
3938
+ wasm.__wbg_grpcclientbuilder_free(ptr, 0);
3939
+ }
3940
+ /**
3941
+ * Set the `url` of the grpc-web server to connect to
3942
+ *
3943
+ * Note that this method **consumes** builder and returns updated instance of it.
3944
+ * Make sure to re-assign it if you keep builder in a variable.
3945
+ * @param {string} url
3946
+ * @returns {GrpcClientBuilder}
3947
+ */
3948
+ withUrl(url) {
3949
+ const ptr = this.__destroy_into_raw();
3950
+ const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3951
+ const len0 = WASM_VECTOR_LEN;
3952
+ const ret = wasm.grpcclientbuilder_withUrl(ptr, ptr0, len0);
3953
+ return GrpcClientBuilder.__wrap(ret);
3954
+ }
3955
+ /**
3956
+ * Add public key and signer to the client being built
3957
+ *
3958
+ * Note that this method **consumes** builder and returns updated instance of it.
3959
+ * Make sure to re-assign it if you keep builder in a variable.
3960
+ * @param {Uint8Array} account_pubkey
3961
+ * @param {SignerFn} signer_fn
3962
+ * @returns {GrpcClientBuilder}
3963
+ */
3964
+ withPubkeyAndSigner(account_pubkey, signer_fn) {
3965
+ const ptr = this.__destroy_into_raw();
3966
+ const ret = wasm.grpcclientbuilder_withPubkeyAndSigner(ptr, account_pubkey, signer_fn);
3967
+ if (ret[2]) {
3968
+ throw takeFromExternrefTable0(ret[1]);
3969
+ }
3970
+ return GrpcClientBuilder.__wrap(ret[0]);
3971
+ }
3972
+ /**
3973
+ * Appends ascii metadata to all requests made by the client.
3974
+ *
3975
+ * Note that this method **consumes** builder and returns updated instance of it.
3976
+ * Make sure to re-assign it if you keep builder in a variable.
3977
+ * @param {string} key
3978
+ * @param {string} value
3979
+ * @returns {GrpcClientBuilder}
3980
+ */
3981
+ withMetadata(key, value) {
3982
+ const ptr = this.__destroy_into_raw();
3983
+ const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3984
+ const len0 = WASM_VECTOR_LEN;
3985
+ const ptr1 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3986
+ const len1 = WASM_VECTOR_LEN;
3987
+ const ret = wasm.grpcclientbuilder_withMetadata(ptr, ptr0, len0, ptr1, len1);
3988
+ return GrpcClientBuilder.__wrap(ret);
3989
+ }
3990
+ /**
3991
+ * Appends binary metadata to all requests made by the client.
3992
+ *
3993
+ * Keys for binary metadata must have `-bin` suffix.
3994
+ *
3995
+ * Note that this method **consumes** builder and returns updated instance of it.
3996
+ * Make sure to re-assign it if you keep builder in a variable.
3997
+ * @param {string} key
3998
+ * @param {Uint8Array} value
3999
+ * @returns {GrpcClientBuilder}
4000
+ */
4001
+ withMetadataBin(key, value) {
4002
+ const ptr = this.__destroy_into_raw();
4003
+ const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4004
+ const len0 = WASM_VECTOR_LEN;
4005
+ const ret = wasm.grpcclientbuilder_withMetadataBin(ptr, ptr0, len0, value);
4006
+ return GrpcClientBuilder.__wrap(ret);
4007
+ }
4008
+ /**
4009
+ * build gRPC client
4010
+ * @returns {GrpcClient}
4011
+ */
4012
+ build() {
4013
+ const ptr = this.__destroy_into_raw();
4014
+ const ret = wasm.grpcclientbuilder_build(ptr);
4015
+ if (ret[2]) {
4016
+ throw takeFromExternrefTable0(ret[1]);
4017
+ }
4018
+ return GrpcClient.__wrap(ret[0]);
4019
+ }
4020
+ }
4021
+
4022
+ const HeaderFinalization = (typeof FinalizationRegistry === 'undefined')
4023
+ ? { register: () => {}, unregister: () => {} }
4024
+ : new FinalizationRegistry(ptr => wasm.__wbg_header_free(ptr >>> 0, 1));
4025
+ /**
4026
+ * Block Header values contain metadata about the block and about the consensus,
4027
+ * as well as commitments to the data in the current block, the previous block,
4028
+ * and the results returned by the application.
4029
+ */
4030
+ export class Header {
4031
+
4032
+ static __wrap(ptr) {
4033
+ ptr = ptr >>> 0;
4034
+ const obj = Object.create(Header.prototype);
4035
+ obj.__wbg_ptr = ptr;
4036
+ HeaderFinalization.register(obj, obj.__wbg_ptr, obj);
4037
+ return obj;
4038
+ }
4039
+
3675
4040
  __destroy_into_raw() {
3676
4041
  const ptr = this.__wbg_ptr;
3677
4042
  this.__wbg_ptr = 0;
@@ -4168,7 +4533,7 @@ export class JsBitVector {
4168
4533
  set 0(arg0) {
4169
4534
  const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
4170
4535
  const len0 = WASM_VECTOR_LEN;
4171
- wasm.__wbg_set_blockid_hash(this.__wbg_ptr, ptr0, len0);
4536
+ wasm.__wbg_set_jsbitvector_0(this.__wbg_ptr, ptr0, len0);
4172
4537
  }
4173
4538
  }
4174
4539
 
@@ -4222,7 +4587,7 @@ export class JsEvent {
4222
4587
  set type(arg0) {
4223
4588
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4224
4589
  const len0 = WASM_VECTOR_LEN;
4225
- wasm.__wbg_set_jsevent_type(this.__wbg_ptr, ptr0, len0);
4590
+ wasm.__wbg_set_jsbitvector_0(this.__wbg_ptr, ptr0, len0);
4226
4591
  }
4227
4592
  /**
4228
4593
  * @returns {JsEventAttribute[]}
@@ -4296,7 +4661,7 @@ export class JsEventAttribute {
4296
4661
  set key(arg0) {
4297
4662
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4298
4663
  const len0 = WASM_VECTOR_LEN;
4299
- wasm.__wbg_set_jsevent_type(this.__wbg_ptr, ptr0, len0);
4664
+ wasm.__wbg_set_jsbitvector_0(this.__wbg_ptr, ptr0, len0);
4300
4665
  }
4301
4666
  /**
4302
4667
  * @returns {string}
@@ -4458,7 +4823,7 @@ export class JsValidatorInfo {
4458
4823
  * @returns {bigint}
4459
4824
  */
4460
4825
  get power() {
4461
- const ret = wasm.__wbg_get_jsvalidatorinfo_power(this.__wbg_ptr);
4826
+ const ret = wasm.__wbg_get_data_square_size(this.__wbg_ptr);
4462
4827
  return BigInt.asUintN(64, ret);
4463
4828
  }
4464
4829
  /**
@@ -4466,7 +4831,7 @@ export class JsValidatorInfo {
4466
4831
  * @param {bigint} arg0
4467
4832
  */
4468
4833
  set power(arg0) {
4469
- wasm.__wbg_set_jsvalidatorinfo_power(this.__wbg_ptr, arg0);
4834
+ wasm.__wbg_set_data_square_size(this.__wbg_ptr, arg0);
4470
4835
  }
4471
4836
  /**
4472
4837
  * Validator name
@@ -5276,6 +5641,7 @@ export class NodeConfig {
5276
5641
  return {
5277
5642
  network: this.network,
5278
5643
  bootnodes: this.bootnodes,
5644
+ identity_key: this.identity_key,
5279
5645
  usePersistentMemory: this.usePersistentMemory,
5280
5646
  customPruningWindowSecs: this.customPruningWindowSecs,
5281
5647
  };
@@ -5330,6 +5696,30 @@ export class NodeConfig {
5330
5696
  const len0 = WASM_VECTOR_LEN;
5331
5697
  wasm.__wbg_set_nodeconfig_bootnodes(this.__wbg_ptr, ptr0, len0);
5332
5698
  }
5699
+ /**
5700
+ * Optionally start with a provided private key used as libp2p identity. Expects 32 bytes
5701
+ * containing ed25519 secret key.
5702
+ * @returns {Uint8Array | undefined}
5703
+ */
5704
+ get identity_key() {
5705
+ const ret = wasm.__wbg_get_nodeconfig_identity_key(this.__wbg_ptr);
5706
+ let v1;
5707
+ if (ret[0] !== 0) {
5708
+ v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
5709
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
5710
+ }
5711
+ return v1;
5712
+ }
5713
+ /**
5714
+ * Optionally start with a provided private key used as libp2p identity. Expects 32 bytes
5715
+ * containing ed25519 secret key.
5716
+ * @param {Uint8Array | null} [arg0]
5717
+ */
5718
+ set identity_key(arg0) {
5719
+ var ptr0 = isLikeNone(arg0) ? 0 : passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
5720
+ var len0 = WASM_VECTOR_LEN;
5721
+ wasm.__wbg_set_nodeconfig_identity_key(this.__wbg_ptr, ptr0, len0);
5722
+ }
5333
5723
  /**
5334
5724
  * Whether to store data in persistent memory or not.
5335
5725
  *
@@ -5498,7 +5888,7 @@ export class PartsHeader {
5498
5888
  set hash(arg0) {
5499
5889
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5500
5890
  const len0 = WASM_VECTOR_LEN;
5501
- wasm.__wbg_set_blockid_hash(this.__wbg_ptr, ptr0, len0);
5891
+ wasm.__wbg_set_jsbitvector_0(this.__wbg_ptr, ptr0, len0);
5502
5892
  }
5503
5893
  }
5504
5894
 
@@ -5749,7 +6139,7 @@ export class ProtocolVersion {
5749
6139
  * @returns {bigint}
5750
6140
  */
5751
6141
  get block() {
5752
- const ret = wasm.__wbg_get_jsvalidatorinfo_power(this.__wbg_ptr);
6142
+ const ret = wasm.__wbg_get_commit_height(this.__wbg_ptr);
5753
6143
  return BigInt.asUintN(64, ret);
5754
6144
  }
5755
6145
  /**
@@ -5757,14 +6147,14 @@ export class ProtocolVersion {
5757
6147
  * @param {bigint} arg0
5758
6148
  */
5759
6149
  set block(arg0) {
5760
- wasm.__wbg_set_jsvalidatorinfo_power(this.__wbg_ptr, arg0);
6150
+ wasm.__wbg_set_commit_height(this.__wbg_ptr, arg0);
5761
6151
  }
5762
6152
  /**
5763
6153
  * app version
5764
6154
  * @returns {bigint}
5765
6155
  */
5766
6156
  get app() {
5767
- const ret = wasm.__wbg_get_jsvalidatorinfo_proposer_priority(this.__wbg_ptr);
6157
+ const ret = wasm.__wbg_get_protocolversion_app(this.__wbg_ptr);
5768
6158
  return BigInt.asUintN(64, ret);
5769
6159
  }
5770
6160
  /**
@@ -5772,7 +6162,7 @@ export class ProtocolVersion {
5772
6162
  * @param {bigint} arg0
5773
6163
  */
5774
6164
  set app(arg0) {
5775
- wasm.__wbg_set_jsvalidatorinfo_proposer_priority(this.__wbg_ptr, arg0);
6165
+ wasm.__wbg_set_protocolversion_app(this.__wbg_ptr, arg0);
5776
6166
  }
5777
6167
  }
5778
6168
 
@@ -6284,7 +6674,7 @@ export class TxBody {
6284
6674
  set memo(arg0) {
6285
6675
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6286
6676
  const len0 = WASM_VECTOR_LEN;
6287
- wasm.__wbg_set_data_hash(this.__wbg_ptr, ptr0, len0);
6677
+ wasm.__wbg_set_txbody_memo(this.__wbg_ptr, ptr0, len0);
6288
6678
  }
6289
6679
  /**
6290
6680
  * `messages` is a list of messages to be executed. The required signers of
@@ -6338,339 +6728,82 @@ export class TxBody {
6338
6728
  }
6339
6729
  }
6340
6730
 
6341
- const TxClientFinalization = (typeof FinalizationRegistry === 'undefined')
6731
+ const TxResponseFinalization = (typeof FinalizationRegistry === 'undefined')
6342
6732
  ? { register: () => {}, unregister: () => {} }
6343
- : new FinalizationRegistry(ptr => wasm.__wbg_txclient_free(ptr >>> 0, 1));
6733
+ : new FinalizationRegistry(ptr => wasm.__wbg_txresponse_free(ptr >>> 0, 1));
6344
6734
  /**
6345
- * Celestia grpc transaction client.
6735
+ * Response to a tx query
6346
6736
  */
6347
- export class TxClient {
6737
+ export class TxResponse {
6348
6738
 
6349
6739
  static __wrap(ptr) {
6350
6740
  ptr = ptr >>> 0;
6351
- const obj = Object.create(TxClient.prototype);
6741
+ const obj = Object.create(TxResponse.prototype);
6352
6742
  obj.__wbg_ptr = ptr;
6353
- TxClientFinalization.register(obj, obj.__wbg_ptr, obj);
6743
+ TxResponseFinalization.register(obj, obj.__wbg_ptr, obj);
6354
6744
  return obj;
6355
6745
  }
6356
6746
 
6357
6747
  __destroy_into_raw() {
6358
6748
  const ptr = this.__wbg_ptr;
6359
6749
  this.__wbg_ptr = 0;
6360
- TxClientFinalization.unregister(this);
6750
+ TxResponseFinalization.unregister(this);
6361
6751
  return ptr;
6362
6752
  }
6363
6753
 
6364
6754
  free() {
6365
6755
  const ptr = this.__destroy_into_raw();
6366
- wasm.__wbg_txclient_free(ptr, 0);
6756
+ wasm.__wbg_txresponse_free(ptr, 0);
6367
6757
  }
6368
6758
  /**
6369
- * Create a new transaction client with the specified account.
6370
- *
6371
- * Url must point to a [grpc-web proxy](https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-WEB.md).
6372
- *
6373
- * # Example with noble/curves
6374
- * ```js
6375
- * import { secp256k1 } from "@noble/curves/secp256k1";
6376
- *
6377
- * const privKey = "fdc8ac75dfa1c142dbcba77938a14dd03078052ce0b49a529dcf72a9885a3abb";
6378
- * const pubKey = secp256k1.getPublicKey(privKey);
6379
- *
6380
- * const signer = (signDoc) => {
6381
- * const bytes = protoEncodeSignDoc(signDoc);
6382
- * const sig = secp256k1.sign(bytes, privKey, { prehash: true });
6383
- * return sig.toCompactRawBytes();
6384
- * };
6385
- *
6386
- * const txClient = await new TxClient("http://127.0.0.1:18080", pubKey, signer);
6387
- * ```
6388
- *
6389
- * # Example with leap wallet
6390
- * ```js
6391
- * await window.leap.enable("mocha-4")
6392
- * const keys = await window.leap.getKey("mocha-4")
6393
- *
6394
- * const signer = (signDoc) => {
6395
- * return window.leap.signDirect("mocha-4", keys.bech32Address, signDoc, { preferNoSetFee: true })
6396
- * .then(sig => Uint8Array.from(atob(sig.signature.signature), c => c.charCodeAt(0)))
6397
- * }
6398
- *
6399
- * const tx_client = await new TxClient("http://127.0.0.1:18080", keys.pubKey, signer)
6400
- * ```
6401
- * @param {string} url
6402
- * @param {Uint8Array} pubkey
6403
- * @param {SignerFn} signer_fn
6759
+ * Namespace for the Code
6760
+ * @returns {string}
6404
6761
  */
6405
- constructor(url, pubkey, signer_fn) {
6406
- const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6762
+ get codespace() {
6763
+ let deferred1_0;
6764
+ let deferred1_1;
6765
+ try {
6766
+ const ret = wasm.__wbg_get_txresponse_codespace(this.__wbg_ptr);
6767
+ deferred1_0 = ret[0];
6768
+ deferred1_1 = ret[1];
6769
+ return getStringFromWasm0(ret[0], ret[1]);
6770
+ } finally {
6771
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6772
+ }
6773
+ }
6774
+ /**
6775
+ * Namespace for the Code
6776
+ * @param {string} arg0
6777
+ */
6778
+ set codespace(arg0) {
6779
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6407
6780
  const len0 = WASM_VECTOR_LEN;
6408
- const ret = wasm.txclient_new(ptr0, len0, pubkey, signer_fn);
6409
- return ret;
6781
+ wasm.__wbg_set_txresponse_codespace(this.__wbg_ptr, ptr0, len0);
6410
6782
  }
6411
6783
  /**
6412
- * Query for the current minimum gas price
6413
- * @returns {Promise<number>}
6784
+ * Response code.
6785
+ * @returns {ErrorCode}
6414
6786
  */
6415
- minGasPrice() {
6416
- const ret = wasm.txclient_minGasPrice(this.__wbg_ptr);
6787
+ get code() {
6788
+ const ret = wasm.__wbg_get_txresponse_code(this.__wbg_ptr);
6417
6789
  return ret;
6418
6790
  }
6419
6791
  /**
6420
- * estimate_gas_price takes a transaction priority and estimates the gas price based
6421
- * on the gas prices of the transactions in the last five blocks.
6422
- *
6423
- * If no transaction is found in the last five blocks, return the network
6424
- * min gas price.
6425
- * @param {TxPriority} priority
6426
- * @returns {Promise<number>}
6792
+ * Response code.
6793
+ * @param {ErrorCode} arg0
6427
6794
  */
6428
- getEstimateGasPrice(priority) {
6429
- const ret = wasm.txclient_getEstimateGasPrice(this.__wbg_ptr, priority);
6430
- return ret;
6795
+ set code(arg0) {
6796
+ wasm.__wbg_set_txresponse_code(this.__wbg_ptr, arg0);
6431
6797
  }
6432
6798
  /**
6433
- * Chain id of the client
6799
+ * Result bytes, if any.
6434
6800
  * @returns {string}
6435
6801
  */
6436
- get chainId() {
6802
+ get data() {
6437
6803
  let deferred1_0;
6438
6804
  let deferred1_1;
6439
6805
  try {
6440
- const ret = wasm.txclient_chainId(this.__wbg_ptr);
6441
- deferred1_0 = ret[0];
6442
- deferred1_1 = ret[1];
6443
- return getStringFromWasm0(ret[0], ret[1]);
6444
- } finally {
6445
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6446
- }
6447
- }
6448
- /**
6449
- * AppVersion of the client
6450
- * @returns {AppVersion}
6451
- */
6452
- get appVersion() {
6453
- const ret = wasm.txclient_appVersion(this.__wbg_ptr);
6454
- return AppVersion.__wrap(ret);
6455
- }
6456
- /**
6457
- * Submit blobs to the celestia network.
6458
- *
6459
- * When no `TxConfig` is provided, client will automatically calculate needed
6460
- * gas and update the `gasPrice`, if network agreed on a new minimal value.
6461
- * To enforce specific values use a `TxConfig`.
6462
- *
6463
- * # Example
6464
- * ```js
6465
- * const ns = Namespace.newV0(new Uint8Array([97, 98, 99]));
6466
- * const data = new Uint8Array([100, 97, 116, 97]);
6467
- * const blob = new Blob(ns, data, AppVersion.latest());
6468
- *
6469
- * const txInfo = await txClient.submitBlobs([blob]);
6470
- * await txClient.submitBlobs([blob], { gasLimit: 100000n, gasPrice: 0.02, memo: "foo" });
6471
- * ```
6472
- *
6473
- * # Note
6474
- *
6475
- * Provided blobs will be consumed by this method, meaning
6476
- * they will no longer be accessible. If this behavior is not desired,
6477
- * consider using `Blob.clone()`.
6478
- *
6479
- * ```js
6480
- * const blobs = [blob1, blob2, blob3];
6481
- * await txClient.submitBlobs(blobs.map(b => b.clone()));
6482
- * ```
6483
- * @param {Blob[]} blobs
6484
- * @param {TxConfig | null} [tx_config]
6485
- * @returns {Promise<TxInfo>}
6486
- */
6487
- submitBlobs(blobs, tx_config) {
6488
- const ptr0 = passArrayJsValueToWasm0(blobs, wasm.__wbindgen_malloc);
6489
- const len0 = WASM_VECTOR_LEN;
6490
- const ret = wasm.txclient_submitBlobs(this.__wbg_ptr, ptr0, len0, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
6491
- return ret;
6492
- }
6493
- /**
6494
- * Submit message to the celestia network.
6495
- *
6496
- * When no `TxConfig` is provided, client will automatically calculate needed
6497
- * gas and update the `gasPrice`, if network agreed on a new minimal value.
6498
- * To enforce specific values use a `TxConfig`.
6499
- *
6500
- * # Example
6501
- * ```js
6502
- * import { Registry } from "@cosmjs/proto-signing";
6503
- *
6504
- * const registry = new Registry();
6505
- * const sendMsg = {
6506
- * typeUrl: "/cosmos.bank.v1beta1.MsgSend",
6507
- * value: {
6508
- * fromAddress: "celestia169s50psyj2f4la9a2235329xz7rk6c53zhw9mm",
6509
- * toAddress: "celestia1t52q7uqgnjfzdh3wx5m5phvma3umrq8k6tq2p9",
6510
- * amount: [{ denom: "utia", amount: "10000" }],
6511
- * },
6512
- * };
6513
- * const sendMsgAny = registry.encodeAsAny(sendMsg);
6514
- *
6515
- * const txInfo = await txClient.submitMessage(sendMsgAny);
6516
- * ```
6517
- * @param {ProtoAny} message
6518
- * @param {TxConfig | null} [tx_config]
6519
- * @returns {Promise<TxInfo>}
6520
- */
6521
- submitMessage(message, tx_config) {
6522
- const ret = wasm.txclient_submitMessage(this.__wbg_ptr, message, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
6523
- return ret;
6524
- }
6525
- /**
6526
- * Get auth params
6527
- * @returns {Promise<AuthParams>}
6528
- */
6529
- getAuthParams() {
6530
- const ret = wasm.txclient_getAuthParams(this.__wbg_ptr);
6531
- return ret;
6532
- }
6533
- /**
6534
- * Get account
6535
- * @param {string} account
6536
- * @returns {Promise<BaseAccount>}
6537
- */
6538
- getAccount(account) {
6539
- const ptr0 = passStringToWasm0(account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6540
- const len0 = WASM_VECTOR_LEN;
6541
- const ret = wasm.txclient_getAccount(this.__wbg_ptr, ptr0, len0);
6542
- return ret;
6543
- }
6544
- /**
6545
- * Get accounts
6546
- * @returns {Promise<BaseAccount[]>}
6547
- */
6548
- getAccounts() {
6549
- const ret = wasm.txclient_getAccounts(this.__wbg_ptr);
6550
- return ret;
6551
- }
6552
- /**
6553
- * Get balance of coins with given denom
6554
- * @param {string} address
6555
- * @param {string} denom
6556
- * @returns {Promise<Coin>}
6557
- */
6558
- getBalance(address, denom) {
6559
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6560
- const len0 = WASM_VECTOR_LEN;
6561
- const ptr1 = passStringToWasm0(denom, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6562
- const len1 = WASM_VECTOR_LEN;
6563
- const ret = wasm.txclient_getBalance(this.__wbg_ptr, ptr0, len0, ptr1, len1);
6564
- return ret;
6565
- }
6566
- /**
6567
- * Get balance of all coins
6568
- * @param {string} address
6569
- * @returns {Promise<Coin[]>}
6570
- */
6571
- getAllBalances(address) {
6572
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6573
- const len0 = WASM_VECTOR_LEN;
6574
- const ret = wasm.txclient_getAllBalances(this.__wbg_ptr, ptr0, len0);
6575
- return ret;
6576
- }
6577
- /**
6578
- * Get balance of all spendable coins
6579
- * @param {string} address
6580
- * @returns {Promise<Coin[]>}
6581
- */
6582
- getSpendableBalances(address) {
6583
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6584
- const len0 = WASM_VECTOR_LEN;
6585
- const ret = wasm.txclient_getSpendableBalances(this.__wbg_ptr, ptr0, len0);
6586
- return ret;
6587
- }
6588
- /**
6589
- * Get total supply
6590
- * @returns {Promise<Coin[]>}
6591
- */
6592
- getTotalSupply() {
6593
- const ret = wasm.txclient_getTotalSupply(this.__wbg_ptr);
6594
- return ret;
6595
- }
6596
- }
6597
-
6598
- const TxResponseFinalization = (typeof FinalizationRegistry === 'undefined')
6599
- ? { register: () => {}, unregister: () => {} }
6600
- : new FinalizationRegistry(ptr => wasm.__wbg_txresponse_free(ptr >>> 0, 1));
6601
- /**
6602
- * Response to a tx query
6603
- */
6604
- export class TxResponse {
6605
-
6606
- static __wrap(ptr) {
6607
- ptr = ptr >>> 0;
6608
- const obj = Object.create(TxResponse.prototype);
6609
- obj.__wbg_ptr = ptr;
6610
- TxResponseFinalization.register(obj, obj.__wbg_ptr, obj);
6611
- return obj;
6612
- }
6613
-
6614
- __destroy_into_raw() {
6615
- const ptr = this.__wbg_ptr;
6616
- this.__wbg_ptr = 0;
6617
- TxResponseFinalization.unregister(this);
6618
- return ptr;
6619
- }
6620
-
6621
- free() {
6622
- const ptr = this.__destroy_into_raw();
6623
- wasm.__wbg_txresponse_free(ptr, 0);
6624
- }
6625
- /**
6626
- * Namespace for the Code
6627
- * @returns {string}
6628
- */
6629
- get codespace() {
6630
- let deferred1_0;
6631
- let deferred1_1;
6632
- try {
6633
- const ret = wasm.__wbg_get_txresponse_codespace(this.__wbg_ptr);
6634
- deferred1_0 = ret[0];
6635
- deferred1_1 = ret[1];
6636
- return getStringFromWasm0(ret[0], ret[1]);
6637
- } finally {
6638
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6639
- }
6640
- }
6641
- /**
6642
- * Namespace for the Code
6643
- * @param {string} arg0
6644
- */
6645
- set codespace(arg0) {
6646
- const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6647
- const len0 = WASM_VECTOR_LEN;
6648
- wasm.__wbg_set_txresponse_codespace(this.__wbg_ptr, ptr0, len0);
6649
- }
6650
- /**
6651
- * Response code.
6652
- * @returns {ErrorCode}
6653
- */
6654
- get code() {
6655
- const ret = wasm.__wbg_get_txresponse_code(this.__wbg_ptr);
6656
- return ret;
6657
- }
6658
- /**
6659
- * Response code.
6660
- * @param {ErrorCode} arg0
6661
- */
6662
- set code(arg0) {
6663
- wasm.__wbg_set_txresponse_code(this.__wbg_ptr, arg0);
6664
- }
6665
- /**
6666
- * Result bytes, if any.
6667
- * @returns {string}
6668
- */
6669
- get data() {
6670
- let deferred1_0;
6671
- let deferred1_1;
6672
- try {
6673
- const ret = wasm.__wbg_get_txresponse_data(this.__wbg_ptr);
6806
+ const ret = wasm.__wbg_get_txresponse_data(this.__wbg_ptr);
6674
6807
  deferred1_0 = ret[0];
6675
6808
  deferred1_1 = ret[1];
6676
6809
  return getStringFromWasm0(ret[0], ret[1]);
@@ -7280,6 +7413,16 @@ export class Vote {
7280
7413
  }
7281
7414
  }
7282
7415
 
7416
+ export function __wbg_Error_1f3748b298f99708(arg0, arg1) {
7417
+ const ret = Error(getStringFromWasm0(arg0, arg1));
7418
+ return ret;
7419
+ };
7420
+
7421
+ export function __wbg_Number_577a493fc95ea223(arg0) {
7422
+ const ret = Number(arg0);
7423
+ return ret;
7424
+ };
7425
+
7283
7426
  export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
7284
7427
  const ret = String(arg1);
7285
7428
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -7288,7 +7431,7 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
7288
7431
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7289
7432
  };
7290
7433
 
7291
- export function __wbg_WorkerGlobalScope_4cdac01f57bb97d1(arg0) {
7434
+ export function __wbg_WorkerGlobalScope_68dbbc2404209578(arg0) {
7292
7435
  const ret = arg0.WorkerGlobalScope;
7293
7436
  return ret;
7294
7437
  };
@@ -7308,38 +7451,43 @@ export function __wbg_abciqueryresponse_new(arg0) {
7308
7451
  return ret;
7309
7452
  };
7310
7453
 
7311
- export function __wbg_abort_99fc644e2c79c9fb() { return handleError(function (arg0) {
7454
+ export function __wbg_abort_496881624c2d80da() { return handleError(function (arg0) {
7312
7455
  arg0.abort();
7313
7456
  }, arguments) };
7314
7457
 
7315
- export function __wbg_accountNumber_f24c43efcf2c1605(arg0) {
7458
+ export function __wbg_accountNumber_39d1c298f9e5c082(arg0) {
7316
7459
  const ret = arg0.accountNumber;
7317
7460
  return ret;
7318
7461
  };
7319
7462
 
7320
- export function __wbg_add_4315fd553d714c24() { return handleError(function (arg0, arg1) {
7321
- const ret = arg0.add(arg1);
7463
+ export function __wbg_add_06c49d78d2836c4c() { return handleError(function (arg0, arg1, arg2) {
7464
+ const ret = arg0.add(arg1, arg2);
7322
7465
  return ret;
7323
7466
  }, arguments) };
7324
7467
 
7325
- export function __wbg_add_9338901b80183e0f() { return handleError(function (arg0, arg1, arg2) {
7326
- const ret = arg0.add(arg1, arg2);
7468
+ export function __wbg_add_2af21486199bad83() { return handleError(function (arg0, arg1) {
7469
+ const ret = arg0.add(arg1);
7327
7470
  return ret;
7328
7471
  }, arguments) };
7329
7472
 
7330
- export function __wbg_advance_b3ccc91b80962d79() { return handleError(function (arg0, arg1) {
7473
+ export function __wbg_advance_29c64dfd5255179a() { return handleError(function (arg0, arg1) {
7331
7474
  arg0.advance(arg1 >>> 0);
7332
7475
  }, arguments) };
7333
7476
 
7334
- export function __wbg_append_8c7dd8d641a5f01b() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
7477
+ export function __wbg_append_3e86b0cd6215edd8() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
7335
7478
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
7336
7479
  }, arguments) };
7337
7480
 
7338
- export function __wbg_apply_eb9e9b97497f91e4() { return handleError(function (arg0, arg1, arg2) {
7481
+ export function __wbg_apply_90b47af8bf01ab0b() { return handleError(function (arg0, arg1, arg2) {
7339
7482
  const ret = Reflect.apply(arg0, arg1, arg2);
7340
7483
  return ret;
7341
7484
  }, arguments) };
7342
7485
 
7486
+ export function __wbg_appversion_new(arg0) {
7487
+ const ret = AppVersion.__wrap(arg0);
7488
+ return ret;
7489
+ };
7490
+
7343
7491
  export function __wbg_attribute_new(arg0) {
7344
7492
  const ret = Attribute.__wrap(arg0);
7345
7493
  return ret;
@@ -7350,7 +7498,7 @@ export function __wbg_attribute_unwrap(arg0) {
7350
7498
  return ret;
7351
7499
  };
7352
7500
 
7353
- export function __wbg_authInfoBytes_aa9b60d0c25f16ad(arg0, arg1) {
7501
+ export function __wbg_authInfoBytes_b318cc80cf9d2ff8(arg0, arg1) {
7354
7502
  const ret = arg1.authInfoBytes;
7355
7503
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
7356
7504
  const len1 = WASM_VECTOR_LEN;
@@ -7388,7 +7536,7 @@ export function __wbg_blockrange_unwrap(arg0) {
7388
7536
  return ret;
7389
7537
  };
7390
7538
 
7391
- export function __wbg_bodyBytes_9dfecf3db500be8c(arg0, arg1) {
7539
+ export function __wbg_bodyBytes_cd75eac0b845f014(arg0, arg1) {
7392
7540
  const ret = arg1.bodyBytes;
7393
7541
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
7394
7542
  const len1 = WASM_VECTOR_LEN;
@@ -7396,67 +7544,67 @@ export function __wbg_bodyBytes_9dfecf3db500be8c(arg0, arg1) {
7396
7544
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7397
7545
  };
7398
7546
 
7399
- export function __wbg_body_0b8fd1fe671660df(arg0) {
7547
+ export function __wbg_body_be60ee806470b990(arg0) {
7400
7548
  const ret = arg0.body;
7401
7549
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7402
7550
  };
7403
7551
 
7404
- export function __wbg_buffer_09165b52af8c5237(arg0) {
7405
- const ret = arg0.buffer;
7552
+ export function __wbg_bound_5807fb7ebc427c03() { return handleError(function (arg0, arg1, arg2, arg3) {
7553
+ const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
7406
7554
  return ret;
7407
- };
7555
+ }, arguments) };
7408
7556
 
7409
- export function __wbg_buffer_609cc3eee51ed158(arg0) {
7557
+ export function __wbg_buffer_1f897e9f3ed6b41d(arg0) {
7410
7558
  const ret = arg0.buffer;
7411
7559
  return ret;
7412
7560
  };
7413
7561
 
7414
- export function __wbg_bufferedAmount_a482960ac51b25e8(arg0) {
7562
+ export function __wbg_bufferedAmount_ea4c08c898c11537(arg0) {
7415
7563
  const ret = arg0.bufferedAmount;
7416
7564
  return ret;
7417
7565
  };
7418
7566
 
7419
- export function __wbg_byobRequest_77d9adf63337edfb(arg0) {
7567
+ export function __wbg_byobRequest_ba853121442653bf(arg0) {
7420
7568
  const ret = arg0.byobRequest;
7421
7569
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7422
7570
  };
7423
7571
 
7424
- export function __wbg_byteLength_e674b853d9c77e1d(arg0) {
7572
+ export function __wbg_byteLength_7029fecd0c136e6d(arg0) {
7425
7573
  const ret = arg0.byteLength;
7426
7574
  return ret;
7427
7575
  };
7428
7576
 
7429
- export function __wbg_byteOffset_fd862df290ef848d(arg0) {
7577
+ export function __wbg_byteOffset_8161a341c0d72844(arg0) {
7430
7578
  const ret = arg0.byteOffset;
7431
7579
  return ret;
7432
7580
  };
7433
7581
 
7434
- export function __wbg_call_672a4d21634d4a24() { return handleError(function (arg0, arg1) {
7582
+ export function __wbg_call_2f8d426a20a307fe() { return handleError(function (arg0, arg1) {
7435
7583
  const ret = arg0.call(arg1);
7436
7584
  return ret;
7437
7585
  }, arguments) };
7438
7586
 
7439
- export function __wbg_call_7cccdd69e0791ae2() { return handleError(function (arg0, arg1, arg2) {
7587
+ export function __wbg_call_f53f0647ceb9c567() { return handleError(function (arg0, arg1, arg2) {
7440
7588
  const ret = arg0.call(arg1, arg2);
7441
7589
  return ret;
7442
7590
  }, arguments) };
7443
7591
 
7444
- export function __wbg_cancel_8a308660caa6cadf(arg0) {
7592
+ export function __wbg_cancel_8fc34c38a41c5d07(arg0) {
7445
7593
  const ret = arg0.cancel();
7446
7594
  return ret;
7447
7595
  };
7448
7596
 
7449
- export function __wbg_catch_a6e601879b2610e9(arg0, arg1) {
7597
+ export function __wbg_catch_70a1618b6f59db8a(arg0, arg1) {
7450
7598
  const ret = arg0.catch(arg1);
7451
7599
  return ret;
7452
7600
  };
7453
7601
 
7454
- export function __wbg_cause_9940c4e8dfcd5129(arg0) {
7602
+ export function __wbg_cause_94f62e1c92956ce2(arg0) {
7455
7603
  const ret = arg0.cause;
7456
7604
  return ret;
7457
7605
  };
7458
7606
 
7459
- export function __wbg_chainId_bcd3523d46708ba5(arg0, arg1) {
7607
+ export function __wbg_chainId_2d57400a28824c3f(arg0, arg1) {
7460
7608
  const ret = arg1.chainId;
7461
7609
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7462
7610
  const len1 = WASM_VECTOR_LEN;
@@ -7464,7 +7612,7 @@ export function __wbg_chainId_bcd3523d46708ba5(arg0, arg1) {
7464
7612
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7465
7613
  };
7466
7614
 
7467
- export function __wbg_clearInterval_ad2594253cc39c4b(arg0, arg1) {
7615
+ export function __wbg_clearInterval_8488d01fe6397e53(arg0, arg1) {
7468
7616
  arg0.clearInterval(arg1);
7469
7617
  };
7470
7618
 
@@ -7473,14 +7621,10 @@ export function __wbg_clearInterval_dd1e598f425db353(arg0) {
7473
7621
  return ret;
7474
7622
  };
7475
7623
 
7476
- export function __wbg_clearInterval_eba67734fd13a7f1(arg0, arg1) {
7624
+ export function __wbg_clearInterval_e65bc4d23bbf1edb(arg0, arg1) {
7477
7625
  arg0.clearInterval(arg1);
7478
7626
  };
7479
7627
 
7480
- export function __wbg_clearTimeout_0b4dcb73f78d2d53(arg0) {
7481
- clearTimeout(arg0);
7482
- };
7483
-
7484
7628
  export function __wbg_clearTimeout_5a54f8841c30079a(arg0) {
7485
7629
  const ret = clearTimeout(arg0);
7486
7630
  return ret;
@@ -7491,42 +7635,46 @@ export function __wbg_clearTimeout_96804de0ab838f26(arg0) {
7491
7635
  return ret;
7492
7636
  };
7493
7637
 
7494
- export function __wbg_clear_f450db7eeb71163f() { return handleError(function (arg0) {
7638
+ export function __wbg_clearTimeout_e1b14c330a6c41a6(arg0) {
7639
+ clearTimeout(arg0);
7640
+ };
7641
+
7642
+ export function __wbg_clear_7ddff460554dd8f9() { return handleError(function (arg0) {
7495
7643
  const ret = arg0.clear();
7496
7644
  return ret;
7497
7645
  }, arguments) };
7498
7646
 
7499
- export function __wbg_close_26fc2e6856d8567a(arg0) {
7647
+ export function __wbg_close_5c0c68ce107ac21e(arg0) {
7500
7648
  arg0.close();
7501
7649
  };
7502
7650
 
7503
- export function __wbg_close_304cc1fef3466669() { return handleError(function (arg0) {
7504
- arg0.close();
7505
- }, arguments) };
7506
-
7507
- export function __wbg_close_5ce03e29be453811() { return handleError(function (arg0) {
7508
- arg0.close();
7509
- }, arguments) };
7510
-
7511
- export function __wbg_close_e1253d480ed93ce3() { return handleError(function (arg0, arg1, arg2, arg3) {
7651
+ export function __wbg_close_62eb30084a8993bf() { return handleError(function (arg0, arg1, arg2, arg3) {
7512
7652
  arg0.close(arg1, getStringFromWasm0(arg2, arg3));
7513
7653
  }, arguments) };
7514
7654
 
7515
- export function __wbg_close_e5b8cb333358ff37(arg0) {
7655
+ export function __wbg_close_7dcca1557b5bd08b(arg0) {
7516
7656
  arg0.close();
7517
7657
  };
7518
7658
 
7519
- export function __wbg_close_fa50b16598acbea1(arg0) {
7659
+ export function __wbg_close_a90439b2444e47b4() { return handleError(function (arg0) {
7660
+ arg0.close();
7661
+ }, arguments) };
7662
+
7663
+ export function __wbg_close_bffe85e60f8b736d(arg0) {
7520
7664
  const ret = arg0.close();
7521
7665
  return ret;
7522
7666
  };
7523
7667
 
7524
- export function __wbg_closed_e969addb486e4f10(arg0) {
7668
+ export function __wbg_close_f602227805f17f95() { return handleError(function (arg0) {
7669
+ arg0.close();
7670
+ }, arguments) };
7671
+
7672
+ export function __wbg_closed_2934f4ed093a9d95(arg0) {
7525
7673
  const ret = arg0.closed;
7526
7674
  return ret;
7527
7675
  };
7528
7676
 
7529
- export function __wbg_closed_fc8592426214ee75(arg0) {
7677
+ export function __wbg_closed_8b9d023c2484076c(arg0) {
7530
7678
  const ret = arg0.closed;
7531
7679
  return ret;
7532
7680
  };
@@ -7541,7 +7689,7 @@ export function __wbg_coin_unwrap(arg0) {
7541
7689
  return ret;
7542
7690
  };
7543
7691
 
7544
- export function __wbg_commit_ee33ba79d75a9134() { return handleError(function (arg0) {
7692
+ export function __wbg_commit_61c8d53ee2eb6843() { return handleError(function (arg0) {
7545
7693
  arg0.commit();
7546
7694
  }, arguments) };
7547
7695
 
@@ -7555,100 +7703,110 @@ export function __wbg_commitsig_unwrap(arg0) {
7555
7703
  return ret;
7556
7704
  };
7557
7705
 
7558
- export function __wbg_continue_91e59787d3598bbb() { return handleError(function (arg0, arg1) {
7559
- arg0.continue(arg1);
7560
- }, arguments) };
7706
+ export function __wbg_configresponse_new(arg0) {
7707
+ const ret = ConfigResponse.__wrap(arg0);
7708
+ return ret;
7709
+ };
7561
7710
 
7562
- export function __wbg_continue_c46c11d3dbe1b030() { return handleError(function (arg0) {
7711
+ export function __wbg_continue_e37b78917b01b67f() { return handleError(function (arg0) {
7563
7712
  arg0.continue();
7564
7713
  }, arguments) };
7565
7714
 
7566
- export function __wbg_count_613cb921d67a4f26() { return handleError(function (arg0) {
7715
+ export function __wbg_continue_ff2028eeeedc8304() { return handleError(function (arg0, arg1) {
7716
+ arg0.continue(arg1);
7717
+ }, arguments) };
7718
+
7719
+ export function __wbg_count_9a21aa97cae2b4d6() { return handleError(function (arg0) {
7567
7720
  const ret = arg0.count();
7568
7721
  return ret;
7569
7722
  }, arguments) };
7570
7723
 
7571
- export function __wbg_count_6b062e9114662540() { return handleError(function (arg0, arg1) {
7724
+ export function __wbg_count_9d30285250b9065f() { return handleError(function (arg0, arg1) {
7572
7725
  const ret = arg0.count(arg1);
7573
7726
  return ret;
7574
7727
  }, arguments) };
7575
7728
 
7576
- export function __wbg_count_9dbedee4d2474ff8() { return handleError(function (arg0, arg1) {
7577
- const ret = arg0.count(arg1);
7729
+ export function __wbg_count_d0c45be30c157193() { return handleError(function (arg0) {
7730
+ const ret = arg0.count();
7578
7731
  return ret;
7579
7732
  }, arguments) };
7580
7733
 
7581
- export function __wbg_count_ea1a2987dff7759e() { return handleError(function (arg0) {
7582
- const ret = arg0.count();
7734
+ export function __wbg_count_ee083e36b5119925() { return handleError(function (arg0, arg1) {
7735
+ const ret = arg0.count(arg1);
7583
7736
  return ret;
7584
7737
  }, arguments) };
7585
7738
 
7586
- export function __wbg_createBidirectionalStream_ce0a5d8a6cf37e1f(arg0) {
7739
+ export function __wbg_createBidirectionalStream_2b56e05ee223119c(arg0) {
7587
7740
  const ret = arg0.createBidirectionalStream();
7588
7741
  return ret;
7589
7742
  };
7590
7743
 
7591
- export function __wbg_createIndex_873ac48adc772309() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
7744
+ export function __wbg_createIndex_35a1f70c8314a7de() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
7592
7745
  const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
7593
7746
  return ret;
7594
7747
  }, arguments) };
7595
7748
 
7596
- export function __wbg_createObjectStore_d2f9e1016f4d81b9() { return handleError(function (arg0, arg1, arg2, arg3) {
7749
+ export function __wbg_createObjectStore_7e79e7f6de6b5f4a() { return handleError(function (arg0, arg1, arg2, arg3) {
7597
7750
  const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
7598
7751
  return ret;
7599
7752
  }, arguments) };
7600
7753
 
7601
- export function __wbg_crypto_ed58b8e10a292839(arg0) {
7754
+ export function __wbg_crypto_574e78ad8b13b65f(arg0) {
7602
7755
  const ret = arg0.crypto;
7603
7756
  return ret;
7604
7757
  };
7605
7758
 
7606
- export function __wbg_data_432d9c3df2630942(arg0) {
7759
+ export function __wbg_data_d1e564c046e31ed9(arg0) {
7607
7760
  const ret = arg0.data;
7608
7761
  return ret;
7609
7762
  };
7610
7763
 
7611
- export function __wbg_debug_3cb59063b29f58c1(arg0) {
7764
+ export function __wbg_debug_9a166dc82b4ba6a6(arg0) {
7612
7765
  console.debug(arg0);
7613
7766
  };
7614
7767
 
7615
- export function __wbg_deleteIndex_e6717aa0e9691894() { return handleError(function (arg0, arg1, arg2) {
7768
+ export function __wbg_deleteIndex_315fda5b473605cf() { return handleError(function (arg0, arg1, arg2) {
7616
7769
  arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
7617
7770
  }, arguments) };
7618
7771
 
7619
- export function __wbg_deleteObjectStore_3f08ae00cd288224() { return handleError(function (arg0, arg1, arg2) {
7772
+ export function __wbg_deleteObjectStore_8a252d9a253df02b() { return handleError(function (arg0, arg1, arg2) {
7620
7773
  arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
7621
7774
  }, arguments) };
7622
7775
 
7623
- export function __wbg_delete_200677093b4cf756() { return handleError(function (arg0, arg1) {
7776
+ export function __wbg_delete_570e5d01c731e067() { return handleError(function (arg0, arg1) {
7624
7777
  const ret = arg0.delete(arg1);
7625
7778
  return ret;
7626
7779
  }, arguments) };
7627
7780
 
7628
- export function __wbg_desiredSize_5f5e5285daee0299() { return handleError(function (arg0, arg1) {
7781
+ export function __wbg_desiredSize_c849ec0ed245f271() { return handleError(function (arg0, arg1) {
7629
7782
  const ret = arg1.desiredSize;
7630
7783
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
7631
7784
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7632
7785
  }, arguments) };
7633
7786
 
7634
- export function __wbg_done_769e5ede4b31c67b(arg0) {
7787
+ export function __wbg_done_4a7743b6f942c9f3(arg0) {
7635
7788
  const ret = arg0.done;
7636
7789
  return ret;
7637
7790
  };
7638
7791
 
7639
- export function __wbg_enqueue_bb16ba72f537dc9e() { return handleError(function (arg0, arg1) {
7792
+ export function __wbg_enqueue_1e58bed4477a141f() { return handleError(function (arg0, arg1) {
7640
7793
  arg0.enqueue(arg1);
7641
7794
  }, arguments) };
7642
7795
 
7643
- export function __wbg_entries_3265d4158b33e5dc(arg0) {
7796
+ export function __wbg_entries_17f7acbc2d691c0d(arg0) {
7644
7797
  const ret = Object.entries(arg0);
7645
7798
  return ret;
7646
7799
  };
7647
7800
 
7648
- export function __wbg_error_524f506f44df1645(arg0) {
7801
+ export function __wbg_error_41f0589870426ea4(arg0) {
7649
7802
  console.error(arg0);
7650
7803
  };
7651
7804
 
7805
+ export function __wbg_error_443a583c581ba303() { return handleError(function (arg0) {
7806
+ const ret = arg0.error;
7807
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7808
+ }, arguments) };
7809
+
7652
7810
  export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
7653
7811
  let deferred0_0;
7654
7812
  let deferred0_1;
@@ -7661,16 +7819,11 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
7661
7819
  }
7662
7820
  };
7663
7821
 
7664
- export function __wbg_error_e9332df4e7a14612(arg0) {
7822
+ export function __wbg_error_cbb036e477c7f898(arg0) {
7665
7823
  const ret = arg0.error;
7666
7824
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7667
7825
  };
7668
7826
 
7669
- export function __wbg_error_ff4ddaabdfc5dbb3() { return handleError(function (arg0) {
7670
- const ret = arg0.error;
7671
- return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7672
- }, arguments) };
7673
-
7674
7827
  export function __wbg_evidence_new(arg0) {
7675
7828
  const ret = Evidence.__wrap(arg0);
7676
7829
  return ret;
@@ -7686,33 +7839,33 @@ export function __wbg_extendedheader_unwrap(arg0) {
7686
7839
  return ret;
7687
7840
  };
7688
7841
 
7689
- export function __wbg_fetch_07cd86dd296a5a63(arg0, arg1, arg2) {
7842
+ export function __wbg_fetch_4fae101547df73b6(arg0, arg1, arg2) {
7690
7843
  const ret = arg0.fetch(arg1, arg2);
7691
7844
  return ret;
7692
7845
  };
7693
7846
 
7694
- export function __wbg_fetch_1eb50613c8c0c025(arg0) {
7847
+ export function __wbg_fetch_b21de99222e9f4e1(arg0) {
7695
7848
  const ret = fetch(arg0);
7696
7849
  return ret;
7697
7850
  };
7698
7851
 
7699
- export function __wbg_fetch_769f3df592e37b75(arg0, arg1) {
7852
+ export function __wbg_fetch_f083e6da40cefe09(arg0, arg1) {
7700
7853
  const ret = fetch(arg0, arg1);
7701
7854
  return ret;
7702
7855
  };
7703
7856
 
7704
- export function __wbg_from_2a5d3e218e67aa85(arg0) {
7857
+ export function __wbg_from_237b1ad767238d8b(arg0) {
7705
7858
  const ret = Array.from(arg0);
7706
7859
  return ret;
7707
7860
  };
7708
7861
 
7709
- export function __wbg_gasLimit_15fc545e6deb4ebe(arg0, arg1) {
7862
+ export function __wbg_gasLimit_c7b776728a12cf83(arg0, arg1) {
7710
7863
  const ret = arg1.gasLimit;
7711
7864
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
7712
7865
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7713
7866
  };
7714
7867
 
7715
- export function __wbg_gasPrice_4f7d8ed1914f4e59(arg0, arg1) {
7868
+ export function __wbg_gasPrice_9c07555b88b11910(arg0, arg1) {
7716
7869
  const ret = arg1.gasPrice;
7717
7870
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
7718
7871
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
@@ -7723,89 +7876,93 @@ export function __wbg_gasinfo_new(arg0) {
7723
7876
  return ret;
7724
7877
  };
7725
7878
 
7726
- export function __wbg_getAllKeys_5ca511ce480c8e9b() { return handleError(function (arg0, arg1, arg2) {
7879
+ export function __wbg_getAllKeys_09176d0529f9a4f9() { return handleError(function (arg0, arg1, arg2) {
7727
7880
  const ret = arg0.getAllKeys(arg1, arg2 >>> 0);
7728
7881
  return ret;
7729
7882
  }, arguments) };
7730
7883
 
7731
- export function __wbg_getAllKeys_b0b997beb6dc99f8() { return handleError(function (arg0, arg1) {
7732
- const ret = arg0.getAllKeys(arg1);
7884
+ export function __wbg_getAllKeys_4c8918fa0a4d954c() { return handleError(function (arg0) {
7885
+ const ret = arg0.getAllKeys();
7733
7886
  return ret;
7734
7887
  }, arguments) };
7735
7888
 
7736
- export function __wbg_getAllKeys_b11d8835dc4be0e8() { return handleError(function (arg0) {
7737
- const ret = arg0.getAllKeys();
7889
+ export function __wbg_getAllKeys_bf368a2862c61f56() { return handleError(function (arg0, arg1) {
7890
+ const ret = arg0.getAllKeys(arg1);
7738
7891
  return ret;
7739
7892
  }, arguments) };
7740
7893
 
7741
- export function __wbg_getAll_1de5635a99f2dae8() { return handleError(function (arg0) {
7894
+ export function __wbg_getAll_2a18c462536d7d5b() { return handleError(function (arg0) {
7742
7895
  const ret = arg0.getAll();
7743
7896
  return ret;
7744
7897
  }, arguments) };
7745
7898
 
7746
- export function __wbg_getAll_e1f497a121218ab5() { return handleError(function (arg0, arg1, arg2) {
7899
+ export function __wbg_getAll_2e19a7bbbe1ec181() { return handleError(function (arg0, arg1, arg2) {
7747
7900
  const ret = arg0.getAll(arg1, arg2 >>> 0);
7748
7901
  return ret;
7749
7902
  }, arguments) };
7750
7903
 
7751
- export function __wbg_getAll_e6903c610babcd42() { return handleError(function (arg0, arg1) {
7904
+ export function __wbg_getAll_7a5b8dd1d868e440() { return handleError(function (arg0, arg1) {
7752
7905
  const ret = arg0.getAll(arg1);
7753
7906
  return ret;
7754
7907
  }, arguments) };
7755
7908
 
7756
- export function __wbg_getRandomValues_bcb4912f16000dc4() { return handleError(function (arg0, arg1) {
7909
+ export function __wbg_getRandomValues_3c9c0d586e575a16() { return handleError(function (arg0, arg1) {
7910
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
7911
+ }, arguments) };
7912
+
7913
+ export function __wbg_getRandomValues_b8f5dbd5f3995a9e() { return handleError(function (arg0, arg1) {
7757
7914
  arg0.getRandomValues(arg1);
7758
7915
  }, arguments) };
7759
7916
 
7760
- export function __wbg_getReader_48e00749fe3f6089() { return handleError(function (arg0) {
7917
+ export function __wbg_getReader_27f9715838e256b2(arg0) {
7761
7918
  const ret = arg0.getReader();
7762
7919
  return ret;
7763
- }, arguments) };
7920
+ };
7764
7921
 
7765
- export function __wbg_getReader_be0d36e5873a525b(arg0) {
7922
+ export function __wbg_getReader_48e00749fe3f6089() { return handleError(function (arg0) {
7766
7923
  const ret = arg0.getReader();
7767
7924
  return ret;
7768
- };
7925
+ }, arguments) };
7769
7926
 
7770
- export function __wbg_getTime_46267b1c24877e30(arg0) {
7927
+ export function __wbg_getTime_5b1dd03bb6d4b784(arg0) {
7771
7928
  const ret = arg0.getTime();
7772
7929
  return ret;
7773
7930
  };
7774
7931
 
7775
- export function __wbg_getWriter_6ce182d0adc3f96b() { return handleError(function (arg0) {
7932
+ export function __wbg_getWriter_fec94836a07e1d6d() { return handleError(function (arg0) {
7776
7933
  const ret = arg0.getWriter();
7777
7934
  return ret;
7778
7935
  }, arguments) };
7779
7936
 
7780
- export function __wbg_get_4f73335ab78445db(arg0, arg1, arg2) {
7781
- const ret = arg1[arg2 >>> 0];
7782
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7783
- var len1 = WASM_VECTOR_LEN;
7784
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7785
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7786
- };
7787
-
7788
- export function __wbg_get_67b2ba62fc30de12() { return handleError(function (arg0, arg1) {
7937
+ export function __wbg_get_27b4bcbec57323ca() { return handleError(function (arg0, arg1) {
7789
7938
  const ret = Reflect.get(arg0, arg1);
7790
7939
  return ret;
7791
7940
  }, arguments) };
7792
7941
 
7793
- export function __wbg_get_8da03f81f6a1111e() { return handleError(function (arg0, arg1) {
7942
+ export function __wbg_get_59c6316d15f9f1d0(arg0, arg1) {
7943
+ const ret = arg0[arg1 >>> 0];
7944
+ return ret;
7945
+ };
7946
+
7947
+ export function __wbg_get_5cb5417d5a49cef1() { return handleError(function (arg0, arg1) {
7794
7948
  const ret = arg0.get(arg1);
7795
7949
  return ret;
7796
7950
  }, arguments) };
7797
7951
 
7798
- export function __wbg_get_93e54e8e166fbcab() { return handleError(function (arg0, arg1) {
7952
+ export function __wbg_get_a0f588b1e212306e() { return handleError(function (arg0, arg1) {
7799
7953
  const ret = arg0.get(arg1);
7800
7954
  return ret;
7801
7955
  }, arguments) };
7802
7956
 
7803
- export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
7804
- const ret = arg0[arg1 >>> 0];
7805
- return ret;
7957
+ export function __wbg_get_ff3a515076fdddd7(arg0, arg1, arg2) {
7958
+ const ret = arg1[arg2 >>> 0];
7959
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7960
+ var len1 = WASM_VECTOR_LEN;
7961
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7962
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7806
7963
  };
7807
7964
 
7808
- export function __wbg_getdone_d47073731acd3e74(arg0) {
7965
+ export function __wbg_getdone_8d12e2c5bfa23fbd(arg0) {
7809
7966
  const ret = arg0.done;
7810
7967
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
7811
7968
  };
@@ -7815,7 +7972,7 @@ export function __wbg_gettxresponse_new(arg0) {
7815
7972
  return ret;
7816
7973
  };
7817
7974
 
7818
- export function __wbg_getvalue_009dcd63692bee1f(arg0) {
7975
+ export function __wbg_getvalue_8d746ccec318477b(arg0) {
7819
7976
  const ret = arg0.value;
7820
7977
  return ret;
7821
7978
  };
@@ -7825,46 +7982,41 @@ export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) {
7825
7982
  return ret;
7826
7983
  };
7827
7984
 
7828
- export function __wbg_grpcclient_new(arg0) {
7829
- const ret = GrpcClient.__wrap(arg0);
7830
- return ret;
7831
- };
7832
-
7833
- export function __wbg_has_a5ea9117f258a0ec() { return handleError(function (arg0, arg1) {
7985
+ export function __wbg_has_85abdd8aeb8edebf() { return handleError(function (arg0, arg1) {
7834
7986
  const ret = Reflect.has(arg0, arg1);
7835
7987
  return ret;
7836
7988
  }, arguments) };
7837
7989
 
7838
- export function __wbg_headers_7852a8ea641c1379(arg0) {
7990
+ export function __wbg_headers_177bc880a5823968(arg0) {
7839
7991
  const ret = arg0.headers;
7840
7992
  return ret;
7841
7993
  };
7842
7994
 
7843
- export function __wbg_headers_9cb51cfd2ac780a4(arg0) {
7995
+ export function __wbg_headers_391e2f64884c873b(arg0) {
7844
7996
  const ret = arg0.headers;
7845
7997
  return ret;
7846
7998
  };
7847
7999
 
7848
- export function __wbg_incomingBidirectionalStreams_45cd400ea1420fe3(arg0) {
8000
+ export function __wbg_incomingBidirectionalStreams_ed7915830e8f8998(arg0) {
7849
8001
  const ret = arg0.incomingBidirectionalStreams;
7850
8002
  return ret;
7851
8003
  };
7852
8004
 
7853
- export function __wbg_indexNames_0ed82a19d7d88aa3(arg0) {
8005
+ export function __wbg_indexNames_b7e419e1b5950062(arg0) {
7854
8006
  const ret = arg0.indexNames;
7855
8007
  return ret;
7856
8008
  };
7857
8009
 
7858
- export function __wbg_index_e00ca5fff206ee3e() { return handleError(function (arg0, arg1, arg2) {
8010
+ export function __wbg_index_7f799b7efa7c11c6() { return handleError(function (arg0, arg1, arg2) {
7859
8011
  const ret = arg0.index(getStringFromWasm0(arg1, arg2));
7860
8012
  return ret;
7861
8013
  }, arguments) };
7862
8014
 
7863
- export function __wbg_info_3daf2e093e091b66(arg0) {
8015
+ export function __wbg_info_ed6e390d09c09062(arg0) {
7864
8016
  console.info(arg0);
7865
8017
  };
7866
8018
 
7867
- export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
8019
+ export function __wbg_instanceof_ArrayBuffer_59339a3a6f0c10ea(arg0) {
7868
8020
  let result;
7869
8021
  try {
7870
8022
  result = arg0 instanceof ArrayBuffer;
@@ -7875,7 +8027,7 @@ export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
7875
8027
  return ret;
7876
8028
  };
7877
8029
 
7878
- export function __wbg_instanceof_DedicatedWorkerGlobalScope_a688e81380e34e02(arg0) {
8030
+ export function __wbg_instanceof_DedicatedWorkerGlobalScope_95bda3b36127a15b(arg0) {
7879
8031
  let result;
7880
8032
  try {
7881
8033
  result = arg0 instanceof DedicatedWorkerGlobalScope;
@@ -7886,7 +8038,7 @@ export function __wbg_instanceof_DedicatedWorkerGlobalScope_a688e81380e34e02(arg
7886
8038
  return ret;
7887
8039
  };
7888
8040
 
7889
- export function __wbg_instanceof_Error_4d54113b22d20306(arg0) {
8041
+ export function __wbg_instanceof_Error_1e51a63e1736444c(arg0) {
7890
8042
  let result;
7891
8043
  try {
7892
8044
  result = arg0 instanceof Error;
@@ -7897,7 +8049,7 @@ export function __wbg_instanceof_Error_4d54113b22d20306(arg0) {
7897
8049
  return ret;
7898
8050
  };
7899
8051
 
7900
- export function __wbg_instanceof_IdbCursorWithValue_18f39d69ed298f6f(arg0) {
8052
+ export function __wbg_instanceof_IdbCursorWithValue_bbe42f8954141db8(arg0) {
7901
8053
  let result;
7902
8054
  try {
7903
8055
  result = arg0 instanceof IDBCursorWithValue;
@@ -7908,7 +8060,7 @@ export function __wbg_instanceof_IdbCursorWithValue_18f39d69ed298f6f(arg0) {
7908
8060
  return ret;
7909
8061
  };
7910
8062
 
7911
- export function __wbg_instanceof_IdbDatabase_a3ef009ca00059f9(arg0) {
8063
+ export function __wbg_instanceof_IdbDatabase_48c551909b7652c5(arg0) {
7912
8064
  let result;
7913
8065
  try {
7914
8066
  result = arg0 instanceof IDBDatabase;
@@ -7919,7 +8071,7 @@ export function __wbg_instanceof_IdbDatabase_a3ef009ca00059f9(arg0) {
7919
8071
  return ret;
7920
8072
  };
7921
8073
 
7922
- export function __wbg_instanceof_IdbFactory_12eaba3366f4302f(arg0) {
8074
+ export function __wbg_instanceof_IdbFactory_e429f3e72d6a6d94(arg0) {
7923
8075
  let result;
7924
8076
  try {
7925
8077
  result = arg0 instanceof IDBFactory;
@@ -7930,7 +8082,7 @@ export function __wbg_instanceof_IdbFactory_12eaba3366f4302f(arg0) {
7930
8082
  return ret;
7931
8083
  };
7932
8084
 
7933
- export function __wbg_instanceof_IdbOpenDbRequest_a3416e156c9db893(arg0) {
8085
+ export function __wbg_instanceof_IdbOpenDbRequest_822b13f85bf6d91f(arg0) {
7934
8086
  let result;
7935
8087
  try {
7936
8088
  result = arg0 instanceof IDBOpenDBRequest;
@@ -7941,7 +8093,7 @@ export function __wbg_instanceof_IdbOpenDbRequest_a3416e156c9db893(arg0) {
7941
8093
  return ret;
7942
8094
  };
7943
8095
 
7944
- export function __wbg_instanceof_IdbRequest_4813c3f207666aa4(arg0) {
8096
+ export function __wbg_instanceof_IdbRequest_591f189bf6c335cc(arg0) {
7945
8097
  let result;
7946
8098
  try {
7947
8099
  result = arg0 instanceof IDBRequest;
@@ -7952,7 +8104,7 @@ export function __wbg_instanceof_IdbRequest_4813c3f207666aa4(arg0) {
7952
8104
  return ret;
7953
8105
  };
7954
8106
 
7955
- export function __wbg_instanceof_IdbTransaction_746ea660d347650d(arg0) {
8107
+ export function __wbg_instanceof_IdbTransaction_7a1d07a52299c4f9(arg0) {
7956
8108
  let result;
7957
8109
  try {
7958
8110
  result = arg0 instanceof IDBTransaction;
@@ -7963,7 +8115,7 @@ export function __wbg_instanceof_IdbTransaction_746ea660d347650d(arg0) {
7963
8115
  return ret;
7964
8116
  };
7965
8117
 
7966
- export function __wbg_instanceof_Map_f3469ce2244d2430(arg0) {
8118
+ export function __wbg_instanceof_Map_dd89a82d76d1b25f(arg0) {
7967
8119
  let result;
7968
8120
  try {
7969
8121
  result = arg0 instanceof Map;
@@ -7974,7 +8126,7 @@ export function __wbg_instanceof_Map_f3469ce2244d2430(arg0) {
7974
8126
  return ret;
7975
8127
  };
7976
8128
 
7977
- export function __wbg_instanceof_Promise_935168b8f4b49db3(arg0) {
8129
+ export function __wbg_instanceof_Promise_1147df2e75727145(arg0) {
7978
8130
  let result;
7979
8131
  try {
7980
8132
  result = arg0 instanceof Promise;
@@ -7985,7 +8137,7 @@ export function __wbg_instanceof_Promise_935168b8f4b49db3(arg0) {
7985
8137
  return ret;
7986
8138
  };
7987
8139
 
7988
- export function __wbg_instanceof_ReadableStreamDefaultReader_056dcea99b3557aa(arg0) {
8140
+ export function __wbg_instanceof_ReadableStreamDefaultReader_0c3606441afabcc8(arg0) {
7989
8141
  let result;
7990
8142
  try {
7991
8143
  result = arg0 instanceof ReadableStreamDefaultReader;
@@ -7996,7 +8148,7 @@ export function __wbg_instanceof_ReadableStreamDefaultReader_056dcea99b3557aa(ar
7996
8148
  return ret;
7997
8149
  };
7998
8150
 
7999
- export function __wbg_instanceof_Response_f2cc20d9f7dfd644(arg0) {
8151
+ export function __wbg_instanceof_Response_0ab386c6818f788a(arg0) {
8000
8152
  let result;
8001
8153
  try {
8002
8154
  result = arg0 instanceof Response;
@@ -8007,7 +8159,7 @@ export function __wbg_instanceof_Response_f2cc20d9f7dfd644(arg0) {
8007
8159
  return ret;
8008
8160
  };
8009
8161
 
8010
- export function __wbg_instanceof_ServiceWorkerGlobalScope_9662fcbac1190e8b(arg0) {
8162
+ export function __wbg_instanceof_ServiceWorkerGlobalScope_8b30335633410516(arg0) {
8011
8163
  let result;
8012
8164
  try {
8013
8165
  result = arg0 instanceof ServiceWorkerGlobalScope;
@@ -8018,7 +8170,7 @@ export function __wbg_instanceof_ServiceWorkerGlobalScope_9662fcbac1190e8b(arg0)
8018
8170
  return ret;
8019
8171
  };
8020
8172
 
8021
- export function __wbg_instanceof_SharedWorkerGlobalScope_1796b9b4c3344538(arg0) {
8173
+ export function __wbg_instanceof_SharedWorkerGlobalScope_c0b9e45163c1a675(arg0) {
8022
8174
  let result;
8023
8175
  try {
8024
8176
  result = arg0 instanceof SharedWorkerGlobalScope;
@@ -8029,7 +8181,7 @@ export function __wbg_instanceof_SharedWorkerGlobalScope_1796b9b4c3344538(arg0)
8029
8181
  return ret;
8030
8182
  };
8031
8183
 
8032
- export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
8184
+ export function __wbg_instanceof_Uint8Array_91f3c5adee7e6672(arg0) {
8033
8185
  let result;
8034
8186
  try {
8035
8187
  result = arg0 instanceof Uint8Array;
@@ -8040,7 +8192,7 @@ export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
8040
8192
  return ret;
8041
8193
  };
8042
8194
 
8043
- export function __wbg_instanceof_WebTransportBidirectionalStream_e00b12a4618e81ef(arg0) {
8195
+ export function __wbg_instanceof_WebTransportBidirectionalStream_65ff63c49f91f97a(arg0) {
8044
8196
  let result;
8045
8197
  try {
8046
8198
  result = arg0 instanceof WebTransportBidirectionalStream;
@@ -8051,7 +8203,7 @@ export function __wbg_instanceof_WebTransportBidirectionalStream_e00b12a4618e81e
8051
8203
  return ret;
8052
8204
  };
8053
8205
 
8054
- export function __wbg_instanceof_Window_def73ea0955fc569(arg0) {
8206
+ export function __wbg_instanceof_Window_7f29e5c72acbfd60(arg0) {
8055
8207
  let result;
8056
8208
  try {
8057
8209
  result = arg0 instanceof Window;
@@ -8062,17 +8214,22 @@ export function __wbg_instanceof_Window_def73ea0955fc569(arg0) {
8062
8214
  return ret;
8063
8215
  };
8064
8216
 
8065
- export function __wbg_isArray_a1eab7e0d067391b(arg0) {
8217
+ export function __wbg_isArray_55c23353d58297fd(arg0) {
8218
+ const ret = Array.isArray(arg0);
8219
+ return ret;
8220
+ };
8221
+
8222
+ export function __wbg_isArray_bc2498eba6fcb71f(arg0) {
8066
8223
  const ret = Array.isArray(arg0);
8067
8224
  return ret;
8068
8225
  };
8069
8226
 
8070
- export function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) {
8227
+ export function __wbg_isSafeInteger_6091d6e3ee1b65fd(arg0) {
8071
8228
  const ret = Number.isSafeInteger(arg0);
8072
8229
  return ret;
8073
8230
  };
8074
8231
 
8075
- export function __wbg_iterator_9a24c88df860dc65() {
8232
+ export function __wbg_iterator_96378c3c9a17347c() {
8076
8233
  const ret = Symbol.iterator;
8077
8234
  return ret;
8078
8235
  };
@@ -8092,7 +8249,7 @@ export function __wbg_jseventattribute_unwrap(arg0) {
8092
8249
  return ret;
8093
8250
  };
8094
8251
 
8095
- export function __wbg_json_1671bfa3e3625686() { return handleError(function (arg0) {
8252
+ export function __wbg_json_dbaa85a926a80ed5() { return handleError(function (arg0) {
8096
8253
  const ret = arg0.json();
8097
8254
  return ret;
8098
8255
  }, arguments) };
@@ -8107,32 +8264,32 @@ export function __wbg_jsvalidatorinfo_unwrap(arg0) {
8107
8264
  return ret;
8108
8265
  };
8109
8266
 
8110
- export function __wbg_keyPath_443ecf3f74202169() { return handleError(function (arg0) {
8267
+ export function __wbg_keyPath_2635ad1da5c21128() { return handleError(function (arg0) {
8111
8268
  const ret = arg0.keyPath;
8112
8269
  return ret;
8113
8270
  }, arguments) };
8114
8271
 
8115
- export function __wbg_key_29fefecef430db96() { return handleError(function (arg0) {
8272
+ export function __wbg_key_54dc8730fa36ae65() { return handleError(function (arg0) {
8116
8273
  const ret = arg0.key;
8117
8274
  return ret;
8118
8275
  }, arguments) };
8119
8276
 
8120
- export function __wbg_length_52b6c4580c5ec934(arg0) {
8277
+ export function __wbg_length_1161036d400ff5c6(arg0) {
8121
8278
  const ret = arg0.length;
8122
8279
  return ret;
8123
8280
  };
8124
8281
 
8125
- export function __wbg_length_a446193dc22c12f8(arg0) {
8282
+ export function __wbg_length_246fa1f85a0dea5b(arg0) {
8126
8283
  const ret = arg0.length;
8127
8284
  return ret;
8128
8285
  };
8129
8286
 
8130
- export function __wbg_length_e2d2a49132c1b256(arg0) {
8287
+ export function __wbg_length_904c0910ed998bf3(arg0) {
8131
8288
  const ret = arg0.length;
8132
8289
  return ret;
8133
8290
  };
8134
8291
 
8135
- export function __wbg_memo_064255259eb62e71(arg0, arg1) {
8292
+ export function __wbg_memo_48d219ed93452445(arg0, arg1) {
8136
8293
  const ret = arg1.memo;
8137
8294
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8138
8295
  var len1 = WASM_VECTOR_LEN;
@@ -8140,7 +8297,7 @@ export function __wbg_memo_064255259eb62e71(arg0, arg1) {
8140
8297
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8141
8298
  };
8142
8299
 
8143
- export function __wbg_message_97a2af9b89d693a3(arg0) {
8300
+ export function __wbg_message_86bd7dcf158b1dda(arg0) {
8144
8301
  const ret = arg0.message;
8145
8302
  return ret;
8146
8303
  };
@@ -8150,27 +8307,27 @@ export function __wbg_modeinfo_new(arg0) {
8150
8307
  return ret;
8151
8308
  };
8152
8309
 
8153
- export function __wbg_msCrypto_0a36e2ec3a343d26(arg0) {
8310
+ export function __wbg_msCrypto_a61aeb35a24c1329(arg0) {
8154
8311
  const ret = arg0.msCrypto;
8155
8312
  return ret;
8156
8313
  };
8157
8314
 
8158
- export function __wbg_multiEntry_c146ebd38a5de9ea(arg0) {
8315
+ export function __wbg_multiEntry_a88b8b7336fb09ab(arg0) {
8159
8316
  const ret = arg0.multiEntry;
8160
8317
  return ret;
8161
8318
  };
8162
8319
 
8163
- export function __wbg_name_0b327d569f00ebee(arg0) {
8320
+ export function __wbg_name_4eed68a70c7faf2a(arg0) {
8164
8321
  const ret = arg0.name;
8165
8322
  return ret;
8166
8323
  };
8167
8324
 
8168
- export function __wbg_navigator_0a9bf1120e24fec2(arg0) {
8325
+ export function __wbg_navigator_2de7a59c1ede3ea5(arg0) {
8169
8326
  const ret = arg0.navigator;
8170
8327
  return ret;
8171
8328
  };
8172
8329
 
8173
- export function __wbg_navigator_1577371c070c8947(arg0) {
8330
+ export function __wbg_navigator_b6d1cae68d750613(arg0) {
8174
8331
  const ret = arg0.navigator;
8175
8332
  return ret;
8176
8333
  };
@@ -8180,24 +8337,49 @@ export function __wbg_networkinfosnapshot_new(arg0) {
8180
8337
  return ret;
8181
8338
  };
8182
8339
 
8183
- export function __wbg_new0_f788a2397c7ca929() {
8340
+ export function __wbg_new0_85cc856927102294() {
8184
8341
  const ret = new Date();
8185
8342
  return ret;
8186
8343
  };
8187
8344
 
8188
- export function __wbg_new_018dcc2d6c8c2f6a() { return handleError(function () {
8345
+ export function __wbg_new_12588505388d0897() { return handleError(function () {
8189
8346
  const ret = new Headers();
8190
8347
  return ret;
8191
8348
  }, arguments) };
8192
8349
 
8193
- export function __wbg_new_23a2665fac83c611(arg0, arg1) {
8350
+ export function __wbg_new_1930cbb8d9ffc31b() {
8351
+ const ret = new Object();
8352
+ return ret;
8353
+ };
8354
+
8355
+ export function __wbg_new_56407f99198feff7() {
8356
+ const ret = new Map();
8357
+ return ret;
8358
+ };
8359
+
8360
+ export function __wbg_new_8a6f238a6ece86ea() {
8361
+ const ret = new Error();
8362
+ return ret;
8363
+ };
8364
+
8365
+ export function __wbg_new_9190433fb67ed635(arg0) {
8366
+ const ret = new Uint8Array(arg0);
8367
+ return ret;
8368
+ };
8369
+
8370
+ export function __wbg_new_97ddeb994a38bb69(arg0, arg1) {
8371
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
8372
+ return ret;
8373
+ };
8374
+
8375
+ export function __wbg_new_d5e3800b120e37e1(arg0, arg1) {
8194
8376
  try {
8195
8377
  var state0 = {a: arg0, b: arg1};
8196
8378
  var cb0 = (arg0, arg1) => {
8197
8379
  const a = state0.a;
8198
8380
  state0.a = 0;
8199
8381
  try {
8200
- return __wbg_adapter_984(a, state0.b, arg0, arg1);
8382
+ return __wbg_adapter_960(a, state0.b, arg0, arg1);
8201
8383
  } finally {
8202
8384
  state0.a = a;
8203
8385
  }
@@ -8209,87 +8391,67 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
8209
8391
  }
8210
8392
  };
8211
8393
 
8212
- export function __wbg_new_405e22f390576ce2() {
8213
- const ret = new Object();
8214
- return ret;
8215
- };
8216
-
8217
- export function __wbg_new_5e0be73521bc8c17() {
8218
- const ret = new Map();
8394
+ export function __wbg_new_d85e20a34917132b() { return handleError(function (arg0, arg1) {
8395
+ const ret = new WebTransport(getStringFromWasm0(arg0, arg1));
8219
8396
  return ret;
8220
- };
8397
+ }, arguments) };
8221
8398
 
8222
- export function __wbg_new_78feb108b6472713() {
8399
+ export function __wbg_new_e969dc3f68d25093() {
8223
8400
  const ret = new Array();
8224
8401
  return ret;
8225
8402
  };
8226
8403
 
8227
- export function __wbg_new_7f19378ebfdc87d5() { return handleError(function (arg0, arg1) {
8404
+ export function __wbg_new_f450b111eed28700() { return handleError(function (arg0, arg1) {
8228
8405
  const ret = new BroadcastChannel(getStringFromWasm0(arg0, arg1));
8229
8406
  return ret;
8230
8407
  }, arguments) };
8231
8408
 
8232
- export function __wbg_new_8a6f238a6ece86ea() {
8233
- const ret = new Error();
8234
- return ret;
8235
- };
8236
-
8237
- export function __wbg_new_92c54fc74574ef55() { return handleError(function (arg0, arg1) {
8409
+ export function __wbg_new_fb0d376a3c915f60() { return handleError(function (arg0, arg1) {
8238
8410
  const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
8239
8411
  return ret;
8240
8412
  }, arguments) };
8241
8413
 
8242
- export function __wbg_new_a12002a7f91c75be(arg0) {
8243
- const ret = new Uint8Array(arg0);
8244
- return ret;
8245
- };
8246
-
8247
- export function __wbg_new_c68d7209be747379(arg0, arg1) {
8248
- const ret = new Error(getStringFromWasm0(arg0, arg1));
8414
+ export function __wbg_newfromslice_d0d56929c6d9c842(arg0, arg1) {
8415
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
8249
8416
  return ret;
8250
8417
  };
8251
8418
 
8252
- export function __wbg_new_e5bafad665ca8709() { return handleError(function (arg0, arg1) {
8253
- const ret = new WebTransport(getStringFromWasm0(arg0, arg1));
8254
- return ret;
8255
- }, arguments) };
8256
-
8257
- export function __wbg_newnoargs_105ed471475aaf50(arg0, arg1) {
8419
+ export function __wbg_newnoargs_a81330f6e05d8aca(arg0, arg1) {
8258
8420
  const ret = new Function(getStringFromWasm0(arg0, arg1));
8259
8421
  return ret;
8260
8422
  };
8261
8423
 
8262
- export function __wbg_newwithbyteoffsetandlength_d97e637ebe145a9a(arg0, arg1, arg2) {
8424
+ export function __wbg_newwithbyteoffsetandlength_9aade108cd45cf37(arg0, arg1, arg2) {
8263
8425
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
8264
8426
  return ret;
8265
8427
  };
8266
8428
 
8267
- export function __wbg_newwithlength_a381634e90c276d4(arg0) {
8429
+ export function __wbg_newwithlength_ed0ee6c1edca86fc(arg0) {
8268
8430
  const ret = new Uint8Array(arg0 >>> 0);
8269
8431
  return ret;
8270
8432
  };
8271
8433
 
8272
- export function __wbg_newwithoptions_b1f31e2ae78beef9() { return handleError(function (arg0, arg1, arg2) {
8434
+ export function __wbg_newwithoptions_1ba541b69f220543() { return handleError(function (arg0, arg1, arg2) {
8273
8435
  const ret = new WebTransport(getStringFromWasm0(arg0, arg1), arg2);
8274
8436
  return ret;
8275
8437
  }, arguments) };
8276
8438
 
8277
- export function __wbg_newwithstrandinit_06c535e0a867c635() { return handleError(function (arg0, arg1, arg2) {
8439
+ export function __wbg_newwithstrandinit_e8e22e9851f3c2fe() { return handleError(function (arg0, arg1, arg2) {
8278
8440
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
8279
8441
  return ret;
8280
8442
  }, arguments) };
8281
8443
 
8282
- export function __wbg_next_25feadfc0913fea9(arg0) {
8283
- const ret = arg0.next;
8284
- return ret;
8285
- };
8286
-
8287
- export function __wbg_next_6574e1a8a62d1055() { return handleError(function (arg0) {
8444
+ export function __wbg_next_2e6b37020ac5fe58() { return handleError(function (arg0) {
8288
8445
  const ret = arg0.next();
8289
8446
  return ret;
8290
8447
  }, arguments) };
8291
8448
 
8292
- export function __wbg_node_02999533c4ea02e3(arg0) {
8449
+ export function __wbg_next_3de8f2669431a3ff(arg0) {
8450
+ const ret = arg0.next;
8451
+ return ret;
8452
+ };
8453
+
8454
+ export function __wbg_node_905d3e251edff8a2(arg0) {
8293
8455
  const ret = arg0.node;
8294
8456
  return ret;
8295
8457
  };
@@ -8299,62 +8461,62 @@ export function __wbg_nodeclient_new(arg0) {
8299
8461
  return ret;
8300
8462
  };
8301
8463
 
8302
- export function __wbg_now_2c95c9de01293173(arg0) {
8464
+ export function __wbg_now_1f875e5cd673bc3c(arg0) {
8303
8465
  const ret = arg0.now();
8304
8466
  return ret;
8305
8467
  };
8306
8468
 
8307
- export function __wbg_now_807e54c39636c349() {
8308
- const ret = Date.now();
8469
+ export function __wbg_now_2c95c9de01293173(arg0) {
8470
+ const ret = arg0.now();
8309
8471
  return ret;
8310
8472
  };
8311
8473
 
8312
- export function __wbg_now_d18023d54d4e5500(arg0) {
8313
- const ret = arg0.now();
8474
+ export function __wbg_now_e3057dd824ca0191() {
8475
+ const ret = Date.now();
8314
8476
  return ret;
8315
8477
  };
8316
8478
 
8317
- export function __wbg_objectStoreNames_9bb1ab04a7012aaf(arg0) {
8479
+ export function __wbg_objectStoreNames_9f871922c78ae388(arg0) {
8318
8480
  const ret = arg0.objectStoreNames;
8319
8481
  return ret;
8320
8482
  };
8321
8483
 
8322
- export function __wbg_objectStore_21878d46d25b64b6() { return handleError(function (arg0, arg1, arg2) {
8484
+ export function __wbg_objectStore_4f9dafdbff77fd83() { return handleError(function (arg0, arg1, arg2) {
8323
8485
  const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
8324
8486
  return ret;
8325
8487
  }, arguments) };
8326
8488
 
8327
- export function __wbg_of_2eaf5a02d443ef03(arg0) {
8489
+ export function __wbg_of_0082112f5d8d608a(arg0) {
8328
8490
  const ret = Array.of(arg0);
8329
8491
  return ret;
8330
8492
  };
8331
8493
 
8332
- export function __wbg_only_f1a0276dacb43f09() { return handleError(function (arg0) {
8494
+ export function __wbg_only_1c4292e278018189() { return handleError(function (arg0) {
8333
8495
  const ret = IDBKeyRange.only(arg0);
8334
8496
  return ret;
8335
8497
  }, arguments) };
8336
8498
 
8337
- export function __wbg_openCursor_238e247d18bde2cd() { return handleError(function (arg0) {
8338
- const ret = arg0.openCursor();
8499
+ export function __wbg_openCursor_2b0233fcb8713b84() { return handleError(function (arg0, arg1, arg2) {
8500
+ const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
8339
8501
  return ret;
8340
8502
  }, arguments) };
8341
8503
 
8342
- export function __wbg_openCursor_6fd4dab51810d238() { return handleError(function (arg0, arg1, arg2) {
8343
- const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
8504
+ export function __wbg_openCursor_46a38ced59324ff5() { return handleError(function (arg0) {
8505
+ const ret = arg0.openCursor();
8344
8506
  return ret;
8345
8507
  }, arguments) };
8346
8508
 
8347
- export function __wbg_openCursor_f4b061aa6d804b93() { return handleError(function (arg0, arg1) {
8509
+ export function __wbg_openCursor_f0969faec4c47a9f() { return handleError(function (arg0, arg1) {
8348
8510
  const ret = arg0.openCursor(arg1);
8349
8511
  return ret;
8350
8512
  }, arguments) };
8351
8513
 
8352
- export function __wbg_open_88b1390d99a7c691() { return handleError(function (arg0, arg1, arg2) {
8514
+ export function __wbg_open_4ccfb9986e8733c9() { return handleError(function (arg0, arg1, arg2) {
8353
8515
  const ret = arg0.open(getStringFromWasm0(arg1, arg2));
8354
8516
  return ret;
8355
8517
  }, arguments) };
8356
8518
 
8357
- export function __wbg_open_e0c0b2993eb596e1() { return handleError(function (arg0, arg1, arg2, arg3) {
8519
+ export function __wbg_open_bf329a7c677f6eb3() { return handleError(function (arg0, arg1, arg2, arg3) {
8358
8520
  const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
8359
8521
  return ret;
8360
8522
  }, arguments) };
@@ -8369,34 +8531,34 @@ export function __wbg_performance_7a3ffd0b17f663ad(arg0) {
8369
8531
  return ret;
8370
8532
  };
8371
8533
 
8372
- export function __wbg_persist_61cdcca08bf2d1a2() { return handleError(function (arg0) {
8534
+ export function __wbg_persist_1bb8fe4abf4a1238() { return handleError(function (arg0) {
8373
8535
  const ret = arg0.persist();
8374
8536
  return ret;
8375
8537
  }, arguments) };
8376
8538
 
8377
- export function __wbg_ports_b00492ca2866b691(arg0) {
8539
+ export function __wbg_ports_9c55c10a9e47462c(arg0) {
8378
8540
  const ret = arg0.ports;
8379
8541
  return ret;
8380
8542
  };
8381
8543
 
8382
- export function __wbg_postMessage_2e7f869e24ef4acc() { return handleError(function (arg0, arg1, arg2) {
8383
- arg0.postMessage(arg1, arg2);
8544
+ export function __wbg_postMessage_3b4fb1cda6756bf0() { return handleError(function (arg0, arg1) {
8545
+ arg0.postMessage(arg1);
8384
8546
  }, arguments) };
8385
8547
 
8386
- export function __wbg_postMessage_af7e702ab71c8f0e() { return handleError(function (arg0, arg1) {
8387
- arg0.postMessage(arg1);
8548
+ export function __wbg_postMessage_6c2e3d58e6b58b4a() { return handleError(function (arg0, arg1, arg2) {
8549
+ arg0.postMessage(arg1, arg2);
8388
8550
  }, arguments) };
8389
8551
 
8390
- export function __wbg_postMessage_bb72e89e7ba80355() { return handleError(function (arg0, arg1) {
8552
+ export function __wbg_postMessage_748559745b3b6020() { return handleError(function (arg0, arg1) {
8391
8553
  arg0.postMessage(arg1);
8392
8554
  }, arguments) };
8393
8555
 
8394
- export function __wbg_priority_159c3934e078ea37(arg0) {
8556
+ export function __wbg_priority_e414ab055c0d0a08(arg0) {
8395
8557
  const ret = arg0.priority;
8396
8558
  return isLikeNone(ret) ? 0 : ret;
8397
8559
  };
8398
8560
 
8399
- export function __wbg_process_5c1d670bc53614b8(arg0) {
8561
+ export function __wbg_process_dc0fbacc7c1c06f7(arg0) {
8400
8562
  const ret = arg0.process;
8401
8563
  return ret;
8402
8564
  };
@@ -8411,88 +8573,97 @@ export function __wbg_proofop_unwrap(arg0) {
8411
8573
  return ret;
8412
8574
  };
8413
8575
 
8414
- export function __wbg_push_737cfc8c1432c2c6(arg0, arg1) {
8576
+ export function __wbg_prototypesetcall_c5f74efd31aea86b(arg0, arg1, arg2) {
8577
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
8578
+ };
8579
+
8580
+ export function __wbg_push_cd3ac7d5b094565d(arg0, arg1) {
8415
8581
  const ret = arg0.push(arg1);
8416
8582
  return ret;
8417
8583
  };
8418
8584
 
8419
- export function __wbg_put_066faa31a6a88f5b() { return handleError(function (arg0, arg1, arg2) {
8585
+ export function __wbg_put_26029bce45af287b() { return handleError(function (arg0, arg1, arg2) {
8420
8586
  const ret = arg0.put(arg1, arg2);
8421
8587
  return ret;
8422
8588
  }, arguments) };
8423
8589
 
8424
- export function __wbg_put_9ef5363941008835() { return handleError(function (arg0, arg1) {
8590
+ export function __wbg_put_adbbd8f247db7544() { return handleError(function (arg0, arg1) {
8425
8591
  const ret = arg0.put(arg1);
8426
8592
  return ret;
8427
8593
  }, arguments) };
8428
8594
 
8429
- export function __wbg_queueMicrotask_97d92b4fcc8a61c5(arg0) {
8430
- queueMicrotask(arg0);
8431
- };
8432
-
8433
- export function __wbg_queueMicrotask_d3219def82552485(arg0) {
8595
+ export function __wbg_queueMicrotask_bcc6e26d899696db(arg0) {
8434
8596
  const ret = arg0.queueMicrotask;
8435
8597
  return ret;
8436
8598
  };
8437
8599
 
8438
- export function __wbg_randomFillSync_ab2cfe79ebbf2740() { return handleError(function (arg0, arg1) {
8600
+ export function __wbg_queueMicrotask_f24a794d09c42640(arg0) {
8601
+ queueMicrotask(arg0);
8602
+ };
8603
+
8604
+ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(function (arg0, arg1) {
8439
8605
  arg0.randomFillSync(arg1);
8440
8606
  }, arguments) };
8441
8607
 
8442
- export function __wbg_random_3ad904d98382defe() {
8608
+ export function __wbg_random_57255a777f5a0573() {
8443
8609
  const ret = Math.random();
8444
8610
  return ret;
8445
8611
  };
8446
8612
 
8447
- export function __wbg_read_a2434af1186cb56c(arg0) {
8613
+ export function __wbg_read_dc3d89b58ce2ae65(arg0) {
8448
8614
  const ret = arg0.read();
8449
8615
  return ret;
8450
8616
  };
8451
8617
 
8452
- export function __wbg_readable_dd443629eabf2027(arg0) {
8618
+ export function __wbg_readable_e39b6396dce1aa98(arg0) {
8453
8619
  const ret = arg0.readable;
8454
8620
  return ret;
8455
8621
  };
8456
8622
 
8457
- export function __wbg_readyState_7ef6e63c349899ed(arg0) {
8623
+ export function __wbg_readyState_e97ec9955f858a83(arg0) {
8458
8624
  const ret = arg0.readyState;
8459
8625
  return ret;
8460
8626
  };
8461
8627
 
8462
- export function __wbg_ready_103c23b8fd46adc5(arg0) {
8628
+ export function __wbg_ready_a624cdffdc1b39dc(arg0) {
8463
8629
  const ret = arg0.ready;
8464
8630
  return ret;
8465
8631
  };
8466
8632
 
8467
- export function __wbg_ready_480b0e63c18378c7(arg0) {
8633
+ export function __wbg_ready_a8d2b97e1fe33dcb(arg0) {
8468
8634
  const ret = arg0.ready;
8469
8635
  return ret;
8470
8636
  };
8471
8637
 
8472
- export function __wbg_releaseLock_091899af97991d2e(arg0) {
8638
+ export function __wbg_releaseLock_fbec365467db2e6c(arg0) {
8473
8639
  arg0.releaseLock();
8474
8640
  };
8475
8641
 
8476
- export function __wbg_request_695d684a1f4bb96e(arg0) {
8642
+ export function __wbg_request_537c0a65e46ce7cb(arg0, arg1, arg2, arg3, arg4) {
8643
+ const ret = arg0.request(getStringFromWasm0(arg1, arg2), arg3, arg4);
8644
+ return ret;
8645
+ };
8646
+
8647
+ export function __wbg_request_d6e49e725ba3024b(arg0) {
8477
8648
  const ret = arg0.request;
8478
8649
  return ret;
8479
8650
  };
8480
8651
 
8481
- export function __wbg_require_79b1e9274cde3c87() { return handleError(function () {
8652
+ export function __wbg_require_60cc747a6bc5215a() { return handleError(function () {
8482
8653
  const ret = module.require;
8483
8654
  return ret;
8484
8655
  }, arguments) };
8485
8656
 
8486
- export function __wbg_resolve_4851785c9c5f573d(arg0) {
8657
+ export function __wbg_resolve_5775c0ef9222f556(arg0) {
8487
8658
  const ret = Promise.resolve(arg0);
8488
8659
  return ret;
8489
8660
  };
8490
8661
 
8491
- export function __wbg_respond_1f279fa9f8edcb1c() { return handleError(function (arg0, arg1) {
8662
+ export function __wbg_respond_0003f7c68aa35ef6() { return handleError(function (arg0, arg1) {
8492
8663
  arg0.respond(arg1 >>> 0);
8493
8664
  }, arguments) };
8494
8665
 
8495
- export function __wbg_result_f29afabdf2c05826() { return handleError(function (arg0) {
8666
+ export function __wbg_result_b30a0a7bc6b6345f() { return handleError(function (arg0) {
8496
8667
  const ret = arg0.result;
8497
8668
  return ret;
8498
8669
  }, arguments) };
@@ -8502,16 +8673,16 @@ export function __wbg_samplingmetadata_new(arg0) {
8502
8673
  return ret;
8503
8674
  };
8504
8675
 
8505
- export function __wbg_send_fc0c204e8a1757f4() { return handleError(function (arg0, arg1, arg2) {
8676
+ export function __wbg_send_f0af552dcc5d8183() { return handleError(function (arg0, arg1, arg2) {
8506
8677
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
8507
8678
  }, arguments) };
8508
8679
 
8509
- export function __wbg_setInterval_83d54331ceeda644() { return handleError(function (arg0, arg1, arg2, arg3) {
8680
+ export function __wbg_setInterval_a708e6782af78d02() { return handleError(function (arg0, arg1, arg2, arg3) {
8510
8681
  const ret = arg0.setInterval(arg1, arg2, ...arg3);
8511
8682
  return ret;
8512
8683
  }, arguments) };
8513
8684
 
8514
- export function __wbg_setInterval_d4f8bdcc1d5b1da9() { return handleError(function (arg0, arg1, arg2, arg3) {
8685
+ export function __wbg_setInterval_deb388473d598809() { return handleError(function (arg0, arg1, arg2, arg3) {
8515
8686
  const ret = arg0.setInterval(arg1, arg2, ...arg3);
8516
8687
  return ret;
8517
8688
  }, arguments) };
@@ -8521,7 +8692,7 @@ export function __wbg_setInterval_ed3b5e3c3ebb8a6d() { return handleError(functi
8521
8692
  return ret;
8522
8693
  }, arguments) };
8523
8694
 
8524
- export function __wbg_setTimeout_683839f43a962892(arg0, arg1) {
8695
+ export function __wbg_setTimeout_6d5804197b438320(arg0, arg1) {
8525
8696
  const ret = setTimeout(arg0, arg1 >>> 0);
8526
8697
  return ret;
8527
8698
  };
@@ -8536,137 +8707,137 @@ export function __wbg_setTimeout_eefe7f4c234b0c6b() { return handleError(functio
8536
8707
  return ret;
8537
8708
  }, arguments) };
8538
8709
 
8539
- export function __wbg_set_11cd83f45504cedf() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
8710
+ export function __wbg_set_1d5fe1e3f51a48d8(arg0, arg1, arg2) {
8711
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
8712
+ };
8713
+
8714
+ export function __wbg_set_2df374478acad331() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
8540
8715
  arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
8541
8716
  }, arguments) };
8542
8717
 
8543
- export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
8544
- arg0[arg1 >>> 0] = arg2;
8718
+ export function __wbg_set_31197016f65a6a19(arg0, arg1, arg2) {
8719
+ const ret = arg0.set(arg1, arg2);
8720
+ return ret;
8545
8721
  };
8546
8722
 
8547
8723
  export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
8548
8724
  arg0[arg1] = arg2;
8549
8725
  };
8550
8726
 
8551
- export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
8552
- arg0.set(arg1, arg2 >>> 0);
8553
- };
8554
-
8555
- export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
8556
- const ret = arg0.set(arg1, arg2);
8557
- return ret;
8558
- };
8559
-
8560
- export function __wbg_set_bb8cecf6a62b9f46() { return handleError(function (arg0, arg1, arg2) {
8727
+ export function __wbg_set_b33e7a98099eed58() { return handleError(function (arg0, arg1, arg2) {
8561
8728
  const ret = Reflect.set(arg0, arg1, arg2);
8562
8729
  return ret;
8563
8730
  }, arguments) };
8564
8731
 
8565
- export function __wbg_setautoincrement_8b4327709e9ee7d9(arg0, arg1) {
8732
+ export function __wbg_set_d636a0463acf1dbc(arg0, arg1, arg2) {
8733
+ arg0[arg1 >>> 0] = arg2;
8734
+ };
8735
+
8736
+ export function __wbg_setautoincrement_5ae17c87fe2d4f9b(arg0, arg1) {
8566
8737
  arg0.autoIncrement = arg1 !== 0;
8567
8738
  };
8568
8739
 
8569
- export function __wbg_setbinaryType_92fa1ffd873b327c(arg0, arg1) {
8740
+ export function __wbg_setbinaryType_c6d319ec56ffc9f5(arg0, arg1) {
8570
8741
  arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
8571
8742
  };
8572
8743
 
8573
- export function __wbg_setbody_5923b78a95eedf29(arg0, arg1) {
8744
+ export function __wbg_setbody_e324371c31597f2a(arg0, arg1) {
8574
8745
  arg0.body = arg1;
8575
8746
  };
8576
8747
 
8577
- export function __wbg_setcache_12f17c3a980650e4(arg0, arg1) {
8748
+ export function __wbg_setcache_7c95e3469a5bfb76(arg0, arg1) {
8578
8749
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
8579
8750
  };
8580
8751
 
8581
- export function __wbg_setcause_180f5110152d3ce3(arg0, arg1) {
8752
+ export function __wbg_setcause_b0108db2f5bad08c(arg0, arg1) {
8582
8753
  arg0.cause = arg1;
8583
8754
  };
8584
8755
 
8585
- export function __wbg_setcredentials_c3a22f1cd105a2c6(arg0, arg1) {
8756
+ export function __wbg_setcredentials_55a9317ed2777533(arg0, arg1) {
8586
8757
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
8587
8758
  };
8588
8759
 
8589
- export function __wbg_setheaders_834c0bdb6a8949ad(arg0, arg1) {
8760
+ export function __wbg_setheaders_ac0b1e4890a949cd(arg0, arg1) {
8590
8761
  arg0.headers = arg1;
8591
8762
  };
8592
8763
 
8593
- export function __wbg_setintegrity_564a2397cf837760(arg0, arg1, arg2) {
8764
+ export function __wbg_setintegrity_b99a69a0174d6d2d(arg0, arg1, arg2) {
8594
8765
  arg0.integrity = getStringFromWasm0(arg1, arg2);
8595
8766
  };
8596
8767
 
8597
- export function __wbg_setkeypath_691179e313c26ae1(arg0, arg1) {
8768
+ export function __wbg_setkeypath_8d8c800a95646c4d(arg0, arg1) {
8598
8769
  arg0.keyPath = arg1;
8599
8770
  };
8600
8771
 
8601
- export function __wbg_setmethod_3c5280fe5d890842(arg0, arg1, arg2) {
8772
+ export function __wbg_setmethod_9ce6e95af1ae0eaf(arg0, arg1, arg2) {
8602
8773
  arg0.method = getStringFromWasm0(arg1, arg2);
8603
8774
  };
8604
8775
 
8605
- export function __wbg_setmode_5dc300b865044b65(arg0, arg1) {
8776
+ export function __wbg_setmode_b89d1784e7e7f118(arg0, arg1) {
8606
8777
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
8607
8778
  };
8608
8779
 
8609
- export function __wbg_setmultientry_4c4eee871f29837a(arg0, arg1) {
8780
+ export function __wbg_setmultientry_2d965bfbe831d349(arg0, arg1) {
8610
8781
  arg0.multiEntry = arg1 !== 0;
8611
8782
  };
8612
8783
 
8613
- export function __wbg_setonabort_3bf4db6614fa98e9(arg0, arg1) {
8784
+ export function __wbg_setonabort_2b64fe553e1f30a5(arg0, arg1) {
8614
8785
  arg0.onabort = arg1;
8615
8786
  };
8616
8787
 
8617
- export function __wbg_setonclose_14fc475a49d488fc(arg0, arg1) {
8788
+ export function __wbg_setonclose_31fecac020b76f64(arg0, arg1) {
8618
8789
  arg0.onclose = arg1;
8619
8790
  };
8620
8791
 
8621
- export function __wbg_setoncomplete_4d19df0dadb7c4d4(arg0, arg1) {
8792
+ export function __wbg_setoncomplete_2dee9e6e91eb390c(arg0, arg1) {
8622
8793
  arg0.oncomplete = arg1;
8623
8794
  };
8624
8795
 
8625
- export function __wbg_setonerror_8639efe354b947cd(arg0, arg1) {
8796
+ export function __wbg_setonerror_12c7b6aa014e29ff(arg0, arg1) {
8626
8797
  arg0.onerror = arg1;
8627
8798
  };
8628
8799
 
8629
- export function __wbg_setonerror_b0d9d723b8fddbbb(arg0, arg1) {
8800
+ export function __wbg_setonerror_1c09126416a8732a(arg0, arg1) {
8630
8801
  arg0.onerror = arg1;
8631
8802
  };
8632
8803
 
8633
- export function __wbg_setonerror_d7e3056cc6e56085(arg0, arg1) {
8804
+ export function __wbg_setonerror_d12d470adff34fe2(arg0, arg1) {
8634
8805
  arg0.onerror = arg1;
8635
8806
  };
8636
8807
 
8637
- export function __wbg_setonmessage_6eccab530a8fb4c7(arg0, arg1) {
8808
+ export function __wbg_setonmessage_202c21ecebb3d86d(arg0, arg1) {
8638
8809
  arg0.onmessage = arg1;
8639
8810
  };
8640
8811
 
8641
- export function __wbg_setonopen_2da654e1f39745d5(arg0, arg1) {
8812
+ export function __wbg_setonopen_dbb4e4d6121f7c34(arg0, arg1) {
8642
8813
  arg0.onopen = arg1;
8643
8814
  };
8644
8815
 
8645
- export function __wbg_setonsuccess_afa464ee777a396d(arg0, arg1) {
8816
+ export function __wbg_setonsuccess_81a109828a9b7d7c(arg0, arg1) {
8646
8817
  arg0.onsuccess = arg1;
8647
8818
  };
8648
8819
 
8649
- export function __wbg_setonupgradeneeded_fcf7ce4f2eb0cb5f(arg0, arg1) {
8820
+ export function __wbg_setonupgradeneeded_41c59fde839b5142(arg0, arg1) {
8650
8821
  arg0.onupgradeneeded = arg1;
8651
8822
  };
8652
8823
 
8653
- export function __wbg_setonversionchange_6ee07fa49ee1e3a5(arg0, arg1) {
8824
+ export function __wbg_setonversionchange_6d4cf4b5eafafccc(arg0, arg1) {
8654
8825
  arg0.onversionchange = arg1;
8655
8826
  };
8656
8827
 
8657
- export function __wbg_setredirect_40e6a7f717a2f86a(arg0, arg1) {
8828
+ export function __wbg_setredirect_4017ceebe5aecf8c(arg0, arg1) {
8658
8829
  arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
8659
8830
  };
8660
8831
 
8661
- export function __wbg_setreferrer_fea46c1230e5e29a(arg0, arg1, arg2) {
8832
+ export function __wbg_setreferrer_4625041984f4c279(arg0, arg1, arg2) {
8662
8833
  arg0.referrer = getStringFromWasm0(arg1, arg2);
8663
8834
  };
8664
8835
 
8665
- export function __wbg_setreferrerpolicy_b73612479f761b6f(arg0, arg1) {
8836
+ export function __wbg_setreferrerpolicy_16cc29e0e528b435(arg0, arg1) {
8666
8837
  arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
8667
8838
  };
8668
8839
 
8669
- export function __wbg_setunique_dd24c422aa05df89(arg0, arg1) {
8840
+ export function __wbg_setunique_bccba0d1ccd21f16(arg0, arg1) {
8670
8841
  arg0.unique = arg1 !== 0;
8671
8842
  };
8672
8843
 
@@ -8685,7 +8856,7 @@ export function __wbg_signerinfo_unwrap(arg0) {
8685
8856
  return ret;
8686
8857
  };
8687
8858
 
8688
- export function __wbg_slice_9272f90890997145(arg0, arg1, arg2) {
8859
+ export function __wbg_slice_4d3ad79b14a0c0ec(arg0, arg1, arg2) {
8689
8860
  const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
8690
8861
  return ret;
8691
8862
  };
@@ -8698,37 +8869,37 @@ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
8698
8869
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8699
8870
  };
8700
8871
 
8701
- export function __wbg_static_accessor_GLOBAL_88a902d13a557d07() {
8872
+ export function __wbg_static_accessor_GLOBAL_1f13249cc3acc96d() {
8702
8873
  const ret = typeof global === 'undefined' ? null : global;
8703
8874
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
8704
8875
  };
8705
8876
 
8706
- export function __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0() {
8877
+ export function __wbg_static_accessor_GLOBAL_THIS_df7ae94b1e0ed6a3() {
8707
8878
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
8708
8879
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
8709
8880
  };
8710
8881
 
8711
- export function __wbg_static_accessor_SELF_37c5d418e4bf5819() {
8882
+ export function __wbg_static_accessor_SELF_6265471db3b3c228() {
8712
8883
  const ret = typeof self === 'undefined' ? null : self;
8713
8884
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
8714
8885
  };
8715
8886
 
8716
- export function __wbg_static_accessor_WINDOW_5de37043a91a9c40() {
8887
+ export function __wbg_static_accessor_WINDOW_16fb482f8ec52863() {
8717
8888
  const ret = typeof window === 'undefined' ? null : window;
8718
8889
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
8719
8890
  };
8720
8891
 
8721
- export function __wbg_status_f6360336ca686bf0(arg0) {
8892
+ export function __wbg_status_31874648c8651949(arg0) {
8722
8893
  const ret = arg0.status;
8723
8894
  return ret;
8724
8895
  };
8725
8896
 
8726
- export function __wbg_storage_07eb754b88898955(arg0) {
8897
+ export function __wbg_storage_144f3515656273ac(arg0) {
8727
8898
  const ret = arg0.storage;
8728
8899
  return ret;
8729
8900
  };
8730
8901
 
8731
- export function __wbg_storage_89a3fec18b19e1aa(arg0) {
8902
+ export function __wbg_storage_f49596759b4c8730(arg0) {
8732
8903
  const ret = arg0.storage;
8733
8904
  return ret;
8734
8905
  };
@@ -8743,7 +8914,7 @@ export function __wbg_stringevent_unwrap(arg0) {
8743
8914
  return ret;
8744
8915
  };
8745
8916
 
8746
- export function __wbg_subarray_aa9065fa9dc5df96(arg0, arg1, arg2) {
8917
+ export function __wbg_subarray_a219824899e59712(arg0, arg1, arg2) {
8747
8918
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
8748
8919
  return ret;
8749
8920
  };
@@ -8753,45 +8924,40 @@ export function __wbg_syncinginfosnapshot_new(arg0) {
8753
8924
  return ret;
8754
8925
  };
8755
8926
 
8756
- export function __wbg_target_0a62d9d79a2a1ede(arg0) {
8927
+ export function __wbg_target_bfb4281bfa013115(arg0) {
8757
8928
  const ret = arg0.target;
8758
8929
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
8759
8930
  };
8760
8931
 
8761
- export function __wbg_then_44b73946d2fb3e7d(arg0, arg1) {
8762
- const ret = arg0.then(arg1);
8932
+ export function __wbg_then_8d2fcccde5380a03(arg0, arg1, arg2) {
8933
+ const ret = arg0.then(arg1, arg2);
8763
8934
  return ret;
8764
8935
  };
8765
8936
 
8766
- export function __wbg_then_48b406749878a531(arg0, arg1, arg2) {
8767
- const ret = arg0.then(arg1, arg2);
8937
+ export function __wbg_then_9cc266be2bf537b6(arg0, arg1) {
8938
+ const ret = arg0.then(arg1);
8768
8939
  return ret;
8769
8940
  };
8770
8941
 
8771
- export function __wbg_toString_5285597960676b7b(arg0) {
8942
+ export function __wbg_toString_1144ec2f872e8cf3(arg0) {
8772
8943
  const ret = arg0.toString();
8773
8944
  return ret;
8774
8945
  };
8775
8946
 
8776
- export function __wbg_toString_c813bbd34d063839(arg0) {
8947
+ export function __wbg_toString_1588a16751ba3f70(arg0) {
8777
8948
  const ret = arg0.toString();
8778
8949
  return ret;
8779
8950
  };
8780
8951
 
8781
- export function __wbg_transaction_d6d07c3c9963c49e() { return handleError(function (arg0, arg1, arg2) {
8782
- const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
8783
- return ret;
8784
- }, arguments) };
8785
-
8786
- export function __wbg_transaction_e713aa7b07ccaedd(arg0) {
8952
+ export function __wbg_transaction_8267254fd462a1bb(arg0) {
8787
8953
  const ret = arg0.transaction;
8788
8954
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
8789
8955
  };
8790
8956
 
8791
- export function __wbg_txclient_new(arg0) {
8792
- const ret = TxClient.__wrap(arg0);
8957
+ export function __wbg_transaction_fca796495943f7a5() { return handleError(function (arg0, arg1, arg2) {
8958
+ const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
8793
8959
  return ret;
8794
- };
8960
+ }, arguments) };
8795
8961
 
8796
8962
  export function __wbg_txresponse_new(arg0) {
8797
8963
  const ret = TxResponse.__wrap(arg0);
@@ -8803,7 +8969,7 @@ export function __wbg_txstatusresponse_new(arg0) {
8803
8969
  return ret;
8804
8970
  };
8805
8971
 
8806
- export function __wbg_typeUrl_fb3bdb341dd07334(arg0, arg1) {
8972
+ export function __wbg_typeUrl_f02514616b090ac1(arg0, arg1) {
8807
8973
  const ret = arg1.typeUrl;
8808
8974
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8809
8975
  const len1 = WASM_VECTOR_LEN;
@@ -8811,12 +8977,12 @@ export function __wbg_typeUrl_fb3bdb341dd07334(arg0, arg1) {
8811
8977
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8812
8978
  };
8813
8979
 
8814
- export function __wbg_unique_23ddfed89bddb31d(arg0) {
8980
+ export function __wbg_unique_2ffe24c606d8bfd2(arg0) {
8815
8981
  const ret = arg0.unique;
8816
8982
  return ret;
8817
8983
  };
8818
8984
 
8819
- export function __wbg_userAgent_12e9d8e62297563f() { return handleError(function (arg0, arg1) {
8985
+ export function __wbg_userAgent_1157325f8a8128d1() { return handleError(function (arg0, arg1) {
8820
8986
  const ret = arg1.userAgent;
8821
8987
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8822
8988
  const len1 = WASM_VECTOR_LEN;
@@ -8824,7 +8990,7 @@ export function __wbg_userAgent_12e9d8e62297563f() { return handleError(function
8824
8990
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8825
8991
  }, arguments) };
8826
8992
 
8827
- export function __wbg_userAgent_d036e8722fea0cde() { return handleError(function (arg0, arg1) {
8993
+ export function __wbg_userAgent_9b943f9412e5e199() { return handleError(function (arg0, arg1) {
8828
8994
  const ret = arg1.userAgent;
8829
8995
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8830
8996
  const len1 = WASM_VECTOR_LEN;
@@ -8832,7 +8998,12 @@ export function __wbg_userAgent_d036e8722fea0cde() { return handleError(function
8832
8998
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8833
8999
  }, arguments) };
8834
9000
 
8835
- export function __wbg_value_59b70da4fe41c20b(arg0, arg1) {
9001
+ export function __wbg_value_09d0b4eaab48b91d(arg0) {
9002
+ const ret = arg0.value;
9003
+ return ret;
9004
+ };
9005
+
9006
+ export function __wbg_value_3c6f117eabb16ab3(arg0, arg1) {
8836
9007
  const ret = arg1.value;
8837
9008
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
8838
9009
  const len1 = WASM_VECTOR_LEN;
@@ -8840,249 +9011,272 @@ export function __wbg_value_59b70da4fe41c20b(arg0, arg1) {
8840
9011
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8841
9012
  };
8842
9013
 
8843
- export function __wbg_value_68c4e9a54bb7fd5e() { return handleError(function (arg0) {
9014
+ export function __wbg_value_3e45d77a58bc804d() { return handleError(function (arg0) {
8844
9015
  const ret = arg0.value;
8845
9016
  return ret;
8846
9017
  }, arguments) };
8847
9018
 
8848
- export function __wbg_value_cd1ffa7b1ab794f1(arg0) {
8849
- const ret = arg0.value;
8850
- return ret;
8851
- };
8852
-
8853
- export function __wbg_versions_c71aa1626a93e0a1(arg0) {
9019
+ export function __wbg_versions_c01dfd4722a88165(arg0) {
8854
9020
  const ret = arg0.versions;
8855
9021
  return ret;
8856
9022
  };
8857
9023
 
8858
- export function __wbg_view_fd8a56e8983f448d(arg0) {
9024
+ export function __wbg_view_d36d28552eb70661(arg0) {
8859
9025
  const ret = arg0.view;
8860
9026
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
8861
9027
  };
8862
9028
 
8863
- export function __wbg_warn_4ca3906c248c47c4(arg0) {
9029
+ export function __wbg_warn_07ef1f61c52799fb(arg0) {
8864
9030
  console.warn(arg0);
8865
9031
  };
8866
9032
 
8867
- export function __wbg_writable_a00d38c47378fae8(arg0) {
8868
- const ret = arg0.writable;
8869
- return ret;
9033
+ export function __wbg_wbindgenbigintgetasi64_7637cb1a7fb9a81e(arg0, arg1) {
9034
+ const v = arg1;
9035
+ const ret = typeof(v) === 'bigint' ? v : undefined;
9036
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
9037
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8870
9038
  };
8871
9039
 
8872
- export function __wbg_write_311434e30ee214e5(arg0, arg1) {
8873
- const ret = arg0.write(arg1);
8874
- return ret;
9040
+ export function __wbg_wbindgenbooleanget_59f830b1a70d2530(arg0) {
9041
+ const v = arg0;
9042
+ const ret = typeof(v) === 'boolean' ? v : undefined;
9043
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
8875
9044
  };
8876
9045
 
8877
- export function __wbindgen_array_new() {
8878
- const ret = [];
9046
+ export function __wbg_wbindgencbdrop_a85ed476c6a370b9(arg0) {
9047
+ const obj = arg0.original;
9048
+ if (obj.cnt-- == 1) {
9049
+ obj.a = 0;
9050
+ return true;
9051
+ }
9052
+ const ret = false;
8879
9053
  return ret;
8880
9054
  };
8881
9055
 
8882
- export function __wbindgen_array_push(arg0, arg1) {
8883
- arg0.push(arg1);
9056
+ export function __wbg_wbindgendebugstring_bb652b1bc2061b6d(arg0, arg1) {
9057
+ const ret = debugString(arg1);
9058
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
9059
+ const len1 = WASM_VECTOR_LEN;
9060
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
9061
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8884
9062
  };
8885
9063
 
8886
- export function __wbindgen_as_number(arg0) {
8887
- const ret = +arg0;
9064
+ export function __wbg_wbindgenin_192b210aa1c401e9(arg0, arg1) {
9065
+ const ret = arg0 in arg1;
8888
9066
  return ret;
8889
9067
  };
8890
9068
 
8891
- export function __wbindgen_bigint_from_i64(arg0) {
8892
- const ret = arg0;
9069
+ export function __wbg_wbindgenisbigint_7d76a1ca6454e439(arg0) {
9070
+ const ret = typeof(arg0) === 'bigint';
8893
9071
  return ret;
8894
9072
  };
8895
9073
 
8896
- export function __wbindgen_bigint_from_u64(arg0) {
8897
- const ret = BigInt.asUintN(64, arg0);
9074
+ export function __wbg_wbindgenisfalsy_a15841cca6156044(arg0) {
9075
+ const ret = !arg0;
8898
9076
  return ret;
8899
9077
  };
8900
9078
 
8901
- export function __wbindgen_bigint_get_as_i64(arg0, arg1) {
8902
- const v = arg1;
8903
- const ret = typeof(v) === 'bigint' ? v : undefined;
8904
- getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
8905
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
9079
+ export function __wbg_wbindgenisfunction_ea72b9d66a0e1705(arg0) {
9080
+ const ret = typeof(arg0) === 'function';
9081
+ return ret;
8906
9082
  };
8907
9083
 
8908
- export function __wbindgen_boolean_get(arg0) {
8909
- const v = arg0;
8910
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
9084
+ export function __wbg_wbindgenisnull_e1388bbe88158c3f(arg0) {
9085
+ const ret = arg0 === null;
8911
9086
  return ret;
8912
9087
  };
8913
9088
 
8914
- export function __wbindgen_cb_drop(arg0) {
8915
- const obj = arg0.original;
8916
- if (obj.cnt-- == 1) {
8917
- obj.a = 0;
8918
- return true;
8919
- }
8920
- const ret = false;
9089
+ export function __wbg_wbindgenisobject_dfe064a121d87553(arg0) {
9090
+ const val = arg0;
9091
+ const ret = typeof(val) === 'object' && val !== null;
8921
9092
  return ret;
8922
9093
  };
8923
9094
 
8924
- export function __wbindgen_closure_wrapper1275(arg0, arg1, arg2) {
8925
- const ret = makeClosure(arg0, arg1, 311, __wbg_adapter_64);
9095
+ export function __wbg_wbindgenisstring_4b74e4111ba029e6(arg0) {
9096
+ const ret = typeof(arg0) === 'string';
8926
9097
  return ret;
8927
9098
  };
8928
9099
 
8929
- export function __wbindgen_closure_wrapper1276(arg0, arg1, arg2) {
8930
- const ret = makeMutClosure(arg0, arg1, 311, __wbg_adapter_67);
9100
+ export function __wbg_wbindgenisundefined_71f08a6ade4354e7(arg0) {
9101
+ const ret = arg0 === undefined;
8931
9102
  return ret;
8932
9103
  };
8933
9104
 
8934
- export function __wbindgen_closure_wrapper4830(arg0, arg1, arg2) {
8935
- const ret = makeMutClosure(arg0, arg1, 1612, __wbg_adapter_70);
9105
+ export function __wbg_wbindgenjsvaleq_f27272c0a890df7f(arg0, arg1) {
9106
+ const ret = arg0 === arg1;
8936
9107
  return ret;
8937
9108
  };
8938
9109
 
8939
- export function __wbindgen_closure_wrapper4831(arg0, arg1, arg2) {
8940
- const ret = makeMutClosure(arg0, arg1, 1612, __wbg_adapter_70);
9110
+ export function __wbg_wbindgenjsvallooseeq_9dd7bb4b95ac195c(arg0, arg1) {
9111
+ const ret = arg0 == arg1;
8941
9112
  return ret;
8942
9113
  };
8943
9114
 
8944
- export function __wbindgen_closure_wrapper4832(arg0, arg1, arg2) {
8945
- const ret = makeMutClosure(arg0, arg1, 1612, __wbg_adapter_70);
8946
- return ret;
9115
+ export function __wbg_wbindgennumberget_d855f947247a3fbc(arg0, arg1) {
9116
+ const obj = arg1;
9117
+ const ret = typeof(obj) === 'number' ? obj : undefined;
9118
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
9119
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8947
9120
  };
8948
9121
 
8949
- export function __wbindgen_closure_wrapper6384(arg0, arg1, arg2) {
8950
- const ret = makeMutClosure(arg0, arg1, 2165, __wbg_adapter_77);
8951
- return ret;
9122
+ export function __wbg_wbindgenstringget_43fe05afe34b0cb1(arg0, arg1) {
9123
+ const obj = arg1;
9124
+ const ret = typeof(obj) === 'string' ? obj : undefined;
9125
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
9126
+ var len1 = WASM_VECTOR_LEN;
9127
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
9128
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8952
9129
  };
8953
9130
 
8954
- export function __wbindgen_closure_wrapper8489(arg0, arg1, arg2) {
8955
- const ret = makeMutClosure(arg0, arg1, 2687, __wbg_adapter_80);
8956
- return ret;
9131
+ export function __wbg_wbindgenthrow_4c11a24fca429ccf(arg0, arg1) {
9132
+ throw new Error(getStringFromWasm0(arg0, arg1));
8957
9133
  };
8958
9134
 
8959
- export function __wbindgen_closure_wrapper8536(arg0, arg1, arg2) {
8960
- const ret = makeMutClosure(arg0, arg1, 2706, __wbg_adapter_83);
9135
+ export function __wbg_wbindgentypeof_7219206940ac0898(arg0) {
9136
+ const ret = typeof arg0;
8961
9137
  return ret;
8962
9138
  };
8963
9139
 
8964
- export function __wbindgen_closure_wrapper8845(arg0, arg1, arg2) {
8965
- const ret = makeMutClosure(arg0, arg1, 2812, __wbg_adapter_86);
9140
+ export function __wbg_writable_4f9d2cae62a7c0cb(arg0) {
9141
+ const ret = arg0.writable;
8966
9142
  return ret;
8967
9143
  };
8968
9144
 
8969
- export function __wbindgen_debug_string(arg0, arg1) {
8970
- const ret = debugString(arg1);
8971
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8972
- const len1 = WASM_VECTOR_LEN;
8973
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8974
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
9145
+ export function __wbg_write_39d7c51f917777a5(arg0, arg1) {
9146
+ const ret = arg0.write(arg1);
9147
+ return ret;
8975
9148
  };
8976
9149
 
8977
- export function __wbindgen_error_new(arg0, arg1) {
8978
- const ret = new Error(getStringFromWasm0(arg0, arg1));
9150
+ export function __wbindgen_cast_13f728beb3308701(arg0, arg1) {
9151
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
9152
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
9153
+ // Cast intrinsic for `Vector(NamedExternref("Coin")) -> Externref`.
9154
+ const ret = v0;
8979
9155
  return ret;
8980
9156
  };
8981
9157
 
8982
- export function __wbindgen_in(arg0, arg1) {
8983
- const ret = arg0 in arg1;
9158
+ export function __wbindgen_cast_17625ed3b4da24cb(arg0, arg1) {
9159
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1748, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1749, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9160
+ const ret = makeMutClosure(arg0, arg1, 1748, __wbg_adapter_11);
8984
9161
  return ret;
8985
9162
  };
8986
9163
 
8987
- export function __wbindgen_init_externref_table() {
8988
- const table = wasm.__wbindgen_export_4;
8989
- const offset = table.grow(4);
8990
- table.set(0, undefined);
8991
- table.set(offset + 0, undefined);
8992
- table.set(offset + 1, null);
8993
- table.set(offset + 2, true);
8994
- table.set(offset + 3, false);
8995
- ;
9164
+ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
9165
+ // Cast intrinsic for `Ref(String) -> Externref`.
9166
+ const ret = getStringFromWasm0(arg0, arg1);
9167
+ return ret;
8996
9168
  };
8997
9169
 
8998
- export function __wbindgen_is_array(arg0) {
8999
- const ret = Array.isArray(arg0);
9170
+ export function __wbindgen_cast_3d27ec27b68ba2cd(arg0, arg1) {
9171
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1748, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1749, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9172
+ const ret = makeMutClosure(arg0, arg1, 1748, __wbg_adapter_11);
9000
9173
  return ret;
9001
9174
  };
9002
9175
 
9003
- export function __wbindgen_is_bigint(arg0) {
9004
- const ret = typeof(arg0) === 'bigint';
9176
+ export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
9177
+ // Cast intrinsic for `U64 -> Externref`.
9178
+ const ret = BigInt.asUintN(64, arg0);
9005
9179
  return ret;
9006
9180
  };
9007
9181
 
9008
- export function __wbindgen_is_falsy(arg0) {
9009
- const ret = !arg0;
9182
+ export function __wbindgen_cast_4b1e345b770365a0(arg0, arg1) {
9183
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 726, function: Function { arguments: [Externref], shim_idx: 729, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: true }) -> Externref`.
9184
+ const ret = makeMutClosure(arg0, arg1, 726, __wbg_adapter_44);
9010
9185
  return ret;
9011
9186
  };
9012
9187
 
9013
- export function __wbindgen_is_function(arg0) {
9014
- const ret = typeof(arg0) === 'function';
9188
+ export function __wbindgen_cast_6cadf2dadb047667(arg0, arg1) {
9189
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2840, function: Function { arguments: [Externref], shim_idx: 2841, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9190
+ const ret = makeMutClosure(arg0, arg1, 2840, __wbg_adapter_23);
9015
9191
  return ret;
9016
9192
  };
9017
9193
 
9018
- export function __wbindgen_is_null(arg0) {
9019
- const ret = arg0 === null;
9194
+ export function __wbindgen_cast_7052a031800ef013(arg0, arg1) {
9195
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 726, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 727, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
9196
+ const ret = makeClosure(arg0, arg1, 726, __wbg_adapter_26);
9020
9197
  return ret;
9021
9198
  };
9022
9199
 
9023
- export function __wbindgen_is_object(arg0) {
9024
- const val = arg0;
9025
- const ret = typeof(val) === 'object' && val !== null;
9200
+ export function __wbindgen_cast_70bf32696ce323a8(arg0, arg1) {
9201
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2852, function: Function { arguments: [], shim_idx: 2853, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9202
+ const ret = makeMutClosure(arg0, arg1, 2852, __wbg_adapter_47);
9026
9203
  return ret;
9027
9204
  };
9028
9205
 
9029
- export function __wbindgen_is_string(arg0) {
9030
- const ret = typeof(arg0) === 'string';
9206
+ export function __wbindgen_cast_76a0f6231a633ad2(arg0, arg1) {
9207
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
9208
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
9209
+ // Cast intrinsic for `Vector(NamedExternref("BaseAccount")) -> Externref`.
9210
+ const ret = v0;
9031
9211
  return ret;
9032
9212
  };
9033
9213
 
9034
- export function __wbindgen_is_undefined(arg0) {
9035
- const ret = arg0 === undefined;
9214
+ export function __wbindgen_cast_780e81115060bad4(arg0, arg1) {
9215
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1748, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1749, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9216
+ const ret = makeMutClosure(arg0, arg1, 1748, __wbg_adapter_11);
9036
9217
  return ret;
9037
9218
  };
9038
9219
 
9039
- export function __wbindgen_jsval_eq(arg0, arg1) {
9040
- const ret = arg0 === arg1;
9220
+ export function __wbindgen_cast_999e199e4c24168d(arg0, arg1) {
9221
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
9222
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
9223
+ // Cast intrinsic for `Vector(NamedExternref("Blob")) -> Externref`.
9224
+ const ret = v0;
9041
9225
  return ret;
9042
9226
  };
9043
9227
 
9044
- export function __wbindgen_jsval_loose_eq(arg0, arg1) {
9045
- const ret = arg0 == arg1;
9228
+ export function __wbindgen_cast_9ae0607507abb057(arg0) {
9229
+ // Cast intrinsic for `I64 -> Externref`.
9230
+ const ret = arg0;
9046
9231
  return ret;
9047
9232
  };
9048
9233
 
9049
- export function __wbindgen_memory() {
9050
- const ret = wasm.memory;
9234
+ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
9235
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
9236
+ const ret = getArrayU8FromWasm0(arg0, arg1);
9051
9237
  return ret;
9052
9238
  };
9053
9239
 
9054
- export function __wbindgen_number_get(arg0, arg1) {
9055
- const obj = arg1;
9056
- const ret = typeof(obj) === 'number' ? obj : undefined;
9057
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
9058
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
9240
+ export function __wbindgen_cast_d144656a3d1ab4ad(arg0, arg1) {
9241
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2960, function: Function { arguments: [NamedExternref("Event")], shim_idx: 2961, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9242
+ const ret = makeMutClosure(arg0, arg1, 2960, __wbg_adapter_31);
9243
+ return ret;
9059
9244
  };
9060
9245
 
9061
- export function __wbindgen_number_new(arg0) {
9246
+ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
9247
+ // Cast intrinsic for `F64 -> Externref`.
9062
9248
  const ret = arg0;
9063
9249
  return ret;
9064
9250
  };
9065
9251
 
9066
- export function __wbindgen_string_get(arg0, arg1) {
9067
- const obj = arg1;
9068
- const ret = typeof(obj) === 'string' ? obj : undefined;
9069
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
9070
- var len1 = WASM_VECTOR_LEN;
9071
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
9072
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
9252
+ export function __wbindgen_cast_d81407fed0b5a02d(arg0, arg1) {
9253
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2294, function: Function { arguments: [], shim_idx: 2295, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9254
+ const ret = makeMutClosure(arg0, arg1, 2294, __wbg_adapter_8);
9255
+ return ret;
9073
9256
  };
9074
9257
 
9075
- export function __wbindgen_string_new(arg0, arg1) {
9076
- const ret = getStringFromWasm0(arg0, arg1);
9258
+ export function __wbindgen_cast_da0d185114cf54d4(arg0, arg1) {
9259
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
9260
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
9261
+ // Cast intrinsic for `Vector(NamedExternref("ExtendedHeader")) -> Externref`.
9262
+ const ret = v0;
9077
9263
  return ret;
9078
9264
  };
9079
9265
 
9080
- export function __wbindgen_throw(arg0, arg1) {
9081
- throw new Error(getStringFromWasm0(arg0, arg1));
9266
+ export function __wbindgen_cast_f2aa4ac7119e14c0(arg0, arg1) {
9267
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 726, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 731, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
9268
+ const ret = makeMutClosure(arg0, arg1, 726, __wbg_adapter_20);
9269
+ return ret;
9082
9270
  };
9083
9271
 
9084
- export function __wbindgen_typeof(arg0) {
9085
- const ret = typeof arg0;
9086
- return ret;
9272
+ export function __wbindgen_init_externref_table() {
9273
+ const table = wasm.__wbindgen_export_4;
9274
+ const offset = table.grow(4);
9275
+ table.set(0, undefined);
9276
+ table.set(offset + 0, undefined);
9277
+ table.set(offset + 1, null);
9278
+ table.set(offset + 2, true);
9279
+ table.set(offset + 3, false);
9280
+ ;
9087
9281
  };
9088
9282