@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
@@ -12721,6 +12721,13 @@ if (Symbol.dispose) AdviceInputs.prototype[Symbol.dispose] = AdviceInputs.protot
12721
12721
  * Map of advice values keyed by words for script execution.
12722
12722
  */
12723
12723
  class AdviceMap {
12724
+ static __wrap(ptr) {
12725
+ ptr = ptr >>> 0;
12726
+ const obj = Object.create(AdviceMap.prototype);
12727
+ obj.__wbg_ptr = ptr;
12728
+ AdviceMapFinalization.register(obj, obj.__wbg_ptr, obj);
12729
+ return obj;
12730
+ }
12724
12731
  __destroy_into_raw() {
12725
12732
  const ptr = this.__wbg_ptr;
12726
12733
  this.__wbg_ptr = 0;
@@ -19023,6 +19030,119 @@ class ProvenTransaction {
19023
19030
  }
19024
19031
  if (Symbol.dispose) ProvenTransaction.prototype[Symbol.dispose] = ProvenTransaction.prototype.free;
19025
19032
 
19033
+ /**
19034
+ * Read-only view of one PSWAP order's chain state, exposed to JavaScript.
19035
+ * The mutable fields (remaining amounts, depth, tip, state) advance
19036
+ * round-by-round as fills are discovered during sync.
19037
+ */
19038
+ class PswapLineageRecord {
19039
+ static __wrap(ptr) {
19040
+ ptr = ptr >>> 0;
19041
+ const obj = Object.create(PswapLineageRecord.prototype);
19042
+ obj.__wbg_ptr = ptr;
19043
+ PswapLineageRecordFinalization.register(obj, obj.__wbg_ptr, obj);
19044
+ return obj;
19045
+ }
19046
+ __destroy_into_raw() {
19047
+ const ptr = this.__wbg_ptr;
19048
+ this.__wbg_ptr = 0;
19049
+ PswapLineageRecordFinalization.unregister(this);
19050
+ return ptr;
19051
+ }
19052
+ free() {
19053
+ const ptr = this.__destroy_into_raw();
19054
+ wasm.__wbg_pswaplineagerecord_free(ptr, 0);
19055
+ }
19056
+ /**
19057
+ * Account that created the order and receives every payback.
19058
+ * @returns {AccountId}
19059
+ */
19060
+ creatorAccountId() {
19061
+ const ret = wasm.pswaplineagerecord_creatorAccountId(this.__wbg_ptr);
19062
+ return AccountId.__wrap(ret);
19063
+ }
19064
+ /**
19065
+ * Depth of the current tip: 0 for the original PSWAP, +1 per fill round.
19066
+ * @returns {number}
19067
+ */
19068
+ currentDepth() {
19069
+ const ret = wasm.pswaplineagerecord_currentDepth(this.__wbg_ptr);
19070
+ return ret >>> 0;
19071
+ }
19072
+ /**
19073
+ * Note id of the current tip in the chain.
19074
+ * @returns {NoteId}
19075
+ */
19076
+ currentTipNoteId() {
19077
+ const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
19078
+ return NoteId.__wrap(ret);
19079
+ }
19080
+ /**
19081
+ * Stable identifier shared by every note in the chain, as a decimal string.
19082
+ * @returns {string}
19083
+ */
19084
+ orderId() {
19085
+ let deferred1_0;
19086
+ let deferred1_1;
19087
+ try {
19088
+ const ret = wasm.pswaplineagerecord_orderId(this.__wbg_ptr);
19089
+ deferred1_0 = ret[0];
19090
+ deferred1_1 = ret[1];
19091
+ return getStringFromWasm0(ret[0], ret[1]);
19092
+ } finally {
19093
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
19094
+ }
19095
+ }
19096
+ /**
19097
+ * Offered amount still unfilled on the current tip. The offered faucet is
19098
+ * chain-invariant and recovered from the original PSWAP note when needed.
19099
+ * @returns {bigint}
19100
+ */
19101
+ remainingOffered() {
19102
+ const ret = wasm.pswaplineagerecord_remainingOffered(this.__wbg_ptr);
19103
+ return BigInt.asUintN(64, ret);
19104
+ }
19105
+ /**
19106
+ * Requested amount still outstanding on the current tip. The requested
19107
+ * faucet is recovered from the original PSWAP note when needed.
19108
+ * @returns {bigint}
19109
+ */
19110
+ remainingRequested() {
19111
+ const ret = wasm.pswaplineagerecord_remainingRequested(this.__wbg_ptr);
19112
+ return BigInt.asUintN(64, ret);
19113
+ }
19114
+ /**
19115
+ * Lifecycle state of the order.
19116
+ * @returns {PswapLineageState}
19117
+ */
19118
+ state() {
19119
+ const ret = wasm.pswaplineagerecord_state(this.__wbg_ptr);
19120
+ return ret;
19121
+ }
19122
+ }
19123
+ if (Symbol.dispose) PswapLineageRecord.prototype[Symbol.dispose] = PswapLineageRecord.prototype.free;
19124
+
19125
+ /**
19126
+ * Lifecycle state of a PSWAP order.
19127
+ *
19128
+ * Discriminants match the on-disk encoding in the store.
19129
+ * @enum {0 | 1 | 2}
19130
+ */
19131
+ const PswapLineageState = Object.freeze({
19132
+ /**
19133
+ * Still fillable and reclaimable.
19134
+ */
19135
+ Active: 0, "0": "Active",
19136
+ /**
19137
+ * Fully filled. Terminal.
19138
+ */
19139
+ FullyFilled: 1, "1": "FullyFilled",
19140
+ /**
19141
+ * Reclaimed by the creator. Terminal.
19142
+ */
19143
+ Reclaimed: 2, "2": "Reclaimed",
19144
+ });
19145
+
19026
19146
  class PublicKey {
19027
19147
  static __wrap(ptr) {
19028
19148
  ptr = ptr >>> 0;
@@ -21378,7 +21498,7 @@ class TransactionRecord {
21378
21498
  * @returns {Word}
21379
21499
  */
21380
21500
  initAccountState() {
21381
- const ret = wasm.transactionrecord_initAccountState(this.__wbg_ptr);
21501
+ const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
21382
21502
  return Word.__wrap(ret);
21383
21503
  }
21384
21504
  /**
@@ -21443,6 +21563,14 @@ class TransactionRequest {
21443
21563
  const ptr = this.__destroy_into_raw();
21444
21564
  wasm.__wbg_transactionrequest_free(ptr, 0);
21445
21565
  }
21566
+ /**
21567
+ * Returns a copy of the advice map carried by this request.
21568
+ * @returns {AdviceMap}
21569
+ */
21570
+ adviceMap() {
21571
+ const ret = wasm.transactionrequest_adviceMap(this.__wbg_ptr);
21572
+ return AdviceMap.__wrap(ret);
21573
+ }
21446
21574
  /**
21447
21575
  * Returns the authentication argument if present.
21448
21576
  * @returns {Word | undefined}
@@ -21489,6 +21617,20 @@ class TransactionRequest {
21489
21617
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
21490
21618
  return v1;
21491
21619
  }
21620
+ /**
21621
+ * Returns a copy of this request with `advice_map` merged into its advice map.
21622
+ *
21623
+ * Entries are merged with last-write-wins semantics: a key already present in the request is
21624
+ * overwritten by the value from `advice_map`. Use this to inject advice (e.g. a signature
21625
+ * produced by an external signer) after the request has already been built.
21626
+ * @param {AdviceMap} advice_map
21627
+ * @returns {TransactionRequest}
21628
+ */
21629
+ extendAdviceMap(advice_map) {
21630
+ _assertClass(advice_map, AdviceMap);
21631
+ const ret = wasm.transactionrequest_extendAdviceMap(this.__wbg_ptr, advice_map.__wbg_ptr);
21632
+ return TransactionRequest.__wrap(ret);
21633
+ }
21492
21634
  /**
21493
21635
  * Returns the transaction script argument if present.
21494
21636
  * @returns {Word | undefined}
@@ -22250,6 +22392,10 @@ class WebClient {
22250
22392
  return ret;
22251
22393
  }
22252
22394
  /**
22395
+ * Persists a submitted transaction and returns its pre-apply
22396
+ * [`TransactionStoreUpdate`]. Routes through the high-level
22397
+ * `Client::apply_transaction` so registered observers (e.g. PSWAP
22398
+ * tracking) fire.
22253
22399
  * @param {TransactionResult} transaction_result
22254
22400
  * @param {number} submission_height
22255
22401
  * @returns {Promise<TransactionStoreUpdate>}
@@ -22259,6 +22405,22 @@ class WebClient {
22259
22405
  const ret = wasm.webclient_applyTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr, submission_height);
22260
22406
  return ret;
22261
22407
  }
22408
+ /**
22409
+ * Builds a transaction reclaiming the unfilled offered asset on the current
22410
+ * tip of an Active lineage.
22411
+ *
22412
+ * `order_id` is the order's stable identifier as a decimal string. The
22413
+ * returned request flows into the same submit path as the other PSWAP
22414
+ * cancel transactions.
22415
+ * @param {string} order_id
22416
+ * @returns {Promise<TransactionRequest>}
22417
+ */
22418
+ buildPswapCancelByOrder(order_id) {
22419
+ const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22420
+ const len0 = WASM_VECTOR_LEN;
22421
+ const ret = wasm.webclient_buildPswapCancelByOrder(this.__wbg_ptr, ptr0, len0);
22422
+ return ret;
22423
+ }
22262
22424
  /**
22263
22425
  * @param {NoteType} note_type
22264
22426
  * @param {AccountId} offered_asset_faucet_id
@@ -22602,6 +22764,37 @@ class WebClient {
22602
22764
  const ret = wasm.webclient_getOutputNotes(this.__wbg_ptr, ptr0);
22603
22765
  return ret;
22604
22766
  }
22767
+ /**
22768
+ * Returns the lineage for one order, or `null` if not tracked.
22769
+ *
22770
+ * `order_id` is the order's stable identifier as a decimal string.
22771
+ * @param {string} order_id
22772
+ * @returns {Promise<PswapLineageRecord | undefined>}
22773
+ */
22774
+ getPswapLineage(order_id) {
22775
+ const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22776
+ const len0 = WASM_VECTOR_LEN;
22777
+ const ret = wasm.webclient_getPswapLineage(this.__wbg_ptr, ptr0, len0);
22778
+ return ret;
22779
+ }
22780
+ /**
22781
+ * Returns every PSWAP lineage tracked by this client.
22782
+ * @returns {Promise<PswapLineageRecord[]>}
22783
+ */
22784
+ getPswapLineages() {
22785
+ const ret = wasm.webclient_getPswapLineages(this.__wbg_ptr);
22786
+ return ret;
22787
+ }
22788
+ /**
22789
+ * Returns lineages created by a specific local account.
22790
+ * @param {AccountId} creator
22791
+ * @returns {Promise<PswapLineageRecord[]>}
22792
+ */
22793
+ getPswapLineagesFor(creator) {
22794
+ _assertClass(creator, AccountId);
22795
+ const ret = wasm.webclient_getPswapLineagesFor(this.__wbg_ptr, creator.__wbg_ptr);
22796
+ return ret;
22797
+ }
22605
22798
  /**
22606
22799
  * Returns all public key commitments associated with the given account ID.
22607
22800
  *
@@ -23706,7 +23899,7 @@ function __wbg_get_imports(memory) {
23706
23899
  const ret = AccountStorage.__wrap(arg0);
23707
23900
  return ret;
23708
23901
  },
23709
- __wbg_addNoteTag_f0737cd654a0af83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
23902
+ __wbg_addNoteTag_096da497a0a0cab8: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
23710
23903
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23711
23904
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23712
23905
  let v1;
@@ -23734,21 +23927,21 @@ function __wbg_get_imports(memory) {
23734
23927
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
23735
23928
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
23736
23929
  }, arguments); },
23737
- __wbg_applyFullAccountState_0f46ca4819ec19a2: function(arg0, arg1, arg2) {
23930
+ __wbg_applyFullAccountState_bf8b5d3a049e6ceb: function(arg0, arg1, arg2) {
23738
23931
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
23739
23932
  return ret;
23740
23933
  },
23741
- __wbg_applySettingsMutations_633bdfc5efcbeab4: function(arg0, arg1, arg2, arg3) {
23934
+ __wbg_applySettingsMutations_9c110a085196df8d: function(arg0, arg1, arg2, arg3) {
23742
23935
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23743
23936
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23744
23937
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
23745
23938
  return ret;
23746
23939
  },
23747
- __wbg_applyStateSync_4577b4125b70be6e: function(arg0, arg1, arg2) {
23940
+ __wbg_applyStateSync_06bd22fcf36d1cdd: function(arg0, arg1, arg2) {
23748
23941
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
23749
23942
  return ret;
23750
23943
  },
23751
- __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) {
23944
+ __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) {
23752
23945
  let deferred0_0;
23753
23946
  let deferred0_1;
23754
23947
  let deferred1_0;
@@ -23899,7 +24092,7 @@ function __wbg_get_imports(memory) {
23899
24092
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23900
24093
  }
23901
24094
  },
23902
- __wbg_exportStore_6122bc835ba1335e: function(arg0, arg1) {
24095
+ __wbg_exportStore_b792e5263f047bc6: function(arg0, arg1) {
23903
24096
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
23904
24097
  return ret;
23905
24098
  },
@@ -23931,7 +24124,7 @@ function __wbg_get_imports(memory) {
23931
24124
  const ret = FetchedNote.__wrap(arg0);
23932
24125
  return ret;
23933
24126
  },
23934
- __wbg_forceImportStore_fee039594a1dd764: function(arg0, arg1, arg2) {
24127
+ __wbg_forceImportStore_18bed9aaee1d64be: function(arg0, arg1, arg2) {
23935
24128
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
23936
24129
  return ret;
23937
24130
  },
@@ -23951,7 +24144,7 @@ function __wbg_get_imports(memory) {
23951
24144
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
23952
24145
  return ret;
23953
24146
  },
23954
- __wbg_getAccountAddresses_c2905210853e4c1d: function(arg0, arg1, arg2, arg3) {
24147
+ __wbg_getAccountAddresses_912a98d65bbdf9b5: function(arg0, arg1, arg2, arg3) {
23955
24148
  let deferred0_0;
23956
24149
  let deferred0_1;
23957
24150
  try {
@@ -23963,7 +24156,7 @@ function __wbg_get_imports(memory) {
23963
24156
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23964
24157
  }
23965
24158
  },
23966
- __wbg_getAccountAuthByPubKeyCommitment_aa1c1ea910be8702: function(arg0, arg1, arg2, arg3) {
24159
+ __wbg_getAccountAuthByPubKeyCommitment_dc6a856d5dfdfb40: function(arg0, arg1, arg2, arg3) {
23967
24160
  let deferred0_0;
23968
24161
  let deferred0_1;
23969
24162
  try {
@@ -23975,7 +24168,7 @@ function __wbg_get_imports(memory) {
23975
24168
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23976
24169
  }
23977
24170
  },
23978
- __wbg_getAccountCode_624d99224830e698: function(arg0, arg1, arg2, arg3) {
24171
+ __wbg_getAccountCode_919e4265460ed86a: function(arg0, arg1, arg2, arg3) {
23979
24172
  let deferred0_0;
23980
24173
  let deferred0_1;
23981
24174
  try {
@@ -23987,7 +24180,7 @@ function __wbg_get_imports(memory) {
23987
24180
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23988
24181
  }
23989
24182
  },
23990
- __wbg_getAccountHeaderByCommitment_87400f84a64deb6f: function(arg0, arg1, arg2, arg3) {
24183
+ __wbg_getAccountHeaderByCommitment_ba76171382e4adeb: function(arg0, arg1, arg2, arg3) {
23991
24184
  let deferred0_0;
23992
24185
  let deferred0_1;
23993
24186
  try {
@@ -23999,7 +24192,7 @@ function __wbg_get_imports(memory) {
23999
24192
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24000
24193
  }
24001
24194
  },
24002
- __wbg_getAccountHeader_1bfe2e4c80c39a5a: function(arg0, arg1, arg2, arg3) {
24195
+ __wbg_getAccountHeader_0ad8dac3ef38914f: function(arg0, arg1, arg2, arg3) {
24003
24196
  let deferred0_0;
24004
24197
  let deferred0_1;
24005
24198
  try {
@@ -24011,7 +24204,7 @@ function __wbg_get_imports(memory) {
24011
24204
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24012
24205
  }
24013
24206
  },
24014
- __wbg_getAccountIdByKeyCommitment_119e889c02d0a383: function(arg0, arg1, arg2, arg3) {
24207
+ __wbg_getAccountIdByKeyCommitment_4e69aeecb15f3fed: function(arg0, arg1, arg2, arg3) {
24015
24208
  let deferred0_0;
24016
24209
  let deferred0_1;
24017
24210
  try {
@@ -24023,11 +24216,11 @@ function __wbg_get_imports(memory) {
24023
24216
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24024
24217
  }
24025
24218
  },
24026
- __wbg_getAccountIds_b7c51b913d5bf21d: function(arg0, arg1) {
24219
+ __wbg_getAccountIds_c8a084349d486e38: function(arg0, arg1) {
24027
24220
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
24028
24221
  return ret;
24029
24222
  },
24030
- __wbg_getAccountStorageMaps_ea32cd8cf6fc6297: function(arg0, arg1, arg2, arg3) {
24223
+ __wbg_getAccountStorageMaps_05ce89e538285075: function(arg0, arg1, arg2, arg3) {
24031
24224
  let deferred0_0;
24032
24225
  let deferred0_1;
24033
24226
  try {
@@ -24039,7 +24232,7 @@ function __wbg_get_imports(memory) {
24039
24232
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24040
24233
  }
24041
24234
  },
24042
- __wbg_getAccountStorage_277a00af1ae659dd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24235
+ __wbg_getAccountStorage_705ac874dc621263: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24043
24236
  let deferred0_0;
24044
24237
  let deferred0_1;
24045
24238
  try {
@@ -24053,7 +24246,7 @@ function __wbg_get_imports(memory) {
24053
24246
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24054
24247
  }
24055
24248
  },
24056
- __wbg_getAccountVaultAssets_e588f7c19992bf5a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24249
+ __wbg_getAccountVaultAssets_2c4f2c4b915b917b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24057
24250
  let deferred0_0;
24058
24251
  let deferred0_1;
24059
24252
  try {
@@ -24067,27 +24260,27 @@ function __wbg_get_imports(memory) {
24067
24260
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24068
24261
  }
24069
24262
  },
24070
- __wbg_getAllAccountHeaders_cc5df55ad899e5ca: function(arg0, arg1) {
24263
+ __wbg_getAllAccountHeaders_0aefc9e33a9177d9: function(arg0, arg1) {
24071
24264
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
24072
24265
  return ret;
24073
24266
  },
24074
- __wbg_getBlockHeaders_08a8804e4b3ff442: function(arg0, arg1, arg2, arg3) {
24267
+ __wbg_getBlockHeaders_8130cc26764af62f: function(arg0, arg1, arg2, arg3) {
24075
24268
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24076
24269
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24077
24270
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
24078
24271
  return ret;
24079
24272
  },
24080
- __wbg_getCurrentBlockchainPeaks_f0d990ec54236a85: function(arg0, arg1) {
24273
+ __wbg_getCurrentBlockchainPeaks_d93dfc7df30d5f85: function(arg0, arg1) {
24081
24274
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
24082
24275
  return ret;
24083
24276
  },
24084
- __wbg_getForeignAccountCode_d4d803c5248469e8: function(arg0, arg1, arg2, arg3) {
24277
+ __wbg_getForeignAccountCode_fc193a275029ef5e: function(arg0, arg1, arg2, arg3) {
24085
24278
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24086
24279
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24087
24280
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
24088
24281
  return ret;
24089
24282
  },
24090
- __wbg_getInputNoteByOffset_a1163c6c190c7bc0: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24283
+ __wbg_getInputNoteByOffset_7db364c43d08e4af: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24091
24284
  let deferred1_0;
24092
24285
  let deferred1_1;
24093
24286
  try {
@@ -24101,31 +24294,31 @@ function __wbg_get_imports(memory) {
24101
24294
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24102
24295
  }
24103
24296
  },
24104
- __wbg_getInputNotesFromDetailsCommitments_c7c58c64df846c95: function(arg0, arg1, arg2, arg3) {
24297
+ __wbg_getInputNotesFromDetailsCommitments_f57aba3cb04fda20: function(arg0, arg1, arg2, arg3) {
24105
24298
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24106
24299
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24107
24300
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24108
24301
  return ret;
24109
24302
  },
24110
- __wbg_getInputNotesFromIds_c19092f0da179fdf: function(arg0, arg1, arg2, arg3) {
24303
+ __wbg_getInputNotesFromIds_095b92f152063113: function(arg0, arg1, arg2, arg3) {
24111
24304
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24112
24305
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24113
24306
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24114
24307
  return ret;
24115
24308
  },
24116
- __wbg_getInputNotesFromNullifiers_ef5e3e241e8f14b9: function(arg0, arg1, arg2, arg3) {
24309
+ __wbg_getInputNotesFromNullifiers_3baa48047cae5f62: function(arg0, arg1, arg2, arg3) {
24117
24310
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24118
24311
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24119
24312
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24120
24313
  return ret;
24121
24314
  },
24122
- __wbg_getInputNotes_9a2890b2c05db53e: function(arg0, arg1, arg2, arg3) {
24315
+ __wbg_getInputNotes_fa5732f7bb42ac4d: function(arg0, arg1, arg2, arg3) {
24123
24316
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24124
24317
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24125
24318
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
24126
24319
  return ret;
24127
24320
  },
24128
- __wbg_getKeyCommitmentsByAccountId_98d1052aa93e54d1: function(arg0, arg1, arg2, arg3) {
24321
+ __wbg_getKeyCommitmentsByAccountId_3a1fa381e4a3512c: function(arg0, arg1, arg2, arg3) {
24129
24322
  let deferred0_0;
24130
24323
  let deferred0_1;
24131
24324
  try {
@@ -24137,7 +24330,7 @@ function __wbg_get_imports(memory) {
24137
24330
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24138
24331
  }
24139
24332
  },
24140
- __wbg_getNoteScript_f33c8718fc90d2c4: function(arg0, arg1, arg2, arg3) {
24333
+ __wbg_getNoteScript_c39ba18a6d9ccbdd: function(arg0, arg1, arg2, arg3) {
24141
24334
  let deferred0_0;
24142
24335
  let deferred0_1;
24143
24336
  try {
@@ -24149,39 +24342,39 @@ function __wbg_get_imports(memory) {
24149
24342
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24150
24343
  }
24151
24344
  },
24152
- __wbg_getNoteTags_e2ed88e636d0ad2a: function(arg0, arg1) {
24345
+ __wbg_getNoteTags_dfabde0a287eb2d8: function(arg0, arg1) {
24153
24346
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
24154
24347
  return ret;
24155
24348
  },
24156
- __wbg_getOutputNotesFromDetailsCommitments_2b6cb89aa5ad7bd7: function(arg0, arg1, arg2, arg3) {
24349
+ __wbg_getOutputNotesFromDetailsCommitments_c3bc51f64856a870: function(arg0, arg1, arg2, arg3) {
24157
24350
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24158
24351
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24159
24352
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
24160
24353
  return ret;
24161
24354
  },
24162
- __wbg_getOutputNotesFromIds_1cfcb787c56927d6: function(arg0, arg1, arg2, arg3) {
24355
+ __wbg_getOutputNotesFromIds_40ec543cc8597acb: function(arg0, arg1, arg2, arg3) {
24163
24356
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24164
24357
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24165
24358
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
24166
24359
  return ret;
24167
24360
  },
24168
- __wbg_getOutputNotesFromNullifiers_ab2d0529c918ceb6: function(arg0, arg1, arg2, arg3) {
24361
+ __wbg_getOutputNotesFromNullifiers_e354ef39f1caaa06: function(arg0, arg1, arg2, arg3) {
24169
24362
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24170
24363
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24171
24364
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
24172
24365
  return ret;
24173
24366
  },
24174
- __wbg_getOutputNotes_3ce2621bbaa0b67a: function(arg0, arg1, arg2, arg3) {
24367
+ __wbg_getOutputNotes_f7df05cc81dd5a4a: function(arg0, arg1, arg2, arg3) {
24175
24368
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24176
24369
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24177
24370
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
24178
24371
  return ret;
24179
24372
  },
24180
- __wbg_getPartialBlockchainNodesAll_97b2296b6f446165: function(arg0, arg1) {
24373
+ __wbg_getPartialBlockchainNodesAll_a4d6e01b7cb4514d: function(arg0, arg1) {
24181
24374
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
24182
24375
  return ret;
24183
24376
  },
24184
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_a00a947793bcac3c: function(arg0, arg1, arg2, arg3) {
24377
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_44ddf5d7be0458f0: function(arg0, arg1, arg2, arg3) {
24185
24378
  let deferred0_0;
24186
24379
  let deferred0_1;
24187
24380
  try {
@@ -24193,7 +24386,7 @@ function __wbg_get_imports(memory) {
24193
24386
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24194
24387
  }
24195
24388
  },
24196
- __wbg_getPartialBlockchainNodes_ed95c0aed168e0bd: function(arg0, arg1, arg2, arg3) {
24389
+ __wbg_getPartialBlockchainNodes_83606a119576094d: function(arg0, arg1, arg2, arg3) {
24197
24390
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24198
24391
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24199
24392
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -24206,7 +24399,7 @@ function __wbg_get_imports(memory) {
24206
24399
  const ret = arg0.getReader();
24207
24400
  return ret;
24208
24401
  }, arguments); },
24209
- __wbg_getSetting_ae10044e2d623298: function(arg0, arg1, arg2, arg3) {
24402
+ __wbg_getSetting_253ca767d0248255: function(arg0, arg1, arg2, arg3) {
24210
24403
  let deferred0_0;
24211
24404
  let deferred0_1;
24212
24405
  try {
@@ -24218,7 +24411,7 @@ function __wbg_get_imports(memory) {
24218
24411
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24219
24412
  }
24220
24413
  },
24221
- __wbg_getSyncHeight_58fc6088ffc73f66: function(arg0, arg1) {
24414
+ __wbg_getSyncHeight_3bfc3eb6e40e3e97: function(arg0, arg1) {
24222
24415
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
24223
24416
  return ret;
24224
24417
  },
@@ -24226,15 +24419,15 @@ function __wbg_get_imports(memory) {
24226
24419
  const ret = arg0.getTime();
24227
24420
  return ret;
24228
24421
  },
24229
- __wbg_getTrackedBlockHeaderNumbers_5ff16c5dbe739bda: function(arg0, arg1) {
24422
+ __wbg_getTrackedBlockHeaderNumbers_2dee370065038781: function(arg0, arg1) {
24230
24423
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
24231
24424
  return ret;
24232
24425
  },
24233
- __wbg_getTrackedBlockHeaders_b20d19487c2d6df9: function(arg0, arg1) {
24426
+ __wbg_getTrackedBlockHeaders_18d50e64219e9864: function(arg0, arg1) {
24234
24427
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
24235
24428
  return ret;
24236
24429
  },
24237
- __wbg_getTransactions_162de0ea1d0f2668: function(arg0, arg1, arg2, arg3) {
24430
+ __wbg_getTransactions_ad8d5fe25611a846: function(arg0, arg1, arg2, arg3) {
24238
24431
  let deferred0_0;
24239
24432
  let deferred0_1;
24240
24433
  try {
@@ -24246,7 +24439,7 @@ function __wbg_get_imports(memory) {
24246
24439
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24247
24440
  }
24248
24441
  },
24249
- __wbg_getUnspentInputNoteNullifiers_252553121097b242: function(arg0, arg1) {
24442
+ __wbg_getUnspentInputNoteNullifiers_ebaf421fc0015fa2: function(arg0, arg1) {
24250
24443
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
24251
24444
  return ret;
24252
24445
  },
@@ -24290,7 +24483,7 @@ function __wbg_get_imports(memory) {
24290
24483
  const ret = InputNoteRecord.__wrap(arg0);
24291
24484
  return ret;
24292
24485
  },
24293
- __wbg_insertAccountAddress_a6b2f038c55aee0a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24486
+ __wbg_insertAccountAddress_a51e79c880ced1cf: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24294
24487
  let deferred0_0;
24295
24488
  let deferred0_1;
24296
24489
  try {
@@ -24304,7 +24497,7 @@ function __wbg_get_imports(memory) {
24304
24497
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24305
24498
  }
24306
24499
  },
24307
- __wbg_insertAccountAuth_adb2bbf98e1c34d4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24500
+ __wbg_insertAccountAuth_b3858458a03809ae: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24308
24501
  let deferred0_0;
24309
24502
  let deferred0_1;
24310
24503
  let deferred1_0;
@@ -24321,7 +24514,7 @@ function __wbg_get_imports(memory) {
24321
24514
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24322
24515
  }
24323
24516
  },
24324
- __wbg_insertAccountKeyMapping_47e616ac5977fb9c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24517
+ __wbg_insertAccountKeyMapping_fbbf855438446c03: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24325
24518
  let deferred0_0;
24326
24519
  let deferred0_1;
24327
24520
  let deferred1_0;
@@ -24338,13 +24531,13 @@ function __wbg_get_imports(memory) {
24338
24531
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24339
24532
  }
24340
24533
  },
24341
- __wbg_insertBlockHeader_23b7b30d0614926f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24534
+ __wbg_insertBlockHeader_5536ebc96b4798c2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24342
24535
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
24343
24536
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
24344
24537
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
24345
24538
  return ret;
24346
24539
  },
24347
- __wbg_insertPartialBlockchainNodes_403400ec217229f2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24540
+ __wbg_insertPartialBlockchainNodes_c23a7fa71eb012cb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24348
24541
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24349
24542
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24350
24543
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24352,7 +24545,7 @@ function __wbg_get_imports(memory) {
24352
24545
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
24353
24546
  return ret;
24354
24547
  },
24355
- __wbg_insertSetting_fcdab04463e418b0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24548
+ __wbg_insertSetting_8c97168fca4bc5c5: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24356
24549
  let deferred0_0;
24357
24550
  let deferred0_1;
24358
24551
  try {
@@ -24366,7 +24559,7 @@ function __wbg_get_imports(memory) {
24366
24559
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24367
24560
  }
24368
24561
  },
24369
- __wbg_insertTransactionScript_a97df45bc8841578: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24562
+ __wbg_insertTransactionScript_1659a26e7d4e8b52: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24370
24563
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24371
24564
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24372
24565
  let v1;
@@ -24473,11 +24666,11 @@ function __wbg_get_imports(memory) {
24473
24666
  const ret = arg0.length;
24474
24667
  return ret;
24475
24668
  },
24476
- __wbg_listSettingKeys_aa9e036a0e93602e: function(arg0, arg1) {
24669
+ __wbg_listSettingKeys_56269e70dbc1174c: function(arg0, arg1) {
24477
24670
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
24478
24671
  return ret;
24479
24672
  },
24480
- __wbg_lockAccount_00786cae6f7ea636: function(arg0, arg1, arg2, arg3) {
24673
+ __wbg_lockAccount_cd84affa0a834358: function(arg0, arg1, arg2, arg3) {
24481
24674
  let deferred0_0;
24482
24675
  let deferred0_1;
24483
24676
  try {
@@ -24692,7 +24885,7 @@ function __wbg_get_imports(memory) {
24692
24885
  const ret = Array.of(arg0, arg1, arg2);
24693
24886
  return ret;
24694
24887
  },
24695
- __wbg_openDatabase_8cdde169e05fa396: function(arg0, arg1, arg2, arg3) {
24888
+ __wbg_openDatabase_17981eba13e00fdc: function(arg0, arg1, arg2, arg3) {
24696
24889
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
24697
24890
  return ret;
24698
24891
  },
@@ -24726,7 +24919,7 @@ function __wbg_get_imports(memory) {
24726
24919
  const ret = ProvenTransaction.__wrap(arg0);
24727
24920
  return ret;
24728
24921
  },
24729
- __wbg_pruneAccountHistory_77197f52f4287754: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24922
+ __wbg_pruneAccountHistory_e0d6394c134a165c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24730
24923
  let deferred0_0;
24731
24924
  let deferred0_1;
24732
24925
  let deferred1_0;
@@ -24743,7 +24936,7 @@ function __wbg_get_imports(memory) {
24743
24936
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24744
24937
  }
24745
24938
  },
24746
- __wbg_pruneIrrelevantBlocks_649b0446c426cb86: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24939
+ __wbg_pruneIrrelevantBlocks_eb1f447cdba825b0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24747
24940
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24748
24941
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24749
24942
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24751,6 +24944,10 @@ function __wbg_get_imports(memory) {
24751
24944
  const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1), v0, v1);
24752
24945
  return ret;
24753
24946
  },
24947
+ __wbg_pswaplineagerecord_new: function(arg0) {
24948
+ const ret = PswapLineageRecord.__wrap(arg0);
24949
+ return ret;
24950
+ },
24754
24951
  __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
24755
24952
  const ret = arg0.queueMicrotask;
24756
24953
  return ret;
@@ -24765,13 +24962,13 @@ function __wbg_get_imports(memory) {
24765
24962
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
24766
24963
  arg0.releaseLock();
24767
24964
  },
24768
- __wbg_removeAccountAddress_fc888f883a71bd4f: function(arg0, arg1, arg2, arg3) {
24965
+ __wbg_removeAccountAddress_af59fd21bdac1724: function(arg0, arg1, arg2, arg3) {
24769
24966
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24770
24967
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24771
24968
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
24772
24969
  return ret;
24773
24970
  },
24774
- __wbg_removeAccountAuth_8f11e01dd6099b42: function(arg0, arg1, arg2, arg3) {
24971
+ __wbg_removeAccountAuth_0a826954671c4b14: function(arg0, arg1, arg2, arg3) {
24775
24972
  let deferred0_0;
24776
24973
  let deferred0_1;
24777
24974
  try {
@@ -24783,7 +24980,7 @@ function __wbg_get_imports(memory) {
24783
24980
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24784
24981
  }
24785
24982
  },
24786
- __wbg_removeAllMappingsForKey_1fd0c55cb2cd0b61: function(arg0, arg1, arg2, arg3) {
24983
+ __wbg_removeAllMappingsForKey_a3c019a389bb16b1: function(arg0, arg1, arg2, arg3) {
24787
24984
  let deferred0_0;
24788
24985
  let deferred0_1;
24789
24986
  try {
@@ -24795,7 +24992,7 @@ function __wbg_get_imports(memory) {
24795
24992
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24796
24993
  }
24797
24994
  },
24798
- __wbg_removeNoteTag_d9a0f5ba38c25246: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24995
+ __wbg_removeNoteTag_8002568485e57cc5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24799
24996
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24800
24997
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24801
24998
  let v1;
@@ -24816,7 +25013,7 @@ function __wbg_get_imports(memory) {
24816
25013
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
24817
25014
  return ret;
24818
25015
  },
24819
- __wbg_removeSetting_39da4a2d256af0e2: function(arg0, arg1, arg2, arg3) {
25016
+ __wbg_removeSetting_d7d4e7bac50b96f6: function(arg0, arg1, arg2, arg3) {
24820
25017
  let deferred0_0;
24821
25018
  let deferred0_1;
24822
25019
  try {
@@ -25023,13 +25220,13 @@ function __wbg_get_imports(memory) {
25023
25220
  const ret = TransactionSummary.__wrap(arg0);
25024
25221
  return ret;
25025
25222
  },
25026
- __wbg_undoAccountStates_e36a3027b0d94828: function(arg0, arg1, arg2, arg3) {
25223
+ __wbg_undoAccountStates_2612c0beaf8bd1b8: function(arg0, arg1, arg2, arg3) {
25027
25224
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
25028
25225
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
25029
25226
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
25030
25227
  return ret;
25031
25228
  },
25032
- __wbg_upsertAccountCode_a57f0b2098ba7190: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25229
+ __wbg_upsertAccountCode_90bc45f9056d9a65: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25033
25230
  let deferred0_0;
25034
25231
  let deferred0_1;
25035
25232
  try {
@@ -25043,7 +25240,7 @@ function __wbg_get_imports(memory) {
25043
25240
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25044
25241
  }
25045
25242
  },
25046
- __wbg_upsertAccountRecord_96a74a90d1ab5ddf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25243
+ __wbg_upsertAccountRecord_07018035c7fcd8e9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
25047
25244
  let deferred0_0;
25048
25245
  let deferred0_1;
25049
25246
  let deferred1_0;
@@ -25085,7 +25282,7 @@ function __wbg_get_imports(memory) {
25085
25282
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
25086
25283
  }
25087
25284
  },
25088
- __wbg_upsertAccountStorage_cd428602fca677b1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25285
+ __wbg_upsertAccountStorage_6c49335faf715063: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25089
25286
  let deferred0_0;
25090
25287
  let deferred0_1;
25091
25288
  try {
@@ -25099,7 +25296,7 @@ function __wbg_get_imports(memory) {
25099
25296
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25100
25297
  }
25101
25298
  },
25102
- __wbg_upsertForeignAccountCode_ea1c872f50b83cf7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25299
+ __wbg_upsertForeignAccountCode_6884ddcc23079909: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25103
25300
  let deferred0_0;
25104
25301
  let deferred0_1;
25105
25302
  let deferred2_0;
@@ -25118,7 +25315,7 @@ function __wbg_get_imports(memory) {
25118
25315
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
25119
25316
  }
25120
25317
  },
25121
- __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) {
25318
+ __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) {
25122
25319
  let deferred0_0;
25123
25320
  let deferred0_1;
25124
25321
  let deferred6_0;
@@ -25167,7 +25364,7 @@ function __wbg_get_imports(memory) {
25167
25364
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
25168
25365
  }
25169
25366
  },
25170
- __wbg_upsertNoteScript_77ad6333fd8d09bd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25367
+ __wbg_upsertNoteScript_8cb185364b8b811c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25171
25368
  let deferred0_0;
25172
25369
  let deferred0_1;
25173
25370
  try {
@@ -25181,7 +25378,7 @@ function __wbg_get_imports(memory) {
25181
25378
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25182
25379
  }
25183
25380
  },
25184
- __wbg_upsertOutputNote_4d029c88a0e7d960: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25381
+ __wbg_upsertOutputNote_28a007cae68c5f83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25185
25382
  let deferred0_0;
25186
25383
  let deferred0_1;
25187
25384
  let deferred1_0;
@@ -25216,7 +25413,7 @@ function __wbg_get_imports(memory) {
25216
25413
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
25217
25414
  }
25218
25415
  },
25219
- __wbg_upsertStorageMapEntries_068d8303824fff58: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25416
+ __wbg_upsertStorageMapEntries_7c81b5bca7ee1c50: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25220
25417
  let deferred0_0;
25221
25418
  let deferred0_1;
25222
25419
  try {
@@ -25230,7 +25427,7 @@ function __wbg_get_imports(memory) {
25230
25427
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25231
25428
  }
25232
25429
  },
25233
- __wbg_upsertTransactionRecord_a285bd5d3fd5a278: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25430
+ __wbg_upsertTransactionRecord_b80c9a5ba744de46: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25234
25431
  let deferred0_0;
25235
25432
  let deferred0_1;
25236
25433
  try {
@@ -25251,7 +25448,7 @@ function __wbg_get_imports(memory) {
25251
25448
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
25252
25449
  }
25253
25450
  },
25254
- __wbg_upsertVaultAssets_53ecfc329186db4e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25451
+ __wbg_upsertVaultAssets_d2dccc19a14a6eb7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25255
25452
  let deferred0_0;
25256
25453
  let deferred0_1;
25257
25454
  try {
@@ -25294,17 +25491,17 @@ function __wbg_get_imports(memory) {
25294
25491
  return ret;
25295
25492
  },
25296
25493
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
25297
- // Cast intrinsic for `Closure(Closure { dtor_idx: 127, function: Function { arguments: [Externref], shim_idx: 128, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25494
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [Externref], shim_idx: 127, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25298
25495
  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_____);
25299
25496
  return ret;
25300
25497
  },
25301
25498
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
25302
- // 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`.
25499
+ // 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`.
25303
25500
  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_____);
25304
25501
  return ret;
25305
25502
  },
25306
25503
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
25307
- // Cast intrinsic for `Closure(Closure { dtor_idx: 127, function: Function { arguments: [], shim_idx: 448, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25504
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 126, function: Function { arguments: [], shim_idx: 451, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25308
25505
  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______);
25309
25506
  return ret;
25310
25507
  },
@@ -25368,25 +25565,32 @@ function __wbg_get_imports(memory) {
25368
25565
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
25369
25566
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25370
25567
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25371
- // Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
25568
+ // Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
25372
25569
  const ret = v0;
25373
25570
  return ret;
25374
25571
  },
25375
25572
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
25376
25573
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25377
25574
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25378
- // Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
25575
+ // Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
25379
25576
  const ret = v0;
25380
25577
  return ret;
25381
25578
  },
25382
25579
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
25383
25580
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25384
25581
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25385
- // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
25582
+ // Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
25386
25583
  const ret = v0;
25387
25584
  return ret;
25388
25585
  },
25389
25586
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
25587
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25588
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25589
+ // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
25590
+ const ret = v0;
25591
+ return ret;
25592
+ },
25593
+ __wbindgen_cast_0000000000000011: function(arg0, arg1) {
25390
25594
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
25391
25595
  wasm.__wbindgen_free(arg0, arg1 * 1, 1);
25392
25596
  // Cast intrinsic for `Vector(U8) -> Externref`.
@@ -25753,6 +25957,9 @@ const ProgramFinalization = (typeof FinalizationRegistry === 'undefined')
25753
25957
  const ProvenTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
25754
25958
  ? { register: () => {}, unregister: () => {} }
25755
25959
  : new FinalizationRegistry(ptr => wasm.__wbg_proventransaction_free(ptr >>> 0, 1));
25960
+ const PswapLineageRecordFinalization = (typeof FinalizationRegistry === 'undefined')
25961
+ ? { register: () => {}, unregister: () => {} }
25962
+ : new FinalizationRegistry(ptr => wasm.__wbg_pswaplineagerecord_free(ptr >>> 0, 1));
25756
25963
  const PublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
25757
25964
  ? { register: () => {}, unregister: () => {} }
25758
25965
  : new FinalizationRegistry(ptr => wasm.__wbg_publickey_free(ptr >>> 0, 1));
@@ -26361,6 +26568,8 @@ var index = /*#__PURE__*/Object.freeze({
26361
26568
  ProcedureThreshold: ProcedureThreshold,
26362
26569
  Program: Program,
26363
26570
  ProvenTransaction: ProvenTransaction,
26571
+ PswapLineageRecord: PswapLineageRecord,
26572
+ PswapLineageState: PswapLineageState,
26364
26573
  PublicKey: PublicKey,
26365
26574
  RpcClient: RpcClient,
26366
26575
  Rpo256: Rpo256,
@@ -26416,5 +26625,5 @@ var index = /*#__PURE__*/Object.freeze({
26416
26625
  });
26417
26626
 
26418
26627
  const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
26419
- export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker , __wbg_init, module$1 as __wasm_url };
26420
- //# sourceMappingURL=Cargo-D6y7aDQ8.js.map
26628
+ export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker , __wbg_init, module$1 as __wasm_url };
26629
+ //# sourceMappingURL=Cargo-BbpPeJYa.js.map