@miden-sdk/miden-sdk 0.13.0-next.1 → 0.13.0-next.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.
@@ -6605,16 +6605,18 @@ async function getPartialBlockchainNodes(ids) {
6605
6605
  }
6606
6606
  async function pruneIrrelevantBlocks() {
6607
6607
  try {
6608
- const syncHeight = await stateSync.get(1);
6609
- if (syncHeight == undefined) {
6610
- throw Error("SyncHeight is undefined -- is the state sync table empty?");
6611
- }
6612
- const allMatchingRecords = await blockHeaders
6613
- .where("hasClientNotes")
6614
- .equals("false")
6615
- .and((record) => record.blockNum !== "0" && record.blockNum !== syncHeight.blockNum)
6616
- .toArray();
6617
- await blockHeaders.bulkDelete(allMatchingRecords.map((r) => r.blockNum));
6608
+ await db.transaction("rw", [stateSync, blockHeaders], async () => {
6609
+ const syncHeight = await stateSync.get(1);
6610
+ if (syncHeight == undefined) {
6611
+ throw Error("SyncHeight is undefined -- is the state sync table empty?");
6612
+ }
6613
+ const allMatchingRecords = await blockHeaders
6614
+ .where("hasClientNotes")
6615
+ .equals("false")
6616
+ .and((record) => record.blockNum !== "0" && record.blockNum !== syncHeight.blockNum)
6617
+ .toArray();
6618
+ await blockHeaders.bulkDelete(allMatchingRecords.map((r) => r.blockNum));
6619
+ });
6618
6620
  }
6619
6621
  catch (err) {
6620
6622
  logWebStoreError(err, "Failed to prune irrelevant blocks");
@@ -7256,7 +7258,11 @@ async function applyStateSync(stateUpdate) {
7256
7258
  }
7257
7259
  async function updateSyncHeight(tx, blockNum) {
7258
7260
  try {
7259
- await tx.stateSync.update(1, { blockNum: blockNum });
7261
+ // Only update if moving forward to prevent race conditions
7262
+ const current = await tx.stateSync.get(1);
7263
+ if (!current || parseInt(current.blockNum) < parseInt(blockNum)) {
7264
+ await tx.stateSync.update(1, { blockNum: blockNum });
7265
+ }
7260
7266
  }
7261
7267
  catch (error) {
7262
7268
  logWebStoreError(error, "Failed to update sync height");
@@ -7603,6 +7609,28 @@ function passArrayJsValueToWasm0(array, malloc) {
7603
7609
  WASM_VECTOR_LEN = array.length;
7604
7610
  return ptr;
7605
7611
  }
7612
+ /**
7613
+ * Create an auth component for `RpoFalcon512` multisig.
7614
+ * @param {AuthRpoFalcon512MultisigConfig} config
7615
+ * @returns {AccountComponent}
7616
+ */
7617
+ function createAuthRpoFalcon512Multisig(config) {
7618
+ try {
7619
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7620
+ _assertClass(config, AuthRpoFalcon512MultisigConfig);
7621
+ var ptr0 = config.__destroy_into_raw();
7622
+ wasm.createAuthRpoFalcon512Multisig(retptr, ptr0);
7623
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
7624
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
7625
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
7626
+ if (r2) {
7627
+ throw takeObject(r1);
7628
+ }
7629
+ return AccountComponent.__wrap(r0);
7630
+ } finally {
7631
+ wasm.__wbindgen_add_to_stack_pointer(16);
7632
+ }
7633
+ }
7606
7634
 
7607
7635
  let cachedBigUint64ArrayMemory0 = null;
7608
7636
 
@@ -7638,16 +7666,16 @@ function getArrayU32FromWasm0(ptr, len) {
7638
7666
  ptr = ptr >>> 0;
7639
7667
  return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
7640
7668
  }
7641
- function __wasm_bindgen_func_elem_10182(arg0, arg1) {
7642
- wasm.__wasm_bindgen_func_elem_10182(arg0, arg1);
7669
+ function __wasm_bindgen_func_elem_10222(arg0, arg1) {
7670
+ wasm.__wasm_bindgen_func_elem_10222(arg0, arg1);
7643
7671
  }
7644
7672
 
7645
- function __wasm_bindgen_func_elem_10249(arg0, arg1, arg2) {
7646
- wasm.__wasm_bindgen_func_elem_10249(arg0, arg1, addHeapObject(arg2));
7673
+ function __wasm_bindgen_func_elem_10289(arg0, arg1, arg2) {
7674
+ wasm.__wasm_bindgen_func_elem_10289(arg0, arg1, addHeapObject(arg2));
7647
7675
  }
7648
7676
 
7649
- function __wasm_bindgen_func_elem_3938(arg0, arg1, arg2, arg3) {
7650
- wasm.__wasm_bindgen_func_elem_3938(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
7677
+ function __wasm_bindgen_func_elem_3983(arg0, arg1, arg2, arg3) {
7678
+ wasm.__wasm_bindgen_func_elem_3983(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
7651
7679
  }
7652
7680
 
7653
7681
  /**
@@ -9599,6 +9627,127 @@ class AssetVault {
9599
9627
  }
9600
9628
  if (Symbol.dispose) AssetVault.prototype[Symbol.dispose] = AssetVault.prototype.free;
9601
9629
 
9630
+ const AuthRpoFalcon512MultisigConfigFinalization = (typeof FinalizationRegistry === 'undefined')
9631
+ ? { register: () => {}, unregister: () => {} }
9632
+ : new FinalizationRegistry(ptr => wasm.__wbg_authrpofalcon512multisigconfig_free(ptr >>> 0, 1));
9633
+ /**
9634
+ * Multisig auth configuration for `RpoFalcon512` signatures.
9635
+ */
9636
+ class AuthRpoFalcon512MultisigConfig {
9637
+
9638
+ static __wrap(ptr) {
9639
+ ptr = ptr >>> 0;
9640
+ const obj = Object.create(AuthRpoFalcon512MultisigConfig.prototype);
9641
+ obj.__wbg_ptr = ptr;
9642
+ AuthRpoFalcon512MultisigConfigFinalization.register(obj, obj.__wbg_ptr, obj);
9643
+ return obj;
9644
+ }
9645
+
9646
+ __destroy_into_raw() {
9647
+ const ptr = this.__wbg_ptr;
9648
+ this.__wbg_ptr = 0;
9649
+ AuthRpoFalcon512MultisigConfigFinalization.unregister(this);
9650
+ return ptr;
9651
+ }
9652
+
9653
+ free() {
9654
+ const ptr = this.__destroy_into_raw();
9655
+ wasm.__wbg_authrpofalcon512multisigconfig_free(ptr, 0);
9656
+ }
9657
+ /**
9658
+ * Build a configuration with a list of approver public key commitments and a default
9659
+ * threshold.
9660
+ *
9661
+ * `default_threshold` must be >= 1 and <= `approvers.length`.
9662
+ * @param {Word[]} approvers
9663
+ * @param {number} default_threshold
9664
+ */
9665
+ constructor(approvers, default_threshold) {
9666
+ try {
9667
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9668
+ const ptr0 = passArrayJsValueToWasm0(approvers, wasm.__wbindgen_export);
9669
+ const len0 = WASM_VECTOR_LEN;
9670
+ wasm.authrpofalcon512multisigconfig_new(retptr, ptr0, len0, default_threshold);
9671
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9672
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9673
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
9674
+ if (r2) {
9675
+ throw takeObject(r1);
9676
+ }
9677
+ this.__wbg_ptr = r0 >>> 0;
9678
+ AuthRpoFalcon512MultisigConfigFinalization.register(this, this.__wbg_ptr, this);
9679
+ return this;
9680
+ } finally {
9681
+ wasm.__wbindgen_add_to_stack_pointer(16);
9682
+ }
9683
+ }
9684
+ /**
9685
+ * Attach per-procedure thresholds. Each threshold must be >= 1 and <= `approvers.length`.
9686
+ * @param {ProcedureThreshold[]} proc_thresholds
9687
+ * @returns {AuthRpoFalcon512MultisigConfig}
9688
+ */
9689
+ withProcThresholds(proc_thresholds) {
9690
+ try {
9691
+ const ptr = this.__destroy_into_raw();
9692
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9693
+ const ptr0 = passArrayJsValueToWasm0(proc_thresholds, wasm.__wbindgen_export);
9694
+ const len0 = WASM_VECTOR_LEN;
9695
+ wasm.authrpofalcon512multisigconfig_withProcThresholds(retptr, ptr, ptr0, len0);
9696
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9697
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9698
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
9699
+ if (r2) {
9700
+ throw takeObject(r1);
9701
+ }
9702
+ return AuthRpoFalcon512MultisigConfig.__wrap(r0);
9703
+ } finally {
9704
+ wasm.__wbindgen_add_to_stack_pointer(16);
9705
+ }
9706
+ }
9707
+ /**
9708
+ * @returns {number}
9709
+ */
9710
+ get defaultThreshold() {
9711
+ const ret = wasm.authrpofalcon512multisigconfig_defaultThreshold(this.__wbg_ptr);
9712
+ return ret >>> 0;
9713
+ }
9714
+ /**
9715
+ * Approver public key commitments as Words.
9716
+ * @returns {Word[]}
9717
+ */
9718
+ get approvers() {
9719
+ try {
9720
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9721
+ wasm.authrpofalcon512multisigconfig_approvers(retptr, this.__wbg_ptr);
9722
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9723
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9724
+ var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
9725
+ wasm.__wbindgen_export3(r0, r1 * 4, 4);
9726
+ return v1;
9727
+ } finally {
9728
+ wasm.__wbindgen_add_to_stack_pointer(16);
9729
+ }
9730
+ }
9731
+ /**
9732
+ * Per-procedure thresholds.
9733
+ * @returns {ProcedureThreshold[]}
9734
+ */
9735
+ getProcThresholds() {
9736
+ try {
9737
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9738
+ wasm.authrpofalcon512multisigconfig_getProcThresholds(retptr, this.__wbg_ptr);
9739
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9740
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9741
+ var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
9742
+ wasm.__wbindgen_export3(r0, r1 * 4, 4);
9743
+ return v1;
9744
+ } finally {
9745
+ wasm.__wbindgen_add_to_stack_pointer(16);
9746
+ }
9747
+ }
9748
+ }
9749
+ if (Symbol.dispose) AuthRpoFalcon512MultisigConfig.prototype[Symbol.dispose] = AuthRpoFalcon512MultisigConfig.prototype.free;
9750
+
9602
9751
  const AuthSecretKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9603
9752
  ? { register: () => {}, unregister: () => {} }
9604
9753
  : new FinalizationRegistry(ptr => wasm.__wbg_authsecretkey_free(ptr >>> 0, 1));
@@ -14873,6 +15022,66 @@ class PartialNote {
14873
15022
  }
14874
15023
  if (Symbol.dispose) PartialNote.prototype[Symbol.dispose] = PartialNote.prototype.free;
14875
15024
 
15025
+ const ProcedureThresholdFinalization = (typeof FinalizationRegistry === 'undefined')
15026
+ ? { register: () => {}, unregister: () => {} }
15027
+ : new FinalizationRegistry(ptr => wasm.__wbg_procedurethreshold_free(ptr >>> 0, 1));
15028
+
15029
+ class ProcedureThreshold {
15030
+
15031
+ static __wrap(ptr) {
15032
+ ptr = ptr >>> 0;
15033
+ const obj = Object.create(ProcedureThreshold.prototype);
15034
+ obj.__wbg_ptr = ptr;
15035
+ ProcedureThresholdFinalization.register(obj, obj.__wbg_ptr, obj);
15036
+ return obj;
15037
+ }
15038
+
15039
+ static __unwrap(jsValue) {
15040
+ if (!(jsValue instanceof ProcedureThreshold)) {
15041
+ return 0;
15042
+ }
15043
+ return jsValue.__destroy_into_raw();
15044
+ }
15045
+
15046
+ __destroy_into_raw() {
15047
+ const ptr = this.__wbg_ptr;
15048
+ this.__wbg_ptr = 0;
15049
+ ProcedureThresholdFinalization.unregister(this);
15050
+ return ptr;
15051
+ }
15052
+
15053
+ free() {
15054
+ const ptr = this.__destroy_into_raw();
15055
+ wasm.__wbg_procedurethreshold_free(ptr, 0);
15056
+ }
15057
+ /**
15058
+ * @param {Word} proc_root
15059
+ * @param {number} threshold
15060
+ */
15061
+ constructor(proc_root, threshold) {
15062
+ _assertClass(proc_root, Word);
15063
+ const ret = wasm.procedurethreshold_new(proc_root.__wbg_ptr, threshold);
15064
+ this.__wbg_ptr = ret >>> 0;
15065
+ ProcedureThresholdFinalization.register(this, this.__wbg_ptr, this);
15066
+ return this;
15067
+ }
15068
+ /**
15069
+ * @returns {Word}
15070
+ */
15071
+ get procRoot() {
15072
+ const ret = wasm.accountcode_commitment(this.__wbg_ptr);
15073
+ return Word.__wrap(ret);
15074
+ }
15075
+ /**
15076
+ * @returns {number}
15077
+ */
15078
+ get threshold() {
15079
+ const ret = wasm.procedurethreshold_threshold(this.__wbg_ptr);
15080
+ return ret >>> 0;
15081
+ }
15082
+ }
15083
+ if (Symbol.dispose) ProcedureThreshold.prototype[Symbol.dispose] = ProcedureThreshold.prototype.free;
15084
+
14876
15085
  const ProgramFinalization = (typeof FinalizationRegistry === 'undefined')
14877
15086
  ? { register: () => {}, unregister: () => {} }
14878
15087
  : new FinalizationRegistry(ptr => wasm.__wbg_program_free(ptr >>> 0, 1));
@@ -18251,6 +18460,14 @@ class TransactionSummary {
18251
18460
  wasm.__wbindgen_add_to_stack_pointer(16);
18252
18461
  }
18253
18462
  }
18463
+ /**
18464
+ * Computes the commitment to this `TransactionSummary`.
18465
+ * @returns {Word}
18466
+ */
18467
+ toCommitment() {
18468
+ const ret = wasm.transactionsummary_toCommitment(this.__wbg_ptr);
18469
+ return Word.__wrap(ret);
18470
+ }
18254
18471
  }
18255
18472
  if (Symbol.dispose) TransactionSummary.prototype[Symbol.dispose] = TransactionSummary.prototype.free;
18256
18473
 
@@ -18566,6 +18783,26 @@ class WebClient {
18566
18783
  const ret = wasm.webclient_executeTransaction(this.__wbg_ptr, account_id.__wbg_ptr, transaction_request.__wbg_ptr);
18567
18784
  return takeObject(ret);
18568
18785
  }
18786
+ /**
18787
+ * Executes a transaction and returns the `TransactionSummary`.
18788
+ *
18789
+ * If the transaction is unauthorized (auth script emits the unauthorized event),
18790
+ * returns the summary from the error. If the transaction succeeds, constructs
18791
+ * a summary from the executed transaction using the `auth_arg` from the transaction
18792
+ * request as the salt (or a zero salt if not provided).
18793
+ *
18794
+ * # Errors
18795
+ * - If there is an internal failure during execution.
18796
+ * @param {AccountId} account_id
18797
+ * @param {TransactionRequest} transaction_request
18798
+ * @returns {Promise<TransactionSummary>}
18799
+ */
18800
+ executeForSummary(account_id, transaction_request) {
18801
+ _assertClass(account_id, AccountId);
18802
+ _assertClass(transaction_request, TransactionRequest);
18803
+ const ret = wasm.webclient_executeForSummary(this.__wbg_ptr, account_id.__wbg_ptr, transaction_request.__wbg_ptr);
18804
+ return takeObject(ret);
18805
+ }
18569
18806
  /**
18570
18807
  * Generates a transaction proof using either the provided prover or the client's default
18571
18808
  * prover if none is supplied.
@@ -19289,7 +19526,7 @@ function __wbg_get_imports() {
19289
19526
  const ret = AccountId.__unwrap(takeObject(arg0));
19290
19527
  return ret;
19291
19528
  };
19292
- imports.wbg.__wbg_addNoteTag_62738b3d8709ab49 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
19529
+ imports.wbg.__wbg_addNoteTag_03c294e1db093381 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
19293
19530
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
19294
19531
  wasm.__wbindgen_export3(arg0, arg1 * 1, 1);
19295
19532
  let v1;
@@ -19308,7 +19545,7 @@ function __wbg_get_imports() {
19308
19545
  imports.wbg.__wbg_append_b577eb3a177bc0fa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
19309
19546
  getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
19310
19547
  }, arguments) };
19311
- imports.wbg.__wbg_applyStateSync_8cbc6333db2c4843 = function(arg0) {
19548
+ imports.wbg.__wbg_applyStateSync_a2186e91e89de574 = function(arg0) {
19312
19549
  const ret = applyStateSync(JsStateSyncUpdate.__wrap(arg0));
19313
19550
  return addHeapObject(ret);
19314
19551
  };
@@ -19388,7 +19625,7 @@ function __wbg_get_imports() {
19388
19625
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19389
19626
  }
19390
19627
  };
19391
- imports.wbg.__wbg_exportStore_cf480ce44861b257 = function() {
19628
+ imports.wbg.__wbg_exportStore_91e02eba3ef50dc4 = function() {
19392
19629
  const ret = exportStore();
19393
19630
  return addHeapObject(ret);
19394
19631
  };
@@ -19412,7 +19649,7 @@ function __wbg_get_imports() {
19412
19649
  const ret = FetchedNote.__wrap(arg0);
19413
19650
  return addHeapObject(ret);
19414
19651
  };
19415
- imports.wbg.__wbg_forceImportStore_eb28613940d428b2 = function(arg0) {
19652
+ imports.wbg.__wbg_forceImportStore_c5ff778f1c516d91 = function(arg0) {
19416
19653
  const ret = forceImportStore(takeObject(arg0));
19417
19654
  return addHeapObject(ret);
19418
19655
  };
@@ -19432,7 +19669,7 @@ function __wbg_get_imports() {
19432
19669
  const ret = FungibleAssetDeltaItem.__wrap(arg0);
19433
19670
  return addHeapObject(ret);
19434
19671
  };
19435
- imports.wbg.__wbg_getAccountAddresses_138a0bd0527303ec = function(arg0, arg1) {
19672
+ imports.wbg.__wbg_getAccountAddresses_2b70501a070e97b3 = function(arg0, arg1) {
19436
19673
  let deferred0_0;
19437
19674
  let deferred0_1;
19438
19675
  try {
@@ -19444,7 +19681,7 @@ function __wbg_get_imports() {
19444
19681
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19445
19682
  }
19446
19683
  };
19447
- imports.wbg.__wbg_getAccountAuthByPubKey_7d0c695b4e3edc50 = function(arg0, arg1) {
19684
+ imports.wbg.__wbg_getAccountAuthByPubKey_abb4fb00f6ae7690 = function(arg0, arg1) {
19448
19685
  let deferred0_0;
19449
19686
  let deferred0_1;
19450
19687
  try {
@@ -19456,7 +19693,7 @@ function __wbg_get_imports() {
19456
19693
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19457
19694
  }
19458
19695
  };
19459
- imports.wbg.__wbg_getAccountCode_a5a8d3c4ef9adec0 = function(arg0, arg1) {
19696
+ imports.wbg.__wbg_getAccountCode_0610d780c1ba4a99 = function(arg0, arg1) {
19460
19697
  let deferred0_0;
19461
19698
  let deferred0_1;
19462
19699
  try {
@@ -19468,7 +19705,7 @@ function __wbg_get_imports() {
19468
19705
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19469
19706
  }
19470
19707
  };
19471
- imports.wbg.__wbg_getAccountHeaderByCommitment_3f7c192c9c84e28c = function(arg0, arg1) {
19708
+ imports.wbg.__wbg_getAccountHeaderByCommitment_53719e0443e796b5 = function(arg0, arg1) {
19472
19709
  let deferred0_0;
19473
19710
  let deferred0_1;
19474
19711
  try {
@@ -19480,7 +19717,7 @@ function __wbg_get_imports() {
19480
19717
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19481
19718
  }
19482
19719
  };
19483
- imports.wbg.__wbg_getAccountHeader_0c21ea5f95bc127e = function(arg0, arg1) {
19720
+ imports.wbg.__wbg_getAccountHeader_1f148d6aef4b324d = function(arg0, arg1) {
19484
19721
  let deferred0_0;
19485
19722
  let deferred0_1;
19486
19723
  try {
@@ -19492,17 +19729,17 @@ function __wbg_get_imports() {
19492
19729
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19493
19730
  }
19494
19731
  };
19495
- imports.wbg.__wbg_getAccountIds_f098d4ace1898dbb = function() {
19732
+ imports.wbg.__wbg_getAccountIds_404956b99339721f = function() {
19496
19733
  const ret = getAccountIds();
19497
19734
  return addHeapObject(ret);
19498
19735
  };
19499
- imports.wbg.__wbg_getAccountStorageMaps_d4cd7e409c96a8f5 = function(arg0, arg1) {
19736
+ imports.wbg.__wbg_getAccountStorageMaps_7642a56b3fbce4b7 = function(arg0, arg1) {
19500
19737
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
19501
19738
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
19502
19739
  const ret = getAccountStorageMaps(v0);
19503
19740
  return addHeapObject(ret);
19504
19741
  };
19505
- imports.wbg.__wbg_getAccountStorage_b21b1897931e81e0 = function(arg0, arg1) {
19742
+ imports.wbg.__wbg_getAccountStorage_1d462822a2aa199a = function(arg0, arg1) {
19506
19743
  let deferred0_0;
19507
19744
  let deferred0_1;
19508
19745
  try {
@@ -19514,7 +19751,7 @@ function __wbg_get_imports() {
19514
19751
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19515
19752
  }
19516
19753
  };
19517
- imports.wbg.__wbg_getAccountVaultAssets_361a5ead3e11b159 = function(arg0, arg1) {
19754
+ imports.wbg.__wbg_getAccountVaultAssets_53d8239ca91e6bd1 = function(arg0, arg1) {
19518
19755
  let deferred0_0;
19519
19756
  let deferred0_1;
19520
19757
  try {
@@ -19526,41 +19763,41 @@ function __wbg_get_imports() {
19526
19763
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19527
19764
  }
19528
19765
  };
19529
- imports.wbg.__wbg_getAllAccountHeaders_d084838f25065a36 = function() {
19766
+ imports.wbg.__wbg_getAllAccountHeaders_2a3a122ad54daa9e = function() {
19530
19767
  const ret = getAllAccountHeaders();
19531
19768
  return addHeapObject(ret);
19532
19769
  };
19533
- imports.wbg.__wbg_getBlockHeaders_a6cfcbeb4657170c = function(arg0, arg1) {
19770
+ imports.wbg.__wbg_getBlockHeaders_9b7b605d9cbdb2f6 = function(arg0, arg1) {
19534
19771
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
19535
19772
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
19536
19773
  const ret = getBlockHeaders(v0);
19537
19774
  return addHeapObject(ret);
19538
19775
  };
19539
- imports.wbg.__wbg_getForeignAccountCode_63832c6627ea6b63 = function(arg0, arg1) {
19776
+ imports.wbg.__wbg_getForeignAccountCode_1c3a0f640862358c = function(arg0, arg1) {
19540
19777
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
19541
19778
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
19542
19779
  const ret = getForeignAccountCode(v0);
19543
19780
  return addHeapObject(ret);
19544
19781
  };
19545
- imports.wbg.__wbg_getInputNotesFromIds_b7445730d107645c = function(arg0, arg1) {
19782
+ imports.wbg.__wbg_getInputNotesFromIds_e3eb1a517baf47b7 = function(arg0, arg1) {
19546
19783
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
19547
19784
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
19548
19785
  const ret = getInputNotesFromIds(v0);
19549
19786
  return addHeapObject(ret);
19550
19787
  };
19551
- imports.wbg.__wbg_getInputNotesFromNullifiers_4a590439f0ccd3ea = function(arg0, arg1) {
19788
+ imports.wbg.__wbg_getInputNotesFromNullifiers_5693b6d29dc28169 = function(arg0, arg1) {
19552
19789
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
19553
19790
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
19554
19791
  const ret = getInputNotesFromNullifiers(v0);
19555
19792
  return addHeapObject(ret);
19556
19793
  };
19557
- imports.wbg.__wbg_getInputNotes_b88c2880fdd97986 = function(arg0, arg1) {
19794
+ imports.wbg.__wbg_getInputNotes_80ad513162a22dec = function(arg0, arg1) {
19558
19795
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
19559
19796
  wasm.__wbindgen_export3(arg0, arg1 * 1, 1);
19560
19797
  const ret = getInputNotes(v0);
19561
19798
  return addHeapObject(ret);
19562
19799
  };
19563
- imports.wbg.__wbg_getNoteScript_90e4c96239a2a12e = function(arg0, arg1) {
19800
+ imports.wbg.__wbg_getNoteScript_6d5ff764f49cfae2 = function(arg0, arg1) {
19564
19801
  let deferred0_0;
19565
19802
  let deferred0_1;
19566
19803
  try {
@@ -19572,39 +19809,39 @@ function __wbg_get_imports() {
19572
19809
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19573
19810
  }
19574
19811
  };
19575
- imports.wbg.__wbg_getNoteTags_77aeb719ab80b13f = function() {
19812
+ imports.wbg.__wbg_getNoteTags_b5880a7e9ccf13f4 = function() {
19576
19813
  const ret = getNoteTags();
19577
19814
  return addHeapObject(ret);
19578
19815
  };
19579
- imports.wbg.__wbg_getOutputNotesFromIds_8db565b21e7abdf8 = function(arg0, arg1) {
19816
+ imports.wbg.__wbg_getOutputNotesFromIds_d5d5f8307f3bd364 = function(arg0, arg1) {
19580
19817
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
19581
19818
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
19582
19819
  const ret = getOutputNotesFromIds(v0);
19583
19820
  return addHeapObject(ret);
19584
19821
  };
19585
- imports.wbg.__wbg_getOutputNotesFromNullifiers_cffe12e3896a5746 = function(arg0, arg1) {
19822
+ imports.wbg.__wbg_getOutputNotesFromNullifiers_aac2d7634c7709ca = function(arg0, arg1) {
19586
19823
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
19587
19824
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
19588
19825
  const ret = getOutputNotesFromNullifiers(v0);
19589
19826
  return addHeapObject(ret);
19590
19827
  };
19591
- imports.wbg.__wbg_getOutputNotes_f3796481b4f65268 = function(arg0, arg1) {
19828
+ imports.wbg.__wbg_getOutputNotes_98ea073ae83e5d06 = function(arg0, arg1) {
19592
19829
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
19593
19830
  wasm.__wbindgen_export3(arg0, arg1 * 1, 1);
19594
19831
  const ret = getOutputNotes(v0);
19595
19832
  return addHeapObject(ret);
19596
19833
  };
19597
- imports.wbg.__wbg_getPartialBlockchainNodesAll_f2949dee2f271236 = function() {
19834
+ imports.wbg.__wbg_getPartialBlockchainNodesAll_928d4841ad943316 = function() {
19598
19835
  const ret = getPartialBlockchainNodesAll();
19599
19836
  return addHeapObject(ret);
19600
19837
  };
19601
- imports.wbg.__wbg_getPartialBlockchainNodes_13544f9f776eaf2b = function(arg0, arg1) {
19838
+ imports.wbg.__wbg_getPartialBlockchainNodes_4ae4dfd3edef06d7 = function(arg0, arg1) {
19602
19839
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
19603
19840
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
19604
19841
  const ret = getPartialBlockchainNodes(v0);
19605
19842
  return addHeapObject(ret);
19606
19843
  };
19607
- imports.wbg.__wbg_getPartialBlockchainPeaksByBlockNum_1cbd8dee847202a4 = function(arg0, arg1) {
19844
+ imports.wbg.__wbg_getPartialBlockchainPeaksByBlockNum_1802986fc4604bd0 = function(arg0, arg1) {
19608
19845
  let deferred0_0;
19609
19846
  let deferred0_1;
19610
19847
  try {
@@ -19623,7 +19860,7 @@ function __wbg_get_imports() {
19623
19860
  const ret = getObject(arg0).getReader();
19624
19861
  return addHeapObject(ret);
19625
19862
  }, arguments) };
19626
- imports.wbg.__wbg_getSetting_cedf982cc84a0a94 = function(arg0, arg1) {
19863
+ imports.wbg.__wbg_getSetting_0643ce16485367db = function(arg0, arg1) {
19627
19864
  let deferred0_0;
19628
19865
  let deferred0_1;
19629
19866
  try {
@@ -19635,7 +19872,7 @@ function __wbg_get_imports() {
19635
19872
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19636
19873
  }
19637
19874
  };
19638
- imports.wbg.__wbg_getSyncHeight_9f28b9200e6c7aca = function() {
19875
+ imports.wbg.__wbg_getSyncHeight_0b89b52a1d79b959 = function() {
19639
19876
  const ret = getSyncHeight();
19640
19877
  return addHeapObject(ret);
19641
19878
  };
@@ -19643,11 +19880,11 @@ function __wbg_get_imports() {
19643
19880
  const ret = getObject(arg0).getTime();
19644
19881
  return ret;
19645
19882
  };
19646
- imports.wbg.__wbg_getTrackedBlockHeaders_6c54035e3f81d417 = function() {
19883
+ imports.wbg.__wbg_getTrackedBlockHeaders_dedf88ce819bcf1b = function() {
19647
19884
  const ret = getTrackedBlockHeaders();
19648
19885
  return addHeapObject(ret);
19649
19886
  };
19650
- imports.wbg.__wbg_getTransactions_41b09219dcf5a7b3 = function(arg0, arg1) {
19887
+ imports.wbg.__wbg_getTransactions_6bad8721b2463028 = function(arg0, arg1) {
19651
19888
  let deferred0_0;
19652
19889
  let deferred0_1;
19653
19890
  try {
@@ -19659,7 +19896,7 @@ function __wbg_get_imports() {
19659
19896
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19660
19897
  }
19661
19898
  };
19662
- imports.wbg.__wbg_getUnspentInputNoteNullifiers_5742277387a97561 = function() {
19899
+ imports.wbg.__wbg_getUnspentInputNoteNullifiers_d94b00b8e6d95d33 = function() {
19663
19900
  const ret = getUnspentInputNoteNullifiers();
19664
19901
  return addHeapObject(ret);
19665
19902
  };
@@ -19703,7 +19940,7 @@ function __wbg_get_imports() {
19703
19940
  const ret = InputNoteRecord.__wrap(arg0);
19704
19941
  return addHeapObject(ret);
19705
19942
  };
19706
- imports.wbg.__wbg_insertAccountAddress_72ec8143928c7a25 = function(arg0, arg1, arg2, arg3) {
19943
+ imports.wbg.__wbg_insertAccountAddress_d23ac77ce57321a1 = function(arg0, arg1, arg2, arg3) {
19707
19944
  let deferred0_0;
19708
19945
  let deferred0_1;
19709
19946
  try {
@@ -19717,7 +19954,7 @@ function __wbg_get_imports() {
19717
19954
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19718
19955
  }
19719
19956
  };
19720
- imports.wbg.__wbg_insertAccountAuth_612507e88197a9a8 = function(arg0, arg1, arg2, arg3) {
19957
+ imports.wbg.__wbg_insertAccountAuth_93230a7b6eebc1d9 = function(arg0, arg1, arg2, arg3) {
19721
19958
  let deferred0_0;
19722
19959
  let deferred0_1;
19723
19960
  let deferred1_0;
@@ -19734,7 +19971,7 @@ function __wbg_get_imports() {
19734
19971
  wasm.__wbindgen_export3(deferred1_0, deferred1_1, 1);
19735
19972
  }
19736
19973
  };
19737
- imports.wbg.__wbg_insertBlockHeader_22d43f8461f488d3 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
19974
+ imports.wbg.__wbg_insertBlockHeader_ea3250a78ff6a5d3 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
19738
19975
  let deferred0_0;
19739
19976
  let deferred0_1;
19740
19977
  try {
@@ -19750,7 +19987,7 @@ function __wbg_get_imports() {
19750
19987
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19751
19988
  }
19752
19989
  };
19753
- imports.wbg.__wbg_insertPartialBlockchainNodes_5b53d8fd3b2f0c32 = function(arg0, arg1, arg2, arg3) {
19990
+ imports.wbg.__wbg_insertPartialBlockchainNodes_786dc94ff42f898d = function(arg0, arg1, arg2, arg3) {
19754
19991
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
19755
19992
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
19756
19993
  var v1 = getArrayJsValueFromWasm0(arg2, arg3).slice();
@@ -19758,7 +19995,7 @@ function __wbg_get_imports() {
19758
19995
  const ret = insertPartialBlockchainNodes(v0, v1);
19759
19996
  return addHeapObject(ret);
19760
19997
  };
19761
- imports.wbg.__wbg_insertSetting_8b580ff6a7047f6e = function(arg0, arg1, arg2, arg3) {
19998
+ imports.wbg.__wbg_insertSetting_c865cf7e751e9ed1 = function(arg0, arg1, arg2, arg3) {
19762
19999
  let deferred0_0;
19763
20000
  let deferred0_1;
19764
20001
  try {
@@ -19772,7 +20009,7 @@ function __wbg_get_imports() {
19772
20009
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
19773
20010
  }
19774
20011
  };
19775
- imports.wbg.__wbg_insertTransactionScript_075d5f2ed0f63656 = function(arg0, arg1, arg2, arg3) {
20012
+ imports.wbg.__wbg_insertTransactionScript_0e9b7acdd9d186e6 = function(arg0, arg1, arg2, arg3) {
19776
20013
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
19777
20014
  wasm.__wbindgen_export3(arg0, arg1 * 1, 1);
19778
20015
  let v1;
@@ -19865,11 +20102,11 @@ function __wbg_get_imports() {
19865
20102
  const ret = getObject(arg0).length;
19866
20103
  return ret;
19867
20104
  };
19868
- imports.wbg.__wbg_listSettingKeys_ebb09e1981657b4d = function() {
20105
+ imports.wbg.__wbg_listSettingKeys_6275030aaaf8a057 = function() {
19869
20106
  const ret = listSettingKeys();
19870
20107
  return addHeapObject(ret);
19871
20108
  };
19872
- imports.wbg.__wbg_lockAccount_2e934e6fb19bed34 = function(arg0, arg1) {
20109
+ imports.wbg.__wbg_lockAccount_0fa1f6e626848f15 = function(arg0, arg1) {
19873
20110
  let deferred0_0;
19874
20111
  let deferred0_1;
19875
20112
  try {
@@ -19900,7 +20137,7 @@ function __wbg_get_imports() {
19900
20137
  const a = state0.a;
19901
20138
  state0.a = 0;
19902
20139
  try {
19903
- return __wasm_bindgen_func_elem_3938(a, state0.b, arg0, arg1);
20140
+ return __wasm_bindgen_func_elem_3983(a, state0.b, arg0, arg1);
19904
20141
  } finally {
19905
20142
  state0.a = a;
19906
20143
  }
@@ -20003,7 +20240,7 @@ function __wbg_get_imports() {
20003
20240
  const ret = NoteScript.__wrap(arg0);
20004
20241
  return addHeapObject(ret);
20005
20242
  };
20006
- imports.wbg.__wbg_openDatabase_30aa9cee5bded5e3 = function() {
20243
+ imports.wbg.__wbg_openDatabase_25966d664b1de2a6 = function() {
20007
20244
  const ret = openDatabase();
20008
20245
  return addHeapObject(ret);
20009
20246
  };
@@ -20019,6 +20256,14 @@ function __wbg_get_imports() {
20019
20256
  const ret = OutputNotes.__unwrap(takeObject(arg0));
20020
20257
  return ret;
20021
20258
  };
20259
+ imports.wbg.__wbg_procedurethreshold_new = function(arg0) {
20260
+ const ret = ProcedureThreshold.__wrap(arg0);
20261
+ return addHeapObject(ret);
20262
+ };
20263
+ imports.wbg.__wbg_procedurethreshold_unwrap = function(arg0) {
20264
+ const ret = ProcedureThreshold.__unwrap(takeObject(arg0));
20265
+ return ret;
20266
+ };
20022
20267
  imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
20023
20268
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
20024
20269
  };
@@ -20026,7 +20271,7 @@ function __wbg_get_imports() {
20026
20271
  const ret = ProvenTransaction.__wrap(arg0);
20027
20272
  return addHeapObject(ret);
20028
20273
  };
20029
- imports.wbg.__wbg_pruneIrrelevantBlocks_d8c1c30e0dd889db = function() {
20274
+ imports.wbg.__wbg_pruneIrrelevantBlocks_e85db005a79039e0 = function() {
20030
20275
  const ret = pruneIrrelevantBlocks();
20031
20276
  return addHeapObject(ret);
20032
20277
  };
@@ -20044,13 +20289,13 @@ function __wbg_get_imports() {
20044
20289
  imports.wbg.__wbg_releaseLock_5d0b5a68887b891d = function(arg0) {
20045
20290
  getObject(arg0).releaseLock();
20046
20291
  };
20047
- imports.wbg.__wbg_removeAccountAddress_3ff20b2517dae60b = function(arg0, arg1) {
20292
+ imports.wbg.__wbg_removeAccountAddress_d48df30dead2de9a = function(arg0, arg1) {
20048
20293
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
20049
20294
  wasm.__wbindgen_export3(arg0, arg1 * 1, 1);
20050
20295
  const ret = removeAccountAddress(v0);
20051
20296
  return addHeapObject(ret);
20052
20297
  };
20053
- imports.wbg.__wbg_removeNoteTag_f42e8080f62ce855 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
20298
+ imports.wbg.__wbg_removeNoteTag_0670efe1ee60d5b8 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
20054
20299
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
20055
20300
  wasm.__wbindgen_export3(arg0, arg1 * 1, 1);
20056
20301
  let v1;
@@ -20066,7 +20311,7 @@ function __wbg_get_imports() {
20066
20311
  const ret = removeNoteTag(v0, v1, v2);
20067
20312
  return addHeapObject(ret);
20068
20313
  };
20069
- imports.wbg.__wbg_removeSetting_49c0f44fb0129e42 = function(arg0, arg1) {
20314
+ imports.wbg.__wbg_removeSetting_84494518c52a84f7 = function(arg0, arg1) {
20070
20315
  let deferred0_0;
20071
20316
  let deferred0_1;
20072
20317
  try {
@@ -20238,13 +20483,17 @@ function __wbg_get_imports() {
20238
20483
  const ret = TransactionStoreUpdate.__wrap(arg0);
20239
20484
  return addHeapObject(ret);
20240
20485
  };
20241
- imports.wbg.__wbg_undoAccountStates_1e510799add2b50d = function(arg0, arg1) {
20486
+ imports.wbg.__wbg_transactionsummary_new = function(arg0) {
20487
+ const ret = TransactionSummary.__wrap(arg0);
20488
+ return addHeapObject(ret);
20489
+ };
20490
+ imports.wbg.__wbg_undoAccountStates_5bb59bec2acc8634 = function(arg0, arg1) {
20242
20491
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
20243
20492
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
20244
20493
  const ret = undoAccountStates(v0);
20245
20494
  return addHeapObject(ret);
20246
20495
  };
20247
- imports.wbg.__wbg_upsertAccountCode_52b98775a988a26d = function(arg0, arg1, arg2, arg3) {
20496
+ imports.wbg.__wbg_upsertAccountCode_bd38663562789c52 = function(arg0, arg1, arg2, arg3) {
20248
20497
  let deferred0_0;
20249
20498
  let deferred0_1;
20250
20499
  try {
@@ -20258,7 +20507,7 @@ function __wbg_get_imports() {
20258
20507
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
20259
20508
  }
20260
20509
  };
20261
- imports.wbg.__wbg_upsertAccountRecord_9fe913e1e45e8ab1 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) {
20510
+ imports.wbg.__wbg_upsertAccountRecord_edde6caddcead584 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) {
20262
20511
  let deferred0_0;
20263
20512
  let deferred0_1;
20264
20513
  let deferred1_0;
@@ -20300,13 +20549,13 @@ function __wbg_get_imports() {
20300
20549
  wasm.__wbindgen_export3(deferred5_0, deferred5_1, 1);
20301
20550
  }
20302
20551
  };
20303
- imports.wbg.__wbg_upsertAccountStorage_85625903cddd5208 = function(arg0, arg1) {
20552
+ imports.wbg.__wbg_upsertAccountStorage_652561123db61439 = function(arg0, arg1) {
20304
20553
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
20305
20554
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
20306
20555
  const ret = upsertAccountStorage(v0);
20307
20556
  return addHeapObject(ret);
20308
20557
  };
20309
- imports.wbg.__wbg_upsertForeignAccountCode_9600b8e0c7549dfb = function(arg0, arg1, arg2, arg3, arg4, arg5) {
20558
+ imports.wbg.__wbg_upsertForeignAccountCode_3c985a8ad8faee75 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
20310
20559
  let deferred0_0;
20311
20560
  let deferred0_1;
20312
20561
  let deferred2_0;
@@ -20325,7 +20574,7 @@ function __wbg_get_imports() {
20325
20574
  wasm.__wbindgen_export3(deferred2_0, deferred2_1, 1);
20326
20575
  }
20327
20576
  };
20328
- imports.wbg.__wbg_upsertInputNote_8ca03aad9d69cac4 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18) {
20577
+ imports.wbg.__wbg_upsertInputNote_1cf617248b3fdf59 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18) {
20329
20578
  let deferred0_0;
20330
20579
  let deferred0_1;
20331
20580
  let deferred4_0;
@@ -20362,7 +20611,7 @@ function __wbg_get_imports() {
20362
20611
  wasm.__wbindgen_export3(deferred7_0, deferred7_1, 1);
20363
20612
  }
20364
20613
  };
20365
- imports.wbg.__wbg_upsertNoteScript_8d421ab913ab6874 = function(arg0, arg1, arg2, arg3) {
20614
+ imports.wbg.__wbg_upsertNoteScript_d8230d2c1293356a = function(arg0, arg1, arg2, arg3) {
20366
20615
  let deferred0_0;
20367
20616
  let deferred0_1;
20368
20617
  try {
@@ -20376,7 +20625,7 @@ function __wbg_get_imports() {
20376
20625
  wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
20377
20626
  }
20378
20627
  };
20379
- imports.wbg.__wbg_upsertOutputNote_9d6b8b882d087ce9 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) {
20628
+ imports.wbg.__wbg_upsertOutputNote_fde60587a39e088b = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) {
20380
20629
  let deferred0_0;
20381
20630
  let deferred0_1;
20382
20631
  let deferred2_0;
@@ -20404,13 +20653,13 @@ function __wbg_get_imports() {
20404
20653
  wasm.__wbindgen_export3(deferred2_0, deferred2_1, 1);
20405
20654
  }
20406
20655
  };
20407
- imports.wbg.__wbg_upsertStorageMapEntries_5535d30e64882a11 = function(arg0, arg1) {
20656
+ imports.wbg.__wbg_upsertStorageMapEntries_8a1cb081fee08827 = function(arg0, arg1) {
20408
20657
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
20409
20658
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
20410
20659
  const ret = upsertStorageMapEntries(v0);
20411
20660
  return addHeapObject(ret);
20412
20661
  };
20413
- imports.wbg.__wbg_upsertTransactionRecord_a5083f42e09003f8 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
20662
+ imports.wbg.__wbg_upsertTransactionRecord_7fe14fd182719bef = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
20414
20663
  let deferred0_0;
20415
20664
  let deferred0_1;
20416
20665
  let deferred2_0;
@@ -20436,7 +20685,7 @@ function __wbg_get_imports() {
20436
20685
  wasm.__wbindgen_export3(deferred2_0, deferred2_1, 1);
20437
20686
  }
20438
20687
  };
20439
- imports.wbg.__wbg_upsertVaultAssets_073000f29c05dd3d = function(arg0, arg1) {
20688
+ imports.wbg.__wbg_upsertVaultAssets_08dc742f12dab15f = function(arg0, arg1) {
20440
20689
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
20441
20690
  wasm.__wbindgen_export3(arg0, arg1 * 4, 4);
20442
20691
  const ret = upsertVaultAssets(v0);
@@ -20512,7 +20761,7 @@ function __wbg_get_imports() {
20512
20761
  };
20513
20762
  imports.wbg.__wbindgen_cast_7d89db8526c8ce6a = function(arg0, arg1) {
20514
20763
  // Cast intrinsic for `Closure(Closure { dtor_idx: 585, function: Function { arguments: [Externref], shim_idx: 590, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
20515
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_10181, __wasm_bindgen_func_elem_10249);
20764
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_10221, __wasm_bindgen_func_elem_10289);
20516
20765
  return addHeapObject(ret);
20517
20766
  };
20518
20767
  imports.wbg.__wbindgen_cast_a0c9c97993851672 = function(arg0, arg1) {
@@ -20529,7 +20778,7 @@ function __wbg_get_imports() {
20529
20778
  };
20530
20779
  imports.wbg.__wbindgen_cast_f63b6810460ca78e = function(arg0, arg1) {
20531
20780
  // Cast intrinsic for `Closure(Closure { dtor_idx: 585, function: Function { arguments: [], shim_idx: 586, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
20532
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_10181, __wasm_bindgen_func_elem_10182);
20781
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_10221, __wasm_bindgen_func_elem_10222);
20533
20782
  return addHeapObject(ret);
20534
20783
  };
20535
20784
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
@@ -20607,5 +20856,5 @@ const module = new URL("assets/miden_client_web.wasm", import.meta.url);
20607
20856
 
20608
20857
  await __wbg_init({ module_or_path: module });
20609
20858
 
20610
- export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, Note, NoteAndArgs, NoteAndArgsArray, NoteAssets, NoteConsumability, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExecutionMode, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteInputs, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNotes, OutputNotesArray, Package, PartialNote, Program, ProvenTransaction, PublicKey, RpcClient, Rpo256, ScriptBuilder, SecretKey, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, StorageMap, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, Word, initSync };
20611
- //# sourceMappingURL=Cargo-15e14c5a.js.map
20859
+ export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthRpoFalcon512MultisigConfig, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, Note, NoteAndArgs, NoteAndArgsArray, NoteAssets, NoteConsumability, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExecutionMode, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteInputs, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNotes, OutputNotesArray, Package, PartialNote, ProcedureThreshold, Program, ProvenTransaction, PublicKey, RpcClient, Rpo256, ScriptBuilder, SecretKey, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, StorageMap, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, Word, createAuthRpoFalcon512Multisig, initSync };
20860
+ //# sourceMappingURL=Cargo-c25ff7e6.js.map