@miden-sdk/miden-sdk 0.15.0 → 0.15.2

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 (43) hide show
  1. package/README.md +39 -0
  2. package/dist/mt/{Cargo-1zqmsGGR.js → Cargo-BbpPeJYa.js} +298 -89
  3. package/dist/mt/Cargo-BbpPeJYa.js.map +1 -0
  4. package/dist/mt/api-types.d.ts +54 -0
  5. package/dist/mt/assets/miden_client_web.wasm +0 -0
  6. package/dist/mt/crates/miden_client_web.d.ts +102 -0
  7. package/dist/mt/docs-entry.d.ts +3 -0
  8. package/dist/mt/eager.js +1 -1
  9. package/dist/mt/index.js +134 -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-1zqmsGGR-COfl7R3D.js → Cargo-BbpPeJYa-BlSVzh6v.js} +298 -89
  14. package/dist/mt/workers/{Cargo-1zqmsGGR-COfl7R3D.js.map → Cargo-BbpPeJYa-BlSVzh6v.js.map} +1 -1
  15. package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
  16. package/dist/mt/workers/web-client-methods-worker.js +300 -89
  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-qHCIdWdN.js → Cargo-Dlo4tWNG.js} +294 -87
  22. package/dist/st/Cargo-Dlo4tWNG.js.map +1 -0
  23. package/dist/st/api-types.d.ts +54 -0
  24. package/dist/st/assets/miden_client_web.wasm +0 -0
  25. package/dist/st/crates/miden_client_web.d.ts +102 -0
  26. package/dist/st/docs-entry.d.ts +3 -0
  27. package/dist/st/eager.js +1 -1
  28. package/dist/st/index.js +134 -1
  29. package/dist/st/index.js.map +1 -1
  30. package/dist/st/wasm.js +1 -1
  31. package/dist/st/workers/{Cargo-qHCIdWdN-CZmgHdJc.js → Cargo-Dlo4tWNG-BPaiqKyy.js} +294 -87
  32. package/dist/st/workers/Cargo-Dlo4tWNG-BPaiqKyy.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 +296 -87
  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/client.js +2 -0
  39. package/js/resources/pswap.js +132 -0
  40. package/package.json +4 -4
  41. package/dist/mt/Cargo-1zqmsGGR.js.map +0 -1
  42. package/dist/st/Cargo-qHCIdWdN.js.map +0 -1
  43. package/dist/st/workers/Cargo-qHCIdWdN-CZmgHdJc.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 CargoQHCIdWdN; });
8
+ wasmModule = await Promise.resolve().then(function () { return CargoDlo4tWNG; });
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
@@ -13251,6 +13251,13 @@ if (Symbol.dispose) AdviceInputs.prototype[Symbol.dispose] = AdviceInputs.protot
13251
13251
  * Map of advice values keyed by words for script execution.
13252
13252
  */
13253
13253
  class AdviceMap {
13254
+ static __wrap(ptr) {
13255
+ ptr = ptr >>> 0;
13256
+ const obj = Object.create(AdviceMap.prototype);
13257
+ obj.__wbg_ptr = ptr;
13258
+ AdviceMapFinalization.register(obj, obj.__wbg_ptr, obj);
13259
+ return obj;
13260
+ }
13254
13261
  __destroy_into_raw() {
13255
13262
  const ptr = this.__wbg_ptr;
13256
13263
  this.__wbg_ptr = 0;
@@ -19553,6 +19560,119 @@ class ProvenTransaction {
19553
19560
  }
19554
19561
  if (Symbol.dispose) ProvenTransaction.prototype[Symbol.dispose] = ProvenTransaction.prototype.free;
19555
19562
 
19563
+ /**
19564
+ * Read-only view of one PSWAP order's chain state, exposed to JavaScript.
19565
+ * The mutable fields (remaining amounts, depth, tip, state) advance
19566
+ * round-by-round as fills are discovered during sync.
19567
+ */
19568
+ class PswapLineageRecord {
19569
+ static __wrap(ptr) {
19570
+ ptr = ptr >>> 0;
19571
+ const obj = Object.create(PswapLineageRecord.prototype);
19572
+ obj.__wbg_ptr = ptr;
19573
+ PswapLineageRecordFinalization.register(obj, obj.__wbg_ptr, obj);
19574
+ return obj;
19575
+ }
19576
+ __destroy_into_raw() {
19577
+ const ptr = this.__wbg_ptr;
19578
+ this.__wbg_ptr = 0;
19579
+ PswapLineageRecordFinalization.unregister(this);
19580
+ return ptr;
19581
+ }
19582
+ free() {
19583
+ const ptr = this.__destroy_into_raw();
19584
+ wasm.__wbg_pswaplineagerecord_free(ptr, 0);
19585
+ }
19586
+ /**
19587
+ * Account that created the order and receives every payback.
19588
+ * @returns {AccountId}
19589
+ */
19590
+ creatorAccountId() {
19591
+ const ret = wasm.pswaplineagerecord_creatorAccountId(this.__wbg_ptr);
19592
+ return AccountId.__wrap(ret);
19593
+ }
19594
+ /**
19595
+ * Depth of the current tip: 0 for the original PSWAP, +1 per fill round.
19596
+ * @returns {number}
19597
+ */
19598
+ currentDepth() {
19599
+ const ret = wasm.pswaplineagerecord_currentDepth(this.__wbg_ptr);
19600
+ return ret >>> 0;
19601
+ }
19602
+ /**
19603
+ * Note id of the current tip in the chain.
19604
+ * @returns {NoteId}
19605
+ */
19606
+ currentTipNoteId() {
19607
+ const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
19608
+ return NoteId.__wrap(ret);
19609
+ }
19610
+ /**
19611
+ * Stable identifier shared by every note in the chain, as a decimal string.
19612
+ * @returns {string}
19613
+ */
19614
+ orderId() {
19615
+ let deferred1_0;
19616
+ let deferred1_1;
19617
+ try {
19618
+ const ret = wasm.pswaplineagerecord_orderId(this.__wbg_ptr);
19619
+ deferred1_0 = ret[0];
19620
+ deferred1_1 = ret[1];
19621
+ return getStringFromWasm0(ret[0], ret[1]);
19622
+ } finally {
19623
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
19624
+ }
19625
+ }
19626
+ /**
19627
+ * Offered amount still unfilled on the current tip. The offered faucet is
19628
+ * chain-invariant and recovered from the original PSWAP note when needed.
19629
+ * @returns {bigint}
19630
+ */
19631
+ remainingOffered() {
19632
+ const ret = wasm.pswaplineagerecord_remainingOffered(this.__wbg_ptr);
19633
+ return BigInt.asUintN(64, ret);
19634
+ }
19635
+ /**
19636
+ * Requested amount still outstanding on the current tip. The requested
19637
+ * faucet is recovered from the original PSWAP note when needed.
19638
+ * @returns {bigint}
19639
+ */
19640
+ remainingRequested() {
19641
+ const ret = wasm.pswaplineagerecord_remainingRequested(this.__wbg_ptr);
19642
+ return BigInt.asUintN(64, ret);
19643
+ }
19644
+ /**
19645
+ * Lifecycle state of the order.
19646
+ * @returns {PswapLineageState}
19647
+ */
19648
+ state() {
19649
+ const ret = wasm.pswaplineagerecord_state(this.__wbg_ptr);
19650
+ return ret;
19651
+ }
19652
+ }
19653
+ if (Symbol.dispose) PswapLineageRecord.prototype[Symbol.dispose] = PswapLineageRecord.prototype.free;
19654
+
19655
+ /**
19656
+ * Lifecycle state of a PSWAP order.
19657
+ *
19658
+ * Discriminants match the on-disk encoding in the store.
19659
+ * @enum {0 | 1 | 2}
19660
+ */
19661
+ const PswapLineageState = Object.freeze({
19662
+ /**
19663
+ * Still fillable and reclaimable.
19664
+ */
19665
+ Active: 0, "0": "Active",
19666
+ /**
19667
+ * Fully filled. Terminal.
19668
+ */
19669
+ FullyFilled: 1, "1": "FullyFilled",
19670
+ /**
19671
+ * Reclaimed by the creator. Terminal.
19672
+ */
19673
+ Reclaimed: 2, "2": "Reclaimed",
19674
+ });
19675
+
19556
19676
  class PublicKey {
19557
19677
  static __wrap(ptr) {
19558
19678
  ptr = ptr >>> 0;
@@ -21908,7 +22028,7 @@ class TransactionRecord {
21908
22028
  * @returns {Word}
21909
22029
  */
21910
22030
  initAccountState() {
21911
- const ret = wasm.transactionrecord_initAccountState(this.__wbg_ptr);
22031
+ const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
21912
22032
  return Word.__wrap(ret);
21913
22033
  }
21914
22034
  /**
@@ -21973,6 +22093,14 @@ class TransactionRequest {
21973
22093
  const ptr = this.__destroy_into_raw();
21974
22094
  wasm.__wbg_transactionrequest_free(ptr, 0);
21975
22095
  }
22096
+ /**
22097
+ * Returns a copy of the advice map carried by this request.
22098
+ * @returns {AdviceMap}
22099
+ */
22100
+ adviceMap() {
22101
+ const ret = wasm.transactionrequest_adviceMap(this.__wbg_ptr);
22102
+ return AdviceMap.__wrap(ret);
22103
+ }
21976
22104
  /**
21977
22105
  * Returns the authentication argument if present.
21978
22106
  * @returns {Word | undefined}
@@ -22019,6 +22147,20 @@ class TransactionRequest {
22019
22147
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
22020
22148
  return v1;
22021
22149
  }
22150
+ /**
22151
+ * Returns a copy of this request with `advice_map` merged into its advice map.
22152
+ *
22153
+ * Entries are merged with last-write-wins semantics: a key already present in the request is
22154
+ * overwritten by the value from `advice_map`. Use this to inject advice (e.g. a signature
22155
+ * produced by an external signer) after the request has already been built.
22156
+ * @param {AdviceMap} advice_map
22157
+ * @returns {TransactionRequest}
22158
+ */
22159
+ extendAdviceMap(advice_map) {
22160
+ _assertClass(advice_map, AdviceMap);
22161
+ const ret = wasm.transactionrequest_extendAdviceMap(this.__wbg_ptr, advice_map.__wbg_ptr);
22162
+ return TransactionRequest.__wrap(ret);
22163
+ }
22022
22164
  /**
22023
22165
  * Returns the transaction script argument if present.
22024
22166
  * @returns {Word | undefined}
@@ -22780,6 +22922,10 @@ class WebClient {
22780
22922
  return ret;
22781
22923
  }
22782
22924
  /**
22925
+ * Persists a submitted transaction and returns its pre-apply
22926
+ * [`TransactionStoreUpdate`]. Routes through the high-level
22927
+ * `Client::apply_transaction` so registered observers (e.g. PSWAP
22928
+ * tracking) fire.
22783
22929
  * @param {TransactionResult} transaction_result
22784
22930
  * @param {number} submission_height
22785
22931
  * @returns {Promise<TransactionStoreUpdate>}
@@ -22789,6 +22935,22 @@ class WebClient {
22789
22935
  const ret = wasm.webclient_applyTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr, submission_height);
22790
22936
  return ret;
22791
22937
  }
22938
+ /**
22939
+ * Builds a transaction reclaiming the unfilled offered asset on the current
22940
+ * tip of an Active lineage.
22941
+ *
22942
+ * `order_id` is the order's stable identifier as a decimal string. The
22943
+ * returned request flows into the same submit path as the other PSWAP
22944
+ * cancel transactions.
22945
+ * @param {string} order_id
22946
+ * @returns {Promise<TransactionRequest>}
22947
+ */
22948
+ buildPswapCancelByOrder(order_id) {
22949
+ const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22950
+ const len0 = WASM_VECTOR_LEN;
22951
+ const ret = wasm.webclient_buildPswapCancelByOrder(this.__wbg_ptr, ptr0, len0);
22952
+ return ret;
22953
+ }
22792
22954
  /**
22793
22955
  * @param {NoteType} note_type
22794
22956
  * @param {AccountId} offered_asset_faucet_id
@@ -23132,6 +23294,37 @@ class WebClient {
23132
23294
  const ret = wasm.webclient_getOutputNotes(this.__wbg_ptr, ptr0);
23133
23295
  return ret;
23134
23296
  }
23297
+ /**
23298
+ * Returns the lineage for one order, or `null` if not tracked.
23299
+ *
23300
+ * `order_id` is the order's stable identifier as a decimal string.
23301
+ * @param {string} order_id
23302
+ * @returns {Promise<PswapLineageRecord | undefined>}
23303
+ */
23304
+ getPswapLineage(order_id) {
23305
+ const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
23306
+ const len0 = WASM_VECTOR_LEN;
23307
+ const ret = wasm.webclient_getPswapLineage(this.__wbg_ptr, ptr0, len0);
23308
+ return ret;
23309
+ }
23310
+ /**
23311
+ * Returns every PSWAP lineage tracked by this client.
23312
+ * @returns {Promise<PswapLineageRecord[]>}
23313
+ */
23314
+ getPswapLineages() {
23315
+ const ret = wasm.webclient_getPswapLineages(this.__wbg_ptr);
23316
+ return ret;
23317
+ }
23318
+ /**
23319
+ * Returns lineages created by a specific local account.
23320
+ * @param {AccountId} creator
23321
+ * @returns {Promise<PswapLineageRecord[]>}
23322
+ */
23323
+ getPswapLineagesFor(creator) {
23324
+ _assertClass(creator, AccountId);
23325
+ const ret = wasm.webclient_getPswapLineagesFor(this.__wbg_ptr, creator.__wbg_ptr);
23326
+ return ret;
23327
+ }
23135
23328
  /**
23136
23329
  * Returns all public key commitments associated with the given account ID.
23137
23330
  *
@@ -24114,7 +24307,7 @@ function __wbg_get_imports() {
24114
24307
  const ret = AccountStorage.__wrap(arg0);
24115
24308
  return ret;
24116
24309
  },
24117
- __wbg_addNoteTag_f0737cd654a0af83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24310
+ __wbg_addNoteTag_096da497a0a0cab8: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24118
24311
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24119
24312
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24120
24313
  let v1;
@@ -24142,21 +24335,21 @@ function __wbg_get_imports() {
24142
24335
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
24143
24336
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
24144
24337
  }, arguments); },
24145
- __wbg_applyFullAccountState_0f46ca4819ec19a2: function(arg0, arg1, arg2) {
24338
+ __wbg_applyFullAccountState_bf8b5d3a049e6ceb: function(arg0, arg1, arg2) {
24146
24339
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
24147
24340
  return ret;
24148
24341
  },
24149
- __wbg_applySettingsMutations_633bdfc5efcbeab4: function(arg0, arg1, arg2, arg3) {
24342
+ __wbg_applySettingsMutations_9c110a085196df8d: function(arg0, arg1, arg2, arg3) {
24150
24343
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24151
24344
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24152
24345
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
24153
24346
  return ret;
24154
24347
  },
24155
- __wbg_applyStateSync_4577b4125b70be6e: function(arg0, arg1, arg2) {
24348
+ __wbg_applyStateSync_06bd22fcf36d1cdd: function(arg0, arg1, arg2) {
24156
24349
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
24157
24350
  return ret;
24158
24351
  },
24159
- __wbg_applyTransactionDelta_956ac5d25a74f4f2: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
24352
+ __wbg_applyTransactionDelta_a44d63205c2d024c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
24160
24353
  let deferred0_0;
24161
24354
  let deferred0_1;
24162
24355
  let deferred1_0;
@@ -24295,7 +24488,7 @@ function __wbg_get_imports() {
24295
24488
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24296
24489
  }
24297
24490
  },
24298
- __wbg_exportStore_6122bc835ba1335e: function(arg0, arg1) {
24491
+ __wbg_exportStore_b792e5263f047bc6: function(arg0, arg1) {
24299
24492
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
24300
24493
  return ret;
24301
24494
  },
@@ -24327,7 +24520,7 @@ function __wbg_get_imports() {
24327
24520
  const ret = FetchedNote.__wrap(arg0);
24328
24521
  return ret;
24329
24522
  },
24330
- __wbg_forceImportStore_fee039594a1dd764: function(arg0, arg1, arg2) {
24523
+ __wbg_forceImportStore_18bed9aaee1d64be: function(arg0, arg1, arg2) {
24331
24524
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
24332
24525
  return ret;
24333
24526
  },
@@ -24347,7 +24540,7 @@ function __wbg_get_imports() {
24347
24540
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
24348
24541
  return ret;
24349
24542
  },
24350
- __wbg_getAccountAddresses_c2905210853e4c1d: function(arg0, arg1, arg2, arg3) {
24543
+ __wbg_getAccountAddresses_912a98d65bbdf9b5: function(arg0, arg1, arg2, arg3) {
24351
24544
  let deferred0_0;
24352
24545
  let deferred0_1;
24353
24546
  try {
@@ -24359,7 +24552,7 @@ function __wbg_get_imports() {
24359
24552
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24360
24553
  }
24361
24554
  },
24362
- __wbg_getAccountAuthByPubKeyCommitment_aa1c1ea910be8702: function(arg0, arg1, arg2, arg3) {
24555
+ __wbg_getAccountAuthByPubKeyCommitment_dc6a856d5dfdfb40: function(arg0, arg1, arg2, arg3) {
24363
24556
  let deferred0_0;
24364
24557
  let deferred0_1;
24365
24558
  try {
@@ -24371,7 +24564,7 @@ function __wbg_get_imports() {
24371
24564
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24372
24565
  }
24373
24566
  },
24374
- __wbg_getAccountCode_624d99224830e698: function(arg0, arg1, arg2, arg3) {
24567
+ __wbg_getAccountCode_919e4265460ed86a: function(arg0, arg1, arg2, arg3) {
24375
24568
  let deferred0_0;
24376
24569
  let deferred0_1;
24377
24570
  try {
@@ -24383,7 +24576,7 @@ function __wbg_get_imports() {
24383
24576
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24384
24577
  }
24385
24578
  },
24386
- __wbg_getAccountHeaderByCommitment_87400f84a64deb6f: function(arg0, arg1, arg2, arg3) {
24579
+ __wbg_getAccountHeaderByCommitment_ba76171382e4adeb: function(arg0, arg1, arg2, arg3) {
24387
24580
  let deferred0_0;
24388
24581
  let deferred0_1;
24389
24582
  try {
@@ -24395,7 +24588,7 @@ function __wbg_get_imports() {
24395
24588
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24396
24589
  }
24397
24590
  },
24398
- __wbg_getAccountHeader_1bfe2e4c80c39a5a: function(arg0, arg1, arg2, arg3) {
24591
+ __wbg_getAccountHeader_0ad8dac3ef38914f: function(arg0, arg1, arg2, arg3) {
24399
24592
  let deferred0_0;
24400
24593
  let deferred0_1;
24401
24594
  try {
@@ -24407,7 +24600,7 @@ function __wbg_get_imports() {
24407
24600
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24408
24601
  }
24409
24602
  },
24410
- __wbg_getAccountIdByKeyCommitment_119e889c02d0a383: function(arg0, arg1, arg2, arg3) {
24603
+ __wbg_getAccountIdByKeyCommitment_4e69aeecb15f3fed: function(arg0, arg1, arg2, arg3) {
24411
24604
  let deferred0_0;
24412
24605
  let deferred0_1;
24413
24606
  try {
@@ -24419,11 +24612,11 @@ function __wbg_get_imports() {
24419
24612
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24420
24613
  }
24421
24614
  },
24422
- __wbg_getAccountIds_b7c51b913d5bf21d: function(arg0, arg1) {
24615
+ __wbg_getAccountIds_c8a084349d486e38: function(arg0, arg1) {
24423
24616
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
24424
24617
  return ret;
24425
24618
  },
24426
- __wbg_getAccountStorageMaps_ea32cd8cf6fc6297: function(arg0, arg1, arg2, arg3) {
24619
+ __wbg_getAccountStorageMaps_05ce89e538285075: function(arg0, arg1, arg2, arg3) {
24427
24620
  let deferred0_0;
24428
24621
  let deferred0_1;
24429
24622
  try {
@@ -24435,7 +24628,7 @@ function __wbg_get_imports() {
24435
24628
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24436
24629
  }
24437
24630
  },
24438
- __wbg_getAccountStorage_277a00af1ae659dd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24631
+ __wbg_getAccountStorage_705ac874dc621263: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24439
24632
  let deferred0_0;
24440
24633
  let deferred0_1;
24441
24634
  try {
@@ -24449,7 +24642,7 @@ function __wbg_get_imports() {
24449
24642
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24450
24643
  }
24451
24644
  },
24452
- __wbg_getAccountVaultAssets_e588f7c19992bf5a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24645
+ __wbg_getAccountVaultAssets_2c4f2c4b915b917b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24453
24646
  let deferred0_0;
24454
24647
  let deferred0_1;
24455
24648
  try {
@@ -24463,27 +24656,27 @@ function __wbg_get_imports() {
24463
24656
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24464
24657
  }
24465
24658
  },
24466
- __wbg_getAllAccountHeaders_cc5df55ad899e5ca: function(arg0, arg1) {
24659
+ __wbg_getAllAccountHeaders_0aefc9e33a9177d9: function(arg0, arg1) {
24467
24660
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
24468
24661
  return ret;
24469
24662
  },
24470
- __wbg_getBlockHeaders_08a8804e4b3ff442: function(arg0, arg1, arg2, arg3) {
24663
+ __wbg_getBlockHeaders_8130cc26764af62f: function(arg0, arg1, arg2, arg3) {
24471
24664
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24472
24665
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24473
24666
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
24474
24667
  return ret;
24475
24668
  },
24476
- __wbg_getCurrentBlockchainPeaks_f0d990ec54236a85: function(arg0, arg1) {
24669
+ __wbg_getCurrentBlockchainPeaks_d93dfc7df30d5f85: function(arg0, arg1) {
24477
24670
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
24478
24671
  return ret;
24479
24672
  },
24480
- __wbg_getForeignAccountCode_d4d803c5248469e8: function(arg0, arg1, arg2, arg3) {
24673
+ __wbg_getForeignAccountCode_fc193a275029ef5e: function(arg0, arg1, arg2, arg3) {
24481
24674
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24482
24675
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24483
24676
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
24484
24677
  return ret;
24485
24678
  },
24486
- __wbg_getInputNoteByOffset_a1163c6c190c7bc0: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24679
+ __wbg_getInputNoteByOffset_7db364c43d08e4af: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24487
24680
  let deferred1_0;
24488
24681
  let deferred1_1;
24489
24682
  try {
@@ -24497,31 +24690,31 @@ function __wbg_get_imports() {
24497
24690
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24498
24691
  }
24499
24692
  },
24500
- __wbg_getInputNotesFromDetailsCommitments_c7c58c64df846c95: function(arg0, arg1, arg2, arg3) {
24693
+ __wbg_getInputNotesFromDetailsCommitments_f57aba3cb04fda20: function(arg0, arg1, arg2, arg3) {
24501
24694
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24502
24695
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24503
24696
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24504
24697
  return ret;
24505
24698
  },
24506
- __wbg_getInputNotesFromIds_c19092f0da179fdf: function(arg0, arg1, arg2, arg3) {
24699
+ __wbg_getInputNotesFromIds_095b92f152063113: function(arg0, arg1, arg2, arg3) {
24507
24700
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24508
24701
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24509
24702
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24510
24703
  return ret;
24511
24704
  },
24512
- __wbg_getInputNotesFromNullifiers_ef5e3e241e8f14b9: function(arg0, arg1, arg2, arg3) {
24705
+ __wbg_getInputNotesFromNullifiers_3baa48047cae5f62: function(arg0, arg1, arg2, arg3) {
24513
24706
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24514
24707
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24515
24708
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24516
24709
  return ret;
24517
24710
  },
24518
- __wbg_getInputNotes_9a2890b2c05db53e: function(arg0, arg1, arg2, arg3) {
24711
+ __wbg_getInputNotes_fa5732f7bb42ac4d: function(arg0, arg1, arg2, arg3) {
24519
24712
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24520
24713
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24521
24714
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
24522
24715
  return ret;
24523
24716
  },
24524
- __wbg_getKeyCommitmentsByAccountId_98d1052aa93e54d1: function(arg0, arg1, arg2, arg3) {
24717
+ __wbg_getKeyCommitmentsByAccountId_3a1fa381e4a3512c: function(arg0, arg1, arg2, arg3) {
24525
24718
  let deferred0_0;
24526
24719
  let deferred0_1;
24527
24720
  try {
@@ -24533,7 +24726,7 @@ function __wbg_get_imports() {
24533
24726
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24534
24727
  }
24535
24728
  },
24536
- __wbg_getNoteScript_f33c8718fc90d2c4: function(arg0, arg1, arg2, arg3) {
24729
+ __wbg_getNoteScript_c39ba18a6d9ccbdd: function(arg0, arg1, arg2, arg3) {
24537
24730
  let deferred0_0;
24538
24731
  let deferred0_1;
24539
24732
  try {
@@ -24545,39 +24738,39 @@ function __wbg_get_imports() {
24545
24738
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24546
24739
  }
24547
24740
  },
24548
- __wbg_getNoteTags_e2ed88e636d0ad2a: function(arg0, arg1) {
24741
+ __wbg_getNoteTags_dfabde0a287eb2d8: function(arg0, arg1) {
24549
24742
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
24550
24743
  return ret;
24551
24744
  },
24552
- __wbg_getOutputNotesFromDetailsCommitments_2b6cb89aa5ad7bd7: function(arg0, arg1, arg2, arg3) {
24745
+ __wbg_getOutputNotesFromDetailsCommitments_c3bc51f64856a870: function(arg0, arg1, arg2, arg3) {
24553
24746
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24554
24747
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24555
24748
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24556
24749
  return ret;
24557
24750
  },
24558
- __wbg_getOutputNotesFromIds_1cfcb787c56927d6: function(arg0, arg1, arg2, arg3) {
24751
+ __wbg_getOutputNotesFromIds_40ec543cc8597acb: function(arg0, arg1, arg2, arg3) {
24559
24752
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24560
24753
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24561
24754
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24562
24755
  return ret;
24563
24756
  },
24564
- __wbg_getOutputNotesFromNullifiers_ab2d0529c918ceb6: function(arg0, arg1, arg2, arg3) {
24757
+ __wbg_getOutputNotesFromNullifiers_e354ef39f1caaa06: function(arg0, arg1, arg2, arg3) {
24565
24758
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24566
24759
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24567
24760
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24568
24761
  return ret;
24569
24762
  },
24570
- __wbg_getOutputNotes_3ce2621bbaa0b67a: function(arg0, arg1, arg2, arg3) {
24763
+ __wbg_getOutputNotes_f7df05cc81dd5a4a: function(arg0, arg1, arg2, arg3) {
24571
24764
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24572
24765
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24573
24766
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
24574
24767
  return ret;
24575
24768
  },
24576
- __wbg_getPartialBlockchainNodesAll_97b2296b6f446165: function(arg0, arg1) {
24769
+ __wbg_getPartialBlockchainNodesAll_a4d6e01b7cb4514d: function(arg0, arg1) {
24577
24770
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
24578
24771
  return ret;
24579
24772
  },
24580
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_a00a947793bcac3c: function(arg0, arg1, arg2, arg3) {
24773
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_44ddf5d7be0458f0: function(arg0, arg1, arg2, arg3) {
24581
24774
  let deferred0_0;
24582
24775
  let deferred0_1;
24583
24776
  try {
@@ -24589,7 +24782,7 @@ function __wbg_get_imports() {
24589
24782
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24590
24783
  }
24591
24784
  },
24592
- __wbg_getPartialBlockchainNodes_ed95c0aed168e0bd: function(arg0, arg1, arg2, arg3) {
24785
+ __wbg_getPartialBlockchainNodes_83606a119576094d: function(arg0, arg1, arg2, arg3) {
24593
24786
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24594
24787
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24595
24788
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -24602,7 +24795,7 @@ function __wbg_get_imports() {
24602
24795
  const ret = arg0.getReader();
24603
24796
  return ret;
24604
24797
  }, arguments); },
24605
- __wbg_getSetting_ae10044e2d623298: function(arg0, arg1, arg2, arg3) {
24798
+ __wbg_getSetting_253ca767d0248255: function(arg0, arg1, arg2, arg3) {
24606
24799
  let deferred0_0;
24607
24800
  let deferred0_1;
24608
24801
  try {
@@ -24614,7 +24807,7 @@ function __wbg_get_imports() {
24614
24807
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24615
24808
  }
24616
24809
  },
24617
- __wbg_getSyncHeight_58fc6088ffc73f66: function(arg0, arg1) {
24810
+ __wbg_getSyncHeight_3bfc3eb6e40e3e97: function(arg0, arg1) {
24618
24811
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
24619
24812
  return ret;
24620
24813
  },
@@ -24622,15 +24815,15 @@ function __wbg_get_imports() {
24622
24815
  const ret = arg0.getTime();
24623
24816
  return ret;
24624
24817
  },
24625
- __wbg_getTrackedBlockHeaderNumbers_5ff16c5dbe739bda: function(arg0, arg1) {
24818
+ __wbg_getTrackedBlockHeaderNumbers_2dee370065038781: function(arg0, arg1) {
24626
24819
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
24627
24820
  return ret;
24628
24821
  },
24629
- __wbg_getTrackedBlockHeaders_b20d19487c2d6df9: function(arg0, arg1) {
24822
+ __wbg_getTrackedBlockHeaders_18d50e64219e9864: function(arg0, arg1) {
24630
24823
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
24631
24824
  return ret;
24632
24825
  },
24633
- __wbg_getTransactions_162de0ea1d0f2668: function(arg0, arg1, arg2, arg3) {
24826
+ __wbg_getTransactions_ad8d5fe25611a846: function(arg0, arg1, arg2, arg3) {
24634
24827
  let deferred0_0;
24635
24828
  let deferred0_1;
24636
24829
  try {
@@ -24642,7 +24835,7 @@ function __wbg_get_imports() {
24642
24835
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24643
24836
  }
24644
24837
  },
24645
- __wbg_getUnspentInputNoteNullifiers_252553121097b242: function(arg0, arg1) {
24838
+ __wbg_getUnspentInputNoteNullifiers_ebaf421fc0015fa2: function(arg0, arg1) {
24646
24839
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
24647
24840
  return ret;
24648
24841
  },
@@ -24686,7 +24879,7 @@ function __wbg_get_imports() {
24686
24879
  const ret = InputNoteRecord.__wrap(arg0);
24687
24880
  return ret;
24688
24881
  },
24689
- __wbg_insertAccountAddress_a6b2f038c55aee0a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24882
+ __wbg_insertAccountAddress_a51e79c880ced1cf: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24690
24883
  let deferred0_0;
24691
24884
  let deferred0_1;
24692
24885
  try {
@@ -24700,7 +24893,7 @@ function __wbg_get_imports() {
24700
24893
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24701
24894
  }
24702
24895
  },
24703
- __wbg_insertAccountAuth_adb2bbf98e1c34d4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24896
+ __wbg_insertAccountAuth_b3858458a03809ae: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24704
24897
  let deferred0_0;
24705
24898
  let deferred0_1;
24706
24899
  let deferred1_0;
@@ -24717,7 +24910,7 @@ function __wbg_get_imports() {
24717
24910
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24718
24911
  }
24719
24912
  },
24720
- __wbg_insertAccountKeyMapping_47e616ac5977fb9c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24913
+ __wbg_insertAccountKeyMapping_fbbf855438446c03: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24721
24914
  let deferred0_0;
24722
24915
  let deferred0_1;
24723
24916
  let deferred1_0;
@@ -24734,13 +24927,13 @@ function __wbg_get_imports() {
24734
24927
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24735
24928
  }
24736
24929
  },
24737
- __wbg_insertBlockHeader_23b7b30d0614926f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24930
+ __wbg_insertBlockHeader_5536ebc96b4798c2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24738
24931
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
24739
24932
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
24740
24933
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
24741
24934
  return ret;
24742
24935
  },
24743
- __wbg_insertPartialBlockchainNodes_403400ec217229f2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24936
+ __wbg_insertPartialBlockchainNodes_c23a7fa71eb012cb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24744
24937
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24745
24938
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24746
24939
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24748,7 +24941,7 @@ function __wbg_get_imports() {
24748
24941
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
24749
24942
  return ret;
24750
24943
  },
24751
- __wbg_insertSetting_fcdab04463e418b0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24944
+ __wbg_insertSetting_8c97168fca4bc5c5: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24752
24945
  let deferred0_0;
24753
24946
  let deferred0_1;
24754
24947
  try {
@@ -24762,7 +24955,7 @@ function __wbg_get_imports() {
24762
24955
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24763
24956
  }
24764
24957
  },
24765
- __wbg_insertTransactionScript_a97df45bc8841578: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24958
+ __wbg_insertTransactionScript_1659a26e7d4e8b52: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24766
24959
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24767
24960
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24768
24961
  let v1;
@@ -24859,11 +25052,11 @@ function __wbg_get_imports() {
24859
25052
  const ret = arg0.length;
24860
25053
  return ret;
24861
25054
  },
24862
- __wbg_listSettingKeys_aa9e036a0e93602e: function(arg0, arg1) {
25055
+ __wbg_listSettingKeys_56269e70dbc1174c: function(arg0, arg1) {
24863
25056
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
24864
25057
  return ret;
24865
25058
  },
24866
- __wbg_lockAccount_00786cae6f7ea636: function(arg0, arg1, arg2, arg3) {
25059
+ __wbg_lockAccount_cd84affa0a834358: function(arg0, arg1, arg2, arg3) {
24867
25060
  let deferred0_0;
24868
25061
  let deferred0_1;
24869
25062
  try {
@@ -24951,7 +25144,7 @@ function __wbg_get_imports() {
24951
25144
  const a = state0.a;
24952
25145
  state0.a = 0;
24953
25146
  try {
24954
- return wasm_bindgen__convert__closures_____invoke__h7a3c25b2fe6d77ec(a, state0.b, arg0, arg1);
25147
+ return wasm_bindgen__convert__closures_____invoke__h27981db70122c447(a, state0.b, arg0, arg1);
24955
25148
  } finally {
24956
25149
  state0.a = a;
24957
25150
  }
@@ -25062,7 +25255,7 @@ function __wbg_get_imports() {
25062
25255
  const ret = NoteTag.__unwrap(arg0);
25063
25256
  return ret;
25064
25257
  },
25065
- __wbg_openDatabase_8cdde169e05fa396: function(arg0, arg1, arg2, arg3) {
25258
+ __wbg_openDatabase_17981eba13e00fdc: function(arg0, arg1, arg2, arg3) {
25066
25259
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
25067
25260
  return ret;
25068
25261
  },
@@ -25093,7 +25286,7 @@ function __wbg_get_imports() {
25093
25286
  const ret = ProvenTransaction.__wrap(arg0);
25094
25287
  return ret;
25095
25288
  },
25096
- __wbg_pruneAccountHistory_77197f52f4287754: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25289
+ __wbg_pruneAccountHistory_e0d6394c134a165c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25097
25290
  let deferred0_0;
25098
25291
  let deferred0_1;
25099
25292
  let deferred1_0;
@@ -25110,7 +25303,7 @@ function __wbg_get_imports() {
25110
25303
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25111
25304
  }
25112
25305
  },
25113
- __wbg_pruneIrrelevantBlocks_649b0446c426cb86: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25306
+ __wbg_pruneIrrelevantBlocks_eb1f447cdba825b0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25114
25307
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
25115
25308
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25116
25309
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25118,6 +25311,10 @@ function __wbg_get_imports() {
25118
25311
  const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1), v0, v1);
25119
25312
  return ret;
25120
25313
  },
25314
+ __wbg_pswaplineagerecord_new: function(arg0) {
25315
+ const ret = PswapLineageRecord.__wrap(arg0);
25316
+ return ret;
25317
+ },
25121
25318
  __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
25122
25319
  const ret = arg0.queueMicrotask;
25123
25320
  return ret;
@@ -25132,13 +25329,13 @@ function __wbg_get_imports() {
25132
25329
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
25133
25330
  arg0.releaseLock();
25134
25331
  },
25135
- __wbg_removeAccountAddress_fc888f883a71bd4f: function(arg0, arg1, arg2, arg3) {
25332
+ __wbg_removeAccountAddress_af59fd21bdac1724: function(arg0, arg1, arg2, arg3) {
25136
25333
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25137
25334
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25138
25335
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
25139
25336
  return ret;
25140
25337
  },
25141
- __wbg_removeAccountAuth_8f11e01dd6099b42: function(arg0, arg1, arg2, arg3) {
25338
+ __wbg_removeAccountAuth_0a826954671c4b14: function(arg0, arg1, arg2, arg3) {
25142
25339
  let deferred0_0;
25143
25340
  let deferred0_1;
25144
25341
  try {
@@ -25150,7 +25347,7 @@ function __wbg_get_imports() {
25150
25347
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25151
25348
  }
25152
25349
  },
25153
- __wbg_removeAllMappingsForKey_1fd0c55cb2cd0b61: function(arg0, arg1, arg2, arg3) {
25350
+ __wbg_removeAllMappingsForKey_a3c019a389bb16b1: function(arg0, arg1, arg2, arg3) {
25154
25351
  let deferred0_0;
25155
25352
  let deferred0_1;
25156
25353
  try {
@@ -25162,7 +25359,7 @@ function __wbg_get_imports() {
25162
25359
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25163
25360
  }
25164
25361
  },
25165
- __wbg_removeNoteTag_d9a0f5ba38c25246: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25362
+ __wbg_removeNoteTag_8002568485e57cc5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25166
25363
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25167
25364
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25168
25365
  let v1;
@@ -25183,7 +25380,7 @@ function __wbg_get_imports() {
25183
25380
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
25184
25381
  return ret;
25185
25382
  },
25186
- __wbg_removeSetting_39da4a2d256af0e2: function(arg0, arg1, arg2, arg3) {
25383
+ __wbg_removeSetting_d7d4e7bac50b96f6: function(arg0, arg1, arg2, arg3) {
25187
25384
  let deferred0_0;
25188
25385
  let deferred0_1;
25189
25386
  try {
@@ -25383,13 +25580,13 @@ function __wbg_get_imports() {
25383
25580
  const ret = TransactionSummary.__wrap(arg0);
25384
25581
  return ret;
25385
25582
  },
25386
- __wbg_undoAccountStates_e36a3027b0d94828: function(arg0, arg1, arg2, arg3) {
25583
+ __wbg_undoAccountStates_2612c0beaf8bd1b8: function(arg0, arg1, arg2, arg3) {
25387
25584
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25388
25585
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25389
25586
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
25390
25587
  return ret;
25391
25588
  },
25392
- __wbg_upsertAccountCode_a57f0b2098ba7190: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25589
+ __wbg_upsertAccountCode_90bc45f9056d9a65: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25393
25590
  let deferred0_0;
25394
25591
  let deferred0_1;
25395
25592
  try {
@@ -25403,7 +25600,7 @@ function __wbg_get_imports() {
25403
25600
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25404
25601
  }
25405
25602
  },
25406
- __wbg_upsertAccountRecord_96a74a90d1ab5ddf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25603
+ __wbg_upsertAccountRecord_07018035c7fcd8e9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25407
25604
  let deferred0_0;
25408
25605
  let deferred0_1;
25409
25606
  let deferred1_0;
@@ -25445,7 +25642,7 @@ function __wbg_get_imports() {
25445
25642
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
25446
25643
  }
25447
25644
  },
25448
- __wbg_upsertAccountStorage_cd428602fca677b1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25645
+ __wbg_upsertAccountStorage_6c49335faf715063: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25449
25646
  let deferred0_0;
25450
25647
  let deferred0_1;
25451
25648
  try {
@@ -25459,7 +25656,7 @@ function __wbg_get_imports() {
25459
25656
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25460
25657
  }
25461
25658
  },
25462
- __wbg_upsertForeignAccountCode_ea1c872f50b83cf7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25659
+ __wbg_upsertForeignAccountCode_6884ddcc23079909: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25463
25660
  let deferred0_0;
25464
25661
  let deferred0_1;
25465
25662
  let deferred2_0;
@@ -25478,7 +25675,7 @@ function __wbg_get_imports() {
25478
25675
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
25479
25676
  }
25480
25677
  },
25481
- __wbg_upsertInputNote_41d8246e4ca8cd5d: 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) {
25678
+ __wbg_upsertInputNote_491b4f316c914f08: 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) {
25482
25679
  let deferred0_0;
25483
25680
  let deferred0_1;
25484
25681
  let deferred6_0;
@@ -25527,7 +25724,7 @@ function __wbg_get_imports() {
25527
25724
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
25528
25725
  }
25529
25726
  },
25530
- __wbg_upsertNoteScript_77ad6333fd8d09bd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25727
+ __wbg_upsertNoteScript_8cb185364b8b811c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25531
25728
  let deferred0_0;
25532
25729
  let deferred0_1;
25533
25730
  try {
@@ -25541,7 +25738,7 @@ function __wbg_get_imports() {
25541
25738
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25542
25739
  }
25543
25740
  },
25544
- __wbg_upsertOutputNote_4d029c88a0e7d960: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25741
+ __wbg_upsertOutputNote_28a007cae68c5f83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25545
25742
  let deferred0_0;
25546
25743
  let deferred0_1;
25547
25744
  let deferred1_0;
@@ -25576,7 +25773,7 @@ function __wbg_get_imports() {
25576
25773
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
25577
25774
  }
25578
25775
  },
25579
- __wbg_upsertStorageMapEntries_068d8303824fff58: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25776
+ __wbg_upsertStorageMapEntries_7c81b5bca7ee1c50: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25580
25777
  let deferred0_0;
25581
25778
  let deferred0_1;
25582
25779
  try {
@@ -25590,7 +25787,7 @@ function __wbg_get_imports() {
25590
25787
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25591
25788
  }
25592
25789
  },
25593
- __wbg_upsertTransactionRecord_a285bd5d3fd5a278: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25790
+ __wbg_upsertTransactionRecord_b80c9a5ba744de46: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25594
25791
  let deferred0_0;
25595
25792
  let deferred0_1;
25596
25793
  try {
@@ -25611,7 +25808,7 @@ function __wbg_get_imports() {
25611
25808
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25612
25809
  }
25613
25810
  },
25614
- __wbg_upsertVaultAssets_53ecfc329186db4e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25811
+ __wbg_upsertVaultAssets_d2dccc19a14a6eb7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25615
25812
  let deferred0_0;
25616
25813
  let deferred0_1;
25617
25814
  try {
@@ -25642,13 +25839,13 @@ function __wbg_get_imports() {
25642
25839
  return ret;
25643
25840
  },
25644
25841
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
25645
- // Cast intrinsic for `Closure(Closure { dtor_idx: 427, function: Function { arguments: [Externref], shim_idx: 793, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25646
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3f095fc116138c37, wasm_bindgen__convert__closures_____invoke__h5b85ca27a15b53fc);
25842
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 447, function: Function { arguments: [Externref], shim_idx: 797, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25843
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92);
25647
25844
  return ret;
25648
25845
  },
25649
25846
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
25650
- // Cast intrinsic for `Closure(Closure { dtor_idx: 427, function: Function { arguments: [], shim_idx: 428, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25651
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3f095fc116138c37, wasm_bindgen__convert__closures_____invoke__h8c482c344300c6d3);
25847
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 447, function: Function { arguments: [], shim_idx: 448, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25848
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442);
25652
25849
  return ret;
25653
25850
  },
25654
25851
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -25711,25 +25908,32 @@ function __wbg_get_imports() {
25711
25908
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
25712
25909
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25713
25910
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25714
- // Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
25911
+ // Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
25715
25912
  const ret = v0;
25716
25913
  return ret;
25717
25914
  },
25718
25915
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
25719
25916
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25720
25917
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25721
- // Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
25918
+ // Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
25722
25919
  const ret = v0;
25723
25920
  return ret;
25724
25921
  },
25725
25922
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
25726
25923
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25727
25924
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25728
- // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
25925
+ // Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
25729
25926
  const ret = v0;
25730
25927
  return ret;
25731
25928
  },
25732
25929
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
25930
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25931
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25932
+ // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
25933
+ const ret = v0;
25934
+ return ret;
25935
+ },
25936
+ __wbindgen_cast_0000000000000010: function(arg0, arg1) {
25733
25937
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
25734
25938
  wasm.__wbindgen_free(arg0, arg1 * 1, 1);
25735
25939
  // Cast intrinsic for `Vector(U8) -> Externref`.
@@ -25752,16 +25956,16 @@ function __wbg_get_imports() {
25752
25956
  };
25753
25957
  }
25754
25958
 
25755
- function wasm_bindgen__convert__closures_____invoke__h8c482c344300c6d3(arg0, arg1) {
25756
- wasm.wasm_bindgen__convert__closures_____invoke__h8c482c344300c6d3(arg0, arg1);
25959
+ function wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442(arg0, arg1) {
25960
+ wasm.wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442(arg0, arg1);
25757
25961
  }
25758
25962
 
25759
- function wasm_bindgen__convert__closures_____invoke__h5b85ca27a15b53fc(arg0, arg1, arg2) {
25760
- wasm.wasm_bindgen__convert__closures_____invoke__h5b85ca27a15b53fc(arg0, arg1, arg2);
25963
+ function wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92(arg0, arg1, arg2) {
25964
+ wasm.wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92(arg0, arg1, arg2);
25761
25965
  }
25762
25966
 
25763
- function wasm_bindgen__convert__closures_____invoke__h7a3c25b2fe6d77ec(arg0, arg1, arg2, arg3) {
25764
- wasm.wasm_bindgen__convert__closures_____invoke__h7a3c25b2fe6d77ec(arg0, arg1, arg2, arg3);
25967
+ function wasm_bindgen__convert__closures_____invoke__h27981db70122c447(arg0, arg1, arg2, arg3) {
25968
+ wasm.wasm_bindgen__convert__closures_____invoke__h27981db70122c447(arg0, arg1, arg2, arg3);
25765
25969
  }
25766
25970
 
25767
25971
 
@@ -26081,6 +26285,9 @@ const ProgramFinalization = (typeof FinalizationRegistry === 'undefined')
26081
26285
  const ProvenTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
26082
26286
  ? { register: () => {}, unregister: () => {} }
26083
26287
  : new FinalizationRegistry(ptr => wasm.__wbg_proventransaction_free(ptr >>> 0, 1));
26288
+ const PswapLineageRecordFinalization = (typeof FinalizationRegistry === 'undefined')
26289
+ ? { register: () => {}, unregister: () => {} }
26290
+ : new FinalizationRegistry(ptr => wasm.__wbg_pswaplineagerecord_free(ptr >>> 0, 1));
26084
26291
  const PublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
26085
26292
  ? { register: () => {}, unregister: () => {} }
26086
26293
  : new FinalizationRegistry(ptr => wasm.__wbg_publickey_free(ptr >>> 0, 1));
@@ -26573,7 +26780,7 @@ async function __wbg_init(module_or_path) {
26573
26780
 
26574
26781
  const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
26575
26782
 
26576
- var CargoQHCIdWdN = /*#__PURE__*/Object.freeze({
26783
+ var CargoDlo4tWNG = /*#__PURE__*/Object.freeze({
26577
26784
  __proto__: null,
26578
26785
  Account: Account,
26579
26786
  AccountArray: AccountArray,
@@ -26683,6 +26890,8 @@ var CargoQHCIdWdN = /*#__PURE__*/Object.freeze({
26683
26890
  ProcedureThreshold: ProcedureThreshold,
26684
26891
  Program: Program,
26685
26892
  ProvenTransaction: ProvenTransaction,
26893
+ PswapLineageRecord: PswapLineageRecord,
26894
+ PswapLineageState: PswapLineageState,
26686
26895
  PublicKey: PublicKey,
26687
26896
  RpcClient: RpcClient,
26688
26897
  Rpo256: Rpo256,