@miden-sdk/miden-sdk 0.15.5 → 0.15.7

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 +28 -0
  2. package/dist/mt/{Cargo-C001gt8g.js → Cargo-CnGom-_z.js} +244 -86
  3. package/dist/mt/Cargo-CnGom-_z.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 +80 -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 +252 -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-C001gt8g-B8wBADUI.js → Cargo-CnGom-_z-X_3VwTbo.js} +244 -86
  14. package/dist/mt/workers/Cargo-CnGom-_z-X_3VwTbo.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 +245 -86
  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-CR1mzjgg.js → Cargo-DR9fiMbE.js} +253 -96
  22. package/dist/st/Cargo-DR9fiMbE.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 +80 -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 +252 -5
  29. package/dist/st/index.js.map +1 -1
  30. package/dist/st/wasm.js +1 -1
  31. package/dist/st/workers/{Cargo-CR1mzjgg-DeDmKA4W.js → Cargo-DR9fiMbE-C0G0clA_.js} +253 -96
  32. package/dist/st/workers/Cargo-DR9fiMbE-C0G0clA_.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 +254 -96
  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-C001gt8g.js.map +0 -1
  42. package/dist/mt/workers/Cargo-C001gt8g-B8wBADUI.js.map +0 -1
  43. package/dist/st/Cargo-CR1mzjgg.js.map +0 -1
  44. package/dist/st/workers/Cargo-CR1mzjgg-DeDmKA4W.js.map +0 -1
@@ -8264,7 +8264,9 @@ function indexes(...items) {
8264
8264
  return items.join(",");
8265
8265
  }
8266
8266
  /** V1 baseline schema. Extracted as a constant because once migrations are enabled, this must
8267
- * never be modified — all schema changes should go through new version blocks instead. */
8267
+ * never be modified — all schema changes should go through new version blocks instead.
8268
+ * Exported for migration tests, which seed a physical v1 database before opening it with the
8269
+ * current version chain. */
8268
8270
  const V1_STORES = {
8269
8271
  [Table.AccountCode]: indexes("root"),
8270
8272
  [Table.LatestAccountStorage]: indexes("[accountId+slotName]", "accountId"),
@@ -8319,11 +8321,12 @@ class MidenDatabase {
8319
8321
  this.dexie = new Dexie(network);
8320
8322
  // --- Schema versioning ---
8321
8323
  //
8322
- // NOTE: The migration system is not currently in use. The Miden network
8323
- // resets on every upgrade, so the database is nuked whenever the client
8324
- // version changes (see ensureClientVersion). Once the network stabilizes
8325
- // and data can be preserved across upgrades, the version-change nuke will
8326
- // be removed and migrations will take over.
8324
+ // NOTE: Migrations coexist with the client-version nuke: the database is
8325
+ // still nuked on major/minor client-version changes (network resets see
8326
+ // ensureClientVersion), while Dexie version blocks below handle schema and
8327
+ // data fixes for stores that survive patch upgrades. Once the network
8328
+ // stabilizes and data can be preserved across all upgrades, the
8329
+ // version-change nuke will be removed and migrations alone will take over.
8327
8330
  //
8328
8331
  // v1 is the baseline schema. To add a migration:
8329
8332
  // 1. Add a .version(N+1).stores({...}).upgrade(tx => {...}) block below.
@@ -8355,12 +8358,43 @@ class MidenDatabase {
8355
8358
  // Note: The `populate` hook (below the version blocks) only fires on
8356
8359
  // first database creation, NOT during upgrades.
8357
8360
  //
8358
- // To enable migrations (stop nuking the DB on version change):
8359
- // 1. Remove the nuke logic in ensureClientVersion (close/delete/open).
8360
- // Just persist the new version instead.
8361
- // 2. Freeze V1_STORES never modify it again.
8362
- // 3. Add version(2+) blocks below for all schema changes going forward.
8361
+ // Version blocks exist below, so V1_STORES is frozen never modify it;
8362
+ // add a new version block instead. To retire the nuke entirely (once data
8363
+ // must survive major/minor upgrades), remove the close/delete/open logic
8364
+ // in ensureClientVersion and just persist the new version there.
8363
8365
  this.dexie.version(1).stores(V1_STORES);
8366
+ // v2 (miden-client 0.15.4): prune note tags leaked by output-note
8367
+ // registration. Mirrors sqlite-store migration
8368
+ // `0002_prune_output_note_tags.sql`. Clients built against miden-client
8369
+ // < 0.15.4 registered a `Note`-sourced tag for every output note a
8370
+ // transaction created, but sync cleanup only removes tags of committed
8371
+ // *input* notes — leaking one `tags` row per created note. The client no
8372
+ // longer registers those tags; this upgrade deletes the rows already
8373
+ // leaked. A tag is kept while an inclusion-pending input note
8374
+ // (Expected = 0, Unverified = 1 — the mirror of
8375
+ // `InputNoteRecord::is_inclusion_pending`) still needs it.
8376
+ //
8377
+ // This data-only fix coexists with the version-change nuke above: the
8378
+ // nuke covers major/minor client upgrades (network resets), while this
8379
+ // upgrade runs for stores preserved across patch upgrades.
8380
+ this.dexie
8381
+ .version(2)
8382
+ .stores({})
8383
+ .upgrade(async (tx) => {
8384
+ const outputNoteCommitments = new Set(await tx.outputNotes.toCollection().primaryKeys());
8385
+ if (outputNoteCommitments.size === 0) {
8386
+ return;
8387
+ }
8388
+ const pendingInputNoteCommitments = new Set(await tx.inputNotes
8389
+ .where("stateDiscriminant")
8390
+ .anyOf([0, 1])
8391
+ .primaryKeys());
8392
+ await tx.tags
8393
+ .filter((tag) => !!tag.sourceNoteId &&
8394
+ outputNoteCommitments.has(tag.sourceNoteId) &&
8395
+ !pendingInputNoteCommitments.has(tag.sourceNoteId))
8396
+ .delete();
8397
+ });
8364
8398
  this.accountCodes = this.dexie.table(Table.AccountCode);
8365
8399
  this.latestAccountStorages = this.dexie.table(Table.LatestAccountStorage);
8366
8400
  this.historicalAccountStorages = this.dexie.table(Table.HistoricalAccountStorage);
@@ -10740,6 +10774,17 @@ class Account {
10740
10774
  const ret = wasm.account_isFaucet(this.__wbg_ptr);
10741
10775
  return ret !== 0;
10742
10776
  }
10777
+ /**
10778
+ * Returns true if this is a network account.
10779
+ *
10780
+ * A network account is a public account whose storage
10781
+ * carries the standardized network-account note-script allowlist slot.
10782
+ * @returns {boolean}
10783
+ */
10784
+ isNetworkAccount() {
10785
+ const ret = wasm.account_isNetworkAccount(this.__wbg_ptr);
10786
+ return ret !== 0;
10787
+ }
10743
10788
  /**
10744
10789
  * Returns true if the account has not yet been committed to the chain.
10745
10790
  * @returns {boolean}
@@ -10772,6 +10817,20 @@ class Account {
10772
10817
  const ret = wasm.account_isRegularAccount(this.__wbg_ptr);
10773
10818
  return ret !== 0;
10774
10819
  }
10820
+ /**
10821
+ * Returns the note-script roots this network account is allowed to
10822
+ * consume, or `undefined` if this is not a network account.
10823
+ * @returns {Word[] | undefined}
10824
+ */
10825
+ networkNoteAllowlist() {
10826
+ const ret = wasm.account_networkNoteAllowlist(this.__wbg_ptr);
10827
+ let v1;
10828
+ if (ret[0] !== 0) {
10829
+ v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
10830
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
10831
+ }
10832
+ return v1;
10833
+ }
10775
10834
  /**
10776
10835
  * Returns the account nonce, which is incremented on every state update.
10777
10836
  * @returns {Felt}
@@ -11151,6 +11210,42 @@ class AccountComponent {
11151
11210
  }
11152
11211
  return AccountComponent.__wrap(ret[0]);
11153
11212
  }
11213
+ /**
11214
+ * Builds the auth component for a network account.
11215
+ *
11216
+ * A network account is a public account carrying this component: its
11217
+ * note-script allowlist is the standardized storage slot the node's
11218
+ * network-transaction builder inspects to identify the account as a network
11219
+ * account and route matching notes to it for auto-consumption. The account
11220
+ * may only consume notes whose script root is in `allowedNoteScriptRoots`
11221
+ * (obtain a root via `NoteScript.root()`).
11222
+ *
11223
+ * `allowedTxScriptRoots` optionally allowlists transaction script roots
11224
+ * (from `TransactionScript.root()`) the account will execute. When omitted
11225
+ * or empty, the account permits no transaction scripts and deploys and
11226
+ * advances via scriptless transactions only. Allowlist a script root only
11227
+ * if the script's effect is safe for *every* possible input: a root pins
11228
+ * the script's code but not its arguments or advice inputs, which the
11229
+ * (arbitrary) transaction submitter controls.
11230
+ *
11231
+ * # Errors
11232
+ * Errors if `allowedNoteScriptRoots` is empty: a network account with no
11233
+ * allowlisted note scripts could never consume a note.
11234
+ * @param {Word[]} allowed_note_script_roots
11235
+ * @param {Word[] | null} [allowed_tx_script_roots]
11236
+ * @returns {AccountComponent}
11237
+ */
11238
+ static createNetworkAuth(allowed_note_script_roots, allowed_tx_script_roots) {
11239
+ const ptr0 = passArrayJsValueToWasm0(allowed_note_script_roots, wasm.__wbindgen_malloc);
11240
+ const len0 = WASM_VECTOR_LEN;
11241
+ var ptr1 = isLikeNone(allowed_tx_script_roots) ? 0 : passArrayJsValueToWasm0(allowed_tx_script_roots, wasm.__wbindgen_malloc);
11242
+ var len1 = WASM_VECTOR_LEN;
11243
+ const ret = wasm.accountcomponent_createNetworkAuth(ptr0, len0, ptr1, len1);
11244
+ if (ret[2]) {
11245
+ throw takeFromExternrefTable0(ret[1]);
11246
+ }
11247
+ return AccountComponent.__wrap(ret[0]);
11248
+ }
11154
11249
  /**
11155
11250
  * Creates an account component from a compiled library and storage slots.
11156
11251
  * @param {Library} library
@@ -12748,6 +12843,26 @@ class AdviceMap {
12748
12843
  }
12749
12844
  if (Symbol.dispose) AdviceMap.prototype[Symbol.dispose] = AdviceMap.prototype.free;
12750
12845
 
12846
+ /**
12847
+ * Whether a faucet's asset callbacks run when an asset is added to an account or a note.
12848
+ *
12849
+ * The flag is part of an asset's vault key, so two assets from the same faucet with different
12850
+ * flags occupy different vault slots and do not merge. Assets minted by a faucet that registers
12851
+ * transfer policies carry `Enabled`; everything else carries `Disabled`.
12852
+ * @enum {0 | 1}
12853
+ */
12854
+ const AssetCallbackFlag = Object.freeze({
12855
+ /**
12856
+ * The faucet's callbacks are not invoked for this asset. This is the default for an asset
12857
+ * built via the `FungibleAsset` constructor.
12858
+ */
12859
+ Disabled: 0, "0": "Disabled",
12860
+ /**
12861
+ * The faucet's callbacks are invoked before this asset is added to an account or a note.
12862
+ */
12863
+ Enabled: 1, "1": "Enabled",
12864
+ });
12865
+
12751
12866
  /**
12752
12867
  * A container for an unlimited number of assets.
12753
12868
  *
@@ -13339,7 +13454,7 @@ class CodeBuilder {
13339
13454
  * Given a Library Path, and a source code, turn it into a Library.
13340
13455
  * E.g. A path library can be `miden::my_contract`. When turned into a library,
13341
13456
  * this can be used from another script with an import statement, following the
13342
- * previous example: `use miden::my_contract'.
13457
+ * previous example: `use miden::my_contract`.
13343
13458
  * @param {string} library_path
13344
13459
  * @param {string} source_code
13345
13460
  * @returns {Library}
@@ -14490,6 +14605,14 @@ class FungibleAsset {
14490
14605
  const ret = wasm.fungibleasset_amount(this.__wbg_ptr);
14491
14606
  return BigInt.asUintN(64, ret);
14492
14607
  }
14608
+ /**
14609
+ * Returns whether this asset invokes its faucet's callbacks.
14610
+ * @returns {AssetCallbackFlag}
14611
+ */
14612
+ callbacks() {
14613
+ const ret = wasm.fungibleasset_callbacks(this.__wbg_ptr);
14614
+ return ret;
14615
+ }
14493
14616
  /**
14494
14617
  * Returns the faucet account that minted this asset.
14495
14618
  * @returns {AccountId}
@@ -14521,6 +14644,20 @@ class FungibleAsset {
14521
14644
  FungibleAssetFinalization.register(this, this.__wbg_ptr, this);
14522
14645
  return this;
14523
14646
  }
14647
+ /**
14648
+ * Returns a copy of this asset carrying the given callback flag.
14649
+ *
14650
+ * The flag is part of the asset's vault key, so it must match the flag the issuing faucet
14651
+ * applies — an asset built with the wrong flag addresses a different vault slot than the one
14652
+ * holding the balance. The constructor always produces `Disabled`; pass `Enabled` only for
14653
+ * assets from a faucet that registers transfer policies.
14654
+ * @param {AssetCallbackFlag} callbacks
14655
+ * @returns {FungibleAsset}
14656
+ */
14657
+ withCallbacks(callbacks) {
14658
+ const ret = wasm.fungibleasset_withCallbacks(this.__wbg_ptr, callbacks);
14659
+ return FungibleAsset.__wrap(ret);
14660
+ }
14524
14661
  }
14525
14662
  if (Symbol.dispose) FungibleAsset.prototype[Symbol.dispose] = FungibleAsset.prototype.free;
14526
14663
 
@@ -14896,6 +15033,16 @@ class InputNoteRecord {
14896
15033
  const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
14897
15034
  return ret !== 0;
14898
15035
  }
15036
+ /**
15037
+ * Returns true while the note's on-chain inclusion is still unsettled
15038
+ * (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
15039
+ * advance this record.
15040
+ * @returns {boolean}
15041
+ */
15042
+ isInclusionPending() {
15043
+ const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
15044
+ return ret !== 0;
15045
+ }
14899
15046
  /**
14900
15047
  * Returns true if the note is currently being processed.
14901
15048
  * @returns {boolean}
@@ -18907,6 +19054,16 @@ class OutputNoteRecord {
18907
19054
  const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
18908
19055
  return ret !== 0;
18909
19056
  }
19057
+ /**
19058
+ * Returns true while the note's on-chain inclusion is still unsettled
19059
+ * (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
19060
+ * that can advance this record.
19061
+ * @returns {boolean}
19062
+ */
19063
+ isInclusionPending() {
19064
+ const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
19065
+ return ret !== 0;
19066
+ }
18910
19067
  /**
18911
19068
  * Returns the note metadata.
18912
19069
  * @returns {NoteMetadata}
@@ -24143,7 +24300,7 @@ function __wbg_get_imports() {
24143
24300
  const ret = AccountStorage.__wrap(arg0);
24144
24301
  return ret;
24145
24302
  },
24146
- __wbg_addNoteTag_edac9aa5d53fd295: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24303
+ __wbg_addNoteTag_94ee2f838ec544dc: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24147
24304
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24148
24305
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24149
24306
  let v1;
@@ -24171,25 +24328,25 @@ function __wbg_get_imports() {
24171
24328
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
24172
24329
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
24173
24330
  }, arguments); },
24174
- __wbg_applyFullAccountState_efa7cec371ac287f: function(arg0, arg1, arg2) {
24331
+ __wbg_applyFullAccountState_43caa7474baffc0b: function(arg0, arg1, arg2) {
24175
24332
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
24176
24333
  return ret;
24177
24334
  },
24178
- __wbg_applySettingsMutations_8eb27567fe3a997b: function(arg0, arg1, arg2, arg3) {
24335
+ __wbg_applySettingsMutations_5de1d94023be9157: function(arg0, arg1, arg2, arg3) {
24179
24336
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24180
24337
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24181
24338
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
24182
24339
  return ret;
24183
24340
  },
24184
- __wbg_applyStateSync_ce27298bc75b7b18: function(arg0, arg1, arg2) {
24341
+ __wbg_applyStateSync_189438332d96496e: function(arg0, arg1, arg2) {
24185
24342
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
24186
24343
  return ret;
24187
24344
  },
24188
- __wbg_applyTransactionBatch_b47dd46bbb97dd34: function(arg0, arg1, arg2) {
24345
+ __wbg_applyTransactionBatch_c300ed1fee34127a: function(arg0, arg1, arg2) {
24189
24346
  const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
24190
24347
  return ret;
24191
24348
  },
24192
- __wbg_applyTransactionDelta_9f7f77d353e0bd2d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
24349
+ __wbg_applyTransactionDelta_88c7fcff9175e58e: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
24193
24350
  let deferred0_0;
24194
24351
  let deferred0_1;
24195
24352
  let deferred1_0;
@@ -24328,7 +24485,7 @@ function __wbg_get_imports() {
24328
24485
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24329
24486
  }
24330
24487
  },
24331
- __wbg_exportStore_9f8eb55269435a47: function(arg0, arg1) {
24488
+ __wbg_exportStore_cf4d695fbf6de143: function(arg0, arg1) {
24332
24489
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
24333
24490
  return ret;
24334
24491
  },
@@ -24360,7 +24517,7 @@ function __wbg_get_imports() {
24360
24517
  const ret = FetchedNote.__wrap(arg0);
24361
24518
  return ret;
24362
24519
  },
24363
- __wbg_forceImportStore_fd9750b9b72150d8: function(arg0, arg1, arg2) {
24520
+ __wbg_forceImportStore_c50115d19ee606c7: function(arg0, arg1, arg2) {
24364
24521
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
24365
24522
  return ret;
24366
24523
  },
@@ -24384,7 +24541,7 @@ function __wbg_get_imports() {
24384
24541
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
24385
24542
  return ret;
24386
24543
  },
24387
- __wbg_getAccountAddresses_53c75fc6f0afab26: function(arg0, arg1, arg2, arg3) {
24544
+ __wbg_getAccountAddresses_cbd727101b08a9f6: function(arg0, arg1, arg2, arg3) {
24388
24545
  let deferred0_0;
24389
24546
  let deferred0_1;
24390
24547
  try {
@@ -24396,7 +24553,7 @@ function __wbg_get_imports() {
24396
24553
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24397
24554
  }
24398
24555
  },
24399
- __wbg_getAccountAuthByPubKeyCommitment_45e209a5e814d994: function(arg0, arg1, arg2, arg3) {
24556
+ __wbg_getAccountAuthByPubKeyCommitment_bb937a852fc252bc: function(arg0, arg1, arg2, arg3) {
24400
24557
  let deferred0_0;
24401
24558
  let deferred0_1;
24402
24559
  try {
@@ -24408,7 +24565,7 @@ function __wbg_get_imports() {
24408
24565
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24409
24566
  }
24410
24567
  },
24411
- __wbg_getAccountCode_e79bed526fe5ef58: function(arg0, arg1, arg2, arg3) {
24568
+ __wbg_getAccountCode_3cc0ae7a622f54fc: function(arg0, arg1, arg2, arg3) {
24412
24569
  let deferred0_0;
24413
24570
  let deferred0_1;
24414
24571
  try {
@@ -24420,7 +24577,7 @@ function __wbg_get_imports() {
24420
24577
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24421
24578
  }
24422
24579
  },
24423
- __wbg_getAccountHeaderByCommitment_6f5840b801ef9054: function(arg0, arg1, arg2, arg3) {
24580
+ __wbg_getAccountHeaderByCommitment_9944282b839bf9b6: function(arg0, arg1, arg2, arg3) {
24424
24581
  let deferred0_0;
24425
24582
  let deferred0_1;
24426
24583
  try {
@@ -24432,7 +24589,7 @@ function __wbg_get_imports() {
24432
24589
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24433
24590
  }
24434
24591
  },
24435
- __wbg_getAccountHeader_5f4fc27de3d1d2be: function(arg0, arg1, arg2, arg3) {
24592
+ __wbg_getAccountHeader_84fb6f83a11e9cea: function(arg0, arg1, arg2, arg3) {
24436
24593
  let deferred0_0;
24437
24594
  let deferred0_1;
24438
24595
  try {
@@ -24444,7 +24601,7 @@ function __wbg_get_imports() {
24444
24601
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24445
24602
  }
24446
24603
  },
24447
- __wbg_getAccountIdByKeyCommitment_446e9389ad387c83: function(arg0, arg1, arg2, arg3) {
24604
+ __wbg_getAccountIdByKeyCommitment_f993328b4b855b21: function(arg0, arg1, arg2, arg3) {
24448
24605
  let deferred0_0;
24449
24606
  let deferred0_1;
24450
24607
  try {
@@ -24456,11 +24613,11 @@ function __wbg_get_imports() {
24456
24613
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24457
24614
  }
24458
24615
  },
24459
- __wbg_getAccountIds_1adc911b0d8d0f6e: function(arg0, arg1) {
24616
+ __wbg_getAccountIds_e80dceb4cc97875f: function(arg0, arg1) {
24460
24617
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
24461
24618
  return ret;
24462
24619
  },
24463
- __wbg_getAccountStorageMaps_3767caa8d97db0a1: function(arg0, arg1, arg2, arg3) {
24620
+ __wbg_getAccountStorageMaps_e36e581a33dc958a: function(arg0, arg1, arg2, arg3) {
24464
24621
  let deferred0_0;
24465
24622
  let deferred0_1;
24466
24623
  try {
@@ -24472,7 +24629,7 @@ function __wbg_get_imports() {
24472
24629
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24473
24630
  }
24474
24631
  },
24475
- __wbg_getAccountStorage_07aa2760664b2bec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24632
+ __wbg_getAccountStorage_50de137ac49bdf17: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24476
24633
  let deferred0_0;
24477
24634
  let deferred0_1;
24478
24635
  try {
@@ -24486,7 +24643,7 @@ function __wbg_get_imports() {
24486
24643
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24487
24644
  }
24488
24645
  },
24489
- __wbg_getAccountVaultAssets_2f19d55ae4ed7c0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24646
+ __wbg_getAccountVaultAssets_30c74124867dbf56: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24490
24647
  let deferred0_0;
24491
24648
  let deferred0_1;
24492
24649
  try {
@@ -24500,27 +24657,27 @@ function __wbg_get_imports() {
24500
24657
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24501
24658
  }
24502
24659
  },
24503
- __wbg_getAllAccountHeaders_8ed6029ae1742504: function(arg0, arg1) {
24660
+ __wbg_getAllAccountHeaders_b3e3ae880833a8cc: function(arg0, arg1) {
24504
24661
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
24505
24662
  return ret;
24506
24663
  },
24507
- __wbg_getBlockHeaders_06f7b42ae978e531: function(arg0, arg1, arg2, arg3) {
24664
+ __wbg_getBlockHeaders_8fa268d7fb3d3c28: function(arg0, arg1, arg2, arg3) {
24508
24665
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24509
24666
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24510
24667
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
24511
24668
  return ret;
24512
24669
  },
24513
- __wbg_getCurrentBlockchainPeaks_a04a5ec6cd7f88af: function(arg0, arg1) {
24670
+ __wbg_getCurrentBlockchainPeaks_ea97e8dd83a3db2f: function(arg0, arg1) {
24514
24671
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
24515
24672
  return ret;
24516
24673
  },
24517
- __wbg_getForeignAccountCode_de89bd207484f570: function(arg0, arg1, arg2, arg3) {
24674
+ __wbg_getForeignAccountCode_7de2117da915f4be: function(arg0, arg1, arg2, arg3) {
24518
24675
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24519
24676
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24520
24677
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
24521
24678
  return ret;
24522
24679
  },
24523
- __wbg_getInputNoteByOffset_9cfe153b53135065: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24680
+ __wbg_getInputNoteByOffset_1cd4bd9db2e38694: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24524
24681
  let deferred1_0;
24525
24682
  let deferred1_1;
24526
24683
  try {
@@ -24534,31 +24691,31 @@ function __wbg_get_imports() {
24534
24691
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24535
24692
  }
24536
24693
  },
24537
- __wbg_getInputNotesFromDetailsCommitments_4e49a566390c4337: function(arg0, arg1, arg2, arg3) {
24694
+ __wbg_getInputNotesFromDetailsCommitments_334d006c0e228205: function(arg0, arg1, arg2, arg3) {
24538
24695
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24539
24696
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24540
24697
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24541
24698
  return ret;
24542
24699
  },
24543
- __wbg_getInputNotesFromIds_f506cabce8dfdec7: function(arg0, arg1, arg2, arg3) {
24700
+ __wbg_getInputNotesFromIds_bbaec98ba444d49e: function(arg0, arg1, arg2, arg3) {
24544
24701
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24545
24702
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24546
24703
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24547
24704
  return ret;
24548
24705
  },
24549
- __wbg_getInputNotesFromNullifiers_25b0f807fd619f35: function(arg0, arg1, arg2, arg3) {
24706
+ __wbg_getInputNotesFromNullifiers_dde5b06918045f75: function(arg0, arg1, arg2, arg3) {
24550
24707
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24551
24708
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24552
24709
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24553
24710
  return ret;
24554
24711
  },
24555
- __wbg_getInputNotes_d90894b55f0432de: function(arg0, arg1, arg2, arg3) {
24712
+ __wbg_getInputNotes_02d3daccecb4c763: function(arg0, arg1, arg2, arg3) {
24556
24713
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24557
24714
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24558
24715
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
24559
24716
  return ret;
24560
24717
  },
24561
- __wbg_getKeyCommitmentsByAccountId_c53d31eba565285f: function(arg0, arg1, arg2, arg3) {
24718
+ __wbg_getKeyCommitmentsByAccountId_de5d140392884430: function(arg0, arg1, arg2, arg3) {
24562
24719
  let deferred0_0;
24563
24720
  let deferred0_1;
24564
24721
  try {
@@ -24570,7 +24727,7 @@ function __wbg_get_imports() {
24570
24727
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24571
24728
  }
24572
24729
  },
24573
- __wbg_getNoteScript_a74641b7b9a2b11a: function(arg0, arg1, arg2, arg3) {
24730
+ __wbg_getNoteScript_bc2ab9b3b789361a: function(arg0, arg1, arg2, arg3) {
24574
24731
  let deferred0_0;
24575
24732
  let deferred0_1;
24576
24733
  try {
@@ -24582,39 +24739,39 @@ function __wbg_get_imports() {
24582
24739
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24583
24740
  }
24584
24741
  },
24585
- __wbg_getNoteTags_6351357c7199175a: function(arg0, arg1) {
24742
+ __wbg_getNoteTags_34a8fb7ffdde9e33: function(arg0, arg1) {
24586
24743
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
24587
24744
  return ret;
24588
24745
  },
24589
- __wbg_getOutputNotesFromDetailsCommitments_a4550ac8ebbd9770: function(arg0, arg1, arg2, arg3) {
24746
+ __wbg_getOutputNotesFromDetailsCommitments_6e202d70d207d37f: function(arg0, arg1, arg2, arg3) {
24590
24747
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24591
24748
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24592
24749
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24593
24750
  return ret;
24594
24751
  },
24595
- __wbg_getOutputNotesFromIds_d72b067679ade695: function(arg0, arg1, arg2, arg3) {
24752
+ __wbg_getOutputNotesFromIds_2b07a4ef2fa3fdd9: function(arg0, arg1, arg2, arg3) {
24596
24753
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24597
24754
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24598
24755
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24599
24756
  return ret;
24600
24757
  },
24601
- __wbg_getOutputNotesFromNullifiers_17b258e816c39ed0: function(arg0, arg1, arg2, arg3) {
24758
+ __wbg_getOutputNotesFromNullifiers_f59492590ecad477: function(arg0, arg1, arg2, arg3) {
24602
24759
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24603
24760
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24604
24761
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24605
24762
  return ret;
24606
24763
  },
24607
- __wbg_getOutputNotes_1473c985e0449439: function(arg0, arg1, arg2, arg3) {
24764
+ __wbg_getOutputNotes_7ddd237b643a22e2: function(arg0, arg1, arg2, arg3) {
24608
24765
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24609
24766
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24610
24767
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
24611
24768
  return ret;
24612
24769
  },
24613
- __wbg_getPartialBlockchainNodesAll_e17f47fa0b31d95e: function(arg0, arg1) {
24770
+ __wbg_getPartialBlockchainNodesAll_e2e8c0d62a978ef1: function(arg0, arg1) {
24614
24771
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
24615
24772
  return ret;
24616
24773
  },
24617
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_43f6babd6387a967: function(arg0, arg1, arg2, arg3) {
24774
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_2f8e8d802df6ede2: function(arg0, arg1, arg2, arg3) {
24618
24775
  let deferred0_0;
24619
24776
  let deferred0_1;
24620
24777
  try {
@@ -24626,7 +24783,7 @@ function __wbg_get_imports() {
24626
24783
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24627
24784
  }
24628
24785
  },
24629
- __wbg_getPartialBlockchainNodes_753ab364036ee659: function(arg0, arg1, arg2, arg3) {
24786
+ __wbg_getPartialBlockchainNodes_4505db840ba96409: function(arg0, arg1, arg2, arg3) {
24630
24787
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24631
24788
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24632
24789
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -24639,7 +24796,7 @@ function __wbg_get_imports() {
24639
24796
  const ret = arg0.getReader();
24640
24797
  return ret;
24641
24798
  }, arguments); },
24642
- __wbg_getSetting_6d181107da0b79d8: function(arg0, arg1, arg2, arg3) {
24799
+ __wbg_getSetting_62039934dd52148a: function(arg0, arg1, arg2, arg3) {
24643
24800
  let deferred0_0;
24644
24801
  let deferred0_1;
24645
24802
  try {
@@ -24651,7 +24808,7 @@ function __wbg_get_imports() {
24651
24808
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24652
24809
  }
24653
24810
  },
24654
- __wbg_getSyncHeight_dc5e0c277d3350d0: function(arg0, arg1) {
24811
+ __wbg_getSyncHeight_1c355e9af8a6c5c1: function(arg0, arg1) {
24655
24812
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
24656
24813
  return ret;
24657
24814
  },
@@ -24659,15 +24816,15 @@ function __wbg_get_imports() {
24659
24816
  const ret = arg0.getTime();
24660
24817
  return ret;
24661
24818
  },
24662
- __wbg_getTrackedBlockHeaderNumbers_897214e329b5ea0c: function(arg0, arg1) {
24819
+ __wbg_getTrackedBlockHeaderNumbers_1127c2c0de9e8f2d: function(arg0, arg1) {
24663
24820
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
24664
24821
  return ret;
24665
24822
  },
24666
- __wbg_getTrackedBlockHeaders_dcef57272c508785: function(arg0, arg1) {
24823
+ __wbg_getTrackedBlockHeaders_0c9acbd5575e41f1: function(arg0, arg1) {
24667
24824
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
24668
24825
  return ret;
24669
24826
  },
24670
- __wbg_getTransactions_47df1ec1a429e0f9: function(arg0, arg1, arg2, arg3) {
24827
+ __wbg_getTransactions_71b6f120136d4406: function(arg0, arg1, arg2, arg3) {
24671
24828
  let deferred0_0;
24672
24829
  let deferred0_1;
24673
24830
  try {
@@ -24679,7 +24836,7 @@ function __wbg_get_imports() {
24679
24836
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24680
24837
  }
24681
24838
  },
24682
- __wbg_getUnspentInputNoteNullifiers_a41c87a9f48d5fdf: function(arg0, arg1) {
24839
+ __wbg_getUnspentInputNoteNullifiers_ac153627e18848ab: function(arg0, arg1) {
24683
24840
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
24684
24841
  return ret;
24685
24842
  },
@@ -24723,7 +24880,7 @@ function __wbg_get_imports() {
24723
24880
  const ret = InputNoteRecord.__wrap(arg0);
24724
24881
  return ret;
24725
24882
  },
24726
- __wbg_insertAccountAddress_1e4667af2c92224c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24883
+ __wbg_insertAccountAddress_15069fe099e1619e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24727
24884
  let deferred0_0;
24728
24885
  let deferred0_1;
24729
24886
  try {
@@ -24737,7 +24894,7 @@ function __wbg_get_imports() {
24737
24894
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24738
24895
  }
24739
24896
  },
24740
- __wbg_insertAccountAuth_d471abfc7c33077a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24897
+ __wbg_insertAccountAuth_d0cb9c2601ea7324: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24741
24898
  let deferred0_0;
24742
24899
  let deferred0_1;
24743
24900
  let deferred1_0;
@@ -24754,7 +24911,7 @@ function __wbg_get_imports() {
24754
24911
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24755
24912
  }
24756
24913
  },
24757
- __wbg_insertAccountKeyMapping_b4e7262fd4dc4273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24914
+ __wbg_insertAccountKeyMapping_995e470bad5ead0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24758
24915
  let deferred0_0;
24759
24916
  let deferred0_1;
24760
24917
  let deferred1_0;
@@ -24771,13 +24928,13 @@ function __wbg_get_imports() {
24771
24928
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24772
24929
  }
24773
24930
  },
24774
- __wbg_insertBlockHeader_282dd85fef7536b7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24931
+ __wbg_insertBlockHeader_e5a6e2ded97f2403: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24775
24932
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
24776
24933
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
24777
24934
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
24778
24935
  return ret;
24779
24936
  },
24780
- __wbg_insertPartialBlockchainNodes_574aa9138d3a0e84: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24937
+ __wbg_insertPartialBlockchainNodes_d6d5d926855e4d21: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24781
24938
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24782
24939
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24783
24940
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24785,7 +24942,7 @@ function __wbg_get_imports() {
24785
24942
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
24786
24943
  return ret;
24787
24944
  },
24788
- __wbg_insertSetting_eec786c0b0995552: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24945
+ __wbg_insertSetting_0b89216c93defa8f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24789
24946
  let deferred0_0;
24790
24947
  let deferred0_1;
24791
24948
  try {
@@ -24799,7 +24956,7 @@ function __wbg_get_imports() {
24799
24956
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24800
24957
  }
24801
24958
  },
24802
- __wbg_insertTransactionScript_881ef7ad3becb554: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24959
+ __wbg_insertTransactionScript_25a8761c16b219bb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24803
24960
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24804
24961
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24805
24962
  let v1;
@@ -24896,11 +25053,11 @@ function __wbg_get_imports() {
24896
25053
  const ret = arg0.length;
24897
25054
  return ret;
24898
25055
  },
24899
- __wbg_listSettingKeys_23baa5fe89fe0300: function(arg0, arg1) {
25056
+ __wbg_listSettingKeys_2b136b1269935560: function(arg0, arg1) {
24900
25057
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
24901
25058
  return ret;
24902
25059
  },
24903
- __wbg_lockAccount_f83587d5772bcc3c: function(arg0, arg1, arg2, arg3) {
25060
+ __wbg_lockAccount_77845432e7766df6: function(arg0, arg1, arg2, arg3) {
24904
25061
  let deferred0_0;
24905
25062
  let deferred0_1;
24906
25063
  try {
@@ -24988,7 +25145,7 @@ function __wbg_get_imports() {
24988
25145
  const a = state0.a;
24989
25146
  state0.a = 0;
24990
25147
  try {
24991
- return wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(a, state0.b, arg0, arg1);
25148
+ return wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(a, state0.b, arg0, arg1);
24992
25149
  } finally {
24993
25150
  state0.a = a;
24994
25151
  }
@@ -25103,7 +25260,7 @@ function __wbg_get_imports() {
25103
25260
  const ret = NoteTag.__unwrap(arg0);
25104
25261
  return ret;
25105
25262
  },
25106
- __wbg_openDatabase_dade7696599cc268: function(arg0, arg1, arg2, arg3) {
25263
+ __wbg_openDatabase_2f30006b5f901ff6: function(arg0, arg1, arg2, arg3) {
25107
25264
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
25108
25265
  return ret;
25109
25266
  },
@@ -25134,7 +25291,7 @@ function __wbg_get_imports() {
25134
25291
  const ret = ProvenTransaction.__wrap(arg0);
25135
25292
  return ret;
25136
25293
  },
25137
- __wbg_pruneAccountHistory_4b805f8ee1a03061: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25294
+ __wbg_pruneAccountHistory_f92187e012bea002: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25138
25295
  let deferred0_0;
25139
25296
  let deferred0_1;
25140
25297
  let deferred1_0;
@@ -25151,7 +25308,7 @@ function __wbg_get_imports() {
25151
25308
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25152
25309
  }
25153
25310
  },
25154
- __wbg_pruneIrrelevantBlocks_8bd4b5b8b6e87516: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25311
+ __wbg_pruneIrrelevantBlocks_802f17c51c071490: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25155
25312
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
25156
25313
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25157
25314
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25181,13 +25338,13 @@ function __wbg_get_imports() {
25181
25338
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
25182
25339
  arg0.releaseLock();
25183
25340
  },
25184
- __wbg_removeAccountAddress_a5929a2b59fde92e: function(arg0, arg1, arg2, arg3) {
25341
+ __wbg_removeAccountAddress_26bf46414ef4d36b: function(arg0, arg1, arg2, arg3) {
25185
25342
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25186
25343
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25187
25344
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
25188
25345
  return ret;
25189
25346
  },
25190
- __wbg_removeAccountAuth_7fd68774c7763092: function(arg0, arg1, arg2, arg3) {
25347
+ __wbg_removeAccountAuth_eee531cc8fc556ab: function(arg0, arg1, arg2, arg3) {
25191
25348
  let deferred0_0;
25192
25349
  let deferred0_1;
25193
25350
  try {
@@ -25199,7 +25356,7 @@ function __wbg_get_imports() {
25199
25356
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25200
25357
  }
25201
25358
  },
25202
- __wbg_removeAllMappingsForKey_f33d5693234e701e: function(arg0, arg1, arg2, arg3) {
25359
+ __wbg_removeAllMappingsForKey_bb2ce4d992b13353: function(arg0, arg1, arg2, arg3) {
25203
25360
  let deferred0_0;
25204
25361
  let deferred0_1;
25205
25362
  try {
@@ -25211,7 +25368,7 @@ function __wbg_get_imports() {
25211
25368
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25212
25369
  }
25213
25370
  },
25214
- __wbg_removeNoteTag_04d1db037df7f461: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25371
+ __wbg_removeNoteTag_ce18a2071a471486: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25215
25372
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25216
25373
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25217
25374
  let v1;
@@ -25232,7 +25389,7 @@ function __wbg_get_imports() {
25232
25389
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
25233
25390
  return ret;
25234
25391
  },
25235
- __wbg_removeSetting_a53a2a6a735eb18c: function(arg0, arg1, arg2, arg3) {
25392
+ __wbg_removeSetting_a6764e1ec62f8c0f: function(arg0, arg1, arg2, arg3) {
25236
25393
  let deferred0_0;
25237
25394
  let deferred0_1;
25238
25395
  try {
@@ -25435,13 +25592,13 @@ function __wbg_get_imports() {
25435
25592
  const ret = TransactionSummary.__wrap(arg0);
25436
25593
  return ret;
25437
25594
  },
25438
- __wbg_undoAccountStates_cb4dbf5c6f4d06e9: function(arg0, arg1, arg2, arg3) {
25595
+ __wbg_undoAccountStates_829a6daf4a392818: function(arg0, arg1, arg2, arg3) {
25439
25596
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25440
25597
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25441
25598
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
25442
25599
  return ret;
25443
25600
  },
25444
- __wbg_upsertAccountCode_796427764c9198f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25601
+ __wbg_upsertAccountCode_f24cee98a5bbbfe5: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25445
25602
  let deferred0_0;
25446
25603
  let deferred0_1;
25447
25604
  try {
@@ -25455,7 +25612,7 @@ function __wbg_get_imports() {
25455
25612
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25456
25613
  }
25457
25614
  },
25458
- __wbg_upsertAccountRecord_0a876f8ec19f47bb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25615
+ __wbg_upsertAccountRecord_f616812a7dd3d5a1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25459
25616
  let deferred0_0;
25460
25617
  let deferred0_1;
25461
25618
  let deferred1_0;
@@ -25497,7 +25654,7 @@ function __wbg_get_imports() {
25497
25654
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
25498
25655
  }
25499
25656
  },
25500
- __wbg_upsertAccountStorage_8bde852e4a19d8df: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25657
+ __wbg_upsertAccountStorage_4f3a4494f26975fb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25501
25658
  let deferred0_0;
25502
25659
  let deferred0_1;
25503
25660
  try {
@@ -25511,7 +25668,7 @@ function __wbg_get_imports() {
25511
25668
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25512
25669
  }
25513
25670
  },
25514
- __wbg_upsertForeignAccountCode_e1fba6198defc496: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25671
+ __wbg_upsertForeignAccountCode_6595b4d97e610669: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25515
25672
  let deferred0_0;
25516
25673
  let deferred0_1;
25517
25674
  let deferred2_0;
@@ -25530,7 +25687,7 @@ function __wbg_get_imports() {
25530
25687
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
25531
25688
  }
25532
25689
  },
25533
- __wbg_upsertInputNote_4aa6814b400ee6a6: 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) {
25690
+ __wbg_upsertInputNote_850c7540f297f4d4: 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) {
25534
25691
  let deferred0_0;
25535
25692
  let deferred0_1;
25536
25693
  let deferred6_0;
@@ -25579,7 +25736,7 @@ function __wbg_get_imports() {
25579
25736
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
25580
25737
  }
25581
25738
  },
25582
- __wbg_upsertNoteScript_03dd7b732ab40d80: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25739
+ __wbg_upsertNoteScript_d946217575ba5025: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25583
25740
  let deferred0_0;
25584
25741
  let deferred0_1;
25585
25742
  try {
@@ -25593,7 +25750,7 @@ function __wbg_get_imports() {
25593
25750
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25594
25751
  }
25595
25752
  },
25596
- __wbg_upsertOutputNote_6625bc60ec9e00c7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25753
+ __wbg_upsertOutputNote_907da49377d56a48: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25597
25754
  let deferred0_0;
25598
25755
  let deferred0_1;
25599
25756
  let deferred1_0;
@@ -25628,7 +25785,7 @@ function __wbg_get_imports() {
25628
25785
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
25629
25786
  }
25630
25787
  },
25631
- __wbg_upsertStorageMapEntries_03e99b5c83445616: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25788
+ __wbg_upsertStorageMapEntries_6bf2d15ad885daf0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25632
25789
  let deferred0_0;
25633
25790
  let deferred0_1;
25634
25791
  try {
@@ -25642,7 +25799,7 @@ function __wbg_get_imports() {
25642
25799
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25643
25800
  }
25644
25801
  },
25645
- __wbg_upsertTransactionRecord_a5888dce53039ce9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25802
+ __wbg_upsertTransactionRecord_0b4dbeb561124c59: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25646
25803
  let deferred0_0;
25647
25804
  let deferred0_1;
25648
25805
  try {
@@ -25663,7 +25820,7 @@ function __wbg_get_imports() {
25663
25820
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25664
25821
  }
25665
25822
  },
25666
- __wbg_upsertVaultAssets_c9a6f9534551a55b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25823
+ __wbg_upsertVaultAssets_55f07579c9e0113e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25667
25824
  let deferred0_0;
25668
25825
  let deferred0_1;
25669
25826
  try {
@@ -25694,13 +25851,13 @@ function __wbg_get_imports() {
25694
25851
  return ret;
25695
25852
  },
25696
25853
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
25697
- // Cast intrinsic for `Closure(Closure { dtor_idx: 444, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25698
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788);
25854
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 427, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25855
+ 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_____);
25699
25856
  return ret;
25700
25857
  },
25701
25858
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
25702
- // Cast intrinsic for `Closure(Closure { dtor_idx: 444, function: Function { arguments: [], shim_idx: 445, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25703
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9);
25859
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 427, function: Function { arguments: [], shim_idx: 428, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25860
+ 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______);
25704
25861
  return ret;
25705
25862
  },
25706
25863
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -25816,16 +25973,16 @@ function __wbg_get_imports() {
25816
25973
  };
25817
25974
  }
25818
25975
 
25819
- function wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9(arg0, arg1) {
25820
- wasm.wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9(arg0, arg1);
25976
+ function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1) {
25977
+ wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1);
25821
25978
  }
25822
25979
 
25823
- function wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788(arg0, arg1, arg2) {
25824
- wasm.wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788(arg0, arg1, arg2);
25980
+ function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2) {
25981
+ wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2);
25825
25982
  }
25826
25983
 
25827
- function wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(arg0, arg1, arg2, arg3) {
25828
- wasm.wasm_bindgen__convert__closures_____invoke__h21e75c0ad5fdcd28(arg0, arg1, arg2, arg3);
25984
+ function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3) {
25985
+ wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3);
25829
25986
  }
25830
25987
 
25831
25988
 
@@ -26646,5 +26803,5 @@ async function __wbg_init(module_or_path) {
26646
26803
 
26647
26804
  const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
26648
26805
 
26649
- export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, EthAddress, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkAccountTarget, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, module$1 as __wasm_url, __wbg_init, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging };
26650
- //# sourceMappingURL=Cargo-CR1mzjgg-DeDmKA4W.js.map
26806
+ export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetCallbackFlag, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, EthAddress, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkAccountTarget, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, module$1 as __wasm_url, __wbg_init, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging };
26807
+ //# sourceMappingURL=Cargo-DR9fiMbE-C0G0clA_.js.map