@miden-sdk/miden-sdk 0.14.3 → 0.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@
5
5
  async function loadWasm() {
6
6
  let wasmModule;
7
7
  if (!undefined || (undefined && !undefined.SSR)) {
8
- wasmModule = await Promise.resolve().then(function () { return CargoDanGIA8; });
8
+ wasmModule = await Promise.resolve().then(function () { return CargoM3382VZc; });
9
9
  // The Cargo glue's __wbg_init TLA is stripped by the rollup build to
10
10
  // prevent blocking WKWebView module evaluation. Call it explicitly here
11
11
  // with the WASM URL that the Cargo glue pre-resolves (relative to its
@@ -250,12 +250,14 @@ const methodHandlers = {
250
250
 
251
251
  const prover = proverPayload
252
252
  ? wasm.TransactionProver.deserialize(proverPayload)
253
- : undefined;
254
-
255
- const proven = await wasmWebClient.proveTransaction(
256
- transactionResult,
257
- prover
258
- );
253
+ : null;
254
+
255
+ const proven = prover
256
+ ? await wasmWebClient.proveTransactionWithProver(
257
+ transactionResult,
258
+ prover
259
+ )
260
+ : await wasmWebClient.proveTransaction(transactionResult);
259
261
  const serializedProven = proven.serialize();
260
262
  return serializedProven.buffer;
261
263
  },
@@ -308,7 +310,7 @@ const methodHandlers = {
308
310
  // Deserialize the prover from the serialized payload
309
311
  const prover = proverPayload
310
312
  ? wasm.TransactionProver.deserialize(proverPayload)
311
- : undefined;
313
+ : null;
312
314
 
313
315
  const result = await wasmWebClient.executeTransaction(
314
316
  accountId,
@@ -317,7 +319,9 @@ const methodHandlers = {
317
319
 
318
320
  const transactionId = result.id().toHex();
319
321
 
320
- const proven = await wasmWebClient.proveTransaction(result, prover);
322
+ const proven = prover
323
+ ? await wasmWebClient.proveTransactionWithProver(result, prover)
324
+ : await wasmWebClient.proveTransaction(result);
321
325
  const submissionHeight = await wasmWebClient.submitProvenTransaction(
322
326
  proven,
323
327
  result
@@ -10510,13 +10514,18 @@ class AccountArray {
10510
10514
  wasm.accountarray_push(this.__wbg_ptr, element.__wbg_ptr);
10511
10515
  }
10512
10516
  /**
10517
+ * Replace the element at `index`. Borrows + clones the input
10518
+ * (mirrors `push`), so the caller's JS handle remains valid
10519
+ * after the call. Without this borrow, passing `elem` by
10520
+ * value would move the underlying Rust value out of the
10521
+ * caller's JS handle and any subsequent method on it would
10522
+ * panic with `"null pointer passed to rust"`.
10513
10523
  * @param {number} index
10514
10524
  * @param {Account} elem
10515
10525
  */
10516
10526
  replaceAt(index, elem) {
10517
10527
  _assertClass(elem, Account);
10518
- var ptr0 = elem.__destroy_into_raw();
10519
- const ret = wasm.accountarray_replaceAt(this.__wbg_ptr, index, ptr0);
10528
+ const ret = wasm.accountarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
10520
10529
  if (ret[1]) {
10521
10530
  throw takeFromExternrefTable0(ret[0]);
10522
10531
  }
@@ -11374,13 +11383,18 @@ class AccountIdArray {
11374
11383
  wasm.accountidarray_push(this.__wbg_ptr, element.__wbg_ptr);
11375
11384
  }
11376
11385
  /**
11386
+ * Replace the element at `index`. Borrows + clones the input
11387
+ * (mirrors `push`), so the caller's JS handle remains valid
11388
+ * after the call. Without this borrow, passing `elem` by
11389
+ * value would move the underlying Rust value out of the
11390
+ * caller's JS handle and any subsequent method on it would
11391
+ * panic with `"null pointer passed to rust"`.
11377
11392
  * @param {number} index
11378
11393
  * @param {AccountId} elem
11379
11394
  */
11380
11395
  replaceAt(index, elem) {
11381
11396
  _assertClass(elem, AccountId);
11382
- var ptr0 = elem.__destroy_into_raw();
11383
- const ret = wasm.accountidarray_replaceAt(this.__wbg_ptr, index, ptr0);
11397
+ const ret = wasm.accountidarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
11384
11398
  if (ret[1]) {
11385
11399
  throw takeFromExternrefTable0(ret[0]);
11386
11400
  }
@@ -12770,6 +12784,19 @@ class BlockHeader {
12770
12784
  const ret = wasm.blockheader_commitment(this.__wbg_ptr);
12771
12785
  return Word.__wrap(ret);
12772
12786
  }
12787
+ /**
12788
+ * Returns the account ID of the fungible faucet whose assets are accepted as the native
12789
+ * asset of the blockchain (i.e. the asset used for paying transaction verification fees).
12790
+ *
12791
+ * This is stored on-chain as part of the block's fee parameters, which means consumers can
12792
+ * discover the native faucet by reading any block header rather than hardcoding it per
12793
+ * network.
12794
+ * @returns {AccountId}
12795
+ */
12796
+ nativeAssetId() {
12797
+ const ret = wasm.blockheader_nativeAssetId(this.__wbg_ptr);
12798
+ return AccountId.__wrap(ret);
12799
+ }
12773
12800
  /**
12774
12801
  * Returns the note commitment root.
12775
12802
  * @returns {Word}
@@ -13504,13 +13531,18 @@ class FeltArray {
13504
13531
  wasm.feltarray_push(this.__wbg_ptr, element.__wbg_ptr);
13505
13532
  }
13506
13533
  /**
13534
+ * Replace the element at `index`. Borrows + clones the input
13535
+ * (mirrors `push`), so the caller's JS handle remains valid
13536
+ * after the call. Without this borrow, passing `elem` by
13537
+ * value would move the underlying Rust value out of the
13538
+ * caller's JS handle and any subsequent method on it would
13539
+ * panic with `"null pointer passed to rust"`.
13507
13540
  * @param {number} index
13508
13541
  * @param {Felt} elem
13509
13542
  */
13510
13543
  replaceAt(index, elem) {
13511
13544
  _assertClass(elem, Felt);
13512
- var ptr0 = elem.__destroy_into_raw();
13513
- const ret = wasm.feltarray_replaceAt(this.__wbg_ptr, index, ptr0);
13545
+ const ret = wasm.feltarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
13514
13546
  if (ret[1]) {
13515
13547
  throw takeFromExternrefTable0(ret[0]);
13516
13548
  }
@@ -13878,13 +13910,18 @@ class ForeignAccountArray {
13878
13910
  wasm.foreignaccountarray_push(this.__wbg_ptr, element.__wbg_ptr);
13879
13911
  }
13880
13912
  /**
13913
+ * Replace the element at `index`. Borrows + clones the input
13914
+ * (mirrors `push`), so the caller's JS handle remains valid
13915
+ * after the call. Without this borrow, passing `elem` by
13916
+ * value would move the underlying Rust value out of the
13917
+ * caller's JS handle and any subsequent method on it would
13918
+ * panic with `"null pointer passed to rust"`.
13881
13919
  * @param {number} index
13882
13920
  * @param {ForeignAccount} elem
13883
13921
  */
13884
13922
  replaceAt(index, elem) {
13885
13923
  _assertClass(elem, ForeignAccount);
13886
- var ptr0 = elem.__destroy_into_raw();
13887
- const ret = wasm.foreignaccountarray_replaceAt(this.__wbg_ptr, index, ptr0);
13924
+ const ret = wasm.foreignaccountarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
13888
13925
  if (ret[1]) {
13889
13926
  throw takeFromExternrefTable0(ret[0]);
13890
13927
  }
@@ -15861,13 +15898,18 @@ class NoteAndArgsArray {
15861
15898
  wasm.noteandargsarray_push(this.__wbg_ptr, element.__wbg_ptr);
15862
15899
  }
15863
15900
  /**
15901
+ * Replace the element at `index`. Borrows + clones the input
15902
+ * (mirrors `push`), so the caller's JS handle remains valid
15903
+ * after the call. Without this borrow, passing `elem` by
15904
+ * value would move the underlying Rust value out of the
15905
+ * caller's JS handle and any subsequent method on it would
15906
+ * panic with `"null pointer passed to rust"`.
15864
15907
  * @param {number} index
15865
15908
  * @param {NoteAndArgs} elem
15866
15909
  */
15867
15910
  replaceAt(index, elem) {
15868
15911
  _assertClass(elem, NoteAndArgs);
15869
- var ptr0 = elem.__destroy_into_raw();
15870
- const ret = wasm.noteandargsarray_replaceAt(this.__wbg_ptr, index, ptr0);
15912
+ const ret = wasm.noteandargsarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
15871
15913
  if (ret[1]) {
15872
15914
  throw takeFromExternrefTable0(ret[0]);
15873
15915
  }
@@ -15931,13 +15973,18 @@ class NoteArray {
15931
15973
  wasm.notearray_push(this.__wbg_ptr, element.__wbg_ptr);
15932
15974
  }
15933
15975
  /**
15976
+ * Replace the element at `index`. Borrows + clones the input
15977
+ * (mirrors `push`), so the caller's JS handle remains valid
15978
+ * after the call. Without this borrow, passing `elem` by
15979
+ * value would move the underlying Rust value out of the
15980
+ * caller's JS handle and any subsequent method on it would
15981
+ * panic with `"null pointer passed to rust"`.
15934
15982
  * @param {number} index
15935
15983
  * @param {Note} elem
15936
15984
  */
15937
15985
  replaceAt(index, elem) {
15938
15986
  _assertClass(elem, Note);
15939
- var ptr0 = elem.__destroy_into_raw();
15940
- const ret = wasm.notearray_replaceAt(this.__wbg_ptr, index, ptr0);
15987
+ const ret = wasm.notearray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
15941
15988
  if (ret[1]) {
15942
15989
  throw takeFromExternrefTable0(ret[0]);
15943
15990
  }
@@ -16508,13 +16555,18 @@ class NoteDetailsAndTagArray {
16508
16555
  wasm.notedetailsandtagarray_push(this.__wbg_ptr, element.__wbg_ptr);
16509
16556
  }
16510
16557
  /**
16558
+ * Replace the element at `index`. Borrows + clones the input
16559
+ * (mirrors `push`), so the caller's JS handle remains valid
16560
+ * after the call. Without this borrow, passing `elem` by
16561
+ * value would move the underlying Rust value out of the
16562
+ * caller's JS handle and any subsequent method on it would
16563
+ * panic with `"null pointer passed to rust"`.
16511
16564
  * @param {number} index
16512
16565
  * @param {NoteDetailsAndTag} elem
16513
16566
  */
16514
16567
  replaceAt(index, elem) {
16515
16568
  _assertClass(elem, NoteDetailsAndTag);
16516
- var ptr0 = elem.__destroy_into_raw();
16517
- const ret = wasm.notedetailsandtagarray_replaceAt(this.__wbg_ptr, index, ptr0);
16569
+ const ret = wasm.notedetailsandtagarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
16518
16570
  if (ret[1]) {
16519
16571
  throw takeFromExternrefTable0(ret[0]);
16520
16572
  }
@@ -17074,13 +17126,18 @@ class NoteIdAndArgsArray {
17074
17126
  wasm.noteidandargsarray_push(this.__wbg_ptr, element.__wbg_ptr);
17075
17127
  }
17076
17128
  /**
17129
+ * Replace the element at `index`. Borrows + clones the input
17130
+ * (mirrors `push`), so the caller's JS handle remains valid
17131
+ * after the call. Without this borrow, passing `elem` by
17132
+ * value would move the underlying Rust value out of the
17133
+ * caller's JS handle and any subsequent method on it would
17134
+ * panic with `"null pointer passed to rust"`.
17077
17135
  * @param {number} index
17078
17136
  * @param {NoteIdAndArgs} elem
17079
17137
  */
17080
17138
  replaceAt(index, elem) {
17081
17139
  _assertClass(elem, NoteIdAndArgs);
17082
- var ptr0 = elem.__destroy_into_raw();
17083
- const ret = wasm.noteidandargsarray_replaceAt(this.__wbg_ptr, index, ptr0);
17140
+ const ret = wasm.noteidandargsarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
17084
17141
  if (ret[1]) {
17085
17142
  throw takeFromExternrefTable0(ret[0]);
17086
17143
  }
@@ -17406,13 +17463,18 @@ class NoteRecipientArray {
17406
17463
  wasm.noterecipientarray_push(this.__wbg_ptr, element.__wbg_ptr);
17407
17464
  }
17408
17465
  /**
17466
+ * Replace the element at `index`. Borrows + clones the input
17467
+ * (mirrors `push`), so the caller's JS handle remains valid
17468
+ * after the call. Without this borrow, passing `elem` by
17469
+ * value would move the underlying Rust value out of the
17470
+ * caller's JS handle and any subsequent method on it would
17471
+ * panic with `"null pointer passed to rust"`.
17409
17472
  * @param {number} index
17410
17473
  * @param {NoteRecipient} elem
17411
17474
  */
17412
17475
  replaceAt(index, elem) {
17413
17476
  _assertClass(elem, NoteRecipient);
17414
- var ptr0 = elem.__destroy_into_raw();
17415
- const ret = wasm.noterecipientarray_replaceAt(this.__wbg_ptr, index, ptr0);
17477
+ const ret = wasm.noterecipientarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
17416
17478
  if (ret[1]) {
17417
17479
  throw takeFromExternrefTable0(ret[0]);
17418
17480
  }
@@ -17947,13 +18009,18 @@ class OutputNoteArray {
17947
18009
  wasm.outputnotearray_push(this.__wbg_ptr, element.__wbg_ptr);
17948
18010
  }
17949
18011
  /**
18012
+ * Replace the element at `index`. Borrows + clones the input
18013
+ * (mirrors `push`), so the caller's JS handle remains valid
18014
+ * after the call. Without this borrow, passing `elem` by
18015
+ * value would move the underlying Rust value out of the
18016
+ * caller's JS handle and any subsequent method on it would
18017
+ * panic with `"null pointer passed to rust"`.
17950
18018
  * @param {number} index
17951
18019
  * @param {OutputNote} elem
17952
18020
  */
17953
18021
  replaceAt(index, elem) {
17954
18022
  _assertClass(elem, OutputNote);
17955
- var ptr0 = elem.__destroy_into_raw();
17956
- const ret = wasm.outputnotearray_replaceAt(this.__wbg_ptr, index, ptr0);
18023
+ const ret = wasm.outputnotearray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
17957
18024
  if (ret[1]) {
17958
18025
  throw takeFromExternrefTable0(ret[0]);
17959
18026
  }
@@ -20013,13 +20080,18 @@ class StorageSlotArray {
20013
20080
  wasm.storageslotarray_push(this.__wbg_ptr, element.__wbg_ptr);
20014
20081
  }
20015
20082
  /**
20083
+ * Replace the element at `index`. Borrows + clones the input
20084
+ * (mirrors `push`), so the caller's JS handle remains valid
20085
+ * after the call. Without this borrow, passing `elem` by
20086
+ * value would move the underlying Rust value out of the
20087
+ * caller's JS handle and any subsequent method on it would
20088
+ * panic with `"null pointer passed to rust"`.
20016
20089
  * @param {number} index
20017
20090
  * @param {StorageSlot} elem
20018
20091
  */
20019
20092
  replaceAt(index, elem) {
20020
20093
  _assertClass(elem, StorageSlot);
20021
- var ptr0 = elem.__destroy_into_raw();
20022
- const ret = wasm.storageslotarray_replaceAt(this.__wbg_ptr, index, ptr0);
20094
+ const ret = wasm.storageslotarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
20023
20095
  if (ret[1]) {
20024
20096
  throw takeFromExternrefTable0(ret[0]);
20025
20097
  }
@@ -21128,13 +21200,18 @@ class TransactionScriptInputPairArray {
21128
21200
  wasm.transactionscriptinputpairarray_push(this.__wbg_ptr, element.__wbg_ptr);
21129
21201
  }
21130
21202
  /**
21203
+ * Replace the element at `index`. Borrows + clones the input
21204
+ * (mirrors `push`), so the caller's JS handle remains valid
21205
+ * after the call. Without this borrow, passing `elem` by
21206
+ * value would move the underlying Rust value out of the
21207
+ * caller's JS handle and any subsequent method on it would
21208
+ * panic with `"null pointer passed to rust"`.
21131
21209
  * @param {number} index
21132
21210
  * @param {TransactionScriptInputPair} elem
21133
21211
  */
21134
21212
  replaceAt(index, elem) {
21135
21213
  _assertClass(elem, TransactionScriptInputPair);
21136
- var ptr0 = elem.__destroy_into_raw();
21137
- const ret = wasm.transactionscriptinputpairarray_replaceAt(this.__wbg_ptr, index, ptr0);
21214
+ const ret = wasm.transactionscriptinputpairarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
21138
21215
  if (ret[1]) {
21139
21216
  throw takeFromExternrefTable0(ret[0]);
21140
21217
  }
@@ -21886,6 +21963,35 @@ class WebClient {
21886
21963
  }
21887
21964
  return WebKeystoreApi.__wrap(ret[0]);
21888
21965
  }
21966
+ /**
21967
+ * Returns the raw JS value that the most recent sign-callback invocation
21968
+ * threw, or `null` if the last sign call succeeded (or no call has
21969
+ * happened yet).
21970
+ *
21971
+ * Combined with the serialized-call discipline enforced at the JS
21972
+ * `WebClient` wrapper, this lets a caller that caught a failed
21973
+ * `executeTransaction` / `submitNewTransaction` recover the original
21974
+ * JS error the signing callback threw — preserving any structured
21975
+ * metadata (e.g. a `reason: 'locked'` property) that the kernel-level
21976
+ * `auth::request` diagnostic would otherwise have erased.
21977
+ *
21978
+ * # Usage (TS)
21979
+ * ```ts
21980
+ * try {
21981
+ * await client.submitNewTransaction(acc, req);
21982
+ * } catch (e) {
21983
+ * const authErr = client.lastAuthError();
21984
+ * if (authErr && authErr.reason === 'locked') {
21985
+ * // wait for unlock, then retry
21986
+ * }
21987
+ * }
21988
+ * ```
21989
+ * @returns {any}
21990
+ */
21991
+ lastAuthError() {
21992
+ const ret = wasm.webclient_lastAuthError(this.__wbg_ptr);
21993
+ return ret;
21994
+ }
21889
21995
  /**
21890
21996
  * Returns all the existing setting keys from the store.
21891
21997
  * @returns {Promise<string[]>}
@@ -22038,20 +22144,32 @@ class WebClient {
22038
22144
  }
22039
22145
  }
22040
22146
  /**
22041
- * Generates a transaction proof using either the provided prover or the client's default
22042
- * prover if none is supplied.
22147
+ * Generates a transaction proof using the client's default (local) prover.
22043
22148
  * @param {TransactionResult} transaction_result
22044
- * @param {TransactionProver | null} [prover]
22045
22149
  * @returns {Promise<ProvenTransaction>}
22046
22150
  */
22047
- proveTransaction(transaction_result, prover) {
22151
+ proveTransaction(transaction_result) {
22048
22152
  _assertClass(transaction_result, TransactionResult);
22049
- let ptr0 = 0;
22050
- if (!isLikeNone(prover)) {
22051
- _assertClass(prover, TransactionProver);
22052
- ptr0 = prover.__destroy_into_raw();
22053
- }
22054
- const ret = wasm.webclient_proveTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr, ptr0);
22153
+ const ret = wasm.webclient_proveTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr);
22154
+ return ret;
22155
+ }
22156
+ /**
22157
+ * Generates a transaction proof using the provided prover.
22158
+ *
22159
+ * Takes the prover by reference so the JS-side handle is NOT consumed
22160
+ * by wasm-bindgen. Taking `TransactionProver` by value would transfer
22161
+ * ownership on each call, invalidating the JS object's internal WASM
22162
+ * handle; after one use, subsequent calls from JS would pass a dangling
22163
+ * handle that wasm-bindgen interprets as `None`, silently falling back
22164
+ * to the local prover.
22165
+ * @param {TransactionResult} transaction_result
22166
+ * @param {TransactionProver} prover
22167
+ * @returns {Promise<ProvenTransaction>}
22168
+ */
22169
+ proveTransactionWithProver(transaction_result, prover) {
22170
+ _assertClass(transaction_result, TransactionResult);
22171
+ _assertClass(prover, TransactionProver);
22172
+ const ret = wasm.webclient_proveTransactionWithProver(this.__wbg_ptr, transaction_result.__wbg_ptr, prover.__wbg_ptr);
22055
22173
  return ret;
22056
22174
  }
22057
22175
  /**
@@ -22654,7 +22772,7 @@ function __wbg_get_imports() {
22654
22772
  const ret = AccountStorage.__wrap(arg0);
22655
22773
  return ret;
22656
22774
  },
22657
- __wbg_addNoteTag_11ef04a2021426ef: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
22775
+ __wbg_addNoteTag_973e2e4a9b348c78: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
22658
22776
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
22659
22777
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
22660
22778
  let v1;
@@ -22677,15 +22795,15 @@ function __wbg_get_imports() {
22677
22795
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
22678
22796
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
22679
22797
  }, arguments); },
22680
- __wbg_applyFullAccountState_06104a9f7cd6301c: function(arg0, arg1, arg2) {
22798
+ __wbg_applyFullAccountState_e742f2e18c9269eb: function(arg0, arg1, arg2) {
22681
22799
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
22682
22800
  return ret;
22683
22801
  },
22684
- __wbg_applyStateSync_f03ce7a14d83ae1a: function(arg0, arg1, arg2) {
22802
+ __wbg_applyStateSync_11120f9db91440ca: function(arg0, arg1, arg2) {
22685
22803
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
22686
22804
  return ret;
22687
22805
  },
22688
- __wbg_applyTransactionDelta_45aa0540549a17a5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
22806
+ __wbg_applyTransactionDelta_06bf0e0618a0fbbc: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
22689
22807
  let deferred0_0;
22690
22808
  let deferred0_1;
22691
22809
  let deferred1_0;
@@ -22820,7 +22938,7 @@ function __wbg_get_imports() {
22820
22938
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22821
22939
  }
22822
22940
  },
22823
- __wbg_exportStore_1d052c59453b2e6b: function(arg0, arg1) {
22941
+ __wbg_exportStore_52bd7ea33e1e5d54: function(arg0, arg1) {
22824
22942
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
22825
22943
  return ret;
22826
22944
  },
@@ -22852,7 +22970,7 @@ function __wbg_get_imports() {
22852
22970
  const ret = FetchedNote.__wrap(arg0);
22853
22971
  return ret;
22854
22972
  },
22855
- __wbg_forceImportStore_40b29b3a8e166d8f: function(arg0, arg1, arg2) {
22973
+ __wbg_forceImportStore_64d44c2df05ad10d: function(arg0, arg1, arg2) {
22856
22974
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
22857
22975
  return ret;
22858
22976
  },
@@ -22872,7 +22990,7 @@ function __wbg_get_imports() {
22872
22990
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
22873
22991
  return ret;
22874
22992
  },
22875
- __wbg_getAccountAddresses_926ab3560c2a9431: function(arg0, arg1, arg2, arg3) {
22993
+ __wbg_getAccountAddresses_5a86706a5bdd3c7a: function(arg0, arg1, arg2, arg3) {
22876
22994
  let deferred0_0;
22877
22995
  let deferred0_1;
22878
22996
  try {
@@ -22884,7 +23002,7 @@ function __wbg_get_imports() {
22884
23002
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22885
23003
  }
22886
23004
  },
22887
- __wbg_getAccountAuthByPubKeyCommitment_6180aad0a5b10e89: function(arg0, arg1, arg2, arg3) {
23005
+ __wbg_getAccountAuthByPubKeyCommitment_0247d03650eada1a: function(arg0, arg1, arg2, arg3) {
22888
23006
  let deferred0_0;
22889
23007
  let deferred0_1;
22890
23008
  try {
@@ -22896,7 +23014,7 @@ function __wbg_get_imports() {
22896
23014
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22897
23015
  }
22898
23016
  },
22899
- __wbg_getAccountCode_7282ed4c1b060f31: function(arg0, arg1, arg2, arg3) {
23017
+ __wbg_getAccountCode_48a9c8a2971d2e92: function(arg0, arg1, arg2, arg3) {
22900
23018
  let deferred0_0;
22901
23019
  let deferred0_1;
22902
23020
  try {
@@ -22908,7 +23026,7 @@ function __wbg_get_imports() {
22908
23026
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22909
23027
  }
22910
23028
  },
22911
- __wbg_getAccountHeaderByCommitment_c7ead40688213791: function(arg0, arg1, arg2, arg3) {
23029
+ __wbg_getAccountHeaderByCommitment_b30143794295f784: function(arg0, arg1, arg2, arg3) {
22912
23030
  let deferred0_0;
22913
23031
  let deferred0_1;
22914
23032
  try {
@@ -22920,7 +23038,7 @@ function __wbg_get_imports() {
22920
23038
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22921
23039
  }
22922
23040
  },
22923
- __wbg_getAccountHeader_33832f0bcfdb6862: function(arg0, arg1, arg2, arg3) {
23041
+ __wbg_getAccountHeader_c9940b3934df4673: function(arg0, arg1, arg2, arg3) {
22924
23042
  let deferred0_0;
22925
23043
  let deferred0_1;
22926
23044
  try {
@@ -22932,7 +23050,7 @@ function __wbg_get_imports() {
22932
23050
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22933
23051
  }
22934
23052
  },
22935
- __wbg_getAccountIdByKeyCommitment_c6133713d0d915a2: function(arg0, arg1, arg2, arg3) {
23053
+ __wbg_getAccountIdByKeyCommitment_fe581761272afe1d: function(arg0, arg1, arg2, arg3) {
22936
23054
  let deferred0_0;
22937
23055
  let deferred0_1;
22938
23056
  try {
@@ -22944,11 +23062,11 @@ function __wbg_get_imports() {
22944
23062
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22945
23063
  }
22946
23064
  },
22947
- __wbg_getAccountIds_cee939c57cc6b89e: function(arg0, arg1) {
23065
+ __wbg_getAccountIds_c9d6a7a3dd28e48b: function(arg0, arg1) {
22948
23066
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
22949
23067
  return ret;
22950
23068
  },
22951
- __wbg_getAccountStorageMaps_e0d0a1db17eec3dc: function(arg0, arg1, arg2, arg3) {
23069
+ __wbg_getAccountStorageMaps_6d8adf5a2b5dbc83: function(arg0, arg1, arg2, arg3) {
22952
23070
  let deferred0_0;
22953
23071
  let deferred0_1;
22954
23072
  try {
@@ -22960,7 +23078,7 @@ function __wbg_get_imports() {
22960
23078
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22961
23079
  }
22962
23080
  },
22963
- __wbg_getAccountStorage_c167b8bb7e6786e9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23081
+ __wbg_getAccountStorage_b342960a6c7336dd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
22964
23082
  let deferred0_0;
22965
23083
  let deferred0_1;
22966
23084
  try {
@@ -22974,7 +23092,7 @@ function __wbg_get_imports() {
22974
23092
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22975
23093
  }
22976
23094
  },
22977
- __wbg_getAccountVaultAssets_deebdbadff97833e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23095
+ __wbg_getAccountVaultAssets_18d0ffa14548039c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
22978
23096
  let deferred0_0;
22979
23097
  let deferred0_1;
22980
23098
  try {
@@ -22988,23 +23106,23 @@ function __wbg_get_imports() {
22988
23106
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
22989
23107
  }
22990
23108
  },
22991
- __wbg_getAllAccountHeaders_8ee29c6d72075e33: function(arg0, arg1) {
23109
+ __wbg_getAllAccountHeaders_172e80227d0a3aa7: function(arg0, arg1) {
22992
23110
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
22993
23111
  return ret;
22994
23112
  },
22995
- __wbg_getBlockHeaders_249b6687b100f621: function(arg0, arg1, arg2, arg3) {
23113
+ __wbg_getBlockHeaders_e163d81e24b97494: function(arg0, arg1, arg2, arg3) {
22996
23114
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
22997
23115
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
22998
23116
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
22999
23117
  return ret;
23000
23118
  },
23001
- __wbg_getForeignAccountCode_5e4e8d9037c06238: function(arg0, arg1, arg2, arg3) {
23119
+ __wbg_getForeignAccountCode_594181ed34b498da: function(arg0, arg1, arg2, arg3) {
23002
23120
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23003
23121
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23004
23122
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
23005
23123
  return ret;
23006
23124
  },
23007
- __wbg_getInputNoteByOffset_a6c99499b09a1b98: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
23125
+ __wbg_getInputNoteByOffset_833996e034b6ec72: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
23008
23126
  let deferred1_0;
23009
23127
  let deferred1_1;
23010
23128
  try {
@@ -23018,25 +23136,25 @@ function __wbg_get_imports() {
23018
23136
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
23019
23137
  }
23020
23138
  },
23021
- __wbg_getInputNotesFromIds_f17b728faada1f3c: function(arg0, arg1, arg2, arg3) {
23139
+ __wbg_getInputNotesFromIds_56764ba02bfc0f58: function(arg0, arg1, arg2, arg3) {
23022
23140
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23023
23141
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23024
23142
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
23025
23143
  return ret;
23026
23144
  },
23027
- __wbg_getInputNotesFromNullifiers_f562e855551c6d5d: function(arg0, arg1, arg2, arg3) {
23145
+ __wbg_getInputNotesFromNullifiers_63c235a8ef0d1ed8: function(arg0, arg1, arg2, arg3) {
23028
23146
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23029
23147
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23030
23148
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
23031
23149
  return ret;
23032
23150
  },
23033
- __wbg_getInputNotes_3678c3a165fe6fb7: function(arg0, arg1, arg2, arg3) {
23151
+ __wbg_getInputNotes_f31dd0359864fba4: function(arg0, arg1, arg2, arg3) {
23034
23152
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23035
23153
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23036
23154
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
23037
23155
  return ret;
23038
23156
  },
23039
- __wbg_getKeyCommitmentsByAccountId_62a1ded159bb6e85: function(arg0, arg1, arg2, arg3) {
23157
+ __wbg_getKeyCommitmentsByAccountId_e0f8d3379c7cfd44: function(arg0, arg1, arg2, arg3) {
23040
23158
  let deferred0_0;
23041
23159
  let deferred0_1;
23042
23160
  try {
@@ -23048,7 +23166,7 @@ function __wbg_get_imports() {
23048
23166
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23049
23167
  }
23050
23168
  },
23051
- __wbg_getNoteScript_61487cdb7895a70f: function(arg0, arg1, arg2, arg3) {
23169
+ __wbg_getNoteScript_7c840c12ece3407a: function(arg0, arg1, arg2, arg3) {
23052
23170
  let deferred0_0;
23053
23171
  let deferred0_1;
23054
23172
  try {
@@ -23060,33 +23178,33 @@ function __wbg_get_imports() {
23060
23178
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23061
23179
  }
23062
23180
  },
23063
- __wbg_getNoteTags_0c26db177ae89c88: function(arg0, arg1) {
23181
+ __wbg_getNoteTags_3e534d0288cc279d: function(arg0, arg1) {
23064
23182
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
23065
23183
  return ret;
23066
23184
  },
23067
- __wbg_getOutputNotesFromIds_9051d7dc5189798a: function(arg0, arg1, arg2, arg3) {
23185
+ __wbg_getOutputNotesFromIds_ca9334740d5ad794: function(arg0, arg1, arg2, arg3) {
23068
23186
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23069
23187
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23070
23188
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
23071
23189
  return ret;
23072
23190
  },
23073
- __wbg_getOutputNotesFromNullifiers_1e5c4da17a47cf06: function(arg0, arg1, arg2, arg3) {
23191
+ __wbg_getOutputNotesFromNullifiers_1b3743a61421690b: function(arg0, arg1, arg2, arg3) {
23074
23192
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23075
23193
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23076
23194
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
23077
23195
  return ret;
23078
23196
  },
23079
- __wbg_getOutputNotes_9e17595e613f9c01: function(arg0, arg1, arg2, arg3) {
23197
+ __wbg_getOutputNotes_50cb1e0540aedca0: function(arg0, arg1, arg2, arg3) {
23080
23198
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23081
23199
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23082
23200
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
23083
23201
  return ret;
23084
23202
  },
23085
- __wbg_getPartialBlockchainNodesAll_9014a51f02bbd53d: function(arg0, arg1) {
23203
+ __wbg_getPartialBlockchainNodesAll_fd7362a9062e367a: function(arg0, arg1) {
23086
23204
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
23087
23205
  return ret;
23088
23206
  },
23089
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_0254610e7caf6ed7: function(arg0, arg1, arg2, arg3) {
23207
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_b66e50c0ebf4e09c: function(arg0, arg1, arg2, arg3) {
23090
23208
  let deferred0_0;
23091
23209
  let deferred0_1;
23092
23210
  try {
@@ -23098,13 +23216,13 @@ function __wbg_get_imports() {
23098
23216
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23099
23217
  }
23100
23218
  },
23101
- __wbg_getPartialBlockchainNodes_216afeff33c3f62a: function(arg0, arg1, arg2, arg3) {
23219
+ __wbg_getPartialBlockchainNodes_ba084ae0138e9b85: function(arg0, arg1, arg2, arg3) {
23102
23220
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23103
23221
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23104
23222
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
23105
23223
  return ret;
23106
23224
  },
23107
- __wbg_getPartialBlockchainPeaksByBlockNum_1d5f843144fafd89: function(arg0, arg1, arg2) {
23225
+ __wbg_getPartialBlockchainPeaksByBlockNum_a27d74f0afd8ebd5: function(arg0, arg1, arg2) {
23108
23226
  const ret = getPartialBlockchainPeaksByBlockNum(getStringFromWasm0(arg0, arg1), arg2 >>> 0);
23109
23227
  return ret;
23110
23228
  },
@@ -23115,7 +23233,7 @@ function __wbg_get_imports() {
23115
23233
  const ret = arg0.getReader();
23116
23234
  return ret;
23117
23235
  }, arguments); },
23118
- __wbg_getSetting_6042192ea6a1bf9d: function(arg0, arg1, arg2, arg3) {
23236
+ __wbg_getSetting_d758a0c1a1ef754d: function(arg0, arg1, arg2, arg3) {
23119
23237
  let deferred0_0;
23120
23238
  let deferred0_1;
23121
23239
  try {
@@ -23127,7 +23245,7 @@ function __wbg_get_imports() {
23127
23245
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23128
23246
  }
23129
23247
  },
23130
- __wbg_getSyncHeight_e6eb57509633e416: function(arg0, arg1) {
23248
+ __wbg_getSyncHeight_bc5e18a830512fb9: function(arg0, arg1) {
23131
23249
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
23132
23250
  return ret;
23133
23251
  },
@@ -23135,15 +23253,15 @@ function __wbg_get_imports() {
23135
23253
  const ret = arg0.getTime();
23136
23254
  return ret;
23137
23255
  },
23138
- __wbg_getTrackedBlockHeaderNumbers_10c6744062bd7dbd: function(arg0, arg1) {
23256
+ __wbg_getTrackedBlockHeaderNumbers_efa442cb6852b46a: function(arg0, arg1) {
23139
23257
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
23140
23258
  return ret;
23141
23259
  },
23142
- __wbg_getTrackedBlockHeaders_95c6dcc2ffd76496: function(arg0, arg1) {
23260
+ __wbg_getTrackedBlockHeaders_81a15d93c856de82: function(arg0, arg1) {
23143
23261
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
23144
23262
  return ret;
23145
23263
  },
23146
- __wbg_getTransactions_5bae4cee1f2f5d61: function(arg0, arg1, arg2, arg3) {
23264
+ __wbg_getTransactions_0d020f186d88801a: function(arg0, arg1, arg2, arg3) {
23147
23265
  let deferred0_0;
23148
23266
  let deferred0_1;
23149
23267
  try {
@@ -23155,7 +23273,7 @@ function __wbg_get_imports() {
23155
23273
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23156
23274
  }
23157
23275
  },
23158
- __wbg_getUnspentInputNoteNullifiers_c8d95cbd1b29253b: function(arg0, arg1) {
23276
+ __wbg_getUnspentInputNoteNullifiers_bc2801eb7f967f9e: function(arg0, arg1) {
23159
23277
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
23160
23278
  return ret;
23161
23279
  },
@@ -23199,7 +23317,7 @@ function __wbg_get_imports() {
23199
23317
  const ret = InputNoteRecord.__wrap(arg0);
23200
23318
  return ret;
23201
23319
  },
23202
- __wbg_insertAccountAddress_de3f0be5aade3edb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23320
+ __wbg_insertAccountAddress_cad95e96d090ae37: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23203
23321
  let deferred0_0;
23204
23322
  let deferred0_1;
23205
23323
  try {
@@ -23213,7 +23331,7 @@ function __wbg_get_imports() {
23213
23331
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23214
23332
  }
23215
23333
  },
23216
- __wbg_insertAccountAuth_8d37e0d14f5d22b1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23334
+ __wbg_insertAccountAuth_3ccbf13a84d72de0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23217
23335
  let deferred0_0;
23218
23336
  let deferred0_1;
23219
23337
  let deferred1_0;
@@ -23230,7 +23348,7 @@ function __wbg_get_imports() {
23230
23348
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
23231
23349
  }
23232
23350
  },
23233
- __wbg_insertAccountKeyMapping_1e78156f0d9819cc: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23351
+ __wbg_insertAccountKeyMapping_90521e58351da78b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23234
23352
  let deferred0_0;
23235
23353
  let deferred0_1;
23236
23354
  let deferred1_0;
@@ -23247,7 +23365,7 @@ function __wbg_get_imports() {
23247
23365
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
23248
23366
  }
23249
23367
  },
23250
- __wbg_insertBlockHeader_b2f6b48025b26202: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
23368
+ __wbg_insertBlockHeader_7e97a5f52e1d540c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
23251
23369
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
23252
23370
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
23253
23371
  var v1 = getArrayU8FromWasm0(arg5, arg6).slice();
@@ -23255,7 +23373,7 @@ function __wbg_get_imports() {
23255
23373
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, v1, arg7 !== 0);
23256
23374
  return ret;
23257
23375
  },
23258
- __wbg_insertPartialBlockchainNodes_b3da456780837be0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23376
+ __wbg_insertPartialBlockchainNodes_57d1b2a9ba469df0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23259
23377
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23260
23378
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23261
23379
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -23263,7 +23381,7 @@ function __wbg_get_imports() {
23263
23381
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
23264
23382
  return ret;
23265
23383
  },
23266
- __wbg_insertSetting_327278750a8e8389: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23384
+ __wbg_insertSetting_2d699abf72009fa1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23267
23385
  let deferred0_0;
23268
23386
  let deferred0_1;
23269
23387
  try {
@@ -23277,7 +23395,7 @@ function __wbg_get_imports() {
23277
23395
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23278
23396
  }
23279
23397
  },
23280
- __wbg_insertTransactionScript_4289837b45dd2e6b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23398
+ __wbg_insertTransactionScript_3bc666c70beb260f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23281
23399
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23282
23400
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23283
23401
  let v1;
@@ -23370,11 +23488,11 @@ function __wbg_get_imports() {
23370
23488
  const ret = arg0.length;
23371
23489
  return ret;
23372
23490
  },
23373
- __wbg_listSettingKeys_c697458b11d26274: function(arg0, arg1) {
23491
+ __wbg_listSettingKeys_05dadafcb90c698b: function(arg0, arg1) {
23374
23492
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
23375
23493
  return ret;
23376
23494
  },
23377
- __wbg_lockAccount_7e4b2eaef4b9c0ae: function(arg0, arg1, arg2, arg3) {
23495
+ __wbg_lockAccount_8309529edb82c560: function(arg0, arg1, arg2, arg3) {
23378
23496
  let deferred0_0;
23379
23497
  let deferred0_1;
23380
23498
  try {
@@ -23458,7 +23576,7 @@ function __wbg_get_imports() {
23458
23576
  const a = state0.a;
23459
23577
  state0.a = 0;
23460
23578
  try {
23461
- return wasm_bindgen__convert__closures_____invoke__h5ccac1d506adc608(a, state0.b, arg0, arg1);
23579
+ return wasm_bindgen__convert__closures_____invoke__h2a46aa320c20015b(a, state0.b, arg0, arg1);
23462
23580
  } finally {
23463
23581
  state0.a = a;
23464
23582
  }
@@ -23565,7 +23683,7 @@ function __wbg_get_imports() {
23565
23683
  const ret = NoteTag.__unwrap(arg0);
23566
23684
  return ret;
23567
23685
  },
23568
- __wbg_openDatabase_f82f982d13ff7823: function(arg0, arg1, arg2, arg3) {
23686
+ __wbg_openDatabase_4f68920e634e6a36: function(arg0, arg1, arg2, arg3) {
23569
23687
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
23570
23688
  return ret;
23571
23689
  },
@@ -23596,7 +23714,7 @@ function __wbg_get_imports() {
23596
23714
  const ret = ProvenTransaction.__wrap(arg0);
23597
23715
  return ret;
23598
23716
  },
23599
- __wbg_pruneAccountHistory_17467a4cfcb3099b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23717
+ __wbg_pruneAccountHistory_6d75f9da793c7146: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23600
23718
  let deferred0_0;
23601
23719
  let deferred0_1;
23602
23720
  let deferred1_0;
@@ -23613,7 +23731,7 @@ function __wbg_get_imports() {
23613
23731
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
23614
23732
  }
23615
23733
  },
23616
- __wbg_pruneIrrelevantBlocks_2fe3ae3b6757dae5: function(arg0, arg1) {
23734
+ __wbg_pruneIrrelevantBlocks_0c5e2996bdd4f34d: function(arg0, arg1) {
23617
23735
  const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1));
23618
23736
  return ret;
23619
23737
  },
@@ -23631,13 +23749,13 @@ function __wbg_get_imports() {
23631
23749
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
23632
23750
  arg0.releaseLock();
23633
23751
  },
23634
- __wbg_removeAccountAddress_a099b08cd765b1fe: function(arg0, arg1, arg2, arg3) {
23752
+ __wbg_removeAccountAddress_e36699c690cbd226: function(arg0, arg1, arg2, arg3) {
23635
23753
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23636
23754
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23637
23755
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
23638
23756
  return ret;
23639
23757
  },
23640
- __wbg_removeAccountAuth_c3eba3ecad64781a: function(arg0, arg1, arg2, arg3) {
23758
+ __wbg_removeAccountAuth_aaf80576b7268aa3: function(arg0, arg1, arg2, arg3) {
23641
23759
  let deferred0_0;
23642
23760
  let deferred0_1;
23643
23761
  try {
@@ -23649,7 +23767,7 @@ function __wbg_get_imports() {
23649
23767
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23650
23768
  }
23651
23769
  },
23652
- __wbg_removeAllMappingsForKey_c1d444d71e38a4b4: function(arg0, arg1, arg2, arg3) {
23770
+ __wbg_removeAllMappingsForKey_99333cc84402fb4f: function(arg0, arg1, arg2, arg3) {
23653
23771
  let deferred0_0;
23654
23772
  let deferred0_1;
23655
23773
  try {
@@ -23661,7 +23779,7 @@ function __wbg_get_imports() {
23661
23779
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23662
23780
  }
23663
23781
  },
23664
- __wbg_removeNoteTag_07746f6aa221d3c6: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
23782
+ __wbg_removeNoteTag_2071bbe1e7694e38: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
23665
23783
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23666
23784
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23667
23785
  let v1;
@@ -23677,7 +23795,7 @@ function __wbg_get_imports() {
23677
23795
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2);
23678
23796
  return ret;
23679
23797
  },
23680
- __wbg_removeSetting_ed28cefbd3c96fdb: function(arg0, arg1, arg2, arg3) {
23798
+ __wbg_removeSetting_f68b70cf07c8883d: function(arg0, arg1, arg2, arg3) {
23681
23799
  let deferred0_0;
23682
23800
  let deferred0_1;
23683
23801
  try {
@@ -23869,13 +23987,13 @@ function __wbg_get_imports() {
23869
23987
  const ret = TransactionSummary.__wrap(arg0);
23870
23988
  return ret;
23871
23989
  },
23872
- __wbg_undoAccountStates_f537fe1c071a86ac: function(arg0, arg1, arg2, arg3) {
23990
+ __wbg_undoAccountStates_432ad1aabd2a3a26: function(arg0, arg1, arg2, arg3) {
23873
23991
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23874
23992
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23875
23993
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
23876
23994
  return ret;
23877
23995
  },
23878
- __wbg_upsertAccountCode_cc05c6891e7d67cc: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23996
+ __wbg_upsertAccountCode_133dd03094e8974e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23879
23997
  let deferred0_0;
23880
23998
  let deferred0_1;
23881
23999
  try {
@@ -23889,7 +24007,7 @@ function __wbg_get_imports() {
23889
24007
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23890
24008
  }
23891
24009
  },
23892
- __wbg_upsertAccountRecord_cf92f5b6aa4078a0: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) {
24010
+ __wbg_upsertAccountRecord_97ec9821e9bce90c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) {
23893
24011
  let deferred0_0;
23894
24012
  let deferred0_1;
23895
24013
  let deferred1_0;
@@ -23931,7 +24049,7 @@ function __wbg_get_imports() {
23931
24049
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
23932
24050
  }
23933
24051
  },
23934
- __wbg_upsertAccountStorage_8afbfc3a0abe8fb8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24052
+ __wbg_upsertAccountStorage_81db74f4cf6442f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23935
24053
  let deferred0_0;
23936
24054
  let deferred0_1;
23937
24055
  try {
@@ -23945,7 +24063,7 @@ function __wbg_get_imports() {
23945
24063
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23946
24064
  }
23947
24065
  },
23948
- __wbg_upsertForeignAccountCode_84c9acf06fa513ab: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
24066
+ __wbg_upsertForeignAccountCode_5070ddc08c0ee632: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
23949
24067
  let deferred0_0;
23950
24068
  let deferred0_1;
23951
24069
  let deferred2_0;
@@ -23964,7 +24082,7 @@ function __wbg_get_imports() {
23964
24082
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
23965
24083
  }
23966
24084
  },
23967
- __wbg_upsertInputNote_f2059d78cbceeb16: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24) {
24085
+ __wbg_upsertInputNote_a1f3154ee7b601d7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24) {
23968
24086
  let deferred0_0;
23969
24087
  let deferred0_1;
23970
24088
  let deferred4_0;
@@ -24006,7 +24124,7 @@ function __wbg_get_imports() {
24006
24124
  wasm.__wbindgen_free(deferred7_0, deferred7_1, 1);
24007
24125
  }
24008
24126
  },
24009
- __wbg_upsertNoteScript_64659c0e516bb6eb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24127
+ __wbg_upsertNoteScript_964eec397ad12e17: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24010
24128
  let deferred0_0;
24011
24129
  let deferred0_1;
24012
24130
  try {
@@ -24020,7 +24138,7 @@ function __wbg_get_imports() {
24020
24138
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24021
24139
  }
24022
24140
  },
24023
- __wbg_upsertOutputNote_5b4fc218cd85a558: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) {
24141
+ __wbg_upsertOutputNote_521c6dfb72b60b27: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) {
24024
24142
  let deferred0_0;
24025
24143
  let deferred0_1;
24026
24144
  let deferred2_0;
@@ -24048,7 +24166,7 @@ function __wbg_get_imports() {
24048
24166
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
24049
24167
  }
24050
24168
  },
24051
- __wbg_upsertStorageMapEntries_78d89c536a6ba418: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24169
+ __wbg_upsertStorageMapEntries_9342c8c7ec58eaf4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24052
24170
  let deferred0_0;
24053
24171
  let deferred0_1;
24054
24172
  try {
@@ -24062,7 +24180,7 @@ function __wbg_get_imports() {
24062
24180
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24063
24181
  }
24064
24182
  },
24065
- __wbg_upsertTransactionRecord_fb53cbffc8f38bd3: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
24183
+ __wbg_upsertTransactionRecord_d12d00e12478f16d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
24066
24184
  let deferred0_0;
24067
24185
  let deferred0_1;
24068
24186
  try {
@@ -24083,7 +24201,7 @@ function __wbg_get_imports() {
24083
24201
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24084
24202
  }
24085
24203
  },
24086
- __wbg_upsertVaultAssets_7369708ff470bcda: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24204
+ __wbg_upsertVaultAssets_a0586701be2577a6: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24087
24205
  let deferred0_0;
24088
24206
  let deferred0_1;
24089
24207
  try {
@@ -24114,13 +24232,13 @@ function __wbg_get_imports() {
24114
24232
  return ret;
24115
24233
  },
24116
24234
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
24117
- // Cast intrinsic for `Closure(Closure { dtor_idx: 354, function: Function { arguments: [Externref], shim_idx: 694, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
24118
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h63c5411e996b99a1, wasm_bindgen__convert__closures_____invoke__h7e8251e1da901d4a);
24235
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 352, function: Function { arguments: [Externref], shim_idx: 694, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
24236
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h59e0a062e9afff1a, wasm_bindgen__convert__closures_____invoke__h29d102b2fd2d683c);
24119
24237
  return ret;
24120
24238
  },
24121
24239
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
24122
- // Cast intrinsic for `Closure(Closure { dtor_idx: 354, function: Function { arguments: [], shim_idx: 355, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
24123
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h63c5411e996b99a1, wasm_bindgen__convert__closures_____invoke__h0a299fbe94173cc9);
24240
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 352, function: Function { arguments: [], shim_idx: 353, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
24241
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h59e0a062e9afff1a, wasm_bindgen__convert__closures_____invoke__h134f6c798ed66cf8);
24124
24242
  return ret;
24125
24243
  },
24126
24244
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -24224,16 +24342,16 @@ function __wbg_get_imports() {
24224
24342
  };
24225
24343
  }
24226
24344
 
24227
- function wasm_bindgen__convert__closures_____invoke__h0a299fbe94173cc9(arg0, arg1) {
24228
- wasm.wasm_bindgen__convert__closures_____invoke__h0a299fbe94173cc9(arg0, arg1);
24345
+ function wasm_bindgen__convert__closures_____invoke__h134f6c798ed66cf8(arg0, arg1) {
24346
+ wasm.wasm_bindgen__convert__closures_____invoke__h134f6c798ed66cf8(arg0, arg1);
24229
24347
  }
24230
24348
 
24231
- function wasm_bindgen__convert__closures_____invoke__h7e8251e1da901d4a(arg0, arg1, arg2) {
24232
- wasm.wasm_bindgen__convert__closures_____invoke__h7e8251e1da901d4a(arg0, arg1, arg2);
24349
+ function wasm_bindgen__convert__closures_____invoke__h29d102b2fd2d683c(arg0, arg1, arg2) {
24350
+ wasm.wasm_bindgen__convert__closures_____invoke__h29d102b2fd2d683c(arg0, arg1, arg2);
24233
24351
  }
24234
24352
 
24235
- function wasm_bindgen__convert__closures_____invoke__h5ccac1d506adc608(arg0, arg1, arg2, arg3) {
24236
- wasm.wasm_bindgen__convert__closures_____invoke__h5ccac1d506adc608(arg0, arg1, arg2, arg3);
24353
+ function wasm_bindgen__convert__closures_____invoke__h2a46aa320c20015b(arg0, arg1, arg2, arg3) {
24354
+ wasm.wasm_bindgen__convert__closures_____invoke__h2a46aa320c20015b(arg0, arg1, arg2, arg3);
24237
24355
  }
24238
24356
 
24239
24357
 
@@ -25036,7 +25154,7 @@ async function __wbg_init(module_or_path) {
25036
25154
 
25037
25155
  const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
25038
25156
 
25039
- var CargoDanGIA8 = /*#__PURE__*/Object.freeze({
25157
+ var CargoM3382VZc = /*#__PURE__*/Object.freeze({
25040
25158
  __proto__: null,
25041
25159
  Account: Account,
25042
25160
  AccountArray: AccountArray,