@miden-sdk/miden-sdk 0.15.6 → 0.15.8

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.
Files changed (44) hide show
  1. package/README.md +15 -0
  2. package/dist/mt/{Cargo-mvyTli7g.js → Cargo-CvYxNO9A.js} +203 -77
  3. package/dist/mt/Cargo-CvYxNO9A.js.map +1 -0
  4. package/dist/mt/api-types.d.ts +120 -0
  5. package/dist/mt/assets/miden_client_web.wasm +0 -0
  6. package/dist/mt/crates/miden_client_web.d.ts +81 -1
  7. package/dist/mt/docs-entry.d.ts +3 -0
  8. package/dist/mt/eager.js +1 -1
  9. package/dist/mt/index.js +279 -5
  10. package/dist/mt/index.js.map +1 -1
  11. package/dist/mt/wasm.js +1 -1
  12. package/dist/mt/workerHelpers.js +1 -1
  13. package/dist/mt/workers/{Cargo-mvyTli7g-BwMMSyoq.js → Cargo-CvYxNO9A-D_wSZjuK.js} +203 -77
  14. package/dist/mt/workers/Cargo-CvYxNO9A-D_wSZjuK.js.map +1 -0
  15. package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
  16. package/dist/mt/workers/web-client-methods-worker.js +204 -77
  17. package/dist/mt/workers/web-client-methods-worker.js.map +1 -1
  18. package/dist/mt/workers/web-client-methods-worker.module.js +1 -1
  19. package/dist/mt/workers/web-client-methods-worker.module.js.map +1 -1
  20. package/dist/mt/workers/workerHelpers.js +1 -1
  21. package/dist/st/{Cargo-Cysp4vto.js → Cargo-L_lPKfww.js} +201 -76
  22. package/dist/st/Cargo-L_lPKfww.js.map +1 -0
  23. package/dist/st/api-types.d.ts +120 -0
  24. package/dist/st/assets/miden_client_web.wasm +0 -0
  25. package/dist/st/crates/miden_client_web.d.ts +81 -1
  26. package/dist/st/docs-entry.d.ts +3 -0
  27. package/dist/st/eager.js +1 -1
  28. package/dist/st/index.js +279 -5
  29. package/dist/st/index.js.map +1 -1
  30. package/dist/st/wasm.js +1 -1
  31. package/dist/st/workers/{Cargo-Cysp4vto-BIw-TeJn.js → Cargo-L_lPKfww-BM__buYN.js} +201 -76
  32. package/dist/st/workers/Cargo-L_lPKfww-BM__buYN.js.map +1 -0
  33. package/dist/st/workers/assets/miden_client_web.wasm +0 -0
  34. package/dist/st/workers/web-client-methods-worker.js +202 -76
  35. package/dist/st/workers/web-client-methods-worker.js.map +1 -1
  36. package/dist/st/workers/web-client-methods-worker.module.js +1 -1
  37. package/dist/st/workers/web-client-methods-worker.module.js.map +1 -1
  38. package/js/node-index.js +1 -0
  39. package/js/resources/transactions.js +251 -4
  40. package/package.json +4 -4
  41. package/dist/mt/Cargo-mvyTli7g.js.map +0 -1
  42. package/dist/mt/workers/Cargo-mvyTli7g-BwMMSyoq.js.map +0 -1
  43. package/dist/st/Cargo-Cysp4vto.js.map +0 -1
  44. package/dist/st/workers/Cargo-Cysp4vto-BIw-TeJn.js.map +0 -1
@@ -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 CargoCysp4vto; });
8
+ wasmModule = await Promise.resolve().then(function () { return CargoL_lPKfww; });
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
@@ -13472,6 +13472,26 @@ class AdviceMap {
13472
13472
  }
13473
13473
  if (Symbol.dispose) AdviceMap.prototype[Symbol.dispose] = AdviceMap.prototype.free;
13474
13474
 
13475
+ /**
13476
+ * Whether a faucet's asset callbacks run when an asset is added to an account or a note.
13477
+ *
13478
+ * The flag is part of an asset's vault key, so two assets from the same faucet with different
13479
+ * flags occupy different vault slots and do not merge. Assets minted by a faucet that registers
13480
+ * transfer policies carry `Enabled`; everything else carries `Disabled`.
13481
+ * @enum {0 | 1}
13482
+ */
13483
+ const AssetCallbackFlag = Object.freeze({
13484
+ /**
13485
+ * The faucet's callbacks are not invoked for this asset. This is the default for an asset
13486
+ * built via the `FungibleAsset` constructor.
13487
+ */
13488
+ Disabled: 0, "0": "Disabled",
13489
+ /**
13490
+ * The faucet's callbacks are invoked before this asset is added to an account or a note.
13491
+ */
13492
+ Enabled: 1, "1": "Enabled",
13493
+ });
13494
+
13475
13495
  /**
13476
13496
  * A container for an unlimited number of assets.
13477
13497
  *
@@ -13827,6 +13847,26 @@ class BasicFungibleFaucetComponent {
13827
13847
  }
13828
13848
  return BasicFungibleFaucetComponent.__wrap(ret[0]);
13829
13849
  }
13850
+ /**
13851
+ * Extracts faucet metadata from an account's storage.
13852
+ *
13853
+ * Unlike [`Self::from_account`], this reads the metadata straight from the storage slots
13854
+ * without checking that the account exposes the basic fungible faucet interface. This makes
13855
+ * it work for faucets built from custom components that reuse the standards storage layout
13856
+ * (e.g. `AggLayer` bridged-asset faucets), but it also means a non-faucet account whose
13857
+ * storage happens to use the same slot names would yield bogus metadata without an error.
13858
+ * @param {AccountStorage} account_storage
13859
+ * @returns {BasicFungibleFaucetComponent}
13860
+ */
13861
+ static fromAccountStorage(account_storage) {
13862
+ _assertClass(account_storage, AccountStorage);
13863
+ var ptr0 = account_storage.__destroy_into_raw();
13864
+ const ret = wasm.basicfungiblefaucetcomponent_fromAccountStorage(ptr0);
13865
+ if (ret[2]) {
13866
+ throw takeFromExternrefTable0(ret[1]);
13867
+ }
13868
+ return BasicFungibleFaucetComponent.__wrap(ret[0]);
13869
+ }
13830
13870
  /**
13831
13871
  * Returns the optional token logo URI, or `undefined` when unset.
13832
13872
  * @returns {string | undefined}
@@ -15214,6 +15254,14 @@ class FungibleAsset {
15214
15254
  const ret = wasm.fungibleasset_amount(this.__wbg_ptr);
15215
15255
  return BigInt.asUintN(64, ret);
15216
15256
  }
15257
+ /**
15258
+ * Returns whether this asset invokes its faucet's callbacks.
15259
+ * @returns {AssetCallbackFlag}
15260
+ */
15261
+ callbacks() {
15262
+ const ret = wasm.fungibleasset_callbacks(this.__wbg_ptr);
15263
+ return ret;
15264
+ }
15217
15265
  /**
15218
15266
  * Returns the faucet account that minted this asset.
15219
15267
  * @returns {AccountId}
@@ -15223,7 +15271,58 @@ class FungibleAsset {
15223
15271
  return AccountId.__wrap(ret);
15224
15272
  }
15225
15273
  /**
15226
- * Encodes this asset into the word layout used in the vault.
15274
+ * Reconstructs a fungible asset from its vault entry the `(key, value)`
15275
+ * word pair as stored in an account vault, i.e. the outputs of
15276
+ * [`vaultKey`](Self::vault_key) and [`intoWord`](Self::into_word). The key
15277
+ * word carries the faucet id and the callback flag; the value word carries
15278
+ * the amount. This is the inverse of those getters, so
15279
+ * `FungibleAsset.fromVaultEntry(a.vaultKey(), a.intoWord())` round-trips an
15280
+ * asset read from vault data (callback flag included). Errors if the words
15281
+ * don't describe a valid fungible asset (e.g. a malformed key, non-zero
15282
+ * upper limbs in the value word, or an amount above the maximum fungible
15283
+ * asset amount, `2^63 - 2^31`).
15284
+ * @param {Word} key
15285
+ * @param {Word} value
15286
+ * @returns {FungibleAsset}
15287
+ */
15288
+ static fromVaultEntry(key, value) {
15289
+ _assertClass(key, Word);
15290
+ _assertClass(value, Word);
15291
+ const ret = wasm.fungibleasset_fromVaultEntry(key.__wbg_ptr, value.__wbg_ptr);
15292
+ if (ret[2]) {
15293
+ throw takeFromExternrefTable0(ret[1]);
15294
+ }
15295
+ return FungibleAsset.__wrap(ret[0]);
15296
+ }
15297
+ /**
15298
+ * Reconstructs a fungible asset from its vault key word and a scalar amount.
15299
+ *
15300
+ * A convenience over [`fromVaultEntry`](Self::from_vault_entry) for when you
15301
+ * hold the key word (from [`vaultKey`](Self::vault_key)) and the amount as a
15302
+ * number rather than the value word: the key supplies the faucet id and
15303
+ * callback flag, and the amount is encoded into the value word for you. Use
15304
+ * `fromVaultEntry` when you already have both vault words. Errors on a
15305
+ * malformed key or an amount above the maximum fungible asset amount,
15306
+ * `2^63 - 2^31`.
15307
+ * @param {Word} key
15308
+ * @param {bigint} amount
15309
+ * @returns {FungibleAsset}
15310
+ */
15311
+ static fromVaultKey(key, amount) {
15312
+ _assertClass(key, Word);
15313
+ const ret = wasm.fungibleasset_fromVaultKey(key.__wbg_ptr, amount);
15314
+ if (ret[2]) {
15315
+ throw takeFromExternrefTable0(ret[1]);
15316
+ }
15317
+ return FungibleAsset.__wrap(ret[0]);
15318
+ }
15319
+ /**
15320
+ * Returns the value word stored under [`vaultKey`](Self::vault_key) in an
15321
+ * account vault. For a fungible asset the value word encodes the amount.
15322
+ *
15323
+ * This is the value half of the vault entry; pair it with `vaultKey()` and
15324
+ * pass both to [`fromVaultEntry`](Self::from_vault_entry) to reconstruct the
15325
+ * asset.
15227
15326
  * @returns {Word}
15228
15327
  */
15229
15328
  intoWord() {
@@ -15245,6 +15344,32 @@ class FungibleAsset {
15245
15344
  FungibleAssetFinalization.register(this, this.__wbg_ptr, this);
15246
15345
  return this;
15247
15346
  }
15347
+ /**
15348
+ * Returns the key word under which this asset is stored in an account vault.
15349
+ *
15350
+ * The key encodes the faucet id and the callback flag; the amount lives in
15351
+ * the paired value word from [`intoWord`](Self::into_word). Pass both back
15352
+ * into [`fromVaultEntry`](Self::from_vault_entry) to reconstruct the asset.
15353
+ * @returns {Word}
15354
+ */
15355
+ vaultKey() {
15356
+ const ret = wasm.fungibleasset_vaultKey(this.__wbg_ptr);
15357
+ return Word.__wrap(ret);
15358
+ }
15359
+ /**
15360
+ * Returns a copy of this asset carrying the given callback flag.
15361
+ *
15362
+ * The flag is part of the asset's vault key, so it must match the flag the issuing faucet
15363
+ * applies — an asset built with the wrong flag addresses a different vault slot than the one
15364
+ * holding the balance. The constructor always produces `Disabled`; pass `Enabled` only for
15365
+ * assets from a faucet that registers transfer policies.
15366
+ * @param {AssetCallbackFlag} callbacks
15367
+ * @returns {FungibleAsset}
15368
+ */
15369
+ withCallbacks(callbacks) {
15370
+ const ret = wasm.fungibleasset_withCallbacks(this.__wbg_ptr, callbacks);
15371
+ return FungibleAsset.__wrap(ret);
15372
+ }
15248
15373
  }
15249
15374
  if (Symbol.dispose) FungibleAsset.prototype[Symbol.dispose] = FungibleAsset.prototype.free;
15250
15375
 
@@ -24887,7 +25012,7 @@ function __wbg_get_imports() {
24887
25012
  const ret = AccountStorage.__wrap(arg0);
24888
25013
  return ret;
24889
25014
  },
24890
- __wbg_addNoteTag_c1d851535ec0e098: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25015
+ __wbg_addNoteTag_25cad61edb5d555a: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24891
25016
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24892
25017
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24893
25018
  let v1;
@@ -24915,25 +25040,25 @@ function __wbg_get_imports() {
24915
25040
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
24916
25041
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
24917
25042
  }, arguments); },
24918
- __wbg_applyFullAccountState_a76a7cf1d93a9554: function(arg0, arg1, arg2) {
25043
+ __wbg_applyFullAccountState_2aeb79c033cb94e9: function(arg0, arg1, arg2) {
24919
25044
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
24920
25045
  return ret;
24921
25046
  },
24922
- __wbg_applySettingsMutations_e98dbb5827d3ec93: function(arg0, arg1, arg2, arg3) {
25047
+ __wbg_applySettingsMutations_e331196301c58c75: function(arg0, arg1, arg2, arg3) {
24923
25048
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24924
25049
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24925
25050
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
24926
25051
  return ret;
24927
25052
  },
24928
- __wbg_applyStateSync_c365f1affe42d064: function(arg0, arg1, arg2) {
25053
+ __wbg_applyStateSync_75d2fe4dcfcd8387: function(arg0, arg1, arg2) {
24929
25054
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
24930
25055
  return ret;
24931
25056
  },
24932
- __wbg_applyTransactionBatch_0b07b42c93c25447: function(arg0, arg1, arg2) {
25057
+ __wbg_applyTransactionBatch_9d2069a58ecdeb08: function(arg0, arg1, arg2) {
24933
25058
  const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
24934
25059
  return ret;
24935
25060
  },
24936
- __wbg_applyTransactionDelta_93fac37bf6e15192: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
25061
+ __wbg_applyTransactionDelta_0678a2cd1164cac0: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
24937
25062
  let deferred0_0;
24938
25063
  let deferred0_1;
24939
25064
  let deferred1_0;
@@ -25072,7 +25197,7 @@ function __wbg_get_imports() {
25072
25197
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25073
25198
  }
25074
25199
  },
25075
- __wbg_exportStore_ca32cf4c9f46f56b: function(arg0, arg1) {
25200
+ __wbg_exportStore_bf1688fbcaeac761: function(arg0, arg1) {
25076
25201
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
25077
25202
  return ret;
25078
25203
  },
@@ -25104,7 +25229,7 @@ function __wbg_get_imports() {
25104
25229
  const ret = FetchedNote.__wrap(arg0);
25105
25230
  return ret;
25106
25231
  },
25107
- __wbg_forceImportStore_8bb9e5bbca5e1513: function(arg0, arg1, arg2) {
25232
+ __wbg_forceImportStore_bd5ce688ff80c047: function(arg0, arg1, arg2) {
25108
25233
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
25109
25234
  return ret;
25110
25235
  },
@@ -25128,7 +25253,7 @@ function __wbg_get_imports() {
25128
25253
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
25129
25254
  return ret;
25130
25255
  },
25131
- __wbg_getAccountAddresses_d068c1e15e7a3f69: function(arg0, arg1, arg2, arg3) {
25256
+ __wbg_getAccountAddresses_44b5a6db696a9381: function(arg0, arg1, arg2, arg3) {
25132
25257
  let deferred0_0;
25133
25258
  let deferred0_1;
25134
25259
  try {
@@ -25140,7 +25265,7 @@ function __wbg_get_imports() {
25140
25265
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25141
25266
  }
25142
25267
  },
25143
- __wbg_getAccountAuthByPubKeyCommitment_8f67fb0e63c7bd2e: function(arg0, arg1, arg2, arg3) {
25268
+ __wbg_getAccountAuthByPubKeyCommitment_98a8d726bce942e5: function(arg0, arg1, arg2, arg3) {
25144
25269
  let deferred0_0;
25145
25270
  let deferred0_1;
25146
25271
  try {
@@ -25152,7 +25277,7 @@ function __wbg_get_imports() {
25152
25277
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25153
25278
  }
25154
25279
  },
25155
- __wbg_getAccountCode_c9e87e9228f99d8a: function(arg0, arg1, arg2, arg3) {
25280
+ __wbg_getAccountCode_15c1a978217210a3: function(arg0, arg1, arg2, arg3) {
25156
25281
  let deferred0_0;
25157
25282
  let deferred0_1;
25158
25283
  try {
@@ -25164,7 +25289,7 @@ function __wbg_get_imports() {
25164
25289
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25165
25290
  }
25166
25291
  },
25167
- __wbg_getAccountHeaderByCommitment_918253bae03e21bd: function(arg0, arg1, arg2, arg3) {
25292
+ __wbg_getAccountHeaderByCommitment_6e856b122fb63445: function(arg0, arg1, arg2, arg3) {
25168
25293
  let deferred0_0;
25169
25294
  let deferred0_1;
25170
25295
  try {
@@ -25176,7 +25301,7 @@ function __wbg_get_imports() {
25176
25301
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25177
25302
  }
25178
25303
  },
25179
- __wbg_getAccountHeader_19a4cbeb88903833: function(arg0, arg1, arg2, arg3) {
25304
+ __wbg_getAccountHeader_1cfea7b95b20687b: function(arg0, arg1, arg2, arg3) {
25180
25305
  let deferred0_0;
25181
25306
  let deferred0_1;
25182
25307
  try {
@@ -25188,7 +25313,7 @@ function __wbg_get_imports() {
25188
25313
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25189
25314
  }
25190
25315
  },
25191
- __wbg_getAccountIdByKeyCommitment_2461fd858ac229a5: function(arg0, arg1, arg2, arg3) {
25316
+ __wbg_getAccountIdByKeyCommitment_dc2e8d8d8a290ac9: function(arg0, arg1, arg2, arg3) {
25192
25317
  let deferred0_0;
25193
25318
  let deferred0_1;
25194
25319
  try {
@@ -25200,11 +25325,11 @@ function __wbg_get_imports() {
25200
25325
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25201
25326
  }
25202
25327
  },
25203
- __wbg_getAccountIds_6ce312ac9bfb1b31: function(arg0, arg1) {
25328
+ __wbg_getAccountIds_0ce97765a3c31e7d: function(arg0, arg1) {
25204
25329
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
25205
25330
  return ret;
25206
25331
  },
25207
- __wbg_getAccountStorageMaps_18420aab10cd69bd: function(arg0, arg1, arg2, arg3) {
25332
+ __wbg_getAccountStorageMaps_09cb3c149afb2ab6: function(arg0, arg1, arg2, arg3) {
25208
25333
  let deferred0_0;
25209
25334
  let deferred0_1;
25210
25335
  try {
@@ -25216,7 +25341,7 @@ function __wbg_get_imports() {
25216
25341
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25217
25342
  }
25218
25343
  },
25219
- __wbg_getAccountStorage_ffe7596409c9223c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25344
+ __wbg_getAccountStorage_5502bfe95b2eb790: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25220
25345
  let deferred0_0;
25221
25346
  let deferred0_1;
25222
25347
  try {
@@ -25230,7 +25355,7 @@ function __wbg_get_imports() {
25230
25355
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25231
25356
  }
25232
25357
  },
25233
- __wbg_getAccountVaultAssets_af709bb72685df4c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25358
+ __wbg_getAccountVaultAssets_9519922d942fecee: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25234
25359
  let deferred0_0;
25235
25360
  let deferred0_1;
25236
25361
  try {
@@ -25244,27 +25369,27 @@ function __wbg_get_imports() {
25244
25369
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25245
25370
  }
25246
25371
  },
25247
- __wbg_getAllAccountHeaders_41895be7c409b88e: function(arg0, arg1) {
25372
+ __wbg_getAllAccountHeaders_df840fc87d4bdec9: function(arg0, arg1) {
25248
25373
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
25249
25374
  return ret;
25250
25375
  },
25251
- __wbg_getBlockHeaders_5fd7167f134e5843: function(arg0, arg1, arg2, arg3) {
25376
+ __wbg_getBlockHeaders_5873b22bd7744156: function(arg0, arg1, arg2, arg3) {
25252
25377
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
25253
25378
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25254
25379
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
25255
25380
  return ret;
25256
25381
  },
25257
- __wbg_getCurrentBlockchainPeaks_0d572807e1e9e2ae: function(arg0, arg1) {
25382
+ __wbg_getCurrentBlockchainPeaks_f329c1684cabaf21: function(arg0, arg1) {
25258
25383
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
25259
25384
  return ret;
25260
25385
  },
25261
- __wbg_getForeignAccountCode_844c11a17626e563: function(arg0, arg1, arg2, arg3) {
25386
+ __wbg_getForeignAccountCode_626cc9a21065ce07: function(arg0, arg1, arg2, arg3) {
25262
25387
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25263
25388
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25264
25389
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
25265
25390
  return ret;
25266
25391
  },
25267
- __wbg_getInputNoteByOffset_9ab1440d682c55fb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
25392
+ __wbg_getInputNoteByOffset_437795f571f7c2fd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
25268
25393
  let deferred1_0;
25269
25394
  let deferred1_1;
25270
25395
  try {
@@ -25278,31 +25403,31 @@ function __wbg_get_imports() {
25278
25403
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25279
25404
  }
25280
25405
  },
25281
- __wbg_getInputNotesFromDetailsCommitments_0d7a37a6d01eab53: function(arg0, arg1, arg2, arg3) {
25406
+ __wbg_getInputNotesFromDetailsCommitments_e49ccdee208d1f22: function(arg0, arg1, arg2, arg3) {
25282
25407
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25283
25408
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25284
25409
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
25285
25410
  return ret;
25286
25411
  },
25287
- __wbg_getInputNotesFromIds_27c39054c73a044b: function(arg0, arg1, arg2, arg3) {
25412
+ __wbg_getInputNotesFromIds_057a1693a3b197c0: function(arg0, arg1, arg2, arg3) {
25288
25413
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25289
25414
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25290
25415
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
25291
25416
  return ret;
25292
25417
  },
25293
- __wbg_getInputNotesFromNullifiers_301cdfb81aa319a7: function(arg0, arg1, arg2, arg3) {
25418
+ __wbg_getInputNotesFromNullifiers_afa84bb5844ca0f2: function(arg0, arg1, arg2, arg3) {
25294
25419
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25295
25420
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25296
25421
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
25297
25422
  return ret;
25298
25423
  },
25299
- __wbg_getInputNotes_7d1b39ca9e78db47: function(arg0, arg1, arg2, arg3) {
25424
+ __wbg_getInputNotes_c22939005e704005: function(arg0, arg1, arg2, arg3) {
25300
25425
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25301
25426
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25302
25427
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
25303
25428
  return ret;
25304
25429
  },
25305
- __wbg_getKeyCommitmentsByAccountId_81ce3e1041e3bed0: function(arg0, arg1, arg2, arg3) {
25430
+ __wbg_getKeyCommitmentsByAccountId_a9d9f0e316e0b961: function(arg0, arg1, arg2, arg3) {
25306
25431
  let deferred0_0;
25307
25432
  let deferred0_1;
25308
25433
  try {
@@ -25314,7 +25439,7 @@ function __wbg_get_imports() {
25314
25439
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25315
25440
  }
25316
25441
  },
25317
- __wbg_getNoteScript_5be6f18daf0b0cff: function(arg0, arg1, arg2, arg3) {
25442
+ __wbg_getNoteScript_40c99e72d3a5347b: function(arg0, arg1, arg2, arg3) {
25318
25443
  let deferred0_0;
25319
25444
  let deferred0_1;
25320
25445
  try {
@@ -25326,39 +25451,39 @@ function __wbg_get_imports() {
25326
25451
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25327
25452
  }
25328
25453
  },
25329
- __wbg_getNoteTags_43e80680e54bade8: function(arg0, arg1) {
25454
+ __wbg_getNoteTags_67063dd77a36d6b4: function(arg0, arg1) {
25330
25455
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
25331
25456
  return ret;
25332
25457
  },
25333
- __wbg_getOutputNotesFromDetailsCommitments_68e3dca9188e3f99: function(arg0, arg1, arg2, arg3) {
25458
+ __wbg_getOutputNotesFromDetailsCommitments_bdf7b0c9d2a5db36: function(arg0, arg1, arg2, arg3) {
25334
25459
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25335
25460
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25336
25461
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
25337
25462
  return ret;
25338
25463
  },
25339
- __wbg_getOutputNotesFromIds_768649a70e0c7bfb: function(arg0, arg1, arg2, arg3) {
25464
+ __wbg_getOutputNotesFromIds_219945e5373d809b: function(arg0, arg1, arg2, arg3) {
25340
25465
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25341
25466
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25342
25467
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
25343
25468
  return ret;
25344
25469
  },
25345
- __wbg_getOutputNotesFromNullifiers_c7ed92290ce3947a: function(arg0, arg1, arg2, arg3) {
25470
+ __wbg_getOutputNotesFromNullifiers_707ceecfe32e4a35: function(arg0, arg1, arg2, arg3) {
25346
25471
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25347
25472
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25348
25473
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
25349
25474
  return ret;
25350
25475
  },
25351
- __wbg_getOutputNotes_b3ad1953a5193c80: function(arg0, arg1, arg2, arg3) {
25476
+ __wbg_getOutputNotes_326a5aa0d3790050: function(arg0, arg1, arg2, arg3) {
25352
25477
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25353
25478
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25354
25479
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
25355
25480
  return ret;
25356
25481
  },
25357
- __wbg_getPartialBlockchainNodesAll_6834180a437e7c63: function(arg0, arg1) {
25482
+ __wbg_getPartialBlockchainNodesAll_7cf9e7cf6f37f395: function(arg0, arg1) {
25358
25483
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
25359
25484
  return ret;
25360
25485
  },
25361
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_94dc7d751d77e648: function(arg0, arg1, arg2, arg3) {
25486
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_e91098152297e0da: function(arg0, arg1, arg2, arg3) {
25362
25487
  let deferred0_0;
25363
25488
  let deferred0_1;
25364
25489
  try {
@@ -25370,7 +25495,7 @@ function __wbg_get_imports() {
25370
25495
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25371
25496
  }
25372
25497
  },
25373
- __wbg_getPartialBlockchainNodes_af5bd7d7471ef114: function(arg0, arg1, arg2, arg3) {
25498
+ __wbg_getPartialBlockchainNodes_433475f2ec8b2171: function(arg0, arg1, arg2, arg3) {
25374
25499
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25375
25500
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25376
25501
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -25383,7 +25508,7 @@ function __wbg_get_imports() {
25383
25508
  const ret = arg0.getReader();
25384
25509
  return ret;
25385
25510
  }, arguments); },
25386
- __wbg_getSetting_f06b2891fbabc9cf: function(arg0, arg1, arg2, arg3) {
25511
+ __wbg_getSetting_e008c5a99f10e590: function(arg0, arg1, arg2, arg3) {
25387
25512
  let deferred0_0;
25388
25513
  let deferred0_1;
25389
25514
  try {
@@ -25395,7 +25520,7 @@ function __wbg_get_imports() {
25395
25520
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25396
25521
  }
25397
25522
  },
25398
- __wbg_getSyncHeight_d79b93a5d88a10be: function(arg0, arg1) {
25523
+ __wbg_getSyncHeight_ecfa19078de4c98f: function(arg0, arg1) {
25399
25524
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
25400
25525
  return ret;
25401
25526
  },
@@ -25403,15 +25528,15 @@ function __wbg_get_imports() {
25403
25528
  const ret = arg0.getTime();
25404
25529
  return ret;
25405
25530
  },
25406
- __wbg_getTrackedBlockHeaderNumbers_f0d5e2f2232551cc: function(arg0, arg1) {
25531
+ __wbg_getTrackedBlockHeaderNumbers_1cb8016a509ed0c4: function(arg0, arg1) {
25407
25532
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
25408
25533
  return ret;
25409
25534
  },
25410
- __wbg_getTrackedBlockHeaders_db61d3cc39ec8dba: function(arg0, arg1) {
25535
+ __wbg_getTrackedBlockHeaders_ea97bc37d74a875a: function(arg0, arg1) {
25411
25536
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
25412
25537
  return ret;
25413
25538
  },
25414
- __wbg_getTransactions_00723f63af87e326: function(arg0, arg1, arg2, arg3) {
25539
+ __wbg_getTransactions_fbcf8488c75fde0d: function(arg0, arg1, arg2, arg3) {
25415
25540
  let deferred0_0;
25416
25541
  let deferred0_1;
25417
25542
  try {
@@ -25423,7 +25548,7 @@ function __wbg_get_imports() {
25423
25548
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25424
25549
  }
25425
25550
  },
25426
- __wbg_getUnspentInputNoteNullifiers_5352631c6015d6e5: function(arg0, arg1) {
25551
+ __wbg_getUnspentInputNoteNullifiers_75ec5ab42ea5afa9: function(arg0, arg1) {
25427
25552
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
25428
25553
  return ret;
25429
25554
  },
@@ -25467,7 +25592,7 @@ function __wbg_get_imports() {
25467
25592
  const ret = InputNoteRecord.__wrap(arg0);
25468
25593
  return ret;
25469
25594
  },
25470
- __wbg_insertAccountAddress_a8f49a2f8f6ff0f1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25595
+ __wbg_insertAccountAddress_e8628627a138e81e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25471
25596
  let deferred0_0;
25472
25597
  let deferred0_1;
25473
25598
  try {
@@ -25481,7 +25606,7 @@ function __wbg_get_imports() {
25481
25606
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25482
25607
  }
25483
25608
  },
25484
- __wbg_insertAccountAuth_3a2314a58a464f90: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25609
+ __wbg_insertAccountAuth_278a833f3fef3aca: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25485
25610
  let deferred0_0;
25486
25611
  let deferred0_1;
25487
25612
  let deferred1_0;
@@ -25498,7 +25623,7 @@ function __wbg_get_imports() {
25498
25623
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25499
25624
  }
25500
25625
  },
25501
- __wbg_insertAccountKeyMapping_72c6d4d8b9306667: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25626
+ __wbg_insertAccountKeyMapping_05e2b0009cf1cfe3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25502
25627
  let deferred0_0;
25503
25628
  let deferred0_1;
25504
25629
  let deferred1_0;
@@ -25515,13 +25640,13 @@ function __wbg_get_imports() {
25515
25640
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25516
25641
  }
25517
25642
  },
25518
- __wbg_insertBlockHeader_305b039a9623ae0f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25643
+ __wbg_insertBlockHeader_d972fb92f29e7da7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25519
25644
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
25520
25645
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
25521
25646
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
25522
25647
  return ret;
25523
25648
  },
25524
- __wbg_insertPartialBlockchainNodes_cf3566f492028425: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25649
+ __wbg_insertPartialBlockchainNodes_70af5f15aaab9f89: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25525
25650
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25526
25651
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25527
25652
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25529,7 +25654,7 @@ function __wbg_get_imports() {
25529
25654
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
25530
25655
  return ret;
25531
25656
  },
25532
- __wbg_insertSetting_0f1cae5afcfb4023: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25657
+ __wbg_insertSetting_a1f83afe232d6b43: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25533
25658
  let deferred0_0;
25534
25659
  let deferred0_1;
25535
25660
  try {
@@ -25543,7 +25668,7 @@ function __wbg_get_imports() {
25543
25668
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25544
25669
  }
25545
25670
  },
25546
- __wbg_insertTransactionScript_254698ca99f13bdb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25671
+ __wbg_insertTransactionScript_4ca2858864a66866: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25547
25672
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25548
25673
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25549
25674
  let v1;
@@ -25640,11 +25765,11 @@ function __wbg_get_imports() {
25640
25765
  const ret = arg0.length;
25641
25766
  return ret;
25642
25767
  },
25643
- __wbg_listSettingKeys_b640b6ed3b2ceee7: function(arg0, arg1) {
25768
+ __wbg_listSettingKeys_32703227794f5ddf: function(arg0, arg1) {
25644
25769
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
25645
25770
  return ret;
25646
25771
  },
25647
- __wbg_lockAccount_e19bdabd557a9bac: function(arg0, arg1, arg2, arg3) {
25772
+ __wbg_lockAccount_6847f6622cfbb360: function(arg0, arg1, arg2, arg3) {
25648
25773
  let deferred0_0;
25649
25774
  let deferred0_1;
25650
25775
  try {
@@ -25847,7 +25972,7 @@ function __wbg_get_imports() {
25847
25972
  const ret = NoteTag.__unwrap(arg0);
25848
25973
  return ret;
25849
25974
  },
25850
- __wbg_openDatabase_9a8fbeb3ab124c9d: function(arg0, arg1, arg2, arg3) {
25975
+ __wbg_openDatabase_41d26d65ebf6caf0: function(arg0, arg1, arg2, arg3) {
25851
25976
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
25852
25977
  return ret;
25853
25978
  },
@@ -25878,7 +26003,7 @@ function __wbg_get_imports() {
25878
26003
  const ret = ProvenTransaction.__wrap(arg0);
25879
26004
  return ret;
25880
26005
  },
25881
- __wbg_pruneAccountHistory_6f68d5203b34624d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26006
+ __wbg_pruneAccountHistory_07a7e45174c9f37a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25882
26007
  let deferred0_0;
25883
26008
  let deferred0_1;
25884
26009
  let deferred1_0;
@@ -25895,7 +26020,7 @@ function __wbg_get_imports() {
25895
26020
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25896
26021
  }
25897
26022
  },
25898
- __wbg_pruneIrrelevantBlocks_f67204a16f7b32f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26023
+ __wbg_pruneIrrelevantBlocks_94286980844c1214: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25899
26024
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
25900
26025
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25901
26026
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25925,13 +26050,13 @@ function __wbg_get_imports() {
25925
26050
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
25926
26051
  arg0.releaseLock();
25927
26052
  },
25928
- __wbg_removeAccountAddress_c96456170da6ac29: function(arg0, arg1, arg2, arg3) {
26053
+ __wbg_removeAccountAddress_329baf02728f4c41: function(arg0, arg1, arg2, arg3) {
25929
26054
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25930
26055
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25931
26056
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
25932
26057
  return ret;
25933
26058
  },
25934
- __wbg_removeAccountAuth_514a8e1ee9bc6293: function(arg0, arg1, arg2, arg3) {
26059
+ __wbg_removeAccountAuth_603363308e6ae70b: function(arg0, arg1, arg2, arg3) {
25935
26060
  let deferred0_0;
25936
26061
  let deferred0_1;
25937
26062
  try {
@@ -25943,7 +26068,7 @@ function __wbg_get_imports() {
25943
26068
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25944
26069
  }
25945
26070
  },
25946
- __wbg_removeAllMappingsForKey_18e793a295ac2226: function(arg0, arg1, arg2, arg3) {
26071
+ __wbg_removeAllMappingsForKey_fbc7b61a67110568: function(arg0, arg1, arg2, arg3) {
25947
26072
  let deferred0_0;
25948
26073
  let deferred0_1;
25949
26074
  try {
@@ -25955,7 +26080,7 @@ function __wbg_get_imports() {
25955
26080
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25956
26081
  }
25957
26082
  },
25958
- __wbg_removeNoteTag_8ae01f5c65dc9174: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
26083
+ __wbg_removeNoteTag_5bb25427e520f50b: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25959
26084
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25960
26085
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25961
26086
  let v1;
@@ -25976,7 +26101,7 @@ function __wbg_get_imports() {
25976
26101
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
25977
26102
  return ret;
25978
26103
  },
25979
- __wbg_removeSetting_5bec82500774f6cf: function(arg0, arg1, arg2, arg3) {
26104
+ __wbg_removeSetting_51d62e3d24593afc: function(arg0, arg1, arg2, arg3) {
25980
26105
  let deferred0_0;
25981
26106
  let deferred0_1;
25982
26107
  try {
@@ -26179,13 +26304,13 @@ function __wbg_get_imports() {
26179
26304
  const ret = TransactionSummary.__wrap(arg0);
26180
26305
  return ret;
26181
26306
  },
26182
- __wbg_undoAccountStates_b7f5bc8db7e5f7d9: function(arg0, arg1, arg2, arg3) {
26307
+ __wbg_undoAccountStates_b3c3c03f96aba29a: function(arg0, arg1, arg2, arg3) {
26183
26308
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
26184
26309
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
26185
26310
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
26186
26311
  return ret;
26187
26312
  },
26188
- __wbg_upsertAccountCode_2885d4bc1584e8e8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26313
+ __wbg_upsertAccountCode_a011479caf2f2773: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26189
26314
  let deferred0_0;
26190
26315
  let deferred0_1;
26191
26316
  try {
@@ -26199,7 +26324,7 @@ function __wbg_get_imports() {
26199
26324
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26200
26325
  }
26201
26326
  },
26202
- __wbg_upsertAccountRecord_c3aa685ee4dcc3de: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
26327
+ __wbg_upsertAccountRecord_313a9a93a9853a03: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
26203
26328
  let deferred0_0;
26204
26329
  let deferred0_1;
26205
26330
  let deferred1_0;
@@ -26241,7 +26366,7 @@ function __wbg_get_imports() {
26241
26366
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
26242
26367
  }
26243
26368
  },
26244
- __wbg_upsertAccountStorage_e482e77a7e281260: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26369
+ __wbg_upsertAccountStorage_ea6d136c93fbd28c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26245
26370
  let deferred0_0;
26246
26371
  let deferred0_1;
26247
26372
  try {
@@ -26255,7 +26380,7 @@ function __wbg_get_imports() {
26255
26380
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26256
26381
  }
26257
26382
  },
26258
- __wbg_upsertForeignAccountCode_9aa9b862b6a7e789: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
26383
+ __wbg_upsertForeignAccountCode_e9e22981c11ab8ec: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
26259
26384
  let deferred0_0;
26260
26385
  let deferred0_1;
26261
26386
  let deferred2_0;
@@ -26274,7 +26399,7 @@ function __wbg_get_imports() {
26274
26399
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
26275
26400
  }
26276
26401
  },
26277
- __wbg_upsertInputNote_e10948a629bcee16: 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, arg25, arg26, arg27, arg28) {
26402
+ __wbg_upsertInputNote_ef1243df774d4302: 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, arg25, arg26, arg27, arg28) {
26278
26403
  let deferred0_0;
26279
26404
  let deferred0_1;
26280
26405
  let deferred6_0;
@@ -26323,7 +26448,7 @@ function __wbg_get_imports() {
26323
26448
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
26324
26449
  }
26325
26450
  },
26326
- __wbg_upsertNoteScript_7e9a616d8a143614: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26451
+ __wbg_upsertNoteScript_e9617c5e4fc75fb0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26327
26452
  let deferred0_0;
26328
26453
  let deferred0_1;
26329
26454
  try {
@@ -26337,7 +26462,7 @@ function __wbg_get_imports() {
26337
26462
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26338
26463
  }
26339
26464
  },
26340
- __wbg_upsertOutputNote_1194e3f5dcc3d4f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
26465
+ __wbg_upsertOutputNote_656aa32b96217f2d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
26341
26466
  let deferred0_0;
26342
26467
  let deferred0_1;
26343
26468
  let deferred1_0;
@@ -26372,7 +26497,7 @@ function __wbg_get_imports() {
26372
26497
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
26373
26498
  }
26374
26499
  },
26375
- __wbg_upsertStorageMapEntries_82d953e23dee24ed: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26500
+ __wbg_upsertStorageMapEntries_91e646dab4d24d18: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26376
26501
  let deferred0_0;
26377
26502
  let deferred0_1;
26378
26503
  try {
@@ -26386,7 +26511,7 @@ function __wbg_get_imports() {
26386
26511
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26387
26512
  }
26388
26513
  },
26389
- __wbg_upsertTransactionRecord_24154d95069d63bd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
26514
+ __wbg_upsertTransactionRecord_e3f85f1b9f19136d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
26390
26515
  let deferred0_0;
26391
26516
  let deferred0_1;
26392
26517
  try {
@@ -26407,7 +26532,7 @@ function __wbg_get_imports() {
26407
26532
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26408
26533
  }
26409
26534
  },
26410
- __wbg_upsertVaultAssets_e982e767b7e6001a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26535
+ __wbg_upsertVaultAssets_4ec8f231ecdc55e4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26411
26536
  let deferred0_0;
26412
26537
  let deferred0_1;
26413
26538
  try {
@@ -26438,12 +26563,12 @@ function __wbg_get_imports() {
26438
26563
  return ret;
26439
26564
  },
26440
26565
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
26441
- // Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26566
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 453, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26442
26567
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8d8dd5a992b1207e___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_8d8dd5a992b1207e___JsValue____Output_______, wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____);
26443
26568
  return ret;
26444
26569
  },
26445
26570
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
26446
- // Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [], shim_idx: 433, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26571
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 453, function: Function { arguments: [], shim_idx: 454, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26447
26572
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8d8dd5a992b1207e___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_8d8dd5a992b1207e___JsValue____Output_______, wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______);
26448
26573
  return ret;
26449
26574
  },
@@ -27390,7 +27515,7 @@ async function __wbg_init(module_or_path) {
27390
27515
 
27391
27516
  const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
27392
27517
 
27393
- var CargoCysp4vto = /*#__PURE__*/Object.freeze({
27518
+ var CargoL_lPKfww = /*#__PURE__*/Object.freeze({
27394
27519
  __proto__: null,
27395
27520
  Account: Account,
27396
27521
  AccountArray: AccountArray,
@@ -27417,6 +27542,7 @@ var CargoCysp4vto = /*#__PURE__*/Object.freeze({
27417
27542
  Address: Address,
27418
27543
  AdviceInputs: AdviceInputs,
27419
27544
  AdviceMap: AdviceMap,
27545
+ AssetCallbackFlag: AssetCallbackFlag,
27420
27546
  AssetVault: AssetVault,
27421
27547
  AuthFalcon512RpoMultisigConfig: AuthFalcon512RpoMultisigConfig,
27422
27548
  AuthScheme: AuthScheme,