@miden-sdk/miden-sdk 0.15.4 → 0.15.5
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.
- package/README.md +16 -0
- package/dist/mt/{Cargo-DjVnfWKi.js → Cargo-C001gt8g.js} +237 -76
- package/dist/mt/Cargo-C001gt8g.js.map +1 -0
- package/dist/mt/api-types.d.ts +59 -0
- package/dist/mt/assets/miden_client_web.wasm +0 -0
- package/dist/mt/crates/miden_client_web.d.ts +60 -0
- package/dist/mt/docs-entry.d.ts +1 -0
- package/dist/mt/eager.js +1 -1
- package/dist/mt/index.js +92 -1
- package/dist/mt/index.js.map +1 -1
- package/dist/mt/wasm.js +1 -1
- package/dist/mt/workerHelpers.js +1 -1
- package/dist/mt/workers/{Cargo-DjVnfWKi-DvLbB_Zb.js → Cargo-C001gt8g-B8wBADUI.js} +237 -76
- package/dist/mt/workers/Cargo-C001gt8g-B8wBADUI.js.map +1 -0
- package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
- package/dist/mt/workers/web-client-methods-worker.js +238 -76
- package/dist/mt/workers/web-client-methods-worker.js.map +1 -1
- package/dist/mt/workers/web-client-methods-worker.module.js +1 -1
- package/dist/mt/workers/web-client-methods-worker.module.js.map +1 -1
- package/dist/mt/workers/workerHelpers.js +1 -1
- package/dist/st/{Cargo-Cwpuvlbc.js → Cargo-CR1mzjgg.js} +235 -75
- package/dist/st/Cargo-CR1mzjgg.js.map +1 -0
- package/dist/st/api-types.d.ts +59 -0
- package/dist/st/assets/miden_client_web.wasm +0 -0
- package/dist/st/crates/miden_client_web.d.ts +60 -0
- package/dist/st/docs-entry.d.ts +1 -0
- package/dist/st/eager.js +1 -1
- package/dist/st/index.js +92 -1
- package/dist/st/index.js.map +1 -1
- package/dist/st/wasm.js +1 -1
- package/dist/st/workers/{Cargo-Cwpuvlbc-B0V_MEMU.js → Cargo-CR1mzjgg-DeDmKA4W.js} +235 -75
- package/dist/st/workers/Cargo-CR1mzjgg-DeDmKA4W.js.map +1 -0
- package/dist/st/workers/assets/miden_client_web.wasm +0 -0
- package/dist/st/workers/web-client-methods-worker.js +236 -75
- package/dist/st/workers/web-client-methods-worker.js.map +1 -1
- package/dist/st/workers/web-client-methods-worker.module.js +1 -1
- package/dist/st/workers/web-client-methods-worker.module.js.map +1 -1
- package/js/node-index.js +3 -0
- package/js/resources/transactions.js +91 -0
- package/js/standalone.js +61 -0
- package/package.json +4 -4
- package/dist/mt/Cargo-DjVnfWKi.js.map +0 -1
- package/dist/mt/workers/Cargo-DjVnfWKi-DvLbB_Zb.js.map +0 -1
- package/dist/st/Cargo-Cwpuvlbc.js.map +0 -1
- package/dist/st/workers/Cargo-Cwpuvlbc-B0V_MEMU.js.map +0 -1
|
@@ -16281,6 +16281,97 @@ class MerklePath {
|
|
|
16281
16281
|
}
|
|
16282
16282
|
if (Symbol.dispose) MerklePath.prototype[Symbol.dispose] = MerklePath.prototype.free;
|
|
16283
16283
|
|
|
16284
|
+
/**
|
|
16285
|
+
* Targets a note at a public network account so the operator auto-consumes it.
|
|
16286
|
+
*
|
|
16287
|
+
* A note is a network note when it is `Public` and carries a valid
|
|
16288
|
+
* `NetworkAccountTarget` attachment (see `Note.isNetworkNote`).
|
|
16289
|
+
*/
|
|
16290
|
+
class NetworkAccountTarget {
|
|
16291
|
+
static __wrap(ptr) {
|
|
16292
|
+
ptr = ptr >>> 0;
|
|
16293
|
+
const obj = Object.create(NetworkAccountTarget.prototype);
|
|
16294
|
+
obj.__wbg_ptr = ptr;
|
|
16295
|
+
NetworkAccountTargetFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16296
|
+
return obj;
|
|
16297
|
+
}
|
|
16298
|
+
__destroy_into_raw() {
|
|
16299
|
+
const ptr = this.__wbg_ptr;
|
|
16300
|
+
this.__wbg_ptr = 0;
|
|
16301
|
+
NetworkAccountTargetFinalization.unregister(this);
|
|
16302
|
+
return ptr;
|
|
16303
|
+
}
|
|
16304
|
+
free() {
|
|
16305
|
+
const ptr = this.__destroy_into_raw();
|
|
16306
|
+
wasm.__wbg_networkaccounttarget_free(ptr, 0);
|
|
16307
|
+
}
|
|
16308
|
+
/**
|
|
16309
|
+
* Returns the note execution hint.
|
|
16310
|
+
* @returns {NoteExecutionHint}
|
|
16311
|
+
*/
|
|
16312
|
+
executionHint() {
|
|
16313
|
+
const ret = wasm.networkaccounttarget_executionHint(this.__wbg_ptr);
|
|
16314
|
+
return NoteExecutionHint.__wrap(ret);
|
|
16315
|
+
}
|
|
16316
|
+
/**
|
|
16317
|
+
* Decodes a `NoteAttachment` back into a `NetworkAccountTarget`.
|
|
16318
|
+
*
|
|
16319
|
+
* # Errors
|
|
16320
|
+
* Errors if the attachment is not a valid network-account-target attachment.
|
|
16321
|
+
* @param {NoteAttachment} attachment
|
|
16322
|
+
* @returns {NetworkAccountTarget}
|
|
16323
|
+
*/
|
|
16324
|
+
static fromAttachment(attachment) {
|
|
16325
|
+
_assertClass(attachment, NoteAttachment);
|
|
16326
|
+
const ret = wasm.networkaccounttarget_fromAttachment(attachment.__wbg_ptr);
|
|
16327
|
+
if (ret[2]) {
|
|
16328
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16329
|
+
}
|
|
16330
|
+
return NetworkAccountTarget.__wrap(ret[0]);
|
|
16331
|
+
}
|
|
16332
|
+
/**
|
|
16333
|
+
* Creates a target for the given network account. `executionHint` defaults
|
|
16334
|
+
* to `NoteExecutionHint.always()`.
|
|
16335
|
+
*
|
|
16336
|
+
* # Errors
|
|
16337
|
+
* Errors if `account_id` is not a public account.
|
|
16338
|
+
* @param {AccountId} account_id
|
|
16339
|
+
* @param {NoteExecutionHint | null} [execution_hint]
|
|
16340
|
+
*/
|
|
16341
|
+
constructor(account_id, execution_hint) {
|
|
16342
|
+
_assertClass(account_id, AccountId);
|
|
16343
|
+
let ptr0 = 0;
|
|
16344
|
+
if (!isLikeNone(execution_hint)) {
|
|
16345
|
+
_assertClass(execution_hint, NoteExecutionHint);
|
|
16346
|
+
ptr0 = execution_hint.__destroy_into_raw();
|
|
16347
|
+
}
|
|
16348
|
+
const ret = wasm.networkaccounttarget_new(account_id.__wbg_ptr, ptr0);
|
|
16349
|
+
if (ret[2]) {
|
|
16350
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16351
|
+
}
|
|
16352
|
+
this.__wbg_ptr = ret[0] >>> 0;
|
|
16353
|
+
NetworkAccountTargetFinalization.register(this, this.__wbg_ptr, this);
|
|
16354
|
+
return this;
|
|
16355
|
+
}
|
|
16356
|
+
/**
|
|
16357
|
+
* Returns the targeted network account id.
|
|
16358
|
+
* @returns {AccountId}
|
|
16359
|
+
*/
|
|
16360
|
+
targetId() {
|
|
16361
|
+
const ret = wasm.accountreader_accountId(this.__wbg_ptr);
|
|
16362
|
+
return AccountId.__wrap(ret);
|
|
16363
|
+
}
|
|
16364
|
+
/**
|
|
16365
|
+
* Encodes this target as a `NoteAttachment`.
|
|
16366
|
+
* @returns {NoteAttachment}
|
|
16367
|
+
*/
|
|
16368
|
+
toAttachment() {
|
|
16369
|
+
const ret = wasm.networkaccounttarget_toAttachment(this.__wbg_ptr);
|
|
16370
|
+
return NoteAttachment.__wrap(ret);
|
|
16371
|
+
}
|
|
16372
|
+
}
|
|
16373
|
+
if (Symbol.dispose) NetworkAccountTarget.prototype[Symbol.dispose] = NetworkAccountTarget.prototype.free;
|
|
16374
|
+
|
|
16284
16375
|
/**
|
|
16285
16376
|
* The identifier of a Miden network.
|
|
16286
16377
|
*/
|
|
@@ -16474,6 +16565,16 @@ class Note {
|
|
|
16474
16565
|
const ret = wasm.note_assets(this.__wbg_ptr);
|
|
16475
16566
|
return NoteAssets.__wrap(ret);
|
|
16476
16567
|
}
|
|
16568
|
+
/**
|
|
16569
|
+
* Returns the note's attachments.
|
|
16570
|
+
* @returns {NoteAttachment[]}
|
|
16571
|
+
*/
|
|
16572
|
+
attachments() {
|
|
16573
|
+
const ret = wasm.note_attachments(this.__wbg_ptr);
|
|
16574
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
16575
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
16576
|
+
return v1;
|
|
16577
|
+
}
|
|
16477
16578
|
/**
|
|
16478
16579
|
* Returns the commitment to the note (its ID).
|
|
16479
16580
|
*
|
|
@@ -16575,6 +16676,15 @@ class Note {
|
|
|
16575
16676
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
16576
16677
|
return NoteId.__wrap(ret);
|
|
16577
16678
|
}
|
|
16679
|
+
/**
|
|
16680
|
+
* Returns true if the note is a network note (public + a valid
|
|
16681
|
+
* `NetworkAccountTarget` attachment).
|
|
16682
|
+
* @returns {boolean}
|
|
16683
|
+
*/
|
|
16684
|
+
isNetworkNote() {
|
|
16685
|
+
const ret = wasm.note_isNetworkNote(this.__wbg_ptr);
|
|
16686
|
+
return ret !== 0;
|
|
16687
|
+
}
|
|
16578
16688
|
/**
|
|
16579
16689
|
* Returns the public metadata associated with the note.
|
|
16580
16690
|
* @returns {NoteMetadata}
|
|
@@ -16634,6 +16744,30 @@ class Note {
|
|
|
16634
16744
|
const ret = wasm.note_serialize(this.__wbg_ptr);
|
|
16635
16745
|
return ret;
|
|
16636
16746
|
}
|
|
16747
|
+
/**
|
|
16748
|
+
* Creates a note carrying the provided attachments, using the metadata's
|
|
16749
|
+
* sender / note type / tag (attachments on the metadata itself are ignored).
|
|
16750
|
+
*
|
|
16751
|
+
* # Errors
|
|
16752
|
+
* Errors if the attachment set is invalid (too many attachments or words).
|
|
16753
|
+
* @param {NoteAssets} note_assets
|
|
16754
|
+
* @param {NoteMetadata} note_metadata
|
|
16755
|
+
* @param {NoteRecipient} note_recipient
|
|
16756
|
+
* @param {NoteAttachment[]} attachments
|
|
16757
|
+
* @returns {Note}
|
|
16758
|
+
*/
|
|
16759
|
+
static withAttachments(note_assets, note_metadata, note_recipient, attachments) {
|
|
16760
|
+
_assertClass(note_assets, NoteAssets);
|
|
16761
|
+
_assertClass(note_metadata, NoteMetadata);
|
|
16762
|
+
_assertClass(note_recipient, NoteRecipient);
|
|
16763
|
+
const ptr0 = passArrayJsValueToWasm0(attachments, wasm.__wbindgen_malloc);
|
|
16764
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16765
|
+
const ret = wasm.note_withAttachments(note_assets.__wbg_ptr, note_metadata.__wbg_ptr, note_recipient.__wbg_ptr, ptr0, len0);
|
|
16766
|
+
if (ret[2]) {
|
|
16767
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16768
|
+
}
|
|
16769
|
+
return Note.__wrap(ret[0]);
|
|
16770
|
+
}
|
|
16637
16771
|
}
|
|
16638
16772
|
if (Symbol.dispose) Note.prototype[Symbol.dispose] = Note.prototype.free;
|
|
16639
16773
|
|
|
@@ -16901,6 +17035,12 @@ class NoteAttachment {
|
|
|
16901
17035
|
NoteAttachmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16902
17036
|
return obj;
|
|
16903
17037
|
}
|
|
17038
|
+
static __unwrap(jsValue) {
|
|
17039
|
+
if (!(jsValue instanceof NoteAttachment)) {
|
|
17040
|
+
return 0;
|
|
17041
|
+
}
|
|
17042
|
+
return jsValue.__destroy_into_raw();
|
|
17043
|
+
}
|
|
16904
17044
|
__destroy_into_raw() {
|
|
16905
17045
|
const ptr = this.__wbg_ptr;
|
|
16906
17046
|
this.__wbg_ptr = 0;
|
|
@@ -18131,6 +18271,19 @@ class NoteRecipient {
|
|
|
18131
18271
|
const ret = wasm.accountheader_storageCommitment(this.__wbg_ptr);
|
|
18132
18272
|
return Word.__wrap(ret);
|
|
18133
18273
|
}
|
|
18274
|
+
/**
|
|
18275
|
+
* Creates a recipient from a script and storage, generating a fresh random
|
|
18276
|
+
* serial number (the secret that prevents double-spends).
|
|
18277
|
+
* @param {NoteScript} note_script
|
|
18278
|
+
* @param {NoteStorage} storage
|
|
18279
|
+
* @returns {NoteRecipient}
|
|
18280
|
+
*/
|
|
18281
|
+
static fromScript(note_script, storage) {
|
|
18282
|
+
_assertClass(note_script, NoteScript);
|
|
18283
|
+
_assertClass(storage, NoteStorage);
|
|
18284
|
+
const ret = wasm.noterecipient_fromScript(note_script.__wbg_ptr, storage.__wbg_ptr);
|
|
18285
|
+
return NoteRecipient.__wrap(ret);
|
|
18286
|
+
}
|
|
18134
18287
|
/**
|
|
18135
18288
|
* Creates a note recipient from its serial number, script, and storage.
|
|
18136
18289
|
* @param {Word} serial_num
|
|
@@ -24211,7 +24364,7 @@ function __wbg_get_imports(memory) {
|
|
|
24211
24364
|
const ret = AccountStorage.__wrap(arg0);
|
|
24212
24365
|
return ret;
|
|
24213
24366
|
},
|
|
24214
|
-
|
|
24367
|
+
__wbg_addNoteTag_edac9aa5d53fd295: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24215
24368
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24216
24369
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24217
24370
|
let v1;
|
|
@@ -24239,25 +24392,25 @@ function __wbg_get_imports(memory) {
|
|
|
24239
24392
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24240
24393
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24241
24394
|
}, arguments); },
|
|
24242
|
-
|
|
24395
|
+
__wbg_applyFullAccountState_efa7cec371ac287f: function(arg0, arg1, arg2) {
|
|
24243
24396
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24244
24397
|
return ret;
|
|
24245
24398
|
},
|
|
24246
|
-
|
|
24399
|
+
__wbg_applySettingsMutations_8eb27567fe3a997b: function(arg0, arg1, arg2, arg3) {
|
|
24247
24400
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24248
24401
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24249
24402
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24250
24403
|
return ret;
|
|
24251
24404
|
},
|
|
24252
|
-
|
|
24405
|
+
__wbg_applyStateSync_ce27298bc75b7b18: function(arg0, arg1, arg2) {
|
|
24253
24406
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24254
24407
|
return ret;
|
|
24255
24408
|
},
|
|
24256
|
-
|
|
24409
|
+
__wbg_applyTransactionBatch_b47dd46bbb97dd34: function(arg0, arg1, arg2) {
|
|
24257
24410
|
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24258
24411
|
return ret;
|
|
24259
24412
|
},
|
|
24260
|
-
|
|
24413
|
+
__wbg_applyTransactionDelta_9f7f77d353e0bd2d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
24261
24414
|
let deferred0_0;
|
|
24262
24415
|
let deferred0_1;
|
|
24263
24416
|
let deferred1_0;
|
|
@@ -24408,7 +24561,7 @@ function __wbg_get_imports(memory) {
|
|
|
24408
24561
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24409
24562
|
}
|
|
24410
24563
|
},
|
|
24411
|
-
|
|
24564
|
+
__wbg_exportStore_9f8eb55269435a47: function(arg0, arg1) {
|
|
24412
24565
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24413
24566
|
return ret;
|
|
24414
24567
|
},
|
|
@@ -24440,7 +24593,7 @@ function __wbg_get_imports(memory) {
|
|
|
24440
24593
|
const ret = FetchedNote.__wrap(arg0);
|
|
24441
24594
|
return ret;
|
|
24442
24595
|
},
|
|
24443
|
-
|
|
24596
|
+
__wbg_forceImportStore_fd9750b9b72150d8: function(arg0, arg1, arg2) {
|
|
24444
24597
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24445
24598
|
return ret;
|
|
24446
24599
|
},
|
|
@@ -24464,7 +24617,7 @@ function __wbg_get_imports(memory) {
|
|
|
24464
24617
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24465
24618
|
return ret;
|
|
24466
24619
|
},
|
|
24467
|
-
|
|
24620
|
+
__wbg_getAccountAddresses_53c75fc6f0afab26: function(arg0, arg1, arg2, arg3) {
|
|
24468
24621
|
let deferred0_0;
|
|
24469
24622
|
let deferred0_1;
|
|
24470
24623
|
try {
|
|
@@ -24476,7 +24629,7 @@ function __wbg_get_imports(memory) {
|
|
|
24476
24629
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24477
24630
|
}
|
|
24478
24631
|
},
|
|
24479
|
-
|
|
24632
|
+
__wbg_getAccountAuthByPubKeyCommitment_45e209a5e814d994: function(arg0, arg1, arg2, arg3) {
|
|
24480
24633
|
let deferred0_0;
|
|
24481
24634
|
let deferred0_1;
|
|
24482
24635
|
try {
|
|
@@ -24488,7 +24641,7 @@ function __wbg_get_imports(memory) {
|
|
|
24488
24641
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24489
24642
|
}
|
|
24490
24643
|
},
|
|
24491
|
-
|
|
24644
|
+
__wbg_getAccountCode_e79bed526fe5ef58: function(arg0, arg1, arg2, arg3) {
|
|
24492
24645
|
let deferred0_0;
|
|
24493
24646
|
let deferred0_1;
|
|
24494
24647
|
try {
|
|
@@ -24500,7 +24653,7 @@ function __wbg_get_imports(memory) {
|
|
|
24500
24653
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24501
24654
|
}
|
|
24502
24655
|
},
|
|
24503
|
-
|
|
24656
|
+
__wbg_getAccountHeaderByCommitment_6f5840b801ef9054: function(arg0, arg1, arg2, arg3) {
|
|
24504
24657
|
let deferred0_0;
|
|
24505
24658
|
let deferred0_1;
|
|
24506
24659
|
try {
|
|
@@ -24512,7 +24665,7 @@ function __wbg_get_imports(memory) {
|
|
|
24512
24665
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24513
24666
|
}
|
|
24514
24667
|
},
|
|
24515
|
-
|
|
24668
|
+
__wbg_getAccountHeader_5f4fc27de3d1d2be: function(arg0, arg1, arg2, arg3) {
|
|
24516
24669
|
let deferred0_0;
|
|
24517
24670
|
let deferred0_1;
|
|
24518
24671
|
try {
|
|
@@ -24524,7 +24677,7 @@ function __wbg_get_imports(memory) {
|
|
|
24524
24677
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24525
24678
|
}
|
|
24526
24679
|
},
|
|
24527
|
-
|
|
24680
|
+
__wbg_getAccountIdByKeyCommitment_446e9389ad387c83: function(arg0, arg1, arg2, arg3) {
|
|
24528
24681
|
let deferred0_0;
|
|
24529
24682
|
let deferred0_1;
|
|
24530
24683
|
try {
|
|
@@ -24536,11 +24689,11 @@ function __wbg_get_imports(memory) {
|
|
|
24536
24689
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24537
24690
|
}
|
|
24538
24691
|
},
|
|
24539
|
-
|
|
24692
|
+
__wbg_getAccountIds_1adc911b0d8d0f6e: function(arg0, arg1) {
|
|
24540
24693
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24541
24694
|
return ret;
|
|
24542
24695
|
},
|
|
24543
|
-
|
|
24696
|
+
__wbg_getAccountStorageMaps_3767caa8d97db0a1: function(arg0, arg1, arg2, arg3) {
|
|
24544
24697
|
let deferred0_0;
|
|
24545
24698
|
let deferred0_1;
|
|
24546
24699
|
try {
|
|
@@ -24552,7 +24705,7 @@ function __wbg_get_imports(memory) {
|
|
|
24552
24705
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24553
24706
|
}
|
|
24554
24707
|
},
|
|
24555
|
-
|
|
24708
|
+
__wbg_getAccountStorage_07aa2760664b2bec: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24556
24709
|
let deferred0_0;
|
|
24557
24710
|
let deferred0_1;
|
|
24558
24711
|
try {
|
|
@@ -24566,7 +24719,7 @@ function __wbg_get_imports(memory) {
|
|
|
24566
24719
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24567
24720
|
}
|
|
24568
24721
|
},
|
|
24569
|
-
|
|
24722
|
+
__wbg_getAccountVaultAssets_2f19d55ae4ed7c0b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24570
24723
|
let deferred0_0;
|
|
24571
24724
|
let deferred0_1;
|
|
24572
24725
|
try {
|
|
@@ -24580,27 +24733,27 @@ function __wbg_get_imports(memory) {
|
|
|
24580
24733
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24581
24734
|
}
|
|
24582
24735
|
},
|
|
24583
|
-
|
|
24736
|
+
__wbg_getAllAccountHeaders_8ed6029ae1742504: function(arg0, arg1) {
|
|
24584
24737
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24585
24738
|
return ret;
|
|
24586
24739
|
},
|
|
24587
|
-
|
|
24740
|
+
__wbg_getBlockHeaders_06f7b42ae978e531: function(arg0, arg1, arg2, arg3) {
|
|
24588
24741
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24589
24742
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24590
24743
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24591
24744
|
return ret;
|
|
24592
24745
|
},
|
|
24593
|
-
|
|
24746
|
+
__wbg_getCurrentBlockchainPeaks_a04a5ec6cd7f88af: function(arg0, arg1) {
|
|
24594
24747
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24595
24748
|
return ret;
|
|
24596
24749
|
},
|
|
24597
|
-
|
|
24750
|
+
__wbg_getForeignAccountCode_de89bd207484f570: function(arg0, arg1, arg2, arg3) {
|
|
24598
24751
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24599
24752
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24600
24753
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24601
24754
|
return ret;
|
|
24602
24755
|
},
|
|
24603
|
-
|
|
24756
|
+
__wbg_getInputNoteByOffset_9cfe153b53135065: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24604
24757
|
let deferred1_0;
|
|
24605
24758
|
let deferred1_1;
|
|
24606
24759
|
try {
|
|
@@ -24614,31 +24767,31 @@ function __wbg_get_imports(memory) {
|
|
|
24614
24767
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24615
24768
|
}
|
|
24616
24769
|
},
|
|
24617
|
-
|
|
24770
|
+
__wbg_getInputNotesFromDetailsCommitments_4e49a566390c4337: function(arg0, arg1, arg2, arg3) {
|
|
24618
24771
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24619
24772
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24620
24773
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24621
24774
|
return ret;
|
|
24622
24775
|
},
|
|
24623
|
-
|
|
24776
|
+
__wbg_getInputNotesFromIds_f506cabce8dfdec7: function(arg0, arg1, arg2, arg3) {
|
|
24624
24777
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24625
24778
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24626
24779
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24627
24780
|
return ret;
|
|
24628
24781
|
},
|
|
24629
|
-
|
|
24782
|
+
__wbg_getInputNotesFromNullifiers_25b0f807fd619f35: function(arg0, arg1, arg2, arg3) {
|
|
24630
24783
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24631
24784
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24632
24785
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24633
24786
|
return ret;
|
|
24634
24787
|
},
|
|
24635
|
-
|
|
24788
|
+
__wbg_getInputNotes_d90894b55f0432de: function(arg0, arg1, arg2, arg3) {
|
|
24636
24789
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24637
24790
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24638
24791
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24639
24792
|
return ret;
|
|
24640
24793
|
},
|
|
24641
|
-
|
|
24794
|
+
__wbg_getKeyCommitmentsByAccountId_c53d31eba565285f: function(arg0, arg1, arg2, arg3) {
|
|
24642
24795
|
let deferred0_0;
|
|
24643
24796
|
let deferred0_1;
|
|
24644
24797
|
try {
|
|
@@ -24650,7 +24803,7 @@ function __wbg_get_imports(memory) {
|
|
|
24650
24803
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24651
24804
|
}
|
|
24652
24805
|
},
|
|
24653
|
-
|
|
24806
|
+
__wbg_getNoteScript_a74641b7b9a2b11a: function(arg0, arg1, arg2, arg3) {
|
|
24654
24807
|
let deferred0_0;
|
|
24655
24808
|
let deferred0_1;
|
|
24656
24809
|
try {
|
|
@@ -24662,39 +24815,39 @@ function __wbg_get_imports(memory) {
|
|
|
24662
24815
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24663
24816
|
}
|
|
24664
24817
|
},
|
|
24665
|
-
|
|
24818
|
+
__wbg_getNoteTags_6351357c7199175a: function(arg0, arg1) {
|
|
24666
24819
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24667
24820
|
return ret;
|
|
24668
24821
|
},
|
|
24669
|
-
|
|
24822
|
+
__wbg_getOutputNotesFromDetailsCommitments_a4550ac8ebbd9770: function(arg0, arg1, arg2, arg3) {
|
|
24670
24823
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24671
24824
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24672
24825
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24673
24826
|
return ret;
|
|
24674
24827
|
},
|
|
24675
|
-
|
|
24828
|
+
__wbg_getOutputNotesFromIds_d72b067679ade695: function(arg0, arg1, arg2, arg3) {
|
|
24676
24829
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24677
24830
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24678
24831
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24679
24832
|
return ret;
|
|
24680
24833
|
},
|
|
24681
|
-
|
|
24834
|
+
__wbg_getOutputNotesFromNullifiers_17b258e816c39ed0: function(arg0, arg1, arg2, arg3) {
|
|
24682
24835
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24683
24836
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24684
24837
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24685
24838
|
return ret;
|
|
24686
24839
|
},
|
|
24687
|
-
|
|
24840
|
+
__wbg_getOutputNotes_1473c985e0449439: function(arg0, arg1, arg2, arg3) {
|
|
24688
24841
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24689
24842
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24690
24843
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24691
24844
|
return ret;
|
|
24692
24845
|
},
|
|
24693
|
-
|
|
24846
|
+
__wbg_getPartialBlockchainNodesAll_e17f47fa0b31d95e: function(arg0, arg1) {
|
|
24694
24847
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24695
24848
|
return ret;
|
|
24696
24849
|
},
|
|
24697
|
-
|
|
24850
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_43f6babd6387a967: function(arg0, arg1, arg2, arg3) {
|
|
24698
24851
|
let deferred0_0;
|
|
24699
24852
|
let deferred0_1;
|
|
24700
24853
|
try {
|
|
@@ -24706,7 +24859,7 @@ function __wbg_get_imports(memory) {
|
|
|
24706
24859
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24707
24860
|
}
|
|
24708
24861
|
},
|
|
24709
|
-
|
|
24862
|
+
__wbg_getPartialBlockchainNodes_753ab364036ee659: function(arg0, arg1, arg2, arg3) {
|
|
24710
24863
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24711
24864
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24712
24865
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24719,7 +24872,7 @@ function __wbg_get_imports(memory) {
|
|
|
24719
24872
|
const ret = arg0.getReader();
|
|
24720
24873
|
return ret;
|
|
24721
24874
|
}, arguments); },
|
|
24722
|
-
|
|
24875
|
+
__wbg_getSetting_6d181107da0b79d8: function(arg0, arg1, arg2, arg3) {
|
|
24723
24876
|
let deferred0_0;
|
|
24724
24877
|
let deferred0_1;
|
|
24725
24878
|
try {
|
|
@@ -24731,7 +24884,7 @@ function __wbg_get_imports(memory) {
|
|
|
24731
24884
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24732
24885
|
}
|
|
24733
24886
|
},
|
|
24734
|
-
|
|
24887
|
+
__wbg_getSyncHeight_dc5e0c277d3350d0: function(arg0, arg1) {
|
|
24735
24888
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24736
24889
|
return ret;
|
|
24737
24890
|
},
|
|
@@ -24739,15 +24892,15 @@ function __wbg_get_imports(memory) {
|
|
|
24739
24892
|
const ret = arg0.getTime();
|
|
24740
24893
|
return ret;
|
|
24741
24894
|
},
|
|
24742
|
-
|
|
24895
|
+
__wbg_getTrackedBlockHeaderNumbers_897214e329b5ea0c: function(arg0, arg1) {
|
|
24743
24896
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24744
24897
|
return ret;
|
|
24745
24898
|
},
|
|
24746
|
-
|
|
24899
|
+
__wbg_getTrackedBlockHeaders_dcef57272c508785: function(arg0, arg1) {
|
|
24747
24900
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24748
24901
|
return ret;
|
|
24749
24902
|
},
|
|
24750
|
-
|
|
24903
|
+
__wbg_getTransactions_47df1ec1a429e0f9: function(arg0, arg1, arg2, arg3) {
|
|
24751
24904
|
let deferred0_0;
|
|
24752
24905
|
let deferred0_1;
|
|
24753
24906
|
try {
|
|
@@ -24759,7 +24912,7 @@ function __wbg_get_imports(memory) {
|
|
|
24759
24912
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24760
24913
|
}
|
|
24761
24914
|
},
|
|
24762
|
-
|
|
24915
|
+
__wbg_getUnspentInputNoteNullifiers_a41c87a9f48d5fdf: function(arg0, arg1) {
|
|
24763
24916
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24764
24917
|
return ret;
|
|
24765
24918
|
},
|
|
@@ -24803,7 +24956,7 @@ function __wbg_get_imports(memory) {
|
|
|
24803
24956
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24804
24957
|
return ret;
|
|
24805
24958
|
},
|
|
24806
|
-
|
|
24959
|
+
__wbg_insertAccountAddress_1e4667af2c92224c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24807
24960
|
let deferred0_0;
|
|
24808
24961
|
let deferred0_1;
|
|
24809
24962
|
try {
|
|
@@ -24817,7 +24970,7 @@ function __wbg_get_imports(memory) {
|
|
|
24817
24970
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24818
24971
|
}
|
|
24819
24972
|
},
|
|
24820
|
-
|
|
24973
|
+
__wbg_insertAccountAuth_d471abfc7c33077a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24821
24974
|
let deferred0_0;
|
|
24822
24975
|
let deferred0_1;
|
|
24823
24976
|
let deferred1_0;
|
|
@@ -24834,7 +24987,7 @@ function __wbg_get_imports(memory) {
|
|
|
24834
24987
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24835
24988
|
}
|
|
24836
24989
|
},
|
|
24837
|
-
|
|
24990
|
+
__wbg_insertAccountKeyMapping_b4e7262fd4dc4273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24838
24991
|
let deferred0_0;
|
|
24839
24992
|
let deferred0_1;
|
|
24840
24993
|
let deferred1_0;
|
|
@@ -24851,13 +25004,13 @@ function __wbg_get_imports(memory) {
|
|
|
24851
25004
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24852
25005
|
}
|
|
24853
25006
|
},
|
|
24854
|
-
|
|
25007
|
+
__wbg_insertBlockHeader_282dd85fef7536b7: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24855
25008
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24856
25009
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24857
25010
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24858
25011
|
return ret;
|
|
24859
25012
|
},
|
|
24860
|
-
|
|
25013
|
+
__wbg_insertPartialBlockchainNodes_574aa9138d3a0e84: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24861
25014
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24862
25015
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24863
25016
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24865,7 +25018,7 @@ function __wbg_get_imports(memory) {
|
|
|
24865
25018
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24866
25019
|
return ret;
|
|
24867
25020
|
},
|
|
24868
|
-
|
|
25021
|
+
__wbg_insertSetting_eec786c0b0995552: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24869
25022
|
let deferred0_0;
|
|
24870
25023
|
let deferred0_1;
|
|
24871
25024
|
try {
|
|
@@ -24879,7 +25032,7 @@ function __wbg_get_imports(memory) {
|
|
|
24879
25032
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24880
25033
|
}
|
|
24881
25034
|
},
|
|
24882
|
-
|
|
25035
|
+
__wbg_insertTransactionScript_881ef7ad3becb554: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24883
25036
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24884
25037
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24885
25038
|
let v1;
|
|
@@ -24986,11 +25139,11 @@ function __wbg_get_imports(memory) {
|
|
|
24986
25139
|
const ret = arg0.length;
|
|
24987
25140
|
return ret;
|
|
24988
25141
|
},
|
|
24989
|
-
|
|
25142
|
+
__wbg_listSettingKeys_23baa5fe89fe0300: function(arg0, arg1) {
|
|
24990
25143
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
24991
25144
|
return ret;
|
|
24992
25145
|
},
|
|
24993
|
-
|
|
25146
|
+
__wbg_lockAccount_f83587d5772bcc3c: function(arg0, arg1, arg2, arg3) {
|
|
24994
25147
|
let deferred0_0;
|
|
24995
25148
|
let deferred0_1;
|
|
24996
25149
|
try {
|
|
@@ -25149,6 +25302,10 @@ function __wbg_get_imports(memory) {
|
|
|
25149
25302
|
const ret = NoteAttachment.__wrap(arg0);
|
|
25150
25303
|
return ret;
|
|
25151
25304
|
},
|
|
25305
|
+
__wbg_noteattachment_unwrap: function(arg0) {
|
|
25306
|
+
const ret = NoteAttachment.__unwrap(arg0);
|
|
25307
|
+
return ret;
|
|
25308
|
+
},
|
|
25152
25309
|
__wbg_noteconsumability_new: function(arg0) {
|
|
25153
25310
|
const ret = NoteConsumability.__wrap(arg0);
|
|
25154
25311
|
return ret;
|
|
@@ -25205,7 +25362,7 @@ function __wbg_get_imports(memory) {
|
|
|
25205
25362
|
const ret = Array.of(arg0, arg1, arg2);
|
|
25206
25363
|
return ret;
|
|
25207
25364
|
},
|
|
25208
|
-
|
|
25365
|
+
__wbg_openDatabase_dade7696599cc268: function(arg0, arg1, arg2, arg3) {
|
|
25209
25366
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25210
25367
|
return ret;
|
|
25211
25368
|
},
|
|
@@ -25239,7 +25396,7 @@ function __wbg_get_imports(memory) {
|
|
|
25239
25396
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25240
25397
|
return ret;
|
|
25241
25398
|
},
|
|
25242
|
-
|
|
25399
|
+
__wbg_pruneAccountHistory_4b805f8ee1a03061: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25243
25400
|
let deferred0_0;
|
|
25244
25401
|
let deferred0_1;
|
|
25245
25402
|
let deferred1_0;
|
|
@@ -25256,7 +25413,7 @@ function __wbg_get_imports(memory) {
|
|
|
25256
25413
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25257
25414
|
}
|
|
25258
25415
|
},
|
|
25259
|
-
|
|
25416
|
+
__wbg_pruneIrrelevantBlocks_8bd4b5b8b6e87516: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25260
25417
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25261
25418
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25262
25419
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25286,13 +25443,13 @@ function __wbg_get_imports(memory) {
|
|
|
25286
25443
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25287
25444
|
arg0.releaseLock();
|
|
25288
25445
|
},
|
|
25289
|
-
|
|
25446
|
+
__wbg_removeAccountAddress_a5929a2b59fde92e: function(arg0, arg1, arg2, arg3) {
|
|
25290
25447
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25291
25448
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25292
25449
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25293
25450
|
return ret;
|
|
25294
25451
|
},
|
|
25295
|
-
|
|
25452
|
+
__wbg_removeAccountAuth_7fd68774c7763092: function(arg0, arg1, arg2, arg3) {
|
|
25296
25453
|
let deferred0_0;
|
|
25297
25454
|
let deferred0_1;
|
|
25298
25455
|
try {
|
|
@@ -25304,7 +25461,7 @@ function __wbg_get_imports(memory) {
|
|
|
25304
25461
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25305
25462
|
}
|
|
25306
25463
|
},
|
|
25307
|
-
|
|
25464
|
+
__wbg_removeAllMappingsForKey_f33d5693234e701e: function(arg0, arg1, arg2, arg3) {
|
|
25308
25465
|
let deferred0_0;
|
|
25309
25466
|
let deferred0_1;
|
|
25310
25467
|
try {
|
|
@@ -25316,7 +25473,7 @@ function __wbg_get_imports(memory) {
|
|
|
25316
25473
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25317
25474
|
}
|
|
25318
25475
|
},
|
|
25319
|
-
|
|
25476
|
+
__wbg_removeNoteTag_04d1db037df7f461: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25320
25477
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25321
25478
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25322
25479
|
let v1;
|
|
@@ -25337,7 +25494,7 @@ function __wbg_get_imports(memory) {
|
|
|
25337
25494
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25338
25495
|
return ret;
|
|
25339
25496
|
},
|
|
25340
|
-
|
|
25497
|
+
__wbg_removeSetting_a53a2a6a735eb18c: function(arg0, arg1, arg2, arg3) {
|
|
25341
25498
|
let deferred0_0;
|
|
25342
25499
|
let deferred0_1;
|
|
25343
25500
|
try {
|
|
@@ -25547,13 +25704,13 @@ function __wbg_get_imports(memory) {
|
|
|
25547
25704
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25548
25705
|
return ret;
|
|
25549
25706
|
},
|
|
25550
|
-
|
|
25707
|
+
__wbg_undoAccountStates_cb4dbf5c6f4d06e9: function(arg0, arg1, arg2, arg3) {
|
|
25551
25708
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25552
25709
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25553
25710
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25554
25711
|
return ret;
|
|
25555
25712
|
},
|
|
25556
|
-
|
|
25713
|
+
__wbg_upsertAccountCode_796427764c9198f0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25557
25714
|
let deferred0_0;
|
|
25558
25715
|
let deferred0_1;
|
|
25559
25716
|
try {
|
|
@@ -25567,7 +25724,7 @@ function __wbg_get_imports(memory) {
|
|
|
25567
25724
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25568
25725
|
}
|
|
25569
25726
|
},
|
|
25570
|
-
|
|
25727
|
+
__wbg_upsertAccountRecord_0a876f8ec19f47bb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25571
25728
|
let deferred0_0;
|
|
25572
25729
|
let deferred0_1;
|
|
25573
25730
|
let deferred1_0;
|
|
@@ -25609,7 +25766,7 @@ function __wbg_get_imports(memory) {
|
|
|
25609
25766
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25610
25767
|
}
|
|
25611
25768
|
},
|
|
25612
|
-
|
|
25769
|
+
__wbg_upsertAccountStorage_8bde852e4a19d8df: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25613
25770
|
let deferred0_0;
|
|
25614
25771
|
let deferred0_1;
|
|
25615
25772
|
try {
|
|
@@ -25623,7 +25780,7 @@ function __wbg_get_imports(memory) {
|
|
|
25623
25780
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25624
25781
|
}
|
|
25625
25782
|
},
|
|
25626
|
-
|
|
25783
|
+
__wbg_upsertForeignAccountCode_e1fba6198defc496: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25627
25784
|
let deferred0_0;
|
|
25628
25785
|
let deferred0_1;
|
|
25629
25786
|
let deferred2_0;
|
|
@@ -25642,7 +25799,7 @@ function __wbg_get_imports(memory) {
|
|
|
25642
25799
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25643
25800
|
}
|
|
25644
25801
|
},
|
|
25645
|
-
|
|
25802
|
+
__wbg_upsertInputNote_4aa6814b400ee6a6: 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) {
|
|
25646
25803
|
let deferred0_0;
|
|
25647
25804
|
let deferred0_1;
|
|
25648
25805
|
let deferred6_0;
|
|
@@ -25691,7 +25848,7 @@ function __wbg_get_imports(memory) {
|
|
|
25691
25848
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25692
25849
|
}
|
|
25693
25850
|
},
|
|
25694
|
-
|
|
25851
|
+
__wbg_upsertNoteScript_03dd7b732ab40d80: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25695
25852
|
let deferred0_0;
|
|
25696
25853
|
let deferred0_1;
|
|
25697
25854
|
try {
|
|
@@ -25705,7 +25862,7 @@ function __wbg_get_imports(memory) {
|
|
|
25705
25862
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25706
25863
|
}
|
|
25707
25864
|
},
|
|
25708
|
-
|
|
25865
|
+
__wbg_upsertOutputNote_6625bc60ec9e00c7: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25709
25866
|
let deferred0_0;
|
|
25710
25867
|
let deferred0_1;
|
|
25711
25868
|
let deferred1_0;
|
|
@@ -25740,7 +25897,7 @@ function __wbg_get_imports(memory) {
|
|
|
25740
25897
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25741
25898
|
}
|
|
25742
25899
|
},
|
|
25743
|
-
|
|
25900
|
+
__wbg_upsertStorageMapEntries_03e99b5c83445616: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25744
25901
|
let deferred0_0;
|
|
25745
25902
|
let deferred0_1;
|
|
25746
25903
|
try {
|
|
@@ -25754,7 +25911,7 @@ function __wbg_get_imports(memory) {
|
|
|
25754
25911
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25755
25912
|
}
|
|
25756
25913
|
},
|
|
25757
|
-
|
|
25914
|
+
__wbg_upsertTransactionRecord_a5888dce53039ce9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25758
25915
|
let deferred0_0;
|
|
25759
25916
|
let deferred0_1;
|
|
25760
25917
|
try {
|
|
@@ -25775,7 +25932,7 @@ function __wbg_get_imports(memory) {
|
|
|
25775
25932
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25776
25933
|
}
|
|
25777
25934
|
},
|
|
25778
|
-
|
|
25935
|
+
__wbg_upsertVaultAssets_c9a6f9534551a55b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25779
25936
|
let deferred0_0;
|
|
25780
25937
|
let deferred0_1;
|
|
25781
25938
|
try {
|
|
@@ -25818,17 +25975,17 @@ function __wbg_get_imports(memory) {
|
|
|
25818
25975
|
return ret;
|
|
25819
25976
|
},
|
|
25820
25977
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25821
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25978
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [Externref], shim_idx: 130, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25822
25979
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
|
|
25823
25980
|
return ret;
|
|
25824
25981
|
},
|
|
25825
25982
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25826
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25983
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 130, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25827
25984
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
|
|
25828
25985
|
return ret;
|
|
25829
25986
|
},
|
|
25830
25987
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
25831
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
25988
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 129, function: Function { arguments: [], shim_idx: 453, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25832
25989
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke______);
|
|
25833
25990
|
return ret;
|
|
25834
25991
|
},
|
|
@@ -26169,6 +26326,9 @@ const LibraryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
26169
26326
|
const MerklePathFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26170
26327
|
? { register: () => {}, unregister: () => {} }
|
|
26171
26328
|
: new FinalizationRegistry(ptr => wasm.__wbg_merklepath_free(ptr >>> 0, 1));
|
|
26329
|
+
const NetworkAccountTargetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26330
|
+
? { register: () => {}, unregister: () => {} }
|
|
26331
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_networkaccounttarget_free(ptr >>> 0, 1));
|
|
26172
26332
|
const NetworkIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26173
26333
|
? { register: () => {}, unregister: () => {} }
|
|
26174
26334
|
: new FinalizationRegistry(ptr => wasm.__wbg_networkid_free(ptr >>> 0, 1));
|
|
@@ -26858,6 +27018,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26858
27018
|
JsVaultAsset: JsVaultAsset,
|
|
26859
27019
|
Library: Library,
|
|
26860
27020
|
MerklePath: MerklePath,
|
|
27021
|
+
NetworkAccountTarget: NetworkAccountTarget,
|
|
26861
27022
|
NetworkId: NetworkId,
|
|
26862
27023
|
NetworkNoteStatusInfo: NetworkNoteStatusInfo,
|
|
26863
27024
|
NetworkType: NetworkType,
|
|
@@ -26961,5 +27122,5 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26961
27122
|
});
|
|
26962
27123
|
|
|
26963
27124
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
26964
|
-
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, EthAddress, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker , __wbg_init, module$1 as __wasm_url };
|
|
26965
|
-
//# sourceMappingURL=Cargo-
|
|
27125
|
+
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, EthAddress, 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, NetworkAccountTarget, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker , __wbg_init, module$1 as __wasm_url };
|
|
27126
|
+
//# sourceMappingURL=Cargo-C001gt8g.js.map
|