@miden-sdk/miden-sdk 0.15.4 → 0.15.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +16 -0
  2. package/dist/mt/{Cargo-DjVnfWKi.js → Cargo-C001gt8g.js} +237 -76
  3. package/dist/mt/Cargo-C001gt8g.js.map +1 -0
  4. package/dist/mt/api-types.d.ts +59 -0
  5. package/dist/mt/assets/miden_client_web.wasm +0 -0
  6. package/dist/mt/crates/miden_client_web.d.ts +60 -0
  7. package/dist/mt/docs-entry.d.ts +1 -0
  8. package/dist/mt/eager.js +1 -1
  9. package/dist/mt/index.js +92 -1
  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-DjVnfWKi-DvLbB_Zb.js → Cargo-C001gt8g-B8wBADUI.js} +237 -76
  14. package/dist/mt/workers/Cargo-C001gt8g-B8wBADUI.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 +238 -76
  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-Cwpuvlbc.js → Cargo-CR1mzjgg.js} +235 -75
  22. package/dist/st/Cargo-CR1mzjgg.js.map +1 -0
  23. package/dist/st/api-types.d.ts +59 -0
  24. package/dist/st/assets/miden_client_web.wasm +0 -0
  25. package/dist/st/crates/miden_client_web.d.ts +60 -0
  26. package/dist/st/docs-entry.d.ts +1 -0
  27. package/dist/st/eager.js +1 -1
  28. package/dist/st/index.js +92 -1
  29. package/dist/st/index.js.map +1 -1
  30. package/dist/st/wasm.js +1 -1
  31. package/dist/st/workers/{Cargo-Cwpuvlbc-B0V_MEMU.js → Cargo-CR1mzjgg-DeDmKA4W.js} +235 -75
  32. package/dist/st/workers/Cargo-CR1mzjgg-DeDmKA4W.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 +236 -75
  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 +3 -0
  39. package/js/resources/transactions.js +91 -0
  40. package/js/standalone.js +61 -0
  41. package/package.json +4 -4
  42. package/dist/mt/Cargo-DjVnfWKi.js.map +0 -1
  43. package/dist/mt/workers/Cargo-DjVnfWKi-DvLbB_Zb.js.map +0 -1
  44. package/dist/st/Cargo-Cwpuvlbc.js.map +0 -1
  45. package/dist/st/workers/Cargo-Cwpuvlbc-B0V_MEMU.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 CargoCwpuvlbc; });
8
+ wasmModule = await Promise.resolve().then(function () { return CargoCR1mzjgg; });
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
@@ -16811,6 +16811,97 @@ class MerklePath {
16811
16811
  }
16812
16812
  if (Symbol.dispose) MerklePath.prototype[Symbol.dispose] = MerklePath.prototype.free;
16813
16813
 
16814
+ /**
16815
+ * Targets a note at a public network account so the operator auto-consumes it.
16816
+ *
16817
+ * A note is a network note when it is `Public` and carries a valid
16818
+ * `NetworkAccountTarget` attachment (see `Note.isNetworkNote`).
16819
+ */
16820
+ class NetworkAccountTarget {
16821
+ static __wrap(ptr) {
16822
+ ptr = ptr >>> 0;
16823
+ const obj = Object.create(NetworkAccountTarget.prototype);
16824
+ obj.__wbg_ptr = ptr;
16825
+ NetworkAccountTargetFinalization.register(obj, obj.__wbg_ptr, obj);
16826
+ return obj;
16827
+ }
16828
+ __destroy_into_raw() {
16829
+ const ptr = this.__wbg_ptr;
16830
+ this.__wbg_ptr = 0;
16831
+ NetworkAccountTargetFinalization.unregister(this);
16832
+ return ptr;
16833
+ }
16834
+ free() {
16835
+ const ptr = this.__destroy_into_raw();
16836
+ wasm.__wbg_networkaccounttarget_free(ptr, 0);
16837
+ }
16838
+ /**
16839
+ * Returns the note execution hint.
16840
+ * @returns {NoteExecutionHint}
16841
+ */
16842
+ executionHint() {
16843
+ const ret = wasm.networkaccounttarget_executionHint(this.__wbg_ptr);
16844
+ return NoteExecutionHint.__wrap(ret);
16845
+ }
16846
+ /**
16847
+ * Decodes a `NoteAttachment` back into a `NetworkAccountTarget`.
16848
+ *
16849
+ * # Errors
16850
+ * Errors if the attachment is not a valid network-account-target attachment.
16851
+ * @param {NoteAttachment} attachment
16852
+ * @returns {NetworkAccountTarget}
16853
+ */
16854
+ static fromAttachment(attachment) {
16855
+ _assertClass(attachment, NoteAttachment);
16856
+ const ret = wasm.networkaccounttarget_fromAttachment(attachment.__wbg_ptr);
16857
+ if (ret[2]) {
16858
+ throw takeFromExternrefTable0(ret[1]);
16859
+ }
16860
+ return NetworkAccountTarget.__wrap(ret[0]);
16861
+ }
16862
+ /**
16863
+ * Creates a target for the given network account. `executionHint` defaults
16864
+ * to `NoteExecutionHint.always()`.
16865
+ *
16866
+ * # Errors
16867
+ * Errors if `account_id` is not a public account.
16868
+ * @param {AccountId} account_id
16869
+ * @param {NoteExecutionHint | null} [execution_hint]
16870
+ */
16871
+ constructor(account_id, execution_hint) {
16872
+ _assertClass(account_id, AccountId);
16873
+ let ptr0 = 0;
16874
+ if (!isLikeNone(execution_hint)) {
16875
+ _assertClass(execution_hint, NoteExecutionHint);
16876
+ ptr0 = execution_hint.__destroy_into_raw();
16877
+ }
16878
+ const ret = wasm.networkaccounttarget_new(account_id.__wbg_ptr, ptr0);
16879
+ if (ret[2]) {
16880
+ throw takeFromExternrefTable0(ret[1]);
16881
+ }
16882
+ this.__wbg_ptr = ret[0] >>> 0;
16883
+ NetworkAccountTargetFinalization.register(this, this.__wbg_ptr, this);
16884
+ return this;
16885
+ }
16886
+ /**
16887
+ * Returns the targeted network account id.
16888
+ * @returns {AccountId}
16889
+ */
16890
+ targetId() {
16891
+ const ret = wasm.accountreader_accountId(this.__wbg_ptr);
16892
+ return AccountId.__wrap(ret);
16893
+ }
16894
+ /**
16895
+ * Encodes this target as a `NoteAttachment`.
16896
+ * @returns {NoteAttachment}
16897
+ */
16898
+ toAttachment() {
16899
+ const ret = wasm.networkaccounttarget_toAttachment(this.__wbg_ptr);
16900
+ return NoteAttachment.__wrap(ret);
16901
+ }
16902
+ }
16903
+ if (Symbol.dispose) NetworkAccountTarget.prototype[Symbol.dispose] = NetworkAccountTarget.prototype.free;
16904
+
16814
16905
  /**
16815
16906
  * The identifier of a Miden network.
16816
16907
  */
@@ -17004,6 +17095,16 @@ class Note {
17004
17095
  const ret = wasm.note_assets(this.__wbg_ptr);
17005
17096
  return NoteAssets.__wrap(ret);
17006
17097
  }
17098
+ /**
17099
+ * Returns the note's attachments.
17100
+ * @returns {NoteAttachment[]}
17101
+ */
17102
+ attachments() {
17103
+ const ret = wasm.note_attachments(this.__wbg_ptr);
17104
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
17105
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
17106
+ return v1;
17107
+ }
17007
17108
  /**
17008
17109
  * Returns the commitment to the note (its ID).
17009
17110
  *
@@ -17105,6 +17206,15 @@ class Note {
17105
17206
  const ret = wasm.note_commitment(this.__wbg_ptr);
17106
17207
  return NoteId.__wrap(ret);
17107
17208
  }
17209
+ /**
17210
+ * Returns true if the note is a network note (public + a valid
17211
+ * `NetworkAccountTarget` attachment).
17212
+ * @returns {boolean}
17213
+ */
17214
+ isNetworkNote() {
17215
+ const ret = wasm.note_isNetworkNote(this.__wbg_ptr);
17216
+ return ret !== 0;
17217
+ }
17108
17218
  /**
17109
17219
  * Returns the public metadata associated with the note.
17110
17220
  * @returns {NoteMetadata}
@@ -17164,6 +17274,30 @@ class Note {
17164
17274
  const ret = wasm.note_serialize(this.__wbg_ptr);
17165
17275
  return ret;
17166
17276
  }
17277
+ /**
17278
+ * Creates a note carrying the provided attachments, using the metadata's
17279
+ * sender / note type / tag (attachments on the metadata itself are ignored).
17280
+ *
17281
+ * # Errors
17282
+ * Errors if the attachment set is invalid (too many attachments or words).
17283
+ * @param {NoteAssets} note_assets
17284
+ * @param {NoteMetadata} note_metadata
17285
+ * @param {NoteRecipient} note_recipient
17286
+ * @param {NoteAttachment[]} attachments
17287
+ * @returns {Note}
17288
+ */
17289
+ static withAttachments(note_assets, note_metadata, note_recipient, attachments) {
17290
+ _assertClass(note_assets, NoteAssets);
17291
+ _assertClass(note_metadata, NoteMetadata);
17292
+ _assertClass(note_recipient, NoteRecipient);
17293
+ const ptr0 = passArrayJsValueToWasm0(attachments, wasm.__wbindgen_malloc);
17294
+ const len0 = WASM_VECTOR_LEN;
17295
+ const ret = wasm.note_withAttachments(note_assets.__wbg_ptr, note_metadata.__wbg_ptr, note_recipient.__wbg_ptr, ptr0, len0);
17296
+ if (ret[2]) {
17297
+ throw takeFromExternrefTable0(ret[1]);
17298
+ }
17299
+ return Note.__wrap(ret[0]);
17300
+ }
17167
17301
  }
17168
17302
  if (Symbol.dispose) Note.prototype[Symbol.dispose] = Note.prototype.free;
17169
17303
 
@@ -17431,6 +17565,12 @@ class NoteAttachment {
17431
17565
  NoteAttachmentFinalization.register(obj, obj.__wbg_ptr, obj);
17432
17566
  return obj;
17433
17567
  }
17568
+ static __unwrap(jsValue) {
17569
+ if (!(jsValue instanceof NoteAttachment)) {
17570
+ return 0;
17571
+ }
17572
+ return jsValue.__destroy_into_raw();
17573
+ }
17434
17574
  __destroy_into_raw() {
17435
17575
  const ptr = this.__wbg_ptr;
17436
17576
  this.__wbg_ptr = 0;
@@ -18661,6 +18801,19 @@ class NoteRecipient {
18661
18801
  const ret = wasm.accountheader_storageCommitment(this.__wbg_ptr);
18662
18802
  return Word.__wrap(ret);
18663
18803
  }
18804
+ /**
18805
+ * Creates a recipient from a script and storage, generating a fresh random
18806
+ * serial number (the secret that prevents double-spends).
18807
+ * @param {NoteScript} note_script
18808
+ * @param {NoteStorage} storage
18809
+ * @returns {NoteRecipient}
18810
+ */
18811
+ static fromScript(note_script, storage) {
18812
+ _assertClass(note_script, NoteScript);
18813
+ _assertClass(storage, NoteStorage);
18814
+ const ret = wasm.noterecipient_fromScript(note_script.__wbg_ptr, storage.__wbg_ptr);
18815
+ return NoteRecipient.__wrap(ret);
18816
+ }
18664
18817
  /**
18665
18818
  * Creates a note recipient from its serial number, script, and storage.
18666
18819
  * @param {Word} serial_num
@@ -24619,7 +24772,7 @@ function __wbg_get_imports() {
24619
24772
  const ret = AccountStorage.__wrap(arg0);
24620
24773
  return ret;
24621
24774
  },
24622
- __wbg_addNoteTag_c9e7d0b19a1ff17c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24775
+ __wbg_addNoteTag_edac9aa5d53fd295: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24623
24776
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24624
24777
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24625
24778
  let v1;
@@ -24647,25 +24800,25 @@ function __wbg_get_imports() {
24647
24800
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
24648
24801
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
24649
24802
  }, arguments); },
24650
- __wbg_applyFullAccountState_01b8235561567534: function(arg0, arg1, arg2) {
24803
+ __wbg_applyFullAccountState_efa7cec371ac287f: function(arg0, arg1, arg2) {
24651
24804
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
24652
24805
  return ret;
24653
24806
  },
24654
- __wbg_applySettingsMutations_c70b3f973d7125bf: function(arg0, arg1, arg2, arg3) {
24807
+ __wbg_applySettingsMutations_8eb27567fe3a997b: function(arg0, arg1, arg2, arg3) {
24655
24808
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24656
24809
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24657
24810
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
24658
24811
  return ret;
24659
24812
  },
24660
- __wbg_applyStateSync_2aab7a3f6871f365: function(arg0, arg1, arg2) {
24813
+ __wbg_applyStateSync_ce27298bc75b7b18: function(arg0, arg1, arg2) {
24661
24814
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
24662
24815
  return ret;
24663
24816
  },
24664
- __wbg_applyTransactionBatch_ff6324c1b699e0bc: function(arg0, arg1, arg2) {
24817
+ __wbg_applyTransactionBatch_b47dd46bbb97dd34: function(arg0, arg1, arg2) {
24665
24818
  const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
24666
24819
  return ret;
24667
24820
  },
24668
- __wbg_applyTransactionDelta_0bb2bf313e438504: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
24821
+ __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) {
24669
24822
  let deferred0_0;
24670
24823
  let deferred0_1;
24671
24824
  let deferred1_0;
@@ -24804,7 +24957,7 @@ function __wbg_get_imports() {
24804
24957
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24805
24958
  }
24806
24959
  },
24807
- __wbg_exportStore_a3251a108aa7b844: function(arg0, arg1) {
24960
+ __wbg_exportStore_9f8eb55269435a47: function(arg0, arg1) {
24808
24961
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
24809
24962
  return ret;
24810
24963
  },
@@ -24836,7 +24989,7 @@ function __wbg_get_imports() {
24836
24989
  const ret = FetchedNote.__wrap(arg0);
24837
24990
  return ret;
24838
24991
  },
24839
- __wbg_forceImportStore_cefb1d26c504a17a: function(arg0, arg1, arg2) {
24992
+ __wbg_forceImportStore_fd9750b9b72150d8: function(arg0, arg1, arg2) {
24840
24993
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
24841
24994
  return ret;
24842
24995
  },
@@ -24860,7 +25013,7 @@ function __wbg_get_imports() {
24860
25013
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
24861
25014
  return ret;
24862
25015
  },
24863
- __wbg_getAccountAddresses_6bda8d40b7d06085: function(arg0, arg1, arg2, arg3) {
25016
+ __wbg_getAccountAddresses_53c75fc6f0afab26: function(arg0, arg1, arg2, arg3) {
24864
25017
  let deferred0_0;
24865
25018
  let deferred0_1;
24866
25019
  try {
@@ -24872,7 +25025,7 @@ function __wbg_get_imports() {
24872
25025
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24873
25026
  }
24874
25027
  },
24875
- __wbg_getAccountAuthByPubKeyCommitment_3e272c0653b69f25: function(arg0, arg1, arg2, arg3) {
25028
+ __wbg_getAccountAuthByPubKeyCommitment_45e209a5e814d994: function(arg0, arg1, arg2, arg3) {
24876
25029
  let deferred0_0;
24877
25030
  let deferred0_1;
24878
25031
  try {
@@ -24884,7 +25037,7 @@ function __wbg_get_imports() {
24884
25037
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24885
25038
  }
24886
25039
  },
24887
- __wbg_getAccountCode_66c23e814ccb0b75: function(arg0, arg1, arg2, arg3) {
25040
+ __wbg_getAccountCode_e79bed526fe5ef58: function(arg0, arg1, arg2, arg3) {
24888
25041
  let deferred0_0;
24889
25042
  let deferred0_1;
24890
25043
  try {
@@ -24896,7 +25049,7 @@ function __wbg_get_imports() {
24896
25049
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24897
25050
  }
24898
25051
  },
24899
- __wbg_getAccountHeaderByCommitment_e77460136385053d: function(arg0, arg1, arg2, arg3) {
25052
+ __wbg_getAccountHeaderByCommitment_6f5840b801ef9054: function(arg0, arg1, arg2, arg3) {
24900
25053
  let deferred0_0;
24901
25054
  let deferred0_1;
24902
25055
  try {
@@ -24908,7 +25061,7 @@ function __wbg_get_imports() {
24908
25061
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24909
25062
  }
24910
25063
  },
24911
- __wbg_getAccountHeader_1087552d17a99751: function(arg0, arg1, arg2, arg3) {
25064
+ __wbg_getAccountHeader_5f4fc27de3d1d2be: function(arg0, arg1, arg2, arg3) {
24912
25065
  let deferred0_0;
24913
25066
  let deferred0_1;
24914
25067
  try {
@@ -24920,7 +25073,7 @@ function __wbg_get_imports() {
24920
25073
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24921
25074
  }
24922
25075
  },
24923
- __wbg_getAccountIdByKeyCommitment_7e1292d010257f58: function(arg0, arg1, arg2, arg3) {
25076
+ __wbg_getAccountIdByKeyCommitment_446e9389ad387c83: function(arg0, arg1, arg2, arg3) {
24924
25077
  let deferred0_0;
24925
25078
  let deferred0_1;
24926
25079
  try {
@@ -24932,11 +25085,11 @@ function __wbg_get_imports() {
24932
25085
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24933
25086
  }
24934
25087
  },
24935
- __wbg_getAccountIds_aa202a56a3aa2095: function(arg0, arg1) {
25088
+ __wbg_getAccountIds_1adc911b0d8d0f6e: function(arg0, arg1) {
24936
25089
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
24937
25090
  return ret;
24938
25091
  },
24939
- __wbg_getAccountStorageMaps_83fcada97acbc4d3: function(arg0, arg1, arg2, arg3) {
25092
+ __wbg_getAccountStorageMaps_3767caa8d97db0a1: function(arg0, arg1, arg2, arg3) {
24940
25093
  let deferred0_0;
24941
25094
  let deferred0_1;
24942
25095
  try {
@@ -24948,7 +25101,7 @@ function __wbg_get_imports() {
24948
25101
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24949
25102
  }
24950
25103
  },
24951
- __wbg_getAccountStorage_7da5087b3d6719c9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25104
+ __wbg_getAccountStorage_07aa2760664b2bec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24952
25105
  let deferred0_0;
24953
25106
  let deferred0_1;
24954
25107
  try {
@@ -24962,7 +25115,7 @@ function __wbg_get_imports() {
24962
25115
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24963
25116
  }
24964
25117
  },
24965
- __wbg_getAccountVaultAssets_a7f15cd5706a07f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25118
+ __wbg_getAccountVaultAssets_2f19d55ae4ed7c0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24966
25119
  let deferred0_0;
24967
25120
  let deferred0_1;
24968
25121
  try {
@@ -24976,27 +25129,27 @@ function __wbg_get_imports() {
24976
25129
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24977
25130
  }
24978
25131
  },
24979
- __wbg_getAllAccountHeaders_20b2442034a1d33a: function(arg0, arg1) {
25132
+ __wbg_getAllAccountHeaders_8ed6029ae1742504: function(arg0, arg1) {
24980
25133
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
24981
25134
  return ret;
24982
25135
  },
24983
- __wbg_getBlockHeaders_14c17869ac14ff20: function(arg0, arg1, arg2, arg3) {
25136
+ __wbg_getBlockHeaders_06f7b42ae978e531: function(arg0, arg1, arg2, arg3) {
24984
25137
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24985
25138
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24986
25139
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
24987
25140
  return ret;
24988
25141
  },
24989
- __wbg_getCurrentBlockchainPeaks_f25ec9bf8fbcfb01: function(arg0, arg1) {
25142
+ __wbg_getCurrentBlockchainPeaks_a04a5ec6cd7f88af: function(arg0, arg1) {
24990
25143
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
24991
25144
  return ret;
24992
25145
  },
24993
- __wbg_getForeignAccountCode_aa888a2e4d67c198: function(arg0, arg1, arg2, arg3) {
25146
+ __wbg_getForeignAccountCode_de89bd207484f570: function(arg0, arg1, arg2, arg3) {
24994
25147
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24995
25148
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24996
25149
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
24997
25150
  return ret;
24998
25151
  },
24999
- __wbg_getInputNoteByOffset_28a7b0db364e3661: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
25152
+ __wbg_getInputNoteByOffset_9cfe153b53135065: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
25000
25153
  let deferred1_0;
25001
25154
  let deferred1_1;
25002
25155
  try {
@@ -25010,31 +25163,31 @@ function __wbg_get_imports() {
25010
25163
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25011
25164
  }
25012
25165
  },
25013
- __wbg_getInputNotesFromDetailsCommitments_cd9aae9ebea29ae8: function(arg0, arg1, arg2, arg3) {
25166
+ __wbg_getInputNotesFromDetailsCommitments_4e49a566390c4337: function(arg0, arg1, arg2, arg3) {
25014
25167
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25015
25168
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25016
25169
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
25017
25170
  return ret;
25018
25171
  },
25019
- __wbg_getInputNotesFromIds_2ac71ad2b96eacdc: function(arg0, arg1, arg2, arg3) {
25172
+ __wbg_getInputNotesFromIds_f506cabce8dfdec7: function(arg0, arg1, arg2, arg3) {
25020
25173
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25021
25174
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25022
25175
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
25023
25176
  return ret;
25024
25177
  },
25025
- __wbg_getInputNotesFromNullifiers_784b00260b622e0a: function(arg0, arg1, arg2, arg3) {
25178
+ __wbg_getInputNotesFromNullifiers_25b0f807fd619f35: function(arg0, arg1, arg2, arg3) {
25026
25179
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25027
25180
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25028
25181
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
25029
25182
  return ret;
25030
25183
  },
25031
- __wbg_getInputNotes_554b394a036cce35: function(arg0, arg1, arg2, arg3) {
25184
+ __wbg_getInputNotes_d90894b55f0432de: function(arg0, arg1, arg2, arg3) {
25032
25185
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25033
25186
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25034
25187
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
25035
25188
  return ret;
25036
25189
  },
25037
- __wbg_getKeyCommitmentsByAccountId_dc8ddc1944776f77: function(arg0, arg1, arg2, arg3) {
25190
+ __wbg_getKeyCommitmentsByAccountId_c53d31eba565285f: function(arg0, arg1, arg2, arg3) {
25038
25191
  let deferred0_0;
25039
25192
  let deferred0_1;
25040
25193
  try {
@@ -25046,7 +25199,7 @@ function __wbg_get_imports() {
25046
25199
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25047
25200
  }
25048
25201
  },
25049
- __wbg_getNoteScript_fb7f3a8b5693efd3: function(arg0, arg1, arg2, arg3) {
25202
+ __wbg_getNoteScript_a74641b7b9a2b11a: function(arg0, arg1, arg2, arg3) {
25050
25203
  let deferred0_0;
25051
25204
  let deferred0_1;
25052
25205
  try {
@@ -25058,39 +25211,39 @@ function __wbg_get_imports() {
25058
25211
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25059
25212
  }
25060
25213
  },
25061
- __wbg_getNoteTags_e58900169fc93b17: function(arg0, arg1) {
25214
+ __wbg_getNoteTags_6351357c7199175a: function(arg0, arg1) {
25062
25215
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
25063
25216
  return ret;
25064
25217
  },
25065
- __wbg_getOutputNotesFromDetailsCommitments_b67eef4a469d243f: function(arg0, arg1, arg2, arg3) {
25218
+ __wbg_getOutputNotesFromDetailsCommitments_a4550ac8ebbd9770: function(arg0, arg1, arg2, arg3) {
25066
25219
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25067
25220
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25068
25221
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
25069
25222
  return ret;
25070
25223
  },
25071
- __wbg_getOutputNotesFromIds_3e2e083d5e6307b4: function(arg0, arg1, arg2, arg3) {
25224
+ __wbg_getOutputNotesFromIds_d72b067679ade695: function(arg0, arg1, arg2, arg3) {
25072
25225
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25073
25226
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25074
25227
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
25075
25228
  return ret;
25076
25229
  },
25077
- __wbg_getOutputNotesFromNullifiers_f80d6022e4d273ae: function(arg0, arg1, arg2, arg3) {
25230
+ __wbg_getOutputNotesFromNullifiers_17b258e816c39ed0: function(arg0, arg1, arg2, arg3) {
25078
25231
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25079
25232
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25080
25233
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
25081
25234
  return ret;
25082
25235
  },
25083
- __wbg_getOutputNotes_edbf80cf7cd0b908: function(arg0, arg1, arg2, arg3) {
25236
+ __wbg_getOutputNotes_1473c985e0449439: function(arg0, arg1, arg2, arg3) {
25084
25237
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25085
25238
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25086
25239
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
25087
25240
  return ret;
25088
25241
  },
25089
- __wbg_getPartialBlockchainNodesAll_c415a12245c31d24: function(arg0, arg1) {
25242
+ __wbg_getPartialBlockchainNodesAll_e17f47fa0b31d95e: function(arg0, arg1) {
25090
25243
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
25091
25244
  return ret;
25092
25245
  },
25093
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_13c0f9e58345c3dd: function(arg0, arg1, arg2, arg3) {
25246
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_43f6babd6387a967: function(arg0, arg1, arg2, arg3) {
25094
25247
  let deferred0_0;
25095
25248
  let deferred0_1;
25096
25249
  try {
@@ -25102,7 +25255,7 @@ function __wbg_get_imports() {
25102
25255
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25103
25256
  }
25104
25257
  },
25105
- __wbg_getPartialBlockchainNodes_65b845ff2a25659c: function(arg0, arg1, arg2, arg3) {
25258
+ __wbg_getPartialBlockchainNodes_753ab364036ee659: function(arg0, arg1, arg2, arg3) {
25106
25259
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25107
25260
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25108
25261
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -25115,7 +25268,7 @@ function __wbg_get_imports() {
25115
25268
  const ret = arg0.getReader();
25116
25269
  return ret;
25117
25270
  }, arguments); },
25118
- __wbg_getSetting_652a441d00c2ff02: function(arg0, arg1, arg2, arg3) {
25271
+ __wbg_getSetting_6d181107da0b79d8: function(arg0, arg1, arg2, arg3) {
25119
25272
  let deferred0_0;
25120
25273
  let deferred0_1;
25121
25274
  try {
@@ -25127,7 +25280,7 @@ function __wbg_get_imports() {
25127
25280
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25128
25281
  }
25129
25282
  },
25130
- __wbg_getSyncHeight_47274f9a308f2ea0: function(arg0, arg1) {
25283
+ __wbg_getSyncHeight_dc5e0c277d3350d0: function(arg0, arg1) {
25131
25284
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
25132
25285
  return ret;
25133
25286
  },
@@ -25135,15 +25288,15 @@ function __wbg_get_imports() {
25135
25288
  const ret = arg0.getTime();
25136
25289
  return ret;
25137
25290
  },
25138
- __wbg_getTrackedBlockHeaderNumbers_7f699d8776e5342e: function(arg0, arg1) {
25291
+ __wbg_getTrackedBlockHeaderNumbers_897214e329b5ea0c: function(arg0, arg1) {
25139
25292
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
25140
25293
  return ret;
25141
25294
  },
25142
- __wbg_getTrackedBlockHeaders_9257cc5c828b3847: function(arg0, arg1) {
25295
+ __wbg_getTrackedBlockHeaders_dcef57272c508785: function(arg0, arg1) {
25143
25296
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
25144
25297
  return ret;
25145
25298
  },
25146
- __wbg_getTransactions_042b4178983dd070: function(arg0, arg1, arg2, arg3) {
25299
+ __wbg_getTransactions_47df1ec1a429e0f9: function(arg0, arg1, arg2, arg3) {
25147
25300
  let deferred0_0;
25148
25301
  let deferred0_1;
25149
25302
  try {
@@ -25155,7 +25308,7 @@ function __wbg_get_imports() {
25155
25308
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25156
25309
  }
25157
25310
  },
25158
- __wbg_getUnspentInputNoteNullifiers_af62c37e3bf9a116: function(arg0, arg1) {
25311
+ __wbg_getUnspentInputNoteNullifiers_a41c87a9f48d5fdf: function(arg0, arg1) {
25159
25312
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
25160
25313
  return ret;
25161
25314
  },
@@ -25199,7 +25352,7 @@ function __wbg_get_imports() {
25199
25352
  const ret = InputNoteRecord.__wrap(arg0);
25200
25353
  return ret;
25201
25354
  },
25202
- __wbg_insertAccountAddress_9750679ae673f231: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25355
+ __wbg_insertAccountAddress_1e4667af2c92224c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25203
25356
  let deferred0_0;
25204
25357
  let deferred0_1;
25205
25358
  try {
@@ -25213,7 +25366,7 @@ function __wbg_get_imports() {
25213
25366
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25214
25367
  }
25215
25368
  },
25216
- __wbg_insertAccountAuth_4468784a0311c9e3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25369
+ __wbg_insertAccountAuth_d471abfc7c33077a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25217
25370
  let deferred0_0;
25218
25371
  let deferred0_1;
25219
25372
  let deferred1_0;
@@ -25230,7 +25383,7 @@ function __wbg_get_imports() {
25230
25383
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25231
25384
  }
25232
25385
  },
25233
- __wbg_insertAccountKeyMapping_1018a4c4e3136ea9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25386
+ __wbg_insertAccountKeyMapping_b4e7262fd4dc4273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25234
25387
  let deferred0_0;
25235
25388
  let deferred0_1;
25236
25389
  let deferred1_0;
@@ -25247,13 +25400,13 @@ function __wbg_get_imports() {
25247
25400
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25248
25401
  }
25249
25402
  },
25250
- __wbg_insertBlockHeader_5f9db8fbf493cd05: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25403
+ __wbg_insertBlockHeader_282dd85fef7536b7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25251
25404
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
25252
25405
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
25253
25406
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
25254
25407
  return ret;
25255
25408
  },
25256
- __wbg_insertPartialBlockchainNodes_3bac74a5a63676ec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25409
+ __wbg_insertPartialBlockchainNodes_574aa9138d3a0e84: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25257
25410
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25258
25411
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25259
25412
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25261,7 +25414,7 @@ function __wbg_get_imports() {
25261
25414
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
25262
25415
  return ret;
25263
25416
  },
25264
- __wbg_insertSetting_3f9497eda301dd4d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25417
+ __wbg_insertSetting_eec786c0b0995552: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25265
25418
  let deferred0_0;
25266
25419
  let deferred0_1;
25267
25420
  try {
@@ -25275,7 +25428,7 @@ function __wbg_get_imports() {
25275
25428
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25276
25429
  }
25277
25430
  },
25278
- __wbg_insertTransactionScript_d77dd4730b830b16: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25431
+ __wbg_insertTransactionScript_881ef7ad3becb554: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25279
25432
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25280
25433
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25281
25434
  let v1;
@@ -25372,11 +25525,11 @@ function __wbg_get_imports() {
25372
25525
  const ret = arg0.length;
25373
25526
  return ret;
25374
25527
  },
25375
- __wbg_listSettingKeys_e6be00ae9be0f390: function(arg0, arg1) {
25528
+ __wbg_listSettingKeys_23baa5fe89fe0300: function(arg0, arg1) {
25376
25529
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
25377
25530
  return ret;
25378
25531
  },
25379
- __wbg_lockAccount_59fe96d1d24657e7: function(arg0, arg1, arg2, arg3) {
25532
+ __wbg_lockAccount_f83587d5772bcc3c: function(arg0, arg1, arg2, arg3) {
25380
25533
  let deferred0_0;
25381
25534
  let deferred0_1;
25382
25535
  try {
@@ -25523,6 +25676,10 @@ function __wbg_get_imports() {
25523
25676
  const ret = NoteAttachment.__wrap(arg0);
25524
25677
  return ret;
25525
25678
  },
25679
+ __wbg_noteattachment_unwrap: function(arg0) {
25680
+ const ret = NoteAttachment.__unwrap(arg0);
25681
+ return ret;
25682
+ },
25526
25683
  __wbg_noteconsumability_new: function(arg0) {
25527
25684
  const ret = NoteConsumability.__wrap(arg0);
25528
25685
  return ret;
@@ -25575,7 +25732,7 @@ function __wbg_get_imports() {
25575
25732
  const ret = NoteTag.__unwrap(arg0);
25576
25733
  return ret;
25577
25734
  },
25578
- __wbg_openDatabase_d434e531abab67a4: function(arg0, arg1, arg2, arg3) {
25735
+ __wbg_openDatabase_dade7696599cc268: function(arg0, arg1, arg2, arg3) {
25579
25736
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
25580
25737
  return ret;
25581
25738
  },
@@ -25606,7 +25763,7 @@ function __wbg_get_imports() {
25606
25763
  const ret = ProvenTransaction.__wrap(arg0);
25607
25764
  return ret;
25608
25765
  },
25609
- __wbg_pruneAccountHistory_601cf8b7deb90730: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25766
+ __wbg_pruneAccountHistory_4b805f8ee1a03061: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25610
25767
  let deferred0_0;
25611
25768
  let deferred0_1;
25612
25769
  let deferred1_0;
@@ -25623,7 +25780,7 @@ function __wbg_get_imports() {
25623
25780
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25624
25781
  }
25625
25782
  },
25626
- __wbg_pruneIrrelevantBlocks_6dfe3f86e818875b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25783
+ __wbg_pruneIrrelevantBlocks_8bd4b5b8b6e87516: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25627
25784
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
25628
25785
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25629
25786
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25653,13 +25810,13 @@ function __wbg_get_imports() {
25653
25810
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
25654
25811
  arg0.releaseLock();
25655
25812
  },
25656
- __wbg_removeAccountAddress_4f2f68a69c6824ba: function(arg0, arg1, arg2, arg3) {
25813
+ __wbg_removeAccountAddress_a5929a2b59fde92e: function(arg0, arg1, arg2, arg3) {
25657
25814
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25658
25815
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25659
25816
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
25660
25817
  return ret;
25661
25818
  },
25662
- __wbg_removeAccountAuth_270323d61dcc5a1c: function(arg0, arg1, arg2, arg3) {
25819
+ __wbg_removeAccountAuth_7fd68774c7763092: function(arg0, arg1, arg2, arg3) {
25663
25820
  let deferred0_0;
25664
25821
  let deferred0_1;
25665
25822
  try {
@@ -25671,7 +25828,7 @@ function __wbg_get_imports() {
25671
25828
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25672
25829
  }
25673
25830
  },
25674
- __wbg_removeAllMappingsForKey_0cd82b003ec78640: function(arg0, arg1, arg2, arg3) {
25831
+ __wbg_removeAllMappingsForKey_f33d5693234e701e: function(arg0, arg1, arg2, arg3) {
25675
25832
  let deferred0_0;
25676
25833
  let deferred0_1;
25677
25834
  try {
@@ -25683,7 +25840,7 @@ function __wbg_get_imports() {
25683
25840
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25684
25841
  }
25685
25842
  },
25686
- __wbg_removeNoteTag_99bf10aa95385cdd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25843
+ __wbg_removeNoteTag_04d1db037df7f461: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25687
25844
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25688
25845
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25689
25846
  let v1;
@@ -25704,7 +25861,7 @@ function __wbg_get_imports() {
25704
25861
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
25705
25862
  return ret;
25706
25863
  },
25707
- __wbg_removeSetting_435793c919df62ea: function(arg0, arg1, arg2, arg3) {
25864
+ __wbg_removeSetting_a53a2a6a735eb18c: function(arg0, arg1, arg2, arg3) {
25708
25865
  let deferred0_0;
25709
25866
  let deferred0_1;
25710
25867
  try {
@@ -25907,13 +26064,13 @@ function __wbg_get_imports() {
25907
26064
  const ret = TransactionSummary.__wrap(arg0);
25908
26065
  return ret;
25909
26066
  },
25910
- __wbg_undoAccountStates_bc8f443bd3fee100: function(arg0, arg1, arg2, arg3) {
26067
+ __wbg_undoAccountStates_cb4dbf5c6f4d06e9: function(arg0, arg1, arg2, arg3) {
25911
26068
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25912
26069
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25913
26070
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
25914
26071
  return ret;
25915
26072
  },
25916
- __wbg_upsertAccountCode_2988cd68796aacef: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26073
+ __wbg_upsertAccountCode_796427764c9198f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25917
26074
  let deferred0_0;
25918
26075
  let deferred0_1;
25919
26076
  try {
@@ -25927,7 +26084,7 @@ function __wbg_get_imports() {
25927
26084
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25928
26085
  }
25929
26086
  },
25930
- __wbg_upsertAccountRecord_124cfe8dc72ff46f: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
26087
+ __wbg_upsertAccountRecord_0a876f8ec19f47bb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25931
26088
  let deferred0_0;
25932
26089
  let deferred0_1;
25933
26090
  let deferred1_0;
@@ -25969,7 +26126,7 @@ function __wbg_get_imports() {
25969
26126
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
25970
26127
  }
25971
26128
  },
25972
- __wbg_upsertAccountStorage_b7e55e69d8c649ff: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26129
+ __wbg_upsertAccountStorage_8bde852e4a19d8df: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25973
26130
  let deferred0_0;
25974
26131
  let deferred0_1;
25975
26132
  try {
@@ -25983,7 +26140,7 @@ function __wbg_get_imports() {
25983
26140
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25984
26141
  }
25985
26142
  },
25986
- __wbg_upsertForeignAccountCode_321f8c2b6560540f: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
26143
+ __wbg_upsertForeignAccountCode_e1fba6198defc496: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25987
26144
  let deferred0_0;
25988
26145
  let deferred0_1;
25989
26146
  let deferred2_0;
@@ -26002,7 +26159,7 @@ function __wbg_get_imports() {
26002
26159
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
26003
26160
  }
26004
26161
  },
26005
- __wbg_upsertInputNote_f54fb501eea97448: 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) {
26162
+ __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) {
26006
26163
  let deferred0_0;
26007
26164
  let deferred0_1;
26008
26165
  let deferred6_0;
@@ -26051,7 +26208,7 @@ function __wbg_get_imports() {
26051
26208
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
26052
26209
  }
26053
26210
  },
26054
- __wbg_upsertNoteScript_96ab2ba0a90f1446: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26211
+ __wbg_upsertNoteScript_03dd7b732ab40d80: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26055
26212
  let deferred0_0;
26056
26213
  let deferred0_1;
26057
26214
  try {
@@ -26065,7 +26222,7 @@ function __wbg_get_imports() {
26065
26222
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26066
26223
  }
26067
26224
  },
26068
- __wbg_upsertOutputNote_ab3683633a3f1acb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
26225
+ __wbg_upsertOutputNote_6625bc60ec9e00c7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
26069
26226
  let deferred0_0;
26070
26227
  let deferred0_1;
26071
26228
  let deferred1_0;
@@ -26100,7 +26257,7 @@ function __wbg_get_imports() {
26100
26257
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
26101
26258
  }
26102
26259
  },
26103
- __wbg_upsertStorageMapEntries_5f86e7cc367f03c1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26260
+ __wbg_upsertStorageMapEntries_03e99b5c83445616: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26104
26261
  let deferred0_0;
26105
26262
  let deferred0_1;
26106
26263
  try {
@@ -26114,7 +26271,7 @@ function __wbg_get_imports() {
26114
26271
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26115
26272
  }
26116
26273
  },
26117
- __wbg_upsertTransactionRecord_dc6cf6e7c6196905: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
26274
+ __wbg_upsertTransactionRecord_a5888dce53039ce9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
26118
26275
  let deferred0_0;
26119
26276
  let deferred0_1;
26120
26277
  try {
@@ -26135,7 +26292,7 @@ function __wbg_get_imports() {
26135
26292
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
26136
26293
  }
26137
26294
  },
26138
- __wbg_upsertVaultAssets_b09b89783ef95fbe: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26295
+ __wbg_upsertVaultAssets_c9a6f9534551a55b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26139
26296
  let deferred0_0;
26140
26297
  let deferred0_1;
26141
26298
  try {
@@ -26166,12 +26323,12 @@ function __wbg_get_imports() {
26166
26323
  return ret;
26167
26324
  },
26168
26325
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
26169
- // Cast intrinsic for `Closure(Closure { dtor_idx: 443, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26326
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 444, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26170
26327
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788);
26171
26328
  return ret;
26172
26329
  },
26173
26330
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
26174
- // Cast intrinsic for `Closure(Closure { dtor_idx: 443, function: Function { arguments: [], shim_idx: 444, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26331
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 444, function: Function { arguments: [], shim_idx: 445, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26175
26332
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9);
26176
26333
  return ret;
26177
26334
  },
@@ -26497,6 +26654,9 @@ const LibraryFinalization = (typeof FinalizationRegistry === 'undefined')
26497
26654
  const MerklePathFinalization = (typeof FinalizationRegistry === 'undefined')
26498
26655
  ? { register: () => {}, unregister: () => {} }
26499
26656
  : new FinalizationRegistry(ptr => wasm.__wbg_merklepath_free(ptr >>> 0, 1));
26657
+ const NetworkAccountTargetFinalization = (typeof FinalizationRegistry === 'undefined')
26658
+ ? { register: () => {}, unregister: () => {} }
26659
+ : new FinalizationRegistry(ptr => wasm.__wbg_networkaccounttarget_free(ptr >>> 0, 1));
26500
26660
  const NetworkIdFinalization = (typeof FinalizationRegistry === 'undefined')
26501
26661
  ? { register: () => {}, unregister: () => {} }
26502
26662
  : new FinalizationRegistry(ptr => wasm.__wbg_networkid_free(ptr >>> 0, 1));
@@ -27115,7 +27275,7 @@ async function __wbg_init(module_or_path) {
27115
27275
 
27116
27276
  const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
27117
27277
 
27118
- var CargoCwpuvlbc = /*#__PURE__*/Object.freeze({
27278
+ var CargoCR1mzjgg = /*#__PURE__*/Object.freeze({
27119
27279
  __proto__: null,
27120
27280
  Account: Account,
27121
27281
  AccountArray: AccountArray,
@@ -27180,6 +27340,7 @@ var CargoCwpuvlbc = /*#__PURE__*/Object.freeze({
27180
27340
  JsVaultAsset: JsVaultAsset,
27181
27341
  Library: Library,
27182
27342
  MerklePath: MerklePath,
27343
+ NetworkAccountTarget: NetworkAccountTarget,
27183
27344
  NetworkId: NetworkId,
27184
27345
  NetworkNoteStatusInfo: NetworkNoteStatusInfo,
27185
27346
  NetworkType: NetworkType,