@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
@@ -16182,6 +16182,97 @@ class MerklePath {
16182
16182
  }
16183
16183
  if (Symbol.dispose) MerklePath.prototype[Symbol.dispose] = MerklePath.prototype.free;
16184
16184
 
16185
+ /**
16186
+ * Targets a note at a public network account so the operator auto-consumes it.
16187
+ *
16188
+ * A note is a network note when it is `Public` and carries a valid
16189
+ * `NetworkAccountTarget` attachment (see `Note.isNetworkNote`).
16190
+ */
16191
+ class NetworkAccountTarget {
16192
+ static __wrap(ptr) {
16193
+ ptr = ptr >>> 0;
16194
+ const obj = Object.create(NetworkAccountTarget.prototype);
16195
+ obj.__wbg_ptr = ptr;
16196
+ NetworkAccountTargetFinalization.register(obj, obj.__wbg_ptr, obj);
16197
+ return obj;
16198
+ }
16199
+ __destroy_into_raw() {
16200
+ const ptr = this.__wbg_ptr;
16201
+ this.__wbg_ptr = 0;
16202
+ NetworkAccountTargetFinalization.unregister(this);
16203
+ return ptr;
16204
+ }
16205
+ free() {
16206
+ const ptr = this.__destroy_into_raw();
16207
+ wasm.__wbg_networkaccounttarget_free(ptr, 0);
16208
+ }
16209
+ /**
16210
+ * Returns the note execution hint.
16211
+ * @returns {NoteExecutionHint}
16212
+ */
16213
+ executionHint() {
16214
+ const ret = wasm.networkaccounttarget_executionHint(this.__wbg_ptr);
16215
+ return NoteExecutionHint.__wrap(ret);
16216
+ }
16217
+ /**
16218
+ * Decodes a `NoteAttachment` back into a `NetworkAccountTarget`.
16219
+ *
16220
+ * # Errors
16221
+ * Errors if the attachment is not a valid network-account-target attachment.
16222
+ * @param {NoteAttachment} attachment
16223
+ * @returns {NetworkAccountTarget}
16224
+ */
16225
+ static fromAttachment(attachment) {
16226
+ _assertClass(attachment, NoteAttachment);
16227
+ const ret = wasm.networkaccounttarget_fromAttachment(attachment.__wbg_ptr);
16228
+ if (ret[2]) {
16229
+ throw takeFromExternrefTable0(ret[1]);
16230
+ }
16231
+ return NetworkAccountTarget.__wrap(ret[0]);
16232
+ }
16233
+ /**
16234
+ * Creates a target for the given network account. `executionHint` defaults
16235
+ * to `NoteExecutionHint.always()`.
16236
+ *
16237
+ * # Errors
16238
+ * Errors if `account_id` is not a public account.
16239
+ * @param {AccountId} account_id
16240
+ * @param {NoteExecutionHint | null} [execution_hint]
16241
+ */
16242
+ constructor(account_id, execution_hint) {
16243
+ _assertClass(account_id, AccountId);
16244
+ let ptr0 = 0;
16245
+ if (!isLikeNone(execution_hint)) {
16246
+ _assertClass(execution_hint, NoteExecutionHint);
16247
+ ptr0 = execution_hint.__destroy_into_raw();
16248
+ }
16249
+ const ret = wasm.networkaccounttarget_new(account_id.__wbg_ptr, ptr0);
16250
+ if (ret[2]) {
16251
+ throw takeFromExternrefTable0(ret[1]);
16252
+ }
16253
+ this.__wbg_ptr = ret[0] >>> 0;
16254
+ NetworkAccountTargetFinalization.register(this, this.__wbg_ptr, this);
16255
+ return this;
16256
+ }
16257
+ /**
16258
+ * Returns the targeted network account id.
16259
+ * @returns {AccountId}
16260
+ */
16261
+ targetId() {
16262
+ const ret = wasm.accountreader_accountId(this.__wbg_ptr);
16263
+ return AccountId.__wrap(ret);
16264
+ }
16265
+ /**
16266
+ * Encodes this target as a `NoteAttachment`.
16267
+ * @returns {NoteAttachment}
16268
+ */
16269
+ toAttachment() {
16270
+ const ret = wasm.networkaccounttarget_toAttachment(this.__wbg_ptr);
16271
+ return NoteAttachment.__wrap(ret);
16272
+ }
16273
+ }
16274
+ if (Symbol.dispose) NetworkAccountTarget.prototype[Symbol.dispose] = NetworkAccountTarget.prototype.free;
16275
+
16185
16276
  /**
16186
16277
  * The identifier of a Miden network.
16187
16278
  */
@@ -16375,6 +16466,16 @@ class Note {
16375
16466
  const ret = wasm.note_assets(this.__wbg_ptr);
16376
16467
  return NoteAssets.__wrap(ret);
16377
16468
  }
16469
+ /**
16470
+ * Returns the note's attachments.
16471
+ * @returns {NoteAttachment[]}
16472
+ */
16473
+ attachments() {
16474
+ const ret = wasm.note_attachments(this.__wbg_ptr);
16475
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16476
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16477
+ return v1;
16478
+ }
16378
16479
  /**
16379
16480
  * Returns the commitment to the note (its ID).
16380
16481
  *
@@ -16476,6 +16577,15 @@ class Note {
16476
16577
  const ret = wasm.note_commitment(this.__wbg_ptr);
16477
16578
  return NoteId.__wrap(ret);
16478
16579
  }
16580
+ /**
16581
+ * Returns true if the note is a network note (public + a valid
16582
+ * `NetworkAccountTarget` attachment).
16583
+ * @returns {boolean}
16584
+ */
16585
+ isNetworkNote() {
16586
+ const ret = wasm.note_isNetworkNote(this.__wbg_ptr);
16587
+ return ret !== 0;
16588
+ }
16479
16589
  /**
16480
16590
  * Returns the public metadata associated with the note.
16481
16591
  * @returns {NoteMetadata}
@@ -16535,6 +16645,30 @@ class Note {
16535
16645
  const ret = wasm.note_serialize(this.__wbg_ptr);
16536
16646
  return ret;
16537
16647
  }
16648
+ /**
16649
+ * Creates a note carrying the provided attachments, using the metadata's
16650
+ * sender / note type / tag (attachments on the metadata itself are ignored).
16651
+ *
16652
+ * # Errors
16653
+ * Errors if the attachment set is invalid (too many attachments or words).
16654
+ * @param {NoteAssets} note_assets
16655
+ * @param {NoteMetadata} note_metadata
16656
+ * @param {NoteRecipient} note_recipient
16657
+ * @param {NoteAttachment[]} attachments
16658
+ * @returns {Note}
16659
+ */
16660
+ static withAttachments(note_assets, note_metadata, note_recipient, attachments) {
16661
+ _assertClass(note_assets, NoteAssets);
16662
+ _assertClass(note_metadata, NoteMetadata);
16663
+ _assertClass(note_recipient, NoteRecipient);
16664
+ const ptr0 = passArrayJsValueToWasm0(attachments, wasm.__wbindgen_malloc);
16665
+ const len0 = WASM_VECTOR_LEN;
16666
+ const ret = wasm.note_withAttachments(note_assets.__wbg_ptr, note_metadata.__wbg_ptr, note_recipient.__wbg_ptr, ptr0, len0);
16667
+ if (ret[2]) {
16668
+ throw takeFromExternrefTable0(ret[1]);
16669
+ }
16670
+ return Note.__wrap(ret[0]);
16671
+ }
16538
16672
  }
16539
16673
  if (Symbol.dispose) Note.prototype[Symbol.dispose] = Note.prototype.free;
16540
16674
 
@@ -16802,6 +16936,12 @@ class NoteAttachment {
16802
16936
  NoteAttachmentFinalization.register(obj, obj.__wbg_ptr, obj);
16803
16937
  return obj;
16804
16938
  }
16939
+ static __unwrap(jsValue) {
16940
+ if (!(jsValue instanceof NoteAttachment)) {
16941
+ return 0;
16942
+ }
16943
+ return jsValue.__destroy_into_raw();
16944
+ }
16805
16945
  __destroy_into_raw() {
16806
16946
  const ptr = this.__wbg_ptr;
16807
16947
  this.__wbg_ptr = 0;
@@ -18032,6 +18172,19 @@ class NoteRecipient {
18032
18172
  const ret = wasm.accountheader_storageCommitment(this.__wbg_ptr);
18033
18173
  return Word.__wrap(ret);
18034
18174
  }
18175
+ /**
18176
+ * Creates a recipient from a script and storage, generating a fresh random
18177
+ * serial number (the secret that prevents double-spends).
18178
+ * @param {NoteScript} note_script
18179
+ * @param {NoteStorage} storage
18180
+ * @returns {NoteRecipient}
18181
+ */
18182
+ static fromScript(note_script, storage) {
18183
+ _assertClass(note_script, NoteScript);
18184
+ _assertClass(storage, NoteStorage);
18185
+ const ret = wasm.noterecipient_fromScript(note_script.__wbg_ptr, storage.__wbg_ptr);
18186
+ return NoteRecipient.__wrap(ret);
18187
+ }
18035
18188
  /**
18036
18189
  * Creates a note recipient from its serial number, script, and storage.
18037
18190
  * @param {Word} serial_num
@@ -23990,7 +24143,7 @@ function __wbg_get_imports() {
23990
24143
  const ret = AccountStorage.__wrap(arg0);
23991
24144
  return ret;
23992
24145
  },
23993
- __wbg_addNoteTag_c9e7d0b19a1ff17c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24146
+ __wbg_addNoteTag_edac9aa5d53fd295: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
23994
24147
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23995
24148
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23996
24149
  let v1;
@@ -24018,25 +24171,25 @@ function __wbg_get_imports() {
24018
24171
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
24019
24172
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
24020
24173
  }, arguments); },
24021
- __wbg_applyFullAccountState_01b8235561567534: function(arg0, arg1, arg2) {
24174
+ __wbg_applyFullAccountState_efa7cec371ac287f: function(arg0, arg1, arg2) {
24022
24175
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
24023
24176
  return ret;
24024
24177
  },
24025
- __wbg_applySettingsMutations_c70b3f973d7125bf: function(arg0, arg1, arg2, arg3) {
24178
+ __wbg_applySettingsMutations_8eb27567fe3a997b: function(arg0, arg1, arg2, arg3) {
24026
24179
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24027
24180
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24028
24181
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
24029
24182
  return ret;
24030
24183
  },
24031
- __wbg_applyStateSync_2aab7a3f6871f365: function(arg0, arg1, arg2) {
24184
+ __wbg_applyStateSync_ce27298bc75b7b18: function(arg0, arg1, arg2) {
24032
24185
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
24033
24186
  return ret;
24034
24187
  },
24035
- __wbg_applyTransactionBatch_ff6324c1b699e0bc: function(arg0, arg1, arg2) {
24188
+ __wbg_applyTransactionBatch_b47dd46bbb97dd34: function(arg0, arg1, arg2) {
24036
24189
  const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
24037
24190
  return ret;
24038
24191
  },
24039
- __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) {
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) {
24040
24193
  let deferred0_0;
24041
24194
  let deferred0_1;
24042
24195
  let deferred1_0;
@@ -24175,7 +24328,7 @@ function __wbg_get_imports() {
24175
24328
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24176
24329
  }
24177
24330
  },
24178
- __wbg_exportStore_a3251a108aa7b844: function(arg0, arg1) {
24331
+ __wbg_exportStore_9f8eb55269435a47: function(arg0, arg1) {
24179
24332
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
24180
24333
  return ret;
24181
24334
  },
@@ -24207,7 +24360,7 @@ function __wbg_get_imports() {
24207
24360
  const ret = FetchedNote.__wrap(arg0);
24208
24361
  return ret;
24209
24362
  },
24210
- __wbg_forceImportStore_cefb1d26c504a17a: function(arg0, arg1, arg2) {
24363
+ __wbg_forceImportStore_fd9750b9b72150d8: function(arg0, arg1, arg2) {
24211
24364
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
24212
24365
  return ret;
24213
24366
  },
@@ -24231,7 +24384,7 @@ function __wbg_get_imports() {
24231
24384
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
24232
24385
  return ret;
24233
24386
  },
24234
- __wbg_getAccountAddresses_6bda8d40b7d06085: function(arg0, arg1, arg2, arg3) {
24387
+ __wbg_getAccountAddresses_53c75fc6f0afab26: function(arg0, arg1, arg2, arg3) {
24235
24388
  let deferred0_0;
24236
24389
  let deferred0_1;
24237
24390
  try {
@@ -24243,7 +24396,7 @@ function __wbg_get_imports() {
24243
24396
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24244
24397
  }
24245
24398
  },
24246
- __wbg_getAccountAuthByPubKeyCommitment_3e272c0653b69f25: function(arg0, arg1, arg2, arg3) {
24399
+ __wbg_getAccountAuthByPubKeyCommitment_45e209a5e814d994: function(arg0, arg1, arg2, arg3) {
24247
24400
  let deferred0_0;
24248
24401
  let deferred0_1;
24249
24402
  try {
@@ -24255,7 +24408,7 @@ function __wbg_get_imports() {
24255
24408
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24256
24409
  }
24257
24410
  },
24258
- __wbg_getAccountCode_66c23e814ccb0b75: function(arg0, arg1, arg2, arg3) {
24411
+ __wbg_getAccountCode_e79bed526fe5ef58: function(arg0, arg1, arg2, arg3) {
24259
24412
  let deferred0_0;
24260
24413
  let deferred0_1;
24261
24414
  try {
@@ -24267,7 +24420,7 @@ function __wbg_get_imports() {
24267
24420
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24268
24421
  }
24269
24422
  },
24270
- __wbg_getAccountHeaderByCommitment_e77460136385053d: function(arg0, arg1, arg2, arg3) {
24423
+ __wbg_getAccountHeaderByCommitment_6f5840b801ef9054: function(arg0, arg1, arg2, arg3) {
24271
24424
  let deferred0_0;
24272
24425
  let deferred0_1;
24273
24426
  try {
@@ -24279,7 +24432,7 @@ function __wbg_get_imports() {
24279
24432
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24280
24433
  }
24281
24434
  },
24282
- __wbg_getAccountHeader_1087552d17a99751: function(arg0, arg1, arg2, arg3) {
24435
+ __wbg_getAccountHeader_5f4fc27de3d1d2be: function(arg0, arg1, arg2, arg3) {
24283
24436
  let deferred0_0;
24284
24437
  let deferred0_1;
24285
24438
  try {
@@ -24291,7 +24444,7 @@ function __wbg_get_imports() {
24291
24444
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24292
24445
  }
24293
24446
  },
24294
- __wbg_getAccountIdByKeyCommitment_7e1292d010257f58: function(arg0, arg1, arg2, arg3) {
24447
+ __wbg_getAccountIdByKeyCommitment_446e9389ad387c83: function(arg0, arg1, arg2, arg3) {
24295
24448
  let deferred0_0;
24296
24449
  let deferred0_1;
24297
24450
  try {
@@ -24303,11 +24456,11 @@ function __wbg_get_imports() {
24303
24456
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24304
24457
  }
24305
24458
  },
24306
- __wbg_getAccountIds_aa202a56a3aa2095: function(arg0, arg1) {
24459
+ __wbg_getAccountIds_1adc911b0d8d0f6e: function(arg0, arg1) {
24307
24460
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
24308
24461
  return ret;
24309
24462
  },
24310
- __wbg_getAccountStorageMaps_83fcada97acbc4d3: function(arg0, arg1, arg2, arg3) {
24463
+ __wbg_getAccountStorageMaps_3767caa8d97db0a1: function(arg0, arg1, arg2, arg3) {
24311
24464
  let deferred0_0;
24312
24465
  let deferred0_1;
24313
24466
  try {
@@ -24319,7 +24472,7 @@ function __wbg_get_imports() {
24319
24472
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24320
24473
  }
24321
24474
  },
24322
- __wbg_getAccountStorage_7da5087b3d6719c9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24475
+ __wbg_getAccountStorage_07aa2760664b2bec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24323
24476
  let deferred0_0;
24324
24477
  let deferred0_1;
24325
24478
  try {
@@ -24333,7 +24486,7 @@ function __wbg_get_imports() {
24333
24486
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24334
24487
  }
24335
24488
  },
24336
- __wbg_getAccountVaultAssets_a7f15cd5706a07f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24489
+ __wbg_getAccountVaultAssets_2f19d55ae4ed7c0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24337
24490
  let deferred0_0;
24338
24491
  let deferred0_1;
24339
24492
  try {
@@ -24347,27 +24500,27 @@ function __wbg_get_imports() {
24347
24500
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24348
24501
  }
24349
24502
  },
24350
- __wbg_getAllAccountHeaders_20b2442034a1d33a: function(arg0, arg1) {
24503
+ __wbg_getAllAccountHeaders_8ed6029ae1742504: function(arg0, arg1) {
24351
24504
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
24352
24505
  return ret;
24353
24506
  },
24354
- __wbg_getBlockHeaders_14c17869ac14ff20: function(arg0, arg1, arg2, arg3) {
24507
+ __wbg_getBlockHeaders_06f7b42ae978e531: function(arg0, arg1, arg2, arg3) {
24355
24508
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24356
24509
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24357
24510
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
24358
24511
  return ret;
24359
24512
  },
24360
- __wbg_getCurrentBlockchainPeaks_f25ec9bf8fbcfb01: function(arg0, arg1) {
24513
+ __wbg_getCurrentBlockchainPeaks_a04a5ec6cd7f88af: function(arg0, arg1) {
24361
24514
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
24362
24515
  return ret;
24363
24516
  },
24364
- __wbg_getForeignAccountCode_aa888a2e4d67c198: function(arg0, arg1, arg2, arg3) {
24517
+ __wbg_getForeignAccountCode_de89bd207484f570: function(arg0, arg1, arg2, arg3) {
24365
24518
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24366
24519
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24367
24520
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
24368
24521
  return ret;
24369
24522
  },
24370
- __wbg_getInputNoteByOffset_28a7b0db364e3661: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24523
+ __wbg_getInputNoteByOffset_9cfe153b53135065: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24371
24524
  let deferred1_0;
24372
24525
  let deferred1_1;
24373
24526
  try {
@@ -24381,31 +24534,31 @@ function __wbg_get_imports() {
24381
24534
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24382
24535
  }
24383
24536
  },
24384
- __wbg_getInputNotesFromDetailsCommitments_cd9aae9ebea29ae8: function(arg0, arg1, arg2, arg3) {
24537
+ __wbg_getInputNotesFromDetailsCommitments_4e49a566390c4337: function(arg0, arg1, arg2, arg3) {
24385
24538
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24386
24539
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24387
24540
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24388
24541
  return ret;
24389
24542
  },
24390
- __wbg_getInputNotesFromIds_2ac71ad2b96eacdc: function(arg0, arg1, arg2, arg3) {
24543
+ __wbg_getInputNotesFromIds_f506cabce8dfdec7: function(arg0, arg1, arg2, arg3) {
24391
24544
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24392
24545
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24393
24546
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24394
24547
  return ret;
24395
24548
  },
24396
- __wbg_getInputNotesFromNullifiers_784b00260b622e0a: function(arg0, arg1, arg2, arg3) {
24549
+ __wbg_getInputNotesFromNullifiers_25b0f807fd619f35: function(arg0, arg1, arg2, arg3) {
24397
24550
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24398
24551
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24399
24552
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24400
24553
  return ret;
24401
24554
  },
24402
- __wbg_getInputNotes_554b394a036cce35: function(arg0, arg1, arg2, arg3) {
24555
+ __wbg_getInputNotes_d90894b55f0432de: function(arg0, arg1, arg2, arg3) {
24403
24556
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24404
24557
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24405
24558
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
24406
24559
  return ret;
24407
24560
  },
24408
- __wbg_getKeyCommitmentsByAccountId_dc8ddc1944776f77: function(arg0, arg1, arg2, arg3) {
24561
+ __wbg_getKeyCommitmentsByAccountId_c53d31eba565285f: function(arg0, arg1, arg2, arg3) {
24409
24562
  let deferred0_0;
24410
24563
  let deferred0_1;
24411
24564
  try {
@@ -24417,7 +24570,7 @@ function __wbg_get_imports() {
24417
24570
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24418
24571
  }
24419
24572
  },
24420
- __wbg_getNoteScript_fb7f3a8b5693efd3: function(arg0, arg1, arg2, arg3) {
24573
+ __wbg_getNoteScript_a74641b7b9a2b11a: function(arg0, arg1, arg2, arg3) {
24421
24574
  let deferred0_0;
24422
24575
  let deferred0_1;
24423
24576
  try {
@@ -24429,39 +24582,39 @@ function __wbg_get_imports() {
24429
24582
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24430
24583
  }
24431
24584
  },
24432
- __wbg_getNoteTags_e58900169fc93b17: function(arg0, arg1) {
24585
+ __wbg_getNoteTags_6351357c7199175a: function(arg0, arg1) {
24433
24586
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
24434
24587
  return ret;
24435
24588
  },
24436
- __wbg_getOutputNotesFromDetailsCommitments_b67eef4a469d243f: function(arg0, arg1, arg2, arg3) {
24589
+ __wbg_getOutputNotesFromDetailsCommitments_a4550ac8ebbd9770: function(arg0, arg1, arg2, arg3) {
24437
24590
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24438
24591
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24439
24592
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24440
24593
  return ret;
24441
24594
  },
24442
- __wbg_getOutputNotesFromIds_3e2e083d5e6307b4: function(arg0, arg1, arg2, arg3) {
24595
+ __wbg_getOutputNotesFromIds_d72b067679ade695: function(arg0, arg1, arg2, arg3) {
24443
24596
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24444
24597
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24445
24598
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24446
24599
  return ret;
24447
24600
  },
24448
- __wbg_getOutputNotesFromNullifiers_f80d6022e4d273ae: function(arg0, arg1, arg2, arg3) {
24601
+ __wbg_getOutputNotesFromNullifiers_17b258e816c39ed0: function(arg0, arg1, arg2, arg3) {
24449
24602
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24450
24603
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24451
24604
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24452
24605
  return ret;
24453
24606
  },
24454
- __wbg_getOutputNotes_edbf80cf7cd0b908: function(arg0, arg1, arg2, arg3) {
24607
+ __wbg_getOutputNotes_1473c985e0449439: function(arg0, arg1, arg2, arg3) {
24455
24608
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24456
24609
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24457
24610
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
24458
24611
  return ret;
24459
24612
  },
24460
- __wbg_getPartialBlockchainNodesAll_c415a12245c31d24: function(arg0, arg1) {
24613
+ __wbg_getPartialBlockchainNodesAll_e17f47fa0b31d95e: function(arg0, arg1) {
24461
24614
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
24462
24615
  return ret;
24463
24616
  },
24464
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_13c0f9e58345c3dd: function(arg0, arg1, arg2, arg3) {
24617
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_43f6babd6387a967: function(arg0, arg1, arg2, arg3) {
24465
24618
  let deferred0_0;
24466
24619
  let deferred0_1;
24467
24620
  try {
@@ -24473,7 +24626,7 @@ function __wbg_get_imports() {
24473
24626
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24474
24627
  }
24475
24628
  },
24476
- __wbg_getPartialBlockchainNodes_65b845ff2a25659c: function(arg0, arg1, arg2, arg3) {
24629
+ __wbg_getPartialBlockchainNodes_753ab364036ee659: function(arg0, arg1, arg2, arg3) {
24477
24630
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24478
24631
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24479
24632
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -24486,7 +24639,7 @@ function __wbg_get_imports() {
24486
24639
  const ret = arg0.getReader();
24487
24640
  return ret;
24488
24641
  }, arguments); },
24489
- __wbg_getSetting_652a441d00c2ff02: function(arg0, arg1, arg2, arg3) {
24642
+ __wbg_getSetting_6d181107da0b79d8: function(arg0, arg1, arg2, arg3) {
24490
24643
  let deferred0_0;
24491
24644
  let deferred0_1;
24492
24645
  try {
@@ -24498,7 +24651,7 @@ function __wbg_get_imports() {
24498
24651
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24499
24652
  }
24500
24653
  },
24501
- __wbg_getSyncHeight_47274f9a308f2ea0: function(arg0, arg1) {
24654
+ __wbg_getSyncHeight_dc5e0c277d3350d0: function(arg0, arg1) {
24502
24655
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
24503
24656
  return ret;
24504
24657
  },
@@ -24506,15 +24659,15 @@ function __wbg_get_imports() {
24506
24659
  const ret = arg0.getTime();
24507
24660
  return ret;
24508
24661
  },
24509
- __wbg_getTrackedBlockHeaderNumbers_7f699d8776e5342e: function(arg0, arg1) {
24662
+ __wbg_getTrackedBlockHeaderNumbers_897214e329b5ea0c: function(arg0, arg1) {
24510
24663
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
24511
24664
  return ret;
24512
24665
  },
24513
- __wbg_getTrackedBlockHeaders_9257cc5c828b3847: function(arg0, arg1) {
24666
+ __wbg_getTrackedBlockHeaders_dcef57272c508785: function(arg0, arg1) {
24514
24667
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
24515
24668
  return ret;
24516
24669
  },
24517
- __wbg_getTransactions_042b4178983dd070: function(arg0, arg1, arg2, arg3) {
24670
+ __wbg_getTransactions_47df1ec1a429e0f9: function(arg0, arg1, arg2, arg3) {
24518
24671
  let deferred0_0;
24519
24672
  let deferred0_1;
24520
24673
  try {
@@ -24526,7 +24679,7 @@ function __wbg_get_imports() {
24526
24679
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24527
24680
  }
24528
24681
  },
24529
- __wbg_getUnspentInputNoteNullifiers_af62c37e3bf9a116: function(arg0, arg1) {
24682
+ __wbg_getUnspentInputNoteNullifiers_a41c87a9f48d5fdf: function(arg0, arg1) {
24530
24683
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
24531
24684
  return ret;
24532
24685
  },
@@ -24570,7 +24723,7 @@ function __wbg_get_imports() {
24570
24723
  const ret = InputNoteRecord.__wrap(arg0);
24571
24724
  return ret;
24572
24725
  },
24573
- __wbg_insertAccountAddress_9750679ae673f231: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24726
+ __wbg_insertAccountAddress_1e4667af2c92224c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24574
24727
  let deferred0_0;
24575
24728
  let deferred0_1;
24576
24729
  try {
@@ -24584,7 +24737,7 @@ function __wbg_get_imports() {
24584
24737
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24585
24738
  }
24586
24739
  },
24587
- __wbg_insertAccountAuth_4468784a0311c9e3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24740
+ __wbg_insertAccountAuth_d471abfc7c33077a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24588
24741
  let deferred0_0;
24589
24742
  let deferred0_1;
24590
24743
  let deferred1_0;
@@ -24601,7 +24754,7 @@ function __wbg_get_imports() {
24601
24754
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24602
24755
  }
24603
24756
  },
24604
- __wbg_insertAccountKeyMapping_1018a4c4e3136ea9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24757
+ __wbg_insertAccountKeyMapping_b4e7262fd4dc4273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24605
24758
  let deferred0_0;
24606
24759
  let deferred0_1;
24607
24760
  let deferred1_0;
@@ -24618,13 +24771,13 @@ function __wbg_get_imports() {
24618
24771
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24619
24772
  }
24620
24773
  },
24621
- __wbg_insertBlockHeader_5f9db8fbf493cd05: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24774
+ __wbg_insertBlockHeader_282dd85fef7536b7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24622
24775
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
24623
24776
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
24624
24777
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
24625
24778
  return ret;
24626
24779
  },
24627
- __wbg_insertPartialBlockchainNodes_3bac74a5a63676ec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24780
+ __wbg_insertPartialBlockchainNodes_574aa9138d3a0e84: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24628
24781
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24629
24782
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24630
24783
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24632,7 +24785,7 @@ function __wbg_get_imports() {
24632
24785
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
24633
24786
  return ret;
24634
24787
  },
24635
- __wbg_insertSetting_3f9497eda301dd4d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24788
+ __wbg_insertSetting_eec786c0b0995552: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24636
24789
  let deferred0_0;
24637
24790
  let deferred0_1;
24638
24791
  try {
@@ -24646,7 +24799,7 @@ function __wbg_get_imports() {
24646
24799
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24647
24800
  }
24648
24801
  },
24649
- __wbg_insertTransactionScript_d77dd4730b830b16: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24802
+ __wbg_insertTransactionScript_881ef7ad3becb554: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24650
24803
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24651
24804
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24652
24805
  let v1;
@@ -24743,11 +24896,11 @@ function __wbg_get_imports() {
24743
24896
  const ret = arg0.length;
24744
24897
  return ret;
24745
24898
  },
24746
- __wbg_listSettingKeys_e6be00ae9be0f390: function(arg0, arg1) {
24899
+ __wbg_listSettingKeys_23baa5fe89fe0300: function(arg0, arg1) {
24747
24900
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
24748
24901
  return ret;
24749
24902
  },
24750
- __wbg_lockAccount_59fe96d1d24657e7: function(arg0, arg1, arg2, arg3) {
24903
+ __wbg_lockAccount_f83587d5772bcc3c: function(arg0, arg1, arg2, arg3) {
24751
24904
  let deferred0_0;
24752
24905
  let deferred0_1;
24753
24906
  try {
@@ -24894,6 +25047,10 @@ function __wbg_get_imports() {
24894
25047
  const ret = NoteAttachment.__wrap(arg0);
24895
25048
  return ret;
24896
25049
  },
25050
+ __wbg_noteattachment_unwrap: function(arg0) {
25051
+ const ret = NoteAttachment.__unwrap(arg0);
25052
+ return ret;
25053
+ },
24897
25054
  __wbg_noteconsumability_new: function(arg0) {
24898
25055
  const ret = NoteConsumability.__wrap(arg0);
24899
25056
  return ret;
@@ -24946,7 +25103,7 @@ function __wbg_get_imports() {
24946
25103
  const ret = NoteTag.__unwrap(arg0);
24947
25104
  return ret;
24948
25105
  },
24949
- __wbg_openDatabase_d434e531abab67a4: function(arg0, arg1, arg2, arg3) {
25106
+ __wbg_openDatabase_dade7696599cc268: function(arg0, arg1, arg2, arg3) {
24950
25107
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
24951
25108
  return ret;
24952
25109
  },
@@ -24977,7 +25134,7 @@ function __wbg_get_imports() {
24977
25134
  const ret = ProvenTransaction.__wrap(arg0);
24978
25135
  return ret;
24979
25136
  },
24980
- __wbg_pruneAccountHistory_601cf8b7deb90730: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25137
+ __wbg_pruneAccountHistory_4b805f8ee1a03061: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24981
25138
  let deferred0_0;
24982
25139
  let deferred0_1;
24983
25140
  let deferred1_0;
@@ -24994,7 +25151,7 @@ function __wbg_get_imports() {
24994
25151
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24995
25152
  }
24996
25153
  },
24997
- __wbg_pruneIrrelevantBlocks_6dfe3f86e818875b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25154
+ __wbg_pruneIrrelevantBlocks_8bd4b5b8b6e87516: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24998
25155
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24999
25156
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25000
25157
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25024,13 +25181,13 @@ function __wbg_get_imports() {
25024
25181
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
25025
25182
  arg0.releaseLock();
25026
25183
  },
25027
- __wbg_removeAccountAddress_4f2f68a69c6824ba: function(arg0, arg1, arg2, arg3) {
25184
+ __wbg_removeAccountAddress_a5929a2b59fde92e: function(arg0, arg1, arg2, arg3) {
25028
25185
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25029
25186
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25030
25187
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
25031
25188
  return ret;
25032
25189
  },
25033
- __wbg_removeAccountAuth_270323d61dcc5a1c: function(arg0, arg1, arg2, arg3) {
25190
+ __wbg_removeAccountAuth_7fd68774c7763092: function(arg0, arg1, arg2, arg3) {
25034
25191
  let deferred0_0;
25035
25192
  let deferred0_1;
25036
25193
  try {
@@ -25042,7 +25199,7 @@ function __wbg_get_imports() {
25042
25199
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25043
25200
  }
25044
25201
  },
25045
- __wbg_removeAllMappingsForKey_0cd82b003ec78640: function(arg0, arg1, arg2, arg3) {
25202
+ __wbg_removeAllMappingsForKey_f33d5693234e701e: function(arg0, arg1, arg2, arg3) {
25046
25203
  let deferred0_0;
25047
25204
  let deferred0_1;
25048
25205
  try {
@@ -25054,7 +25211,7 @@ function __wbg_get_imports() {
25054
25211
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25055
25212
  }
25056
25213
  },
25057
- __wbg_removeNoteTag_99bf10aa95385cdd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25214
+ __wbg_removeNoteTag_04d1db037df7f461: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25058
25215
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25059
25216
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25060
25217
  let v1;
@@ -25075,7 +25232,7 @@ function __wbg_get_imports() {
25075
25232
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
25076
25233
  return ret;
25077
25234
  },
25078
- __wbg_removeSetting_435793c919df62ea: function(arg0, arg1, arg2, arg3) {
25235
+ __wbg_removeSetting_a53a2a6a735eb18c: function(arg0, arg1, arg2, arg3) {
25079
25236
  let deferred0_0;
25080
25237
  let deferred0_1;
25081
25238
  try {
@@ -25278,13 +25435,13 @@ function __wbg_get_imports() {
25278
25435
  const ret = TransactionSummary.__wrap(arg0);
25279
25436
  return ret;
25280
25437
  },
25281
- __wbg_undoAccountStates_bc8f443bd3fee100: function(arg0, arg1, arg2, arg3) {
25438
+ __wbg_undoAccountStates_cb4dbf5c6f4d06e9: function(arg0, arg1, arg2, arg3) {
25282
25439
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25283
25440
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25284
25441
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
25285
25442
  return ret;
25286
25443
  },
25287
- __wbg_upsertAccountCode_2988cd68796aacef: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25444
+ __wbg_upsertAccountCode_796427764c9198f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25288
25445
  let deferred0_0;
25289
25446
  let deferred0_1;
25290
25447
  try {
@@ -25298,7 +25455,7 @@ function __wbg_get_imports() {
25298
25455
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25299
25456
  }
25300
25457
  },
25301
- __wbg_upsertAccountRecord_124cfe8dc72ff46f: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25458
+ __wbg_upsertAccountRecord_0a876f8ec19f47bb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25302
25459
  let deferred0_0;
25303
25460
  let deferred0_1;
25304
25461
  let deferred1_0;
@@ -25340,7 +25497,7 @@ function __wbg_get_imports() {
25340
25497
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
25341
25498
  }
25342
25499
  },
25343
- __wbg_upsertAccountStorage_b7e55e69d8c649ff: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25500
+ __wbg_upsertAccountStorage_8bde852e4a19d8df: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25344
25501
  let deferred0_0;
25345
25502
  let deferred0_1;
25346
25503
  try {
@@ -25354,7 +25511,7 @@ function __wbg_get_imports() {
25354
25511
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25355
25512
  }
25356
25513
  },
25357
- __wbg_upsertForeignAccountCode_321f8c2b6560540f: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25514
+ __wbg_upsertForeignAccountCode_e1fba6198defc496: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25358
25515
  let deferred0_0;
25359
25516
  let deferred0_1;
25360
25517
  let deferred2_0;
@@ -25373,7 +25530,7 @@ function __wbg_get_imports() {
25373
25530
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
25374
25531
  }
25375
25532
  },
25376
- __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) {
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) {
25377
25534
  let deferred0_0;
25378
25535
  let deferred0_1;
25379
25536
  let deferred6_0;
@@ -25422,7 +25579,7 @@ function __wbg_get_imports() {
25422
25579
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
25423
25580
  }
25424
25581
  },
25425
- __wbg_upsertNoteScript_96ab2ba0a90f1446: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25582
+ __wbg_upsertNoteScript_03dd7b732ab40d80: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25426
25583
  let deferred0_0;
25427
25584
  let deferred0_1;
25428
25585
  try {
@@ -25436,7 +25593,7 @@ function __wbg_get_imports() {
25436
25593
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25437
25594
  }
25438
25595
  },
25439
- __wbg_upsertOutputNote_ab3683633a3f1acb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
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) {
25440
25597
  let deferred0_0;
25441
25598
  let deferred0_1;
25442
25599
  let deferred1_0;
@@ -25471,7 +25628,7 @@ function __wbg_get_imports() {
25471
25628
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
25472
25629
  }
25473
25630
  },
25474
- __wbg_upsertStorageMapEntries_5f86e7cc367f03c1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25631
+ __wbg_upsertStorageMapEntries_03e99b5c83445616: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25475
25632
  let deferred0_0;
25476
25633
  let deferred0_1;
25477
25634
  try {
@@ -25485,7 +25642,7 @@ function __wbg_get_imports() {
25485
25642
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25486
25643
  }
25487
25644
  },
25488
- __wbg_upsertTransactionRecord_dc6cf6e7c6196905: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25645
+ __wbg_upsertTransactionRecord_a5888dce53039ce9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25489
25646
  let deferred0_0;
25490
25647
  let deferred0_1;
25491
25648
  try {
@@ -25506,7 +25663,7 @@ function __wbg_get_imports() {
25506
25663
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25507
25664
  }
25508
25665
  },
25509
- __wbg_upsertVaultAssets_b09b89783ef95fbe: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25666
+ __wbg_upsertVaultAssets_c9a6f9534551a55b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25510
25667
  let deferred0_0;
25511
25668
  let deferred0_1;
25512
25669
  try {
@@ -25537,12 +25694,12 @@ function __wbg_get_imports() {
25537
25694
  return ret;
25538
25695
  },
25539
25696
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
25540
- // Cast intrinsic for `Closure(Closure { dtor_idx: 443, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
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`.
25541
25698
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__hdea2f04753d42788);
25542
25699
  return ret;
25543
25700
  },
25544
25701
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
25545
- // Cast intrinsic for `Closure(Closure { dtor_idx: 443, function: Function { arguments: [], shim_idx: 444, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25702
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 444, function: Function { arguments: [], shim_idx: 445, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25546
25703
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h33c4d85b7d47d9b3, wasm_bindgen__convert__closures_____invoke__h26b611bba5136db9);
25547
25704
  return ret;
25548
25705
  },
@@ -25868,6 +26025,9 @@ const LibraryFinalization = (typeof FinalizationRegistry === 'undefined')
25868
26025
  const MerklePathFinalization = (typeof FinalizationRegistry === 'undefined')
25869
26026
  ? { register: () => {}, unregister: () => {} }
25870
26027
  : new FinalizationRegistry(ptr => wasm.__wbg_merklepath_free(ptr >>> 0, 1));
26028
+ const NetworkAccountTargetFinalization = (typeof FinalizationRegistry === 'undefined')
26029
+ ? { register: () => {}, unregister: () => {} }
26030
+ : new FinalizationRegistry(ptr => wasm.__wbg_networkaccounttarget_free(ptr >>> 0, 1));
25871
26031
  const NetworkIdFinalization = (typeof FinalizationRegistry === 'undefined')
25872
26032
  ? { register: () => {}, unregister: () => {} }
25873
26033
  : new FinalizationRegistry(ptr => wasm.__wbg_networkid_free(ptr >>> 0, 1));
@@ -26485,5 +26645,5 @@ async function __wbg_init(module_or_path) {
26485
26645
  }
26486
26646
 
26487
26647
  const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
26488
- 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, 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, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
26489
- //# sourceMappingURL=Cargo-Cwpuvlbc.js.map
26648
+ 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, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
26649
+ //# sourceMappingURL=Cargo-CR1mzjgg.js.map