@miden-sdk/miden-sdk 0.15.1 → 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-D6y7aDQ8.js → Cargo-BbpPeJYa.js} +288 -79
  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-D6y7aDQ8-BbSVnZEb.js → Cargo-BbpPeJYa-BlSVzh6v.js} +288 -79
  14. package/dist/mt/workers/{Cargo-D6y7aDQ8-BbSVnZEb.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 +290 -79
  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-LzqxI7kL.js → Cargo-Dlo4tWNG.js} +285 -78
  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-LzqxI7kL-9fqTseKT.js → Cargo-Dlo4tWNG-BPaiqKyy.js} +285 -78
  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 +287 -78
  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-D6y7aDQ8.js.map +0 -1
  42. package/dist/st/Cargo-LzqxI7kL.js.map +0 -1
  43. package/dist/st/workers/Cargo-LzqxI7kL-9fqTseKT.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 CargoD6y7aDQ8; });
8
+ wasmModule = await Promise.resolve().then(function () { return CargoBbpPeJYa; });
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
@@ -13350,6 +13350,13 @@ if (Symbol.dispose) AdviceInputs.prototype[Symbol.dispose] = AdviceInputs.protot
13350
13350
  * Map of advice values keyed by words for script execution.
13351
13351
  */
13352
13352
  class AdviceMap {
13353
+ static __wrap(ptr) {
13354
+ ptr = ptr >>> 0;
13355
+ const obj = Object.create(AdviceMap.prototype);
13356
+ obj.__wbg_ptr = ptr;
13357
+ AdviceMapFinalization.register(obj, obj.__wbg_ptr, obj);
13358
+ return obj;
13359
+ }
13353
13360
  __destroy_into_raw() {
13354
13361
  const ptr = this.__wbg_ptr;
13355
13362
  this.__wbg_ptr = 0;
@@ -19652,6 +19659,119 @@ class ProvenTransaction {
19652
19659
  }
19653
19660
  if (Symbol.dispose) ProvenTransaction.prototype[Symbol.dispose] = ProvenTransaction.prototype.free;
19654
19661
 
19662
+ /**
19663
+ * Read-only view of one PSWAP order's chain state, exposed to JavaScript.
19664
+ * The mutable fields (remaining amounts, depth, tip, state) advance
19665
+ * round-by-round as fills are discovered during sync.
19666
+ */
19667
+ class PswapLineageRecord {
19668
+ static __wrap(ptr) {
19669
+ ptr = ptr >>> 0;
19670
+ const obj = Object.create(PswapLineageRecord.prototype);
19671
+ obj.__wbg_ptr = ptr;
19672
+ PswapLineageRecordFinalization.register(obj, obj.__wbg_ptr, obj);
19673
+ return obj;
19674
+ }
19675
+ __destroy_into_raw() {
19676
+ const ptr = this.__wbg_ptr;
19677
+ this.__wbg_ptr = 0;
19678
+ PswapLineageRecordFinalization.unregister(this);
19679
+ return ptr;
19680
+ }
19681
+ free() {
19682
+ const ptr = this.__destroy_into_raw();
19683
+ wasm.__wbg_pswaplineagerecord_free(ptr, 0);
19684
+ }
19685
+ /**
19686
+ * Account that created the order and receives every payback.
19687
+ * @returns {AccountId}
19688
+ */
19689
+ creatorAccountId() {
19690
+ const ret = wasm.pswaplineagerecord_creatorAccountId(this.__wbg_ptr);
19691
+ return AccountId.__wrap(ret);
19692
+ }
19693
+ /**
19694
+ * Depth of the current tip: 0 for the original PSWAP, +1 per fill round.
19695
+ * @returns {number}
19696
+ */
19697
+ currentDepth() {
19698
+ const ret = wasm.pswaplineagerecord_currentDepth(this.__wbg_ptr);
19699
+ return ret >>> 0;
19700
+ }
19701
+ /**
19702
+ * Note id of the current tip in the chain.
19703
+ * @returns {NoteId}
19704
+ */
19705
+ currentTipNoteId() {
19706
+ const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
19707
+ return NoteId.__wrap(ret);
19708
+ }
19709
+ /**
19710
+ * Stable identifier shared by every note in the chain, as a decimal string.
19711
+ * @returns {string}
19712
+ */
19713
+ orderId() {
19714
+ let deferred1_0;
19715
+ let deferred1_1;
19716
+ try {
19717
+ const ret = wasm.pswaplineagerecord_orderId(this.__wbg_ptr);
19718
+ deferred1_0 = ret[0];
19719
+ deferred1_1 = ret[1];
19720
+ return getStringFromWasm0(ret[0], ret[1]);
19721
+ } finally {
19722
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
19723
+ }
19724
+ }
19725
+ /**
19726
+ * Offered amount still unfilled on the current tip. The offered faucet is
19727
+ * chain-invariant and recovered from the original PSWAP note when needed.
19728
+ * @returns {bigint}
19729
+ */
19730
+ remainingOffered() {
19731
+ const ret = wasm.pswaplineagerecord_remainingOffered(this.__wbg_ptr);
19732
+ return BigInt.asUintN(64, ret);
19733
+ }
19734
+ /**
19735
+ * Requested amount still outstanding on the current tip. The requested
19736
+ * faucet is recovered from the original PSWAP note when needed.
19737
+ * @returns {bigint}
19738
+ */
19739
+ remainingRequested() {
19740
+ const ret = wasm.pswaplineagerecord_remainingRequested(this.__wbg_ptr);
19741
+ return BigInt.asUintN(64, ret);
19742
+ }
19743
+ /**
19744
+ * Lifecycle state of the order.
19745
+ * @returns {PswapLineageState}
19746
+ */
19747
+ state() {
19748
+ const ret = wasm.pswaplineagerecord_state(this.__wbg_ptr);
19749
+ return ret;
19750
+ }
19751
+ }
19752
+ if (Symbol.dispose) PswapLineageRecord.prototype[Symbol.dispose] = PswapLineageRecord.prototype.free;
19753
+
19754
+ /**
19755
+ * Lifecycle state of a PSWAP order.
19756
+ *
19757
+ * Discriminants match the on-disk encoding in the store.
19758
+ * @enum {0 | 1 | 2}
19759
+ */
19760
+ const PswapLineageState = Object.freeze({
19761
+ /**
19762
+ * Still fillable and reclaimable.
19763
+ */
19764
+ Active: 0, "0": "Active",
19765
+ /**
19766
+ * Fully filled. Terminal.
19767
+ */
19768
+ FullyFilled: 1, "1": "FullyFilled",
19769
+ /**
19770
+ * Reclaimed by the creator. Terminal.
19771
+ */
19772
+ Reclaimed: 2, "2": "Reclaimed",
19773
+ });
19774
+
19655
19775
  class PublicKey {
19656
19776
  static __wrap(ptr) {
19657
19777
  ptr = ptr >>> 0;
@@ -22007,7 +22127,7 @@ class TransactionRecord {
22007
22127
  * @returns {Word}
22008
22128
  */
22009
22129
  initAccountState() {
22010
- const ret = wasm.transactionrecord_initAccountState(this.__wbg_ptr);
22130
+ const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
22011
22131
  return Word.__wrap(ret);
22012
22132
  }
22013
22133
  /**
@@ -22072,6 +22192,14 @@ class TransactionRequest {
22072
22192
  const ptr = this.__destroy_into_raw();
22073
22193
  wasm.__wbg_transactionrequest_free(ptr, 0);
22074
22194
  }
22195
+ /**
22196
+ * Returns a copy of the advice map carried by this request.
22197
+ * @returns {AdviceMap}
22198
+ */
22199
+ adviceMap() {
22200
+ const ret = wasm.transactionrequest_adviceMap(this.__wbg_ptr);
22201
+ return AdviceMap.__wrap(ret);
22202
+ }
22075
22203
  /**
22076
22204
  * Returns the authentication argument if present.
22077
22205
  * @returns {Word | undefined}
@@ -22118,6 +22246,20 @@ class TransactionRequest {
22118
22246
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
22119
22247
  return v1;
22120
22248
  }
22249
+ /**
22250
+ * Returns a copy of this request with `advice_map` merged into its advice map.
22251
+ *
22252
+ * Entries are merged with last-write-wins semantics: a key already present in the request is
22253
+ * overwritten by the value from `advice_map`. Use this to inject advice (e.g. a signature
22254
+ * produced by an external signer) after the request has already been built.
22255
+ * @param {AdviceMap} advice_map
22256
+ * @returns {TransactionRequest}
22257
+ */
22258
+ extendAdviceMap(advice_map) {
22259
+ _assertClass(advice_map, AdviceMap);
22260
+ const ret = wasm.transactionrequest_extendAdviceMap(this.__wbg_ptr, advice_map.__wbg_ptr);
22261
+ return TransactionRequest.__wrap(ret);
22262
+ }
22121
22263
  /**
22122
22264
  * Returns the transaction script argument if present.
22123
22265
  * @returns {Word | undefined}
@@ -22879,6 +23021,10 @@ class WebClient {
22879
23021
  return ret;
22880
23022
  }
22881
23023
  /**
23024
+ * Persists a submitted transaction and returns its pre-apply
23025
+ * [`TransactionStoreUpdate`]. Routes through the high-level
23026
+ * `Client::apply_transaction` so registered observers (e.g. PSWAP
23027
+ * tracking) fire.
22882
23028
  * @param {TransactionResult} transaction_result
22883
23029
  * @param {number} submission_height
22884
23030
  * @returns {Promise<TransactionStoreUpdate>}
@@ -22888,6 +23034,22 @@ class WebClient {
22888
23034
  const ret = wasm.webclient_applyTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr, submission_height);
22889
23035
  return ret;
22890
23036
  }
23037
+ /**
23038
+ * Builds a transaction reclaiming the unfilled offered asset on the current
23039
+ * tip of an Active lineage.
23040
+ *
23041
+ * `order_id` is the order's stable identifier as a decimal string. The
23042
+ * returned request flows into the same submit path as the other PSWAP
23043
+ * cancel transactions.
23044
+ * @param {string} order_id
23045
+ * @returns {Promise<TransactionRequest>}
23046
+ */
23047
+ buildPswapCancelByOrder(order_id) {
23048
+ const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
23049
+ const len0 = WASM_VECTOR_LEN;
23050
+ const ret = wasm.webclient_buildPswapCancelByOrder(this.__wbg_ptr, ptr0, len0);
23051
+ return ret;
23052
+ }
22891
23053
  /**
22892
23054
  * @param {NoteType} note_type
22893
23055
  * @param {AccountId} offered_asset_faucet_id
@@ -23231,6 +23393,37 @@ class WebClient {
23231
23393
  const ret = wasm.webclient_getOutputNotes(this.__wbg_ptr, ptr0);
23232
23394
  return ret;
23233
23395
  }
23396
+ /**
23397
+ * Returns the lineage for one order, or `null` if not tracked.
23398
+ *
23399
+ * `order_id` is the order's stable identifier as a decimal string.
23400
+ * @param {string} order_id
23401
+ * @returns {Promise<PswapLineageRecord | undefined>}
23402
+ */
23403
+ getPswapLineage(order_id) {
23404
+ const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
23405
+ const len0 = WASM_VECTOR_LEN;
23406
+ const ret = wasm.webclient_getPswapLineage(this.__wbg_ptr, ptr0, len0);
23407
+ return ret;
23408
+ }
23409
+ /**
23410
+ * Returns every PSWAP lineage tracked by this client.
23411
+ * @returns {Promise<PswapLineageRecord[]>}
23412
+ */
23413
+ getPswapLineages() {
23414
+ const ret = wasm.webclient_getPswapLineages(this.__wbg_ptr);
23415
+ return ret;
23416
+ }
23417
+ /**
23418
+ * Returns lineages created by a specific local account.
23419
+ * @param {AccountId} creator
23420
+ * @returns {Promise<PswapLineageRecord[]>}
23421
+ */
23422
+ getPswapLineagesFor(creator) {
23423
+ _assertClass(creator, AccountId);
23424
+ const ret = wasm.webclient_getPswapLineagesFor(this.__wbg_ptr, creator.__wbg_ptr);
23425
+ return ret;
23426
+ }
23234
23427
  /**
23235
23428
  * Returns all public key commitments associated with the given account ID.
23236
23429
  *
@@ -24335,7 +24528,7 @@ function __wbg_get_imports(memory) {
24335
24528
  const ret = AccountStorage.__wrap(arg0);
24336
24529
  return ret;
24337
24530
  },
24338
- __wbg_addNoteTag_f0737cd654a0af83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24531
+ __wbg_addNoteTag_096da497a0a0cab8: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24339
24532
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24340
24533
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24341
24534
  let v1;
@@ -24363,21 +24556,21 @@ function __wbg_get_imports(memory) {
24363
24556
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
24364
24557
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
24365
24558
  }, arguments); },
24366
- __wbg_applyFullAccountState_0f46ca4819ec19a2: function(arg0, arg1, arg2) {
24559
+ __wbg_applyFullAccountState_bf8b5d3a049e6ceb: function(arg0, arg1, arg2) {
24367
24560
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
24368
24561
  return ret;
24369
24562
  },
24370
- __wbg_applySettingsMutations_633bdfc5efcbeab4: function(arg0, arg1, arg2, arg3) {
24563
+ __wbg_applySettingsMutations_9c110a085196df8d: function(arg0, arg1, arg2, arg3) {
24371
24564
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24372
24565
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24373
24566
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
24374
24567
  return ret;
24375
24568
  },
24376
- __wbg_applyStateSync_4577b4125b70be6e: function(arg0, arg1, arg2) {
24569
+ __wbg_applyStateSync_06bd22fcf36d1cdd: function(arg0, arg1, arg2) {
24377
24570
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
24378
24571
  return ret;
24379
24572
  },
24380
- __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) {
24573
+ __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) {
24381
24574
  let deferred0_0;
24382
24575
  let deferred0_1;
24383
24576
  let deferred1_0;
@@ -24528,7 +24721,7 @@ function __wbg_get_imports(memory) {
24528
24721
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24529
24722
  }
24530
24723
  },
24531
- __wbg_exportStore_6122bc835ba1335e: function(arg0, arg1) {
24724
+ __wbg_exportStore_b792e5263f047bc6: function(arg0, arg1) {
24532
24725
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
24533
24726
  return ret;
24534
24727
  },
@@ -24560,7 +24753,7 @@ function __wbg_get_imports(memory) {
24560
24753
  const ret = FetchedNote.__wrap(arg0);
24561
24754
  return ret;
24562
24755
  },
24563
- __wbg_forceImportStore_fee039594a1dd764: function(arg0, arg1, arg2) {
24756
+ __wbg_forceImportStore_18bed9aaee1d64be: function(arg0, arg1, arg2) {
24564
24757
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
24565
24758
  return ret;
24566
24759
  },
@@ -24580,7 +24773,7 @@ function __wbg_get_imports(memory) {
24580
24773
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
24581
24774
  return ret;
24582
24775
  },
24583
- __wbg_getAccountAddresses_c2905210853e4c1d: function(arg0, arg1, arg2, arg3) {
24776
+ __wbg_getAccountAddresses_912a98d65bbdf9b5: function(arg0, arg1, arg2, arg3) {
24584
24777
  let deferred0_0;
24585
24778
  let deferred0_1;
24586
24779
  try {
@@ -24592,7 +24785,7 @@ function __wbg_get_imports(memory) {
24592
24785
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24593
24786
  }
24594
24787
  },
24595
- __wbg_getAccountAuthByPubKeyCommitment_aa1c1ea910be8702: function(arg0, arg1, arg2, arg3) {
24788
+ __wbg_getAccountAuthByPubKeyCommitment_dc6a856d5dfdfb40: function(arg0, arg1, arg2, arg3) {
24596
24789
  let deferred0_0;
24597
24790
  let deferred0_1;
24598
24791
  try {
@@ -24604,7 +24797,7 @@ function __wbg_get_imports(memory) {
24604
24797
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24605
24798
  }
24606
24799
  },
24607
- __wbg_getAccountCode_624d99224830e698: function(arg0, arg1, arg2, arg3) {
24800
+ __wbg_getAccountCode_919e4265460ed86a: function(arg0, arg1, arg2, arg3) {
24608
24801
  let deferred0_0;
24609
24802
  let deferred0_1;
24610
24803
  try {
@@ -24616,7 +24809,7 @@ function __wbg_get_imports(memory) {
24616
24809
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24617
24810
  }
24618
24811
  },
24619
- __wbg_getAccountHeaderByCommitment_87400f84a64deb6f: function(arg0, arg1, arg2, arg3) {
24812
+ __wbg_getAccountHeaderByCommitment_ba76171382e4adeb: function(arg0, arg1, arg2, arg3) {
24620
24813
  let deferred0_0;
24621
24814
  let deferred0_1;
24622
24815
  try {
@@ -24628,7 +24821,7 @@ function __wbg_get_imports(memory) {
24628
24821
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24629
24822
  }
24630
24823
  },
24631
- __wbg_getAccountHeader_1bfe2e4c80c39a5a: function(arg0, arg1, arg2, arg3) {
24824
+ __wbg_getAccountHeader_0ad8dac3ef38914f: function(arg0, arg1, arg2, arg3) {
24632
24825
  let deferred0_0;
24633
24826
  let deferred0_1;
24634
24827
  try {
@@ -24640,7 +24833,7 @@ function __wbg_get_imports(memory) {
24640
24833
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24641
24834
  }
24642
24835
  },
24643
- __wbg_getAccountIdByKeyCommitment_119e889c02d0a383: function(arg0, arg1, arg2, arg3) {
24836
+ __wbg_getAccountIdByKeyCommitment_4e69aeecb15f3fed: function(arg0, arg1, arg2, arg3) {
24644
24837
  let deferred0_0;
24645
24838
  let deferred0_1;
24646
24839
  try {
@@ -24652,11 +24845,11 @@ function __wbg_get_imports(memory) {
24652
24845
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24653
24846
  }
24654
24847
  },
24655
- __wbg_getAccountIds_b7c51b913d5bf21d: function(arg0, arg1) {
24848
+ __wbg_getAccountIds_c8a084349d486e38: function(arg0, arg1) {
24656
24849
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
24657
24850
  return ret;
24658
24851
  },
24659
- __wbg_getAccountStorageMaps_ea32cd8cf6fc6297: function(arg0, arg1, arg2, arg3) {
24852
+ __wbg_getAccountStorageMaps_05ce89e538285075: function(arg0, arg1, arg2, arg3) {
24660
24853
  let deferred0_0;
24661
24854
  let deferred0_1;
24662
24855
  try {
@@ -24668,7 +24861,7 @@ function __wbg_get_imports(memory) {
24668
24861
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24669
24862
  }
24670
24863
  },
24671
- __wbg_getAccountStorage_277a00af1ae659dd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24864
+ __wbg_getAccountStorage_705ac874dc621263: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24672
24865
  let deferred0_0;
24673
24866
  let deferred0_1;
24674
24867
  try {
@@ -24682,7 +24875,7 @@ function __wbg_get_imports(memory) {
24682
24875
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24683
24876
  }
24684
24877
  },
24685
- __wbg_getAccountVaultAssets_e588f7c19992bf5a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24878
+ __wbg_getAccountVaultAssets_2c4f2c4b915b917b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24686
24879
  let deferred0_0;
24687
24880
  let deferred0_1;
24688
24881
  try {
@@ -24696,27 +24889,27 @@ function __wbg_get_imports(memory) {
24696
24889
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24697
24890
  }
24698
24891
  },
24699
- __wbg_getAllAccountHeaders_cc5df55ad899e5ca: function(arg0, arg1) {
24892
+ __wbg_getAllAccountHeaders_0aefc9e33a9177d9: function(arg0, arg1) {
24700
24893
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
24701
24894
  return ret;
24702
24895
  },
24703
- __wbg_getBlockHeaders_08a8804e4b3ff442: function(arg0, arg1, arg2, arg3) {
24896
+ __wbg_getBlockHeaders_8130cc26764af62f: function(arg0, arg1, arg2, arg3) {
24704
24897
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24705
24898
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24706
24899
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
24707
24900
  return ret;
24708
24901
  },
24709
- __wbg_getCurrentBlockchainPeaks_f0d990ec54236a85: function(arg0, arg1) {
24902
+ __wbg_getCurrentBlockchainPeaks_d93dfc7df30d5f85: function(arg0, arg1) {
24710
24903
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
24711
24904
  return ret;
24712
24905
  },
24713
- __wbg_getForeignAccountCode_d4d803c5248469e8: function(arg0, arg1, arg2, arg3) {
24906
+ __wbg_getForeignAccountCode_fc193a275029ef5e: function(arg0, arg1, arg2, arg3) {
24714
24907
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24715
24908
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24716
24909
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
24717
24910
  return ret;
24718
24911
  },
24719
- __wbg_getInputNoteByOffset_a1163c6c190c7bc0: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24912
+ __wbg_getInputNoteByOffset_7db364c43d08e4af: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24720
24913
  let deferred1_0;
24721
24914
  let deferred1_1;
24722
24915
  try {
@@ -24730,31 +24923,31 @@ function __wbg_get_imports(memory) {
24730
24923
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24731
24924
  }
24732
24925
  },
24733
- __wbg_getInputNotesFromDetailsCommitments_c7c58c64df846c95: function(arg0, arg1, arg2, arg3) {
24926
+ __wbg_getInputNotesFromDetailsCommitments_f57aba3cb04fda20: function(arg0, arg1, arg2, arg3) {
24734
24927
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24735
24928
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24736
24929
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24737
24930
  return ret;
24738
24931
  },
24739
- __wbg_getInputNotesFromIds_c19092f0da179fdf: function(arg0, arg1, arg2, arg3) {
24932
+ __wbg_getInputNotesFromIds_095b92f152063113: function(arg0, arg1, arg2, arg3) {
24740
24933
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24741
24934
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24742
24935
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24743
24936
  return ret;
24744
24937
  },
24745
- __wbg_getInputNotesFromNullifiers_ef5e3e241e8f14b9: function(arg0, arg1, arg2, arg3) {
24938
+ __wbg_getInputNotesFromNullifiers_3baa48047cae5f62: function(arg0, arg1, arg2, arg3) {
24746
24939
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24747
24940
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24748
24941
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24749
24942
  return ret;
24750
24943
  },
24751
- __wbg_getInputNotes_9a2890b2c05db53e: function(arg0, arg1, arg2, arg3) {
24944
+ __wbg_getInputNotes_fa5732f7bb42ac4d: function(arg0, arg1, arg2, arg3) {
24752
24945
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24753
24946
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24754
24947
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
24755
24948
  return ret;
24756
24949
  },
24757
- __wbg_getKeyCommitmentsByAccountId_98d1052aa93e54d1: function(arg0, arg1, arg2, arg3) {
24950
+ __wbg_getKeyCommitmentsByAccountId_3a1fa381e4a3512c: function(arg0, arg1, arg2, arg3) {
24758
24951
  let deferred0_0;
24759
24952
  let deferred0_1;
24760
24953
  try {
@@ -24766,7 +24959,7 @@ function __wbg_get_imports(memory) {
24766
24959
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24767
24960
  }
24768
24961
  },
24769
- __wbg_getNoteScript_f33c8718fc90d2c4: function(arg0, arg1, arg2, arg3) {
24962
+ __wbg_getNoteScript_c39ba18a6d9ccbdd: function(arg0, arg1, arg2, arg3) {
24770
24963
  let deferred0_0;
24771
24964
  let deferred0_1;
24772
24965
  try {
@@ -24778,39 +24971,39 @@ function __wbg_get_imports(memory) {
24778
24971
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24779
24972
  }
24780
24973
  },
24781
- __wbg_getNoteTags_e2ed88e636d0ad2a: function(arg0, arg1) {
24974
+ __wbg_getNoteTags_dfabde0a287eb2d8: function(arg0, arg1) {
24782
24975
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
24783
24976
  return ret;
24784
24977
  },
24785
- __wbg_getOutputNotesFromDetailsCommitments_2b6cb89aa5ad7bd7: function(arg0, arg1, arg2, arg3) {
24978
+ __wbg_getOutputNotesFromDetailsCommitments_c3bc51f64856a870: function(arg0, arg1, arg2, arg3) {
24786
24979
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24787
24980
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24788
24981
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24789
24982
  return ret;
24790
24983
  },
24791
- __wbg_getOutputNotesFromIds_1cfcb787c56927d6: function(arg0, arg1, arg2, arg3) {
24984
+ __wbg_getOutputNotesFromIds_40ec543cc8597acb: function(arg0, arg1, arg2, arg3) {
24792
24985
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24793
24986
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24794
24987
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24795
24988
  return ret;
24796
24989
  },
24797
- __wbg_getOutputNotesFromNullifiers_ab2d0529c918ceb6: function(arg0, arg1, arg2, arg3) {
24990
+ __wbg_getOutputNotesFromNullifiers_e354ef39f1caaa06: function(arg0, arg1, arg2, arg3) {
24798
24991
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24799
24992
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24800
24993
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24801
24994
  return ret;
24802
24995
  },
24803
- __wbg_getOutputNotes_3ce2621bbaa0b67a: function(arg0, arg1, arg2, arg3) {
24996
+ __wbg_getOutputNotes_f7df05cc81dd5a4a: function(arg0, arg1, arg2, arg3) {
24804
24997
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24805
24998
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24806
24999
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
24807
25000
  return ret;
24808
25001
  },
24809
- __wbg_getPartialBlockchainNodesAll_97b2296b6f446165: function(arg0, arg1) {
25002
+ __wbg_getPartialBlockchainNodesAll_a4d6e01b7cb4514d: function(arg0, arg1) {
24810
25003
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
24811
25004
  return ret;
24812
25005
  },
24813
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_a00a947793bcac3c: function(arg0, arg1, arg2, arg3) {
25006
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_44ddf5d7be0458f0: function(arg0, arg1, arg2, arg3) {
24814
25007
  let deferred0_0;
24815
25008
  let deferred0_1;
24816
25009
  try {
@@ -24822,7 +25015,7 @@ function __wbg_get_imports(memory) {
24822
25015
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24823
25016
  }
24824
25017
  },
24825
- __wbg_getPartialBlockchainNodes_ed95c0aed168e0bd: function(arg0, arg1, arg2, arg3) {
25018
+ __wbg_getPartialBlockchainNodes_83606a119576094d: function(arg0, arg1, arg2, arg3) {
24826
25019
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24827
25020
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24828
25021
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -24835,7 +25028,7 @@ function __wbg_get_imports(memory) {
24835
25028
  const ret = arg0.getReader();
24836
25029
  return ret;
24837
25030
  }, arguments); },
24838
- __wbg_getSetting_ae10044e2d623298: function(arg0, arg1, arg2, arg3) {
25031
+ __wbg_getSetting_253ca767d0248255: function(arg0, arg1, arg2, arg3) {
24839
25032
  let deferred0_0;
24840
25033
  let deferred0_1;
24841
25034
  try {
@@ -24847,7 +25040,7 @@ function __wbg_get_imports(memory) {
24847
25040
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24848
25041
  }
24849
25042
  },
24850
- __wbg_getSyncHeight_58fc6088ffc73f66: function(arg0, arg1) {
25043
+ __wbg_getSyncHeight_3bfc3eb6e40e3e97: function(arg0, arg1) {
24851
25044
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
24852
25045
  return ret;
24853
25046
  },
@@ -24855,15 +25048,15 @@ function __wbg_get_imports(memory) {
24855
25048
  const ret = arg0.getTime();
24856
25049
  return ret;
24857
25050
  },
24858
- __wbg_getTrackedBlockHeaderNumbers_5ff16c5dbe739bda: function(arg0, arg1) {
25051
+ __wbg_getTrackedBlockHeaderNumbers_2dee370065038781: function(arg0, arg1) {
24859
25052
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
24860
25053
  return ret;
24861
25054
  },
24862
- __wbg_getTrackedBlockHeaders_b20d19487c2d6df9: function(arg0, arg1) {
25055
+ __wbg_getTrackedBlockHeaders_18d50e64219e9864: function(arg0, arg1) {
24863
25056
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
24864
25057
  return ret;
24865
25058
  },
24866
- __wbg_getTransactions_162de0ea1d0f2668: function(arg0, arg1, arg2, arg3) {
25059
+ __wbg_getTransactions_ad8d5fe25611a846: function(arg0, arg1, arg2, arg3) {
24867
25060
  let deferred0_0;
24868
25061
  let deferred0_1;
24869
25062
  try {
@@ -24875,7 +25068,7 @@ function __wbg_get_imports(memory) {
24875
25068
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24876
25069
  }
24877
25070
  },
24878
- __wbg_getUnspentInputNoteNullifiers_252553121097b242: function(arg0, arg1) {
25071
+ __wbg_getUnspentInputNoteNullifiers_ebaf421fc0015fa2: function(arg0, arg1) {
24879
25072
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
24880
25073
  return ret;
24881
25074
  },
@@ -24919,7 +25112,7 @@ function __wbg_get_imports(memory) {
24919
25112
  const ret = InputNoteRecord.__wrap(arg0);
24920
25113
  return ret;
24921
25114
  },
24922
- __wbg_insertAccountAddress_a6b2f038c55aee0a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25115
+ __wbg_insertAccountAddress_a51e79c880ced1cf: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24923
25116
  let deferred0_0;
24924
25117
  let deferred0_1;
24925
25118
  try {
@@ -24933,7 +25126,7 @@ function __wbg_get_imports(memory) {
24933
25126
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24934
25127
  }
24935
25128
  },
24936
- __wbg_insertAccountAuth_adb2bbf98e1c34d4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25129
+ __wbg_insertAccountAuth_b3858458a03809ae: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24937
25130
  let deferred0_0;
24938
25131
  let deferred0_1;
24939
25132
  let deferred1_0;
@@ -24950,7 +25143,7 @@ function __wbg_get_imports(memory) {
24950
25143
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24951
25144
  }
24952
25145
  },
24953
- __wbg_insertAccountKeyMapping_47e616ac5977fb9c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25146
+ __wbg_insertAccountKeyMapping_fbbf855438446c03: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24954
25147
  let deferred0_0;
24955
25148
  let deferred0_1;
24956
25149
  let deferred1_0;
@@ -24967,13 +25160,13 @@ function __wbg_get_imports(memory) {
24967
25160
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24968
25161
  }
24969
25162
  },
24970
- __wbg_insertBlockHeader_23b7b30d0614926f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25163
+ __wbg_insertBlockHeader_5536ebc96b4798c2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24971
25164
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
24972
25165
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
24973
25166
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
24974
25167
  return ret;
24975
25168
  },
24976
- __wbg_insertPartialBlockchainNodes_403400ec217229f2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25169
+ __wbg_insertPartialBlockchainNodes_c23a7fa71eb012cb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24977
25170
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24978
25171
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24979
25172
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24981,7 +25174,7 @@ function __wbg_get_imports(memory) {
24981
25174
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
24982
25175
  return ret;
24983
25176
  },
24984
- __wbg_insertSetting_fcdab04463e418b0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25177
+ __wbg_insertSetting_8c97168fca4bc5c5: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24985
25178
  let deferred0_0;
24986
25179
  let deferred0_1;
24987
25180
  try {
@@ -24995,7 +25188,7 @@ function __wbg_get_imports(memory) {
24995
25188
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24996
25189
  }
24997
25190
  },
24998
- __wbg_insertTransactionScript_a97df45bc8841578: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25191
+ __wbg_insertTransactionScript_1659a26e7d4e8b52: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24999
25192
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25000
25193
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25001
25194
  let v1;
@@ -25102,11 +25295,11 @@ function __wbg_get_imports(memory) {
25102
25295
  const ret = arg0.length;
25103
25296
  return ret;
25104
25297
  },
25105
- __wbg_listSettingKeys_aa9e036a0e93602e: function(arg0, arg1) {
25298
+ __wbg_listSettingKeys_56269e70dbc1174c: function(arg0, arg1) {
25106
25299
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
25107
25300
  return ret;
25108
25301
  },
25109
- __wbg_lockAccount_00786cae6f7ea636: function(arg0, arg1, arg2, arg3) {
25302
+ __wbg_lockAccount_cd84affa0a834358: function(arg0, arg1, arg2, arg3) {
25110
25303
  let deferred0_0;
25111
25304
  let deferred0_1;
25112
25305
  try {
@@ -25321,7 +25514,7 @@ function __wbg_get_imports(memory) {
25321
25514
  const ret = Array.of(arg0, arg1, arg2);
25322
25515
  return ret;
25323
25516
  },
25324
- __wbg_openDatabase_8cdde169e05fa396: function(arg0, arg1, arg2, arg3) {
25517
+ __wbg_openDatabase_17981eba13e00fdc: function(arg0, arg1, arg2, arg3) {
25325
25518
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
25326
25519
  return ret;
25327
25520
  },
@@ -25355,7 +25548,7 @@ function __wbg_get_imports(memory) {
25355
25548
  const ret = ProvenTransaction.__wrap(arg0);
25356
25549
  return ret;
25357
25550
  },
25358
- __wbg_pruneAccountHistory_77197f52f4287754: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25551
+ __wbg_pruneAccountHistory_e0d6394c134a165c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25359
25552
  let deferred0_0;
25360
25553
  let deferred0_1;
25361
25554
  let deferred1_0;
@@ -25372,7 +25565,7 @@ function __wbg_get_imports(memory) {
25372
25565
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25373
25566
  }
25374
25567
  },
25375
- __wbg_pruneIrrelevantBlocks_649b0446c426cb86: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25568
+ __wbg_pruneIrrelevantBlocks_eb1f447cdba825b0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25376
25569
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
25377
25570
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25378
25571
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -25380,6 +25573,10 @@ function __wbg_get_imports(memory) {
25380
25573
  const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1), v0, v1);
25381
25574
  return ret;
25382
25575
  },
25576
+ __wbg_pswaplineagerecord_new: function(arg0) {
25577
+ const ret = PswapLineageRecord.__wrap(arg0);
25578
+ return ret;
25579
+ },
25383
25580
  __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
25384
25581
  const ret = arg0.queueMicrotask;
25385
25582
  return ret;
@@ -25394,13 +25591,13 @@ function __wbg_get_imports(memory) {
25394
25591
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
25395
25592
  arg0.releaseLock();
25396
25593
  },
25397
- __wbg_removeAccountAddress_fc888f883a71bd4f: function(arg0, arg1, arg2, arg3) {
25594
+ __wbg_removeAccountAddress_af59fd21bdac1724: function(arg0, arg1, arg2, arg3) {
25398
25595
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25399
25596
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25400
25597
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
25401
25598
  return ret;
25402
25599
  },
25403
- __wbg_removeAccountAuth_8f11e01dd6099b42: function(arg0, arg1, arg2, arg3) {
25600
+ __wbg_removeAccountAuth_0a826954671c4b14: function(arg0, arg1, arg2, arg3) {
25404
25601
  let deferred0_0;
25405
25602
  let deferred0_1;
25406
25603
  try {
@@ -25412,7 +25609,7 @@ function __wbg_get_imports(memory) {
25412
25609
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25413
25610
  }
25414
25611
  },
25415
- __wbg_removeAllMappingsForKey_1fd0c55cb2cd0b61: function(arg0, arg1, arg2, arg3) {
25612
+ __wbg_removeAllMappingsForKey_a3c019a389bb16b1: function(arg0, arg1, arg2, arg3) {
25416
25613
  let deferred0_0;
25417
25614
  let deferred0_1;
25418
25615
  try {
@@ -25424,7 +25621,7 @@ function __wbg_get_imports(memory) {
25424
25621
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25425
25622
  }
25426
25623
  },
25427
- __wbg_removeNoteTag_d9a0f5ba38c25246: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25624
+ __wbg_removeNoteTag_8002568485e57cc5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
25428
25625
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
25429
25626
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
25430
25627
  let v1;
@@ -25445,7 +25642,7 @@ function __wbg_get_imports(memory) {
25445
25642
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
25446
25643
  return ret;
25447
25644
  },
25448
- __wbg_removeSetting_39da4a2d256af0e2: function(arg0, arg1, arg2, arg3) {
25645
+ __wbg_removeSetting_d7d4e7bac50b96f6: function(arg0, arg1, arg2, arg3) {
25449
25646
  let deferred0_0;
25450
25647
  let deferred0_1;
25451
25648
  try {
@@ -25652,13 +25849,13 @@ function __wbg_get_imports(memory) {
25652
25849
  const ret = TransactionSummary.__wrap(arg0);
25653
25850
  return ret;
25654
25851
  },
25655
- __wbg_undoAccountStates_e36a3027b0d94828: function(arg0, arg1, arg2, arg3) {
25852
+ __wbg_undoAccountStates_2612c0beaf8bd1b8: function(arg0, arg1, arg2, arg3) {
25656
25853
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25657
25854
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25658
25855
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
25659
25856
  return ret;
25660
25857
  },
25661
- __wbg_upsertAccountCode_a57f0b2098ba7190: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25858
+ __wbg_upsertAccountCode_90bc45f9056d9a65: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25662
25859
  let deferred0_0;
25663
25860
  let deferred0_1;
25664
25861
  try {
@@ -25672,7 +25869,7 @@ function __wbg_get_imports(memory) {
25672
25869
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25673
25870
  }
25674
25871
  },
25675
- __wbg_upsertAccountRecord_96a74a90d1ab5ddf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25872
+ __wbg_upsertAccountRecord_07018035c7fcd8e9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25676
25873
  let deferred0_0;
25677
25874
  let deferred0_1;
25678
25875
  let deferred1_0;
@@ -25714,7 +25911,7 @@ function __wbg_get_imports(memory) {
25714
25911
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
25715
25912
  }
25716
25913
  },
25717
- __wbg_upsertAccountStorage_cd428602fca677b1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25914
+ __wbg_upsertAccountStorage_6c49335faf715063: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25718
25915
  let deferred0_0;
25719
25916
  let deferred0_1;
25720
25917
  try {
@@ -25728,7 +25925,7 @@ function __wbg_get_imports(memory) {
25728
25925
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25729
25926
  }
25730
25927
  },
25731
- __wbg_upsertForeignAccountCode_ea1c872f50b83cf7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25928
+ __wbg_upsertForeignAccountCode_6884ddcc23079909: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25732
25929
  let deferred0_0;
25733
25930
  let deferred0_1;
25734
25931
  let deferred2_0;
@@ -25747,7 +25944,7 @@ function __wbg_get_imports(memory) {
25747
25944
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
25748
25945
  }
25749
25946
  },
25750
- __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) {
25947
+ __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) {
25751
25948
  let deferred0_0;
25752
25949
  let deferred0_1;
25753
25950
  let deferred6_0;
@@ -25796,7 +25993,7 @@ function __wbg_get_imports(memory) {
25796
25993
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
25797
25994
  }
25798
25995
  },
25799
- __wbg_upsertNoteScript_77ad6333fd8d09bd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25996
+ __wbg_upsertNoteScript_8cb185364b8b811c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25800
25997
  let deferred0_0;
25801
25998
  let deferred0_1;
25802
25999
  try {
@@ -25810,7 +26007,7 @@ function __wbg_get_imports(memory) {
25810
26007
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25811
26008
  }
25812
26009
  },
25813
- __wbg_upsertOutputNote_4d029c88a0e7d960: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
26010
+ __wbg_upsertOutputNote_28a007cae68c5f83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25814
26011
  let deferred0_0;
25815
26012
  let deferred0_1;
25816
26013
  let deferred1_0;
@@ -25845,7 +26042,7 @@ function __wbg_get_imports(memory) {
25845
26042
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
25846
26043
  }
25847
26044
  },
25848
- __wbg_upsertStorageMapEntries_068d8303824fff58: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26045
+ __wbg_upsertStorageMapEntries_7c81b5bca7ee1c50: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25849
26046
  let deferred0_0;
25850
26047
  let deferred0_1;
25851
26048
  try {
@@ -25859,7 +26056,7 @@ function __wbg_get_imports(memory) {
25859
26056
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25860
26057
  }
25861
26058
  },
25862
- __wbg_upsertTransactionRecord_a285bd5d3fd5a278: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
26059
+ __wbg_upsertTransactionRecord_b80c9a5ba744de46: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25863
26060
  let deferred0_0;
25864
26061
  let deferred0_1;
25865
26062
  try {
@@ -25880,7 +26077,7 @@ function __wbg_get_imports(memory) {
25880
26077
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25881
26078
  }
25882
26079
  },
25883
- __wbg_upsertVaultAssets_53ecfc329186db4e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
26080
+ __wbg_upsertVaultAssets_d2dccc19a14a6eb7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25884
26081
  let deferred0_0;
25885
26082
  let deferred0_1;
25886
26083
  try {
@@ -25923,17 +26120,17 @@ function __wbg_get_imports(memory) {
25923
26120
  return ret;
25924
26121
  },
25925
26122
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
25926
- // Cast intrinsic for `Closure(Closure { dtor_idx: 127, function: Function { arguments: [Externref], shim_idx: 128, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26123
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [Externref], shim_idx: 127, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25927
26124
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
25928
26125
  return ret;
25929
26126
  },
25930
26127
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
25931
- // Cast intrinsic for `Closure(Closure { dtor_idx: 127, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 128, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26128
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 127, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25932
26129
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
25933
26130
  return ret;
25934
26131
  },
25935
26132
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
25936
- // Cast intrinsic for `Closure(Closure { dtor_idx: 127, function: Function { arguments: [], shim_idx: 448, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
26133
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [], shim_idx: 451, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25937
26134
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke______);
25938
26135
  return ret;
25939
26136
  },
@@ -25997,25 +26194,32 @@ function __wbg_get_imports(memory) {
25997
26194
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
25998
26195
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25999
26196
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
26000
- // Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
26197
+ // Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
26001
26198
  const ret = v0;
26002
26199
  return ret;
26003
26200
  },
26004
26201
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
26005
26202
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
26006
26203
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
26007
- // Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
26204
+ // Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
26008
26205
  const ret = v0;
26009
26206
  return ret;
26010
26207
  },
26011
26208
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
26012
26209
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
26013
26210
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
26014
- // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
26211
+ // Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
26015
26212
  const ret = v0;
26016
26213
  return ret;
26017
26214
  },
26018
26215
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
26216
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
26217
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
26218
+ // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
26219
+ const ret = v0;
26220
+ return ret;
26221
+ },
26222
+ __wbindgen_cast_0000000000000011: function(arg0, arg1) {
26019
26223
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
26020
26224
  wasm.__wbindgen_free(arg0, arg1 * 1, 1);
26021
26225
  // Cast intrinsic for `Vector(U8) -> Externref`.
@@ -26382,6 +26586,9 @@ const ProgramFinalization = (typeof FinalizationRegistry === 'undefined')
26382
26586
  const ProvenTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
26383
26587
  ? { register: () => {}, unregister: () => {} }
26384
26588
  : new FinalizationRegistry(ptr => wasm.__wbg_proventransaction_free(ptr >>> 0, 1));
26589
+ const PswapLineageRecordFinalization = (typeof FinalizationRegistry === 'undefined')
26590
+ ? { register: () => {}, unregister: () => {} }
26591
+ : new FinalizationRegistry(ptr => wasm.__wbg_pswaplineagerecord_free(ptr >>> 0, 1));
26385
26592
  const PublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
26386
26593
  ? { register: () => {}, unregister: () => {} }
26387
26594
  : new FinalizationRegistry(ptr => wasm.__wbg_publickey_free(ptr >>> 0, 1));
@@ -26990,6 +27197,8 @@ var index = /*#__PURE__*/Object.freeze({
26990
27197
  ProcedureThreshold: ProcedureThreshold,
26991
27198
  Program: Program,
26992
27199
  ProvenTransaction: ProvenTransaction,
27200
+ PswapLineageRecord: PswapLineageRecord,
27201
+ PswapLineageState: PswapLineageState,
26993
27202
  PublicKey: PublicKey,
26994
27203
  RpcClient: RpcClient,
26995
27204
  Rpo256: Rpo256,
@@ -27046,7 +27255,7 @@ var index = /*#__PURE__*/Object.freeze({
27046
27255
 
27047
27256
  const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
27048
27257
 
27049
- var CargoD6y7aDQ8 = /*#__PURE__*/Object.freeze({
27258
+ var CargoBbpPeJYa = /*#__PURE__*/Object.freeze({
27050
27259
  __proto__: null,
27051
27260
  Account: Account,
27052
27261
  AccountArray: AccountArray,
@@ -27156,6 +27365,8 @@ var CargoD6y7aDQ8 = /*#__PURE__*/Object.freeze({
27156
27365
  ProcedureThreshold: ProcedureThreshold,
27157
27366
  Program: Program,
27158
27367
  ProvenTransaction: ProvenTransaction,
27368
+ PswapLineageRecord: PswapLineageRecord,
27369
+ PswapLineageState: PswapLineageState,
27159
27370
  PublicKey: PublicKey,
27160
27371
  RpcClient: RpcClient,
27161
27372
  Rpo256: Rpo256,