@miden-sdk/miden-sdk 0.15.1 → 0.15.3

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 (44) hide show
  1. package/README.md +39 -0
  2. package/dist/mt/{Cargo-D6y7aDQ8.js → Cargo-D2qNRrNR.js} +288 -79
  3. package/dist/mt/Cargo-D2qNRrNR.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-D2qNRrNR-n_GEbq73.js} +288 -79
  14. package/dist/mt/workers/{Cargo-D6y7aDQ8-BbSVnZEb.js.map → Cargo-D2qNRrNR-n_GEbq73.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-BP7-0qVT.js} +285 -78
  22. package/dist/st/Cargo-BP7-0qVT.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-BP7-0qVT-CmfAy6bf.js} +285 -78
  32. package/dist/st/workers/Cargo-BP7-0qVT-CmfAy6bf.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/node-index.js +149 -40
  40. package/js/resources/pswap.js +132 -0
  41. package/package.json +6 -4
  42. package/dist/mt/Cargo-D6y7aDQ8.js.map +0 -1
  43. package/dist/st/Cargo-LzqxI7kL.js.map +0 -1
  44. package/dist/st/workers/Cargo-LzqxI7kL-9fqTseKT.js.map +0 -1
@@ -12622,6 +12622,13 @@ if (Symbol.dispose) AdviceInputs.prototype[Symbol.dispose] = AdviceInputs.protot
12622
12622
  * Map of advice values keyed by words for script execution.
12623
12623
  */
12624
12624
  class AdviceMap {
12625
+ static __wrap(ptr) {
12626
+ ptr = ptr >>> 0;
12627
+ const obj = Object.create(AdviceMap.prototype);
12628
+ obj.__wbg_ptr = ptr;
12629
+ AdviceMapFinalization.register(obj, obj.__wbg_ptr, obj);
12630
+ return obj;
12631
+ }
12625
12632
  __destroy_into_raw() {
12626
12633
  const ptr = this.__wbg_ptr;
12627
12634
  this.__wbg_ptr = 0;
@@ -18924,6 +18931,119 @@ class ProvenTransaction {
18924
18931
  }
18925
18932
  if (Symbol.dispose) ProvenTransaction.prototype[Symbol.dispose] = ProvenTransaction.prototype.free;
18926
18933
 
18934
+ /**
18935
+ * Read-only view of one PSWAP order's chain state, exposed to JavaScript.
18936
+ * The mutable fields (remaining amounts, depth, tip, state) advance
18937
+ * round-by-round as fills are discovered during sync.
18938
+ */
18939
+ class PswapLineageRecord {
18940
+ static __wrap(ptr) {
18941
+ ptr = ptr >>> 0;
18942
+ const obj = Object.create(PswapLineageRecord.prototype);
18943
+ obj.__wbg_ptr = ptr;
18944
+ PswapLineageRecordFinalization.register(obj, obj.__wbg_ptr, obj);
18945
+ return obj;
18946
+ }
18947
+ __destroy_into_raw() {
18948
+ const ptr = this.__wbg_ptr;
18949
+ this.__wbg_ptr = 0;
18950
+ PswapLineageRecordFinalization.unregister(this);
18951
+ return ptr;
18952
+ }
18953
+ free() {
18954
+ const ptr = this.__destroy_into_raw();
18955
+ wasm.__wbg_pswaplineagerecord_free(ptr, 0);
18956
+ }
18957
+ /**
18958
+ * Account that created the order and receives every payback.
18959
+ * @returns {AccountId}
18960
+ */
18961
+ creatorAccountId() {
18962
+ const ret = wasm.pswaplineagerecord_creatorAccountId(this.__wbg_ptr);
18963
+ return AccountId.__wrap(ret);
18964
+ }
18965
+ /**
18966
+ * Depth of the current tip: 0 for the original PSWAP, +1 per fill round.
18967
+ * @returns {number}
18968
+ */
18969
+ currentDepth() {
18970
+ const ret = wasm.pswaplineagerecord_currentDepth(this.__wbg_ptr);
18971
+ return ret >>> 0;
18972
+ }
18973
+ /**
18974
+ * Note id of the current tip in the chain.
18975
+ * @returns {NoteId}
18976
+ */
18977
+ currentTipNoteId() {
18978
+ const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
18979
+ return NoteId.__wrap(ret);
18980
+ }
18981
+ /**
18982
+ * Stable identifier shared by every note in the chain, as a decimal string.
18983
+ * @returns {string}
18984
+ */
18985
+ orderId() {
18986
+ let deferred1_0;
18987
+ let deferred1_1;
18988
+ try {
18989
+ const ret = wasm.pswaplineagerecord_orderId(this.__wbg_ptr);
18990
+ deferred1_0 = ret[0];
18991
+ deferred1_1 = ret[1];
18992
+ return getStringFromWasm0(ret[0], ret[1]);
18993
+ } finally {
18994
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
18995
+ }
18996
+ }
18997
+ /**
18998
+ * Offered amount still unfilled on the current tip. The offered faucet is
18999
+ * chain-invariant and recovered from the original PSWAP note when needed.
19000
+ * @returns {bigint}
19001
+ */
19002
+ remainingOffered() {
19003
+ const ret = wasm.pswaplineagerecord_remainingOffered(this.__wbg_ptr);
19004
+ return BigInt.asUintN(64, ret);
19005
+ }
19006
+ /**
19007
+ * Requested amount still outstanding on the current tip. The requested
19008
+ * faucet is recovered from the original PSWAP note when needed.
19009
+ * @returns {bigint}
19010
+ */
19011
+ remainingRequested() {
19012
+ const ret = wasm.pswaplineagerecord_remainingRequested(this.__wbg_ptr);
19013
+ return BigInt.asUintN(64, ret);
19014
+ }
19015
+ /**
19016
+ * Lifecycle state of the order.
19017
+ * @returns {PswapLineageState}
19018
+ */
19019
+ state() {
19020
+ const ret = wasm.pswaplineagerecord_state(this.__wbg_ptr);
19021
+ return ret;
19022
+ }
19023
+ }
19024
+ if (Symbol.dispose) PswapLineageRecord.prototype[Symbol.dispose] = PswapLineageRecord.prototype.free;
19025
+
19026
+ /**
19027
+ * Lifecycle state of a PSWAP order.
19028
+ *
19029
+ * Discriminants match the on-disk encoding in the store.
19030
+ * @enum {0 | 1 | 2}
19031
+ */
19032
+ const PswapLineageState = Object.freeze({
19033
+ /**
19034
+ * Still fillable and reclaimable.
19035
+ */
19036
+ Active: 0, "0": "Active",
19037
+ /**
19038
+ * Fully filled. Terminal.
19039
+ */
19040
+ FullyFilled: 1, "1": "FullyFilled",
19041
+ /**
19042
+ * Reclaimed by the creator. Terminal.
19043
+ */
19044
+ Reclaimed: 2, "2": "Reclaimed",
19045
+ });
19046
+
18927
19047
  class PublicKey {
18928
19048
  static __wrap(ptr) {
18929
19049
  ptr = ptr >>> 0;
@@ -21279,7 +21399,7 @@ class TransactionRecord {
21279
21399
  * @returns {Word}
21280
21400
  */
21281
21401
  initAccountState() {
21282
- const ret = wasm.transactionrecord_initAccountState(this.__wbg_ptr);
21402
+ const ret = wasm.pswaplineagerecord_currentTipNoteId(this.__wbg_ptr);
21283
21403
  return Word.__wrap(ret);
21284
21404
  }
21285
21405
  /**
@@ -21344,6 +21464,14 @@ class TransactionRequest {
21344
21464
  const ptr = this.__destroy_into_raw();
21345
21465
  wasm.__wbg_transactionrequest_free(ptr, 0);
21346
21466
  }
21467
+ /**
21468
+ * Returns a copy of the advice map carried by this request.
21469
+ * @returns {AdviceMap}
21470
+ */
21471
+ adviceMap() {
21472
+ const ret = wasm.transactionrequest_adviceMap(this.__wbg_ptr);
21473
+ return AdviceMap.__wrap(ret);
21474
+ }
21347
21475
  /**
21348
21476
  * Returns the authentication argument if present.
21349
21477
  * @returns {Word | undefined}
@@ -21390,6 +21518,20 @@ class TransactionRequest {
21390
21518
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
21391
21519
  return v1;
21392
21520
  }
21521
+ /**
21522
+ * Returns a copy of this request with `advice_map` merged into its advice map.
21523
+ *
21524
+ * Entries are merged with last-write-wins semantics: a key already present in the request is
21525
+ * overwritten by the value from `advice_map`. Use this to inject advice (e.g. a signature
21526
+ * produced by an external signer) after the request has already been built.
21527
+ * @param {AdviceMap} advice_map
21528
+ * @returns {TransactionRequest}
21529
+ */
21530
+ extendAdviceMap(advice_map) {
21531
+ _assertClass(advice_map, AdviceMap);
21532
+ const ret = wasm.transactionrequest_extendAdviceMap(this.__wbg_ptr, advice_map.__wbg_ptr);
21533
+ return TransactionRequest.__wrap(ret);
21534
+ }
21393
21535
  /**
21394
21536
  * Returns the transaction script argument if present.
21395
21537
  * @returns {Word | undefined}
@@ -22151,6 +22293,10 @@ class WebClient {
22151
22293
  return ret;
22152
22294
  }
22153
22295
  /**
22296
+ * Persists a submitted transaction and returns its pre-apply
22297
+ * [`TransactionStoreUpdate`]. Routes through the high-level
22298
+ * `Client::apply_transaction` so registered observers (e.g. PSWAP
22299
+ * tracking) fire.
22154
22300
  * @param {TransactionResult} transaction_result
22155
22301
  * @param {number} submission_height
22156
22302
  * @returns {Promise<TransactionStoreUpdate>}
@@ -22160,6 +22306,22 @@ class WebClient {
22160
22306
  const ret = wasm.webclient_applyTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr, submission_height);
22161
22307
  return ret;
22162
22308
  }
22309
+ /**
22310
+ * Builds a transaction reclaiming the unfilled offered asset on the current
22311
+ * tip of an Active lineage.
22312
+ *
22313
+ * `order_id` is the order's stable identifier as a decimal string. The
22314
+ * returned request flows into the same submit path as the other PSWAP
22315
+ * cancel transactions.
22316
+ * @param {string} order_id
22317
+ * @returns {Promise<TransactionRequest>}
22318
+ */
22319
+ buildPswapCancelByOrder(order_id) {
22320
+ const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22321
+ const len0 = WASM_VECTOR_LEN;
22322
+ const ret = wasm.webclient_buildPswapCancelByOrder(this.__wbg_ptr, ptr0, len0);
22323
+ return ret;
22324
+ }
22163
22325
  /**
22164
22326
  * @param {NoteType} note_type
22165
22327
  * @param {AccountId} offered_asset_faucet_id
@@ -22503,6 +22665,37 @@ class WebClient {
22503
22665
  const ret = wasm.webclient_getOutputNotes(this.__wbg_ptr, ptr0);
22504
22666
  return ret;
22505
22667
  }
22668
+ /**
22669
+ * Returns the lineage for one order, or `null` if not tracked.
22670
+ *
22671
+ * `order_id` is the order's stable identifier as a decimal string.
22672
+ * @param {string} order_id
22673
+ * @returns {Promise<PswapLineageRecord | undefined>}
22674
+ */
22675
+ getPswapLineage(order_id) {
22676
+ const ptr0 = passStringToWasm0(order_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22677
+ const len0 = WASM_VECTOR_LEN;
22678
+ const ret = wasm.webclient_getPswapLineage(this.__wbg_ptr, ptr0, len0);
22679
+ return ret;
22680
+ }
22681
+ /**
22682
+ * Returns every PSWAP lineage tracked by this client.
22683
+ * @returns {Promise<PswapLineageRecord[]>}
22684
+ */
22685
+ getPswapLineages() {
22686
+ const ret = wasm.webclient_getPswapLineages(this.__wbg_ptr);
22687
+ return ret;
22688
+ }
22689
+ /**
22690
+ * Returns lineages created by a specific local account.
22691
+ * @param {AccountId} creator
22692
+ * @returns {Promise<PswapLineageRecord[]>}
22693
+ */
22694
+ getPswapLineagesFor(creator) {
22695
+ _assertClass(creator, AccountId);
22696
+ const ret = wasm.webclient_getPswapLineagesFor(this.__wbg_ptr, creator.__wbg_ptr);
22697
+ return ret;
22698
+ }
22506
22699
  /**
22507
22700
  * Returns all public key commitments associated with the given account ID.
22508
22701
  *
@@ -23485,7 +23678,7 @@ function __wbg_get_imports() {
23485
23678
  const ret = AccountStorage.__wrap(arg0);
23486
23679
  return ret;
23487
23680
  },
23488
- __wbg_addNoteTag_f0737cd654a0af83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
23681
+ __wbg_addNoteTag_1c8f882e522a5424: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
23489
23682
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23490
23683
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23491
23684
  let v1;
@@ -23513,21 +23706,21 @@ function __wbg_get_imports() {
23513
23706
  __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
23514
23707
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
23515
23708
  }, arguments); },
23516
- __wbg_applyFullAccountState_0f46ca4819ec19a2: function(arg0, arg1, arg2) {
23709
+ __wbg_applyFullAccountState_ba8793f04d3ef7fb: function(arg0, arg1, arg2) {
23517
23710
  const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
23518
23711
  return ret;
23519
23712
  },
23520
- __wbg_applySettingsMutations_633bdfc5efcbeab4: function(arg0, arg1, arg2, arg3) {
23713
+ __wbg_applySettingsMutations_555ec6e5c58ffc5b: function(arg0, arg1, arg2, arg3) {
23521
23714
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23522
23715
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23523
23716
  const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
23524
23717
  return ret;
23525
23718
  },
23526
- __wbg_applyStateSync_4577b4125b70be6e: function(arg0, arg1, arg2) {
23719
+ __wbg_applyStateSync_d6a6d78e0278d43d: function(arg0, arg1, arg2) {
23527
23720
  const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
23528
23721
  return ret;
23529
23722
  },
23530
- __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) {
23723
+ __wbg_applyTransactionDelta_f6e5feb33a6156f4: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
23531
23724
  let deferred0_0;
23532
23725
  let deferred0_1;
23533
23726
  let deferred1_0;
@@ -23666,7 +23859,7 @@ function __wbg_get_imports() {
23666
23859
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23667
23860
  }
23668
23861
  },
23669
- __wbg_exportStore_6122bc835ba1335e: function(arg0, arg1) {
23862
+ __wbg_exportStore_2755c29774f1398d: function(arg0, arg1) {
23670
23863
  const ret = exportStore(getStringFromWasm0(arg0, arg1));
23671
23864
  return ret;
23672
23865
  },
@@ -23698,7 +23891,7 @@ function __wbg_get_imports() {
23698
23891
  const ret = FetchedNote.__wrap(arg0);
23699
23892
  return ret;
23700
23893
  },
23701
- __wbg_forceImportStore_fee039594a1dd764: function(arg0, arg1, arg2) {
23894
+ __wbg_forceImportStore_4b6749610cf2fca2: function(arg0, arg1, arg2) {
23702
23895
  const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
23703
23896
  return ret;
23704
23897
  },
@@ -23718,7 +23911,7 @@ function __wbg_get_imports() {
23718
23911
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
23719
23912
  return ret;
23720
23913
  },
23721
- __wbg_getAccountAddresses_c2905210853e4c1d: function(arg0, arg1, arg2, arg3) {
23914
+ __wbg_getAccountAddresses_4c6e8d82b86bd4db: function(arg0, arg1, arg2, arg3) {
23722
23915
  let deferred0_0;
23723
23916
  let deferred0_1;
23724
23917
  try {
@@ -23730,7 +23923,7 @@ function __wbg_get_imports() {
23730
23923
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23731
23924
  }
23732
23925
  },
23733
- __wbg_getAccountAuthByPubKeyCommitment_aa1c1ea910be8702: function(arg0, arg1, arg2, arg3) {
23926
+ __wbg_getAccountAuthByPubKeyCommitment_526c174dcf167d1d: function(arg0, arg1, arg2, arg3) {
23734
23927
  let deferred0_0;
23735
23928
  let deferred0_1;
23736
23929
  try {
@@ -23742,7 +23935,7 @@ function __wbg_get_imports() {
23742
23935
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23743
23936
  }
23744
23937
  },
23745
- __wbg_getAccountCode_624d99224830e698: function(arg0, arg1, arg2, arg3) {
23938
+ __wbg_getAccountCode_4b1a8b44c07f16ec: function(arg0, arg1, arg2, arg3) {
23746
23939
  let deferred0_0;
23747
23940
  let deferred0_1;
23748
23941
  try {
@@ -23754,7 +23947,7 @@ function __wbg_get_imports() {
23754
23947
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23755
23948
  }
23756
23949
  },
23757
- __wbg_getAccountHeaderByCommitment_87400f84a64deb6f: function(arg0, arg1, arg2, arg3) {
23950
+ __wbg_getAccountHeaderByCommitment_7d00957336fa1aa0: function(arg0, arg1, arg2, arg3) {
23758
23951
  let deferred0_0;
23759
23952
  let deferred0_1;
23760
23953
  try {
@@ -23766,7 +23959,7 @@ function __wbg_get_imports() {
23766
23959
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23767
23960
  }
23768
23961
  },
23769
- __wbg_getAccountHeader_1bfe2e4c80c39a5a: function(arg0, arg1, arg2, arg3) {
23962
+ __wbg_getAccountHeader_a379be70d1e4cfbd: function(arg0, arg1, arg2, arg3) {
23770
23963
  let deferred0_0;
23771
23964
  let deferred0_1;
23772
23965
  try {
@@ -23778,7 +23971,7 @@ function __wbg_get_imports() {
23778
23971
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23779
23972
  }
23780
23973
  },
23781
- __wbg_getAccountIdByKeyCommitment_119e889c02d0a383: function(arg0, arg1, arg2, arg3) {
23974
+ __wbg_getAccountIdByKeyCommitment_20a98231f254e16b: function(arg0, arg1, arg2, arg3) {
23782
23975
  let deferred0_0;
23783
23976
  let deferred0_1;
23784
23977
  try {
@@ -23790,11 +23983,11 @@ function __wbg_get_imports() {
23790
23983
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23791
23984
  }
23792
23985
  },
23793
- __wbg_getAccountIds_b7c51b913d5bf21d: function(arg0, arg1) {
23986
+ __wbg_getAccountIds_15b2e8a5c2f9f448: function(arg0, arg1) {
23794
23987
  const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
23795
23988
  return ret;
23796
23989
  },
23797
- __wbg_getAccountStorageMaps_ea32cd8cf6fc6297: function(arg0, arg1, arg2, arg3) {
23990
+ __wbg_getAccountStorageMaps_7a6581bdaa528f5b: function(arg0, arg1, arg2, arg3) {
23798
23991
  let deferred0_0;
23799
23992
  let deferred0_1;
23800
23993
  try {
@@ -23806,7 +23999,7 @@ function __wbg_get_imports() {
23806
23999
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23807
24000
  }
23808
24001
  },
23809
- __wbg_getAccountStorage_277a00af1ae659dd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24002
+ __wbg_getAccountStorage_81c375a1a2d33378: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23810
24003
  let deferred0_0;
23811
24004
  let deferred0_1;
23812
24005
  try {
@@ -23820,7 +24013,7 @@ function __wbg_get_imports() {
23820
24013
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23821
24014
  }
23822
24015
  },
23823
- __wbg_getAccountVaultAssets_e588f7c19992bf5a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24016
+ __wbg_getAccountVaultAssets_d7b806e2ad386b3b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
23824
24017
  let deferred0_0;
23825
24018
  let deferred0_1;
23826
24019
  try {
@@ -23834,27 +24027,27 @@ function __wbg_get_imports() {
23834
24027
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23835
24028
  }
23836
24029
  },
23837
- __wbg_getAllAccountHeaders_cc5df55ad899e5ca: function(arg0, arg1) {
24030
+ __wbg_getAllAccountHeaders_e9ce4e33075edb27: function(arg0, arg1) {
23838
24031
  const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
23839
24032
  return ret;
23840
24033
  },
23841
- __wbg_getBlockHeaders_08a8804e4b3ff442: function(arg0, arg1, arg2, arg3) {
24034
+ __wbg_getBlockHeaders_6ffc387a5b74f1ff: function(arg0, arg1, arg2, arg3) {
23842
24035
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
23843
24036
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23844
24037
  const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
23845
24038
  return ret;
23846
24039
  },
23847
- __wbg_getCurrentBlockchainPeaks_f0d990ec54236a85: function(arg0, arg1) {
24040
+ __wbg_getCurrentBlockchainPeaks_4f515c084e8dc019: function(arg0, arg1) {
23848
24041
  const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
23849
24042
  return ret;
23850
24043
  },
23851
- __wbg_getForeignAccountCode_d4d803c5248469e8: function(arg0, arg1, arg2, arg3) {
24044
+ __wbg_getForeignAccountCode_80e1c0d6bec20b20: function(arg0, arg1, arg2, arg3) {
23852
24045
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23853
24046
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23854
24047
  const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
23855
24048
  return ret;
23856
24049
  },
23857
- __wbg_getInputNoteByOffset_a1163c6c190c7bc0: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
24050
+ __wbg_getInputNoteByOffset_52dacd9771fd7c73: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
23858
24051
  let deferred1_0;
23859
24052
  let deferred1_1;
23860
24053
  try {
@@ -23868,31 +24061,31 @@ function __wbg_get_imports() {
23868
24061
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
23869
24062
  }
23870
24063
  },
23871
- __wbg_getInputNotesFromDetailsCommitments_c7c58c64df846c95: function(arg0, arg1, arg2, arg3) {
24064
+ __wbg_getInputNotesFromDetailsCommitments_b6639133948088e6: function(arg0, arg1, arg2, arg3) {
23872
24065
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23873
24066
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23874
24067
  const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
23875
24068
  return ret;
23876
24069
  },
23877
- __wbg_getInputNotesFromIds_c19092f0da179fdf: function(arg0, arg1, arg2, arg3) {
24070
+ __wbg_getInputNotesFromIds_1dc711511af25436: function(arg0, arg1, arg2, arg3) {
23878
24071
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23879
24072
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23880
24073
  const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
23881
24074
  return ret;
23882
24075
  },
23883
- __wbg_getInputNotesFromNullifiers_ef5e3e241e8f14b9: function(arg0, arg1, arg2, arg3) {
24076
+ __wbg_getInputNotesFromNullifiers_de68d7a980a7a6ac: function(arg0, arg1, arg2, arg3) {
23884
24077
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23885
24078
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23886
24079
  const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
23887
24080
  return ret;
23888
24081
  },
23889
- __wbg_getInputNotes_9a2890b2c05db53e: function(arg0, arg1, arg2, arg3) {
24082
+ __wbg_getInputNotes_e6991526618c5e3b: function(arg0, arg1, arg2, arg3) {
23890
24083
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23891
24084
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23892
24085
  const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
23893
24086
  return ret;
23894
24087
  },
23895
- __wbg_getKeyCommitmentsByAccountId_98d1052aa93e54d1: function(arg0, arg1, arg2, arg3) {
24088
+ __wbg_getKeyCommitmentsByAccountId_b16d7689e99f36cb: function(arg0, arg1, arg2, arg3) {
23896
24089
  let deferred0_0;
23897
24090
  let deferred0_1;
23898
24091
  try {
@@ -23904,7 +24097,7 @@ function __wbg_get_imports() {
23904
24097
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23905
24098
  }
23906
24099
  },
23907
- __wbg_getNoteScript_f33c8718fc90d2c4: function(arg0, arg1, arg2, arg3) {
24100
+ __wbg_getNoteScript_6d54def9cedaab5b: function(arg0, arg1, arg2, arg3) {
23908
24101
  let deferred0_0;
23909
24102
  let deferred0_1;
23910
24103
  try {
@@ -23916,39 +24109,39 @@ function __wbg_get_imports() {
23916
24109
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23917
24110
  }
23918
24111
  },
23919
- __wbg_getNoteTags_e2ed88e636d0ad2a: function(arg0, arg1) {
24112
+ __wbg_getNoteTags_4a9f0532a43e9ab4: function(arg0, arg1) {
23920
24113
  const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
23921
24114
  return ret;
23922
24115
  },
23923
- __wbg_getOutputNotesFromDetailsCommitments_2b6cb89aa5ad7bd7: function(arg0, arg1, arg2, arg3) {
24116
+ __wbg_getOutputNotesFromDetailsCommitments_b65d8c4d56515cdc: function(arg0, arg1, arg2, arg3) {
23924
24117
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23925
24118
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23926
24119
  const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
23927
24120
  return ret;
23928
24121
  },
23929
- __wbg_getOutputNotesFromIds_1cfcb787c56927d6: function(arg0, arg1, arg2, arg3) {
24122
+ __wbg_getOutputNotesFromIds_e4e43ea7ee10ce3b: function(arg0, arg1, arg2, arg3) {
23930
24123
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23931
24124
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23932
24125
  const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
23933
24126
  return ret;
23934
24127
  },
23935
- __wbg_getOutputNotesFromNullifiers_ab2d0529c918ceb6: function(arg0, arg1, arg2, arg3) {
24128
+ __wbg_getOutputNotesFromNullifiers_5793389b5326d141: function(arg0, arg1, arg2, arg3) {
23936
24129
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23937
24130
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23938
24131
  const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
23939
24132
  return ret;
23940
24133
  },
23941
- __wbg_getOutputNotes_3ce2621bbaa0b67a: function(arg0, arg1, arg2, arg3) {
24134
+ __wbg_getOutputNotes_dc82d3565d3003c8: function(arg0, arg1, arg2, arg3) {
23942
24135
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
23943
24136
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
23944
24137
  const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
23945
24138
  return ret;
23946
24139
  },
23947
- __wbg_getPartialBlockchainNodesAll_97b2296b6f446165: function(arg0, arg1) {
24140
+ __wbg_getPartialBlockchainNodesAll_85f7172793d8eb4f: function(arg0, arg1) {
23948
24141
  const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
23949
24142
  return ret;
23950
24143
  },
23951
- __wbg_getPartialBlockchainNodesUpToInOrderIndex_a00a947793bcac3c: function(arg0, arg1, arg2, arg3) {
24144
+ __wbg_getPartialBlockchainNodesUpToInOrderIndex_655882ac21085fa7: function(arg0, arg1, arg2, arg3) {
23952
24145
  let deferred0_0;
23953
24146
  let deferred0_1;
23954
24147
  try {
@@ -23960,7 +24153,7 @@ function __wbg_get_imports() {
23960
24153
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23961
24154
  }
23962
24155
  },
23963
- __wbg_getPartialBlockchainNodes_ed95c0aed168e0bd: function(arg0, arg1, arg2, arg3) {
24156
+ __wbg_getPartialBlockchainNodes_87b3768321d70002: function(arg0, arg1, arg2, arg3) {
23964
24157
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
23965
24158
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
23966
24159
  const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
@@ -23973,7 +24166,7 @@ function __wbg_get_imports() {
23973
24166
  const ret = arg0.getReader();
23974
24167
  return ret;
23975
24168
  }, arguments); },
23976
- __wbg_getSetting_ae10044e2d623298: function(arg0, arg1, arg2, arg3) {
24169
+ __wbg_getSetting_e9042efc55b18bbb: function(arg0, arg1, arg2, arg3) {
23977
24170
  let deferred0_0;
23978
24171
  let deferred0_1;
23979
24172
  try {
@@ -23985,7 +24178,7 @@ function __wbg_get_imports() {
23985
24178
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
23986
24179
  }
23987
24180
  },
23988
- __wbg_getSyncHeight_58fc6088ffc73f66: function(arg0, arg1) {
24181
+ __wbg_getSyncHeight_52e3dd3c6a2a9643: function(arg0, arg1) {
23989
24182
  const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
23990
24183
  return ret;
23991
24184
  },
@@ -23993,15 +24186,15 @@ function __wbg_get_imports() {
23993
24186
  const ret = arg0.getTime();
23994
24187
  return ret;
23995
24188
  },
23996
- __wbg_getTrackedBlockHeaderNumbers_5ff16c5dbe739bda: function(arg0, arg1) {
24189
+ __wbg_getTrackedBlockHeaderNumbers_0e827a6fbace9440: function(arg0, arg1) {
23997
24190
  const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
23998
24191
  return ret;
23999
24192
  },
24000
- __wbg_getTrackedBlockHeaders_b20d19487c2d6df9: function(arg0, arg1) {
24193
+ __wbg_getTrackedBlockHeaders_aec6fdccb131fcc4: function(arg0, arg1) {
24001
24194
  const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
24002
24195
  return ret;
24003
24196
  },
24004
- __wbg_getTransactions_162de0ea1d0f2668: function(arg0, arg1, arg2, arg3) {
24197
+ __wbg_getTransactions_a5e46e592ec6567b: function(arg0, arg1, arg2, arg3) {
24005
24198
  let deferred0_0;
24006
24199
  let deferred0_1;
24007
24200
  try {
@@ -24013,7 +24206,7 @@ function __wbg_get_imports() {
24013
24206
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24014
24207
  }
24015
24208
  },
24016
- __wbg_getUnspentInputNoteNullifiers_252553121097b242: function(arg0, arg1) {
24209
+ __wbg_getUnspentInputNoteNullifiers_0753945c0300356f: function(arg0, arg1) {
24017
24210
  const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
24018
24211
  return ret;
24019
24212
  },
@@ -24057,7 +24250,7 @@ function __wbg_get_imports() {
24057
24250
  const ret = InputNoteRecord.__wrap(arg0);
24058
24251
  return ret;
24059
24252
  },
24060
- __wbg_insertAccountAddress_a6b2f038c55aee0a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24253
+ __wbg_insertAccountAddress_0d293c362728e99b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24061
24254
  let deferred0_0;
24062
24255
  let deferred0_1;
24063
24256
  try {
@@ -24071,7 +24264,7 @@ function __wbg_get_imports() {
24071
24264
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24072
24265
  }
24073
24266
  },
24074
- __wbg_insertAccountAuth_adb2bbf98e1c34d4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24267
+ __wbg_insertAccountAuth_be13c8ed59e28915: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24075
24268
  let deferred0_0;
24076
24269
  let deferred0_1;
24077
24270
  let deferred1_0;
@@ -24088,7 +24281,7 @@ function __wbg_get_imports() {
24088
24281
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24089
24282
  }
24090
24283
  },
24091
- __wbg_insertAccountKeyMapping_47e616ac5977fb9c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24284
+ __wbg_insertAccountKeyMapping_e21f0da8ff1a235d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24092
24285
  let deferred0_0;
24093
24286
  let deferred0_1;
24094
24287
  let deferred1_0;
@@ -24105,13 +24298,13 @@ function __wbg_get_imports() {
24105
24298
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24106
24299
  }
24107
24300
  },
24108
- __wbg_insertBlockHeader_23b7b30d0614926f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24301
+ __wbg_insertBlockHeader_0fd9441e660932f4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24109
24302
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
24110
24303
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
24111
24304
  const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
24112
24305
  return ret;
24113
24306
  },
24114
- __wbg_insertPartialBlockchainNodes_403400ec217229f2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24307
+ __wbg_insertPartialBlockchainNodes_41ca6874a5cf6e1c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24115
24308
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24116
24309
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24117
24310
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24119,7 +24312,7 @@ function __wbg_get_imports() {
24119
24312
  const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
24120
24313
  return ret;
24121
24314
  },
24122
- __wbg_insertSetting_fcdab04463e418b0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24315
+ __wbg_insertSetting_36744f044c3bb7e7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24123
24316
  let deferred0_0;
24124
24317
  let deferred0_1;
24125
24318
  try {
@@ -24133,7 +24326,7 @@ function __wbg_get_imports() {
24133
24326
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24134
24327
  }
24135
24328
  },
24136
- __wbg_insertTransactionScript_a97df45bc8841578: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24329
+ __wbg_insertTransactionScript_3940a90473bfede6: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24137
24330
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24138
24331
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24139
24332
  let v1;
@@ -24230,11 +24423,11 @@ function __wbg_get_imports() {
24230
24423
  const ret = arg0.length;
24231
24424
  return ret;
24232
24425
  },
24233
- __wbg_listSettingKeys_aa9e036a0e93602e: function(arg0, arg1) {
24426
+ __wbg_listSettingKeys_0b73fd5d86306685: function(arg0, arg1) {
24234
24427
  const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
24235
24428
  return ret;
24236
24429
  },
24237
- __wbg_lockAccount_00786cae6f7ea636: function(arg0, arg1, arg2, arg3) {
24430
+ __wbg_lockAccount_2e7498cedc727430: function(arg0, arg1, arg2, arg3) {
24238
24431
  let deferred0_0;
24239
24432
  let deferred0_1;
24240
24433
  try {
@@ -24433,7 +24626,7 @@ function __wbg_get_imports() {
24433
24626
  const ret = NoteTag.__unwrap(arg0);
24434
24627
  return ret;
24435
24628
  },
24436
- __wbg_openDatabase_8cdde169e05fa396: function(arg0, arg1, arg2, arg3) {
24629
+ __wbg_openDatabase_408b68d01263c8d9: function(arg0, arg1, arg2, arg3) {
24437
24630
  const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
24438
24631
  return ret;
24439
24632
  },
@@ -24464,7 +24657,7 @@ function __wbg_get_imports() {
24464
24657
  const ret = ProvenTransaction.__wrap(arg0);
24465
24658
  return ret;
24466
24659
  },
24467
- __wbg_pruneAccountHistory_77197f52f4287754: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24660
+ __wbg_pruneAccountHistory_e4591ff16590fc39: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24468
24661
  let deferred0_0;
24469
24662
  let deferred0_1;
24470
24663
  let deferred1_0;
@@ -24481,7 +24674,7 @@ function __wbg_get_imports() {
24481
24674
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
24482
24675
  }
24483
24676
  },
24484
- __wbg_pruneIrrelevantBlocks_649b0446c426cb86: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24677
+ __wbg_pruneIrrelevantBlocks_b4bbb376dc014b6b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24485
24678
  var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
24486
24679
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24487
24680
  var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
@@ -24489,6 +24682,10 @@ function __wbg_get_imports() {
24489
24682
  const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1), v0, v1);
24490
24683
  return ret;
24491
24684
  },
24685
+ __wbg_pswaplineagerecord_new: function(arg0) {
24686
+ const ret = PswapLineageRecord.__wrap(arg0);
24687
+ return ret;
24688
+ },
24492
24689
  __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
24493
24690
  const ret = arg0.queueMicrotask;
24494
24691
  return ret;
@@ -24503,13 +24700,13 @@ function __wbg_get_imports() {
24503
24700
  __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
24504
24701
  arg0.releaseLock();
24505
24702
  },
24506
- __wbg_removeAccountAddress_fc888f883a71bd4f: function(arg0, arg1, arg2, arg3) {
24703
+ __wbg_removeAccountAddress_4c833638d59fd8d7: function(arg0, arg1, arg2, arg3) {
24507
24704
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24508
24705
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24509
24706
  const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
24510
24707
  return ret;
24511
24708
  },
24512
- __wbg_removeAccountAuth_8f11e01dd6099b42: function(arg0, arg1, arg2, arg3) {
24709
+ __wbg_removeAccountAuth_536aea861f769be5: function(arg0, arg1, arg2, arg3) {
24513
24710
  let deferred0_0;
24514
24711
  let deferred0_1;
24515
24712
  try {
@@ -24521,7 +24718,7 @@ function __wbg_get_imports() {
24521
24718
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24522
24719
  }
24523
24720
  },
24524
- __wbg_removeAllMappingsForKey_1fd0c55cb2cd0b61: function(arg0, arg1, arg2, arg3) {
24721
+ __wbg_removeAllMappingsForKey_1ad4056391b6e556: function(arg0, arg1, arg2, arg3) {
24525
24722
  let deferred0_0;
24526
24723
  let deferred0_1;
24527
24724
  try {
@@ -24533,7 +24730,7 @@ function __wbg_get_imports() {
24533
24730
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24534
24731
  }
24535
24732
  },
24536
- __wbg_removeNoteTag_d9a0f5ba38c25246: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24733
+ __wbg_removeNoteTag_25df6a90ad8692ed: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
24537
24734
  var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
24538
24735
  wasm.__wbindgen_free(arg2, arg3 * 1, 1);
24539
24736
  let v1;
@@ -24554,7 +24751,7 @@ function __wbg_get_imports() {
24554
24751
  const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
24555
24752
  return ret;
24556
24753
  },
24557
- __wbg_removeSetting_39da4a2d256af0e2: function(arg0, arg1, arg2, arg3) {
24754
+ __wbg_removeSetting_ebdcd55495cb1017: function(arg0, arg1, arg2, arg3) {
24558
24755
  let deferred0_0;
24559
24756
  let deferred0_1;
24560
24757
  try {
@@ -24754,13 +24951,13 @@ function __wbg_get_imports() {
24754
24951
  const ret = TransactionSummary.__wrap(arg0);
24755
24952
  return ret;
24756
24953
  },
24757
- __wbg_undoAccountStates_e36a3027b0d94828: function(arg0, arg1, arg2, arg3) {
24954
+ __wbg_undoAccountStates_7a7c5a8838aa3845: function(arg0, arg1, arg2, arg3) {
24758
24955
  var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
24759
24956
  wasm.__wbindgen_free(arg2, arg3 * 4, 4);
24760
24957
  const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
24761
24958
  return ret;
24762
24959
  },
24763
- __wbg_upsertAccountCode_a57f0b2098ba7190: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24960
+ __wbg_upsertAccountCode_79526a78b7676971: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24764
24961
  let deferred0_0;
24765
24962
  let deferred0_1;
24766
24963
  try {
@@ -24774,7 +24971,7 @@ function __wbg_get_imports() {
24774
24971
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24775
24972
  }
24776
24973
  },
24777
- __wbg_upsertAccountRecord_96a74a90d1ab5ddf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
24974
+ __wbg_upsertAccountRecord_78ef5ee5891c4407: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
24778
24975
  let deferred0_0;
24779
24976
  let deferred0_1;
24780
24977
  let deferred1_0;
@@ -24816,7 +25013,7 @@ function __wbg_get_imports() {
24816
25013
  wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
24817
25014
  }
24818
25015
  },
24819
- __wbg_upsertAccountStorage_cd428602fca677b1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25016
+ __wbg_upsertAccountStorage_cb0450465224b3a3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24820
25017
  let deferred0_0;
24821
25018
  let deferred0_1;
24822
25019
  try {
@@ -24830,7 +25027,7 @@ function __wbg_get_imports() {
24830
25027
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24831
25028
  }
24832
25029
  },
24833
- __wbg_upsertForeignAccountCode_ea1c872f50b83cf7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
25030
+ __wbg_upsertForeignAccountCode_8f058e14b39d0aa5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
24834
25031
  let deferred0_0;
24835
25032
  let deferred0_1;
24836
25033
  let deferred2_0;
@@ -24849,7 +25046,7 @@ function __wbg_get_imports() {
24849
25046
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
24850
25047
  }
24851
25048
  },
24852
- __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) {
25049
+ __wbg_upsertInputNote_88a3d72329020306: 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) {
24853
25050
  let deferred0_0;
24854
25051
  let deferred0_1;
24855
25052
  let deferred6_0;
@@ -24898,7 +25095,7 @@ function __wbg_get_imports() {
24898
25095
  wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
24899
25096
  }
24900
25097
  },
24901
- __wbg_upsertNoteScript_77ad6333fd8d09bd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25098
+ __wbg_upsertNoteScript_ee5a46681df483c4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24902
25099
  let deferred0_0;
24903
25100
  let deferred0_1;
24904
25101
  try {
@@ -24912,7 +25109,7 @@ function __wbg_get_imports() {
24912
25109
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24913
25110
  }
24914
25111
  },
24915
- __wbg_upsertOutputNote_4d029c88a0e7d960: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
25112
+ __wbg_upsertOutputNote_d85873588c0ff0d1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
24916
25113
  let deferred0_0;
24917
25114
  let deferred0_1;
24918
25115
  let deferred1_0;
@@ -24947,7 +25144,7 @@ function __wbg_get_imports() {
24947
25144
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
24948
25145
  }
24949
25146
  },
24950
- __wbg_upsertStorageMapEntries_068d8303824fff58: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25147
+ __wbg_upsertStorageMapEntries_f69072278033a28a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24951
25148
  let deferred0_0;
24952
25149
  let deferred0_1;
24953
25150
  try {
@@ -24961,7 +25158,7 @@ function __wbg_get_imports() {
24961
25158
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24962
25159
  }
24963
25160
  },
24964
- __wbg_upsertTransactionRecord_a285bd5d3fd5a278: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
25161
+ __wbg_upsertTransactionRecord_d141b6ccd2a2532e: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
24965
25162
  let deferred0_0;
24966
25163
  let deferred0_1;
24967
25164
  try {
@@ -24982,7 +25179,7 @@ function __wbg_get_imports() {
24982
25179
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
24983
25180
  }
24984
25181
  },
24985
- __wbg_upsertVaultAssets_53ecfc329186db4e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
25182
+ __wbg_upsertVaultAssets_316fc3763a4f0e4d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
24986
25183
  let deferred0_0;
24987
25184
  let deferred0_1;
24988
25185
  try {
@@ -25013,12 +25210,12 @@ function __wbg_get_imports() {
25013
25210
  return ret;
25014
25211
  },
25015
25212
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
25016
- // Cast intrinsic for `Closure(Closure { dtor_idx: 441, function: Function { arguments: [Externref], shim_idx: 796, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25213
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 446, function: Function { arguments: [Externref], shim_idx: 797, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25017
25214
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h96a0cd761ddddb92);
25018
25215
  return ret;
25019
25216
  },
25020
25217
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
25021
- // Cast intrinsic for `Closure(Closure { dtor_idx: 441, function: Function { arguments: [], shim_idx: 442, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25218
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 446, function: Function { arguments: [], shim_idx: 447, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
25022
25219
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b4a4b483610b7a, wasm_bindgen__convert__closures_____invoke__h22b4680d7abdc442);
25023
25220
  return ret;
25024
25221
  },
@@ -25082,25 +25279,32 @@ function __wbg_get_imports() {
25082
25279
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
25083
25280
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25084
25281
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25085
- // Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
25282
+ // Cast intrinsic for `Vector(NamedExternref("PswapLineageRecord")) -> Externref`.
25086
25283
  const ret = v0;
25087
25284
  return ret;
25088
25285
  },
25089
25286
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
25090
25287
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25091
25288
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25092
- // Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
25289
+ // Cast intrinsic for `Vector(NamedExternref("TransactionRecord")) -> Externref`.
25093
25290
  const ret = v0;
25094
25291
  return ret;
25095
25292
  },
25096
25293
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
25097
25294
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25098
25295
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25099
- // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
25296
+ // Cast intrinsic for `Vector(NamedExternref("Word")) -> Externref`.
25100
25297
  const ret = v0;
25101
25298
  return ret;
25102
25299
  },
25103
25300
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
25301
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
25302
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
25303
+ // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
25304
+ const ret = v0;
25305
+ return ret;
25306
+ },
25307
+ __wbindgen_cast_0000000000000010: function(arg0, arg1) {
25104
25308
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
25105
25309
  wasm.__wbindgen_free(arg0, arg1 * 1, 1);
25106
25310
  // Cast intrinsic for `Vector(U8) -> Externref`.
@@ -25452,6 +25656,9 @@ const ProgramFinalization = (typeof FinalizationRegistry === 'undefined')
25452
25656
  const ProvenTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
25453
25657
  ? { register: () => {}, unregister: () => {} }
25454
25658
  : new FinalizationRegistry(ptr => wasm.__wbg_proventransaction_free(ptr >>> 0, 1));
25659
+ const PswapLineageRecordFinalization = (typeof FinalizationRegistry === 'undefined')
25660
+ ? { register: () => {}, unregister: () => {} }
25661
+ : new FinalizationRegistry(ptr => wasm.__wbg_pswaplineagerecord_free(ptr >>> 0, 1));
25455
25662
  const PublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
25456
25663
  ? { register: () => {}, unregister: () => {} }
25457
25664
  : new FinalizationRegistry(ptr => wasm.__wbg_publickey_free(ptr >>> 0, 1));
@@ -25943,5 +26150,5 @@ async function __wbg_init(module_or_path) {
25943
26150
  }
25944
26151
 
25945
26152
  const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
25946
- 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, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
25947
- //# sourceMappingURL=Cargo-LzqxI7kL.js.map
26153
+ 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, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
26154
+ //# sourceMappingURL=Cargo-BP7-0qVT.js.map