@miden-sdk/miden-sdk 0.14.8 → 0.14.9
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/dist/mt/{Cargo-CUP4fvtE.js → Cargo-DKB2aRX-.js} +95 -68
- package/dist/mt/{Cargo-CUP4fvtE.js.map → Cargo-DKB2aRX-.js.map} +1 -1
- package/dist/mt/api-types.d.ts +15 -0
- package/dist/mt/assets/miden_client_web.wasm +0 -0
- package/dist/mt/crates/miden_client_web.d.ts +22 -0
- package/dist/mt/eager.js +1 -1
- package/dist/mt/index.d.ts +4 -2
- package/dist/mt/index.js +57 -13
- 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-CUP4fvtE-DQbaP5ul.js → Cargo-DKB2aRX--C6T4l3AF.js} +95 -68
- package/dist/mt/workers/{Cargo-CUP4fvtE-DQbaP5ul.js.map → Cargo-DKB2aRX--C6T4l3AF.js.map} +1 -1
- package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
- package/dist/mt/workers/web-client-methods-worker.js +96 -69
- 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-C35FdGuj.js → Cargo-jOTNoFyS.js} +97 -70
- package/dist/st/{Cargo-C35FdGuj.js.map → Cargo-jOTNoFyS.js.map} +1 -1
- package/dist/st/api-types.d.ts +15 -0
- package/dist/st/assets/miden_client_web.wasm +0 -0
- package/dist/st/crates/miden_client_web.d.ts +22 -0
- package/dist/st/eager.js +1 -1
- package/dist/st/index.d.ts +4 -2
- package/dist/st/index.js +57 -13
- package/dist/st/index.js.map +1 -1
- package/dist/st/wasm.js +1 -1
- package/dist/st/workers/{Cargo-C35FdGuj-DAEzC4n9.js → Cargo-jOTNoFyS-DRTcF6wf.js} +97 -70
- package/dist/st/workers/{Cargo-C35FdGuj-DAEzC4n9.js.map → Cargo-jOTNoFyS-DRTcF6wf.js.map} +1 -1
- package/dist/st/workers/assets/miden_client_web.wasm +0 -0
- package/dist/st/workers/web-client-methods-worker.js +98 -71
- 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/package.json +1 -1
|
@@ -20742,6 +20742,33 @@ class TransactionProver {
|
|
|
20742
20742
|
}
|
|
20743
20743
|
return v1;
|
|
20744
20744
|
}
|
|
20745
|
+
/**
|
|
20746
|
+
* Creates a prover that delegates `prove()` to a JavaScript callback.
|
|
20747
|
+
*
|
|
20748
|
+
* The callback receives the serialized [`TransactionInputs`] as a
|
|
20749
|
+
* `Uint8Array` and must return a `Promise<Uint8Array>` resolving to a
|
|
20750
|
+
* serialized [`ProvenTransaction`] (same encoding the gRPC remote
|
|
20751
|
+
* prover uses: `tx_inputs.to_bytes()` in, `ProvenTransaction::read_from_bytes`
|
|
20752
|
+
* out).
|
|
20753
|
+
*
|
|
20754
|
+
* Use case: routing prove to a native iOS / Android plugin
|
|
20755
|
+
* (`@miden/native-prover`) so mobile builds skip WASM prove entirely
|
|
20756
|
+
* — `WKWebView` can't be made cross-origin-isolated reliably and the
|
|
20757
|
+
* MT WASM bundle can't instantiate without `SharedArrayBuffer`, so the
|
|
20758
|
+
* host wraps a native Rust prover (built with the same `miden_tx`
|
|
20759
|
+
* crate) and exposes a JS-shaped callback over the Capacitor bridge.
|
|
20760
|
+
*
|
|
20761
|
+
* The SDK does NOT serialize the prover for persistence across
|
|
20762
|
+
* reloads (unlike `newRemoteProver`), since the callback is a
|
|
20763
|
+
* runtime JS reference. Hosts must recreate the prover on every
|
|
20764
|
+
* page load.
|
|
20765
|
+
* @param {Function} callback
|
|
20766
|
+
* @returns {TransactionProver}
|
|
20767
|
+
*/
|
|
20768
|
+
static newCallbackProver(callback) {
|
|
20769
|
+
const ret = wasm.transactionprover_newCallbackProver(callback);
|
|
20770
|
+
return TransactionProver.__wrap(ret);
|
|
20771
|
+
}
|
|
20745
20772
|
/**
|
|
20746
20773
|
* Creates a prover that uses the local proving backend.
|
|
20747
20774
|
* @returns {TransactionProver}
|
|
@@ -22977,7 +23004,7 @@ function __wbg_get_imports() {
|
|
|
22977
23004
|
const ret = AccountStorage.__wrap(arg0);
|
|
22978
23005
|
return ret;
|
|
22979
23006
|
},
|
|
22980
|
-
|
|
23007
|
+
__wbg_addNoteTag_4723ff010f46936d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
22981
23008
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
22982
23009
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
22983
23010
|
let v1;
|
|
@@ -23000,15 +23027,15 @@ function __wbg_get_imports() {
|
|
|
23000
23027
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
23001
23028
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
23002
23029
|
}, arguments); },
|
|
23003
|
-
|
|
23030
|
+
__wbg_applyFullAccountState_e30d3e617db6a5ed: function(arg0, arg1, arg2) {
|
|
23004
23031
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
23005
23032
|
return ret;
|
|
23006
23033
|
},
|
|
23007
|
-
|
|
23034
|
+
__wbg_applyStateSync_f7a749086c461712: function(arg0, arg1, arg2) {
|
|
23008
23035
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
23009
23036
|
return ret;
|
|
23010
23037
|
},
|
|
23011
|
-
|
|
23038
|
+
__wbg_applyTransactionDelta_1a2dbf82361e3761: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
23012
23039
|
let deferred0_0;
|
|
23013
23040
|
let deferred0_1;
|
|
23014
23041
|
let deferred1_0;
|
|
@@ -23143,7 +23170,7 @@ function __wbg_get_imports() {
|
|
|
23143
23170
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23144
23171
|
}
|
|
23145
23172
|
},
|
|
23146
|
-
|
|
23173
|
+
__wbg_exportStore_bf2152371e8102eb: function(arg0, arg1) {
|
|
23147
23174
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
23148
23175
|
return ret;
|
|
23149
23176
|
},
|
|
@@ -23175,7 +23202,7 @@ function __wbg_get_imports() {
|
|
|
23175
23202
|
const ret = FetchedNote.__wrap(arg0);
|
|
23176
23203
|
return ret;
|
|
23177
23204
|
},
|
|
23178
|
-
|
|
23205
|
+
__wbg_forceImportStore_7b69f3681de75a90: function(arg0, arg1, arg2) {
|
|
23179
23206
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
23180
23207
|
return ret;
|
|
23181
23208
|
},
|
|
@@ -23195,7 +23222,7 @@ function __wbg_get_imports() {
|
|
|
23195
23222
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
23196
23223
|
return ret;
|
|
23197
23224
|
},
|
|
23198
|
-
|
|
23225
|
+
__wbg_getAccountAddresses_508963d8845d5514: function(arg0, arg1, arg2, arg3) {
|
|
23199
23226
|
let deferred0_0;
|
|
23200
23227
|
let deferred0_1;
|
|
23201
23228
|
try {
|
|
@@ -23207,7 +23234,7 @@ function __wbg_get_imports() {
|
|
|
23207
23234
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23208
23235
|
}
|
|
23209
23236
|
},
|
|
23210
|
-
|
|
23237
|
+
__wbg_getAccountAuthByPubKeyCommitment_0fa25c4d1501c820: function(arg0, arg1, arg2, arg3) {
|
|
23211
23238
|
let deferred0_0;
|
|
23212
23239
|
let deferred0_1;
|
|
23213
23240
|
try {
|
|
@@ -23219,7 +23246,7 @@ function __wbg_get_imports() {
|
|
|
23219
23246
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23220
23247
|
}
|
|
23221
23248
|
},
|
|
23222
|
-
|
|
23249
|
+
__wbg_getAccountCode_06134eb8e4174d45: function(arg0, arg1, arg2, arg3) {
|
|
23223
23250
|
let deferred0_0;
|
|
23224
23251
|
let deferred0_1;
|
|
23225
23252
|
try {
|
|
@@ -23231,7 +23258,7 @@ function __wbg_get_imports() {
|
|
|
23231
23258
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23232
23259
|
}
|
|
23233
23260
|
},
|
|
23234
|
-
|
|
23261
|
+
__wbg_getAccountHeaderByCommitment_956bac34f1c7f6a0: function(arg0, arg1, arg2, arg3) {
|
|
23235
23262
|
let deferred0_0;
|
|
23236
23263
|
let deferred0_1;
|
|
23237
23264
|
try {
|
|
@@ -23243,7 +23270,7 @@ function __wbg_get_imports() {
|
|
|
23243
23270
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23244
23271
|
}
|
|
23245
23272
|
},
|
|
23246
|
-
|
|
23273
|
+
__wbg_getAccountHeader_b69e7d8345332c31: function(arg0, arg1, arg2, arg3) {
|
|
23247
23274
|
let deferred0_0;
|
|
23248
23275
|
let deferred0_1;
|
|
23249
23276
|
try {
|
|
@@ -23255,7 +23282,7 @@ function __wbg_get_imports() {
|
|
|
23255
23282
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23256
23283
|
}
|
|
23257
23284
|
},
|
|
23258
|
-
|
|
23285
|
+
__wbg_getAccountIdByKeyCommitment_a614d422617648e8: function(arg0, arg1, arg2, arg3) {
|
|
23259
23286
|
let deferred0_0;
|
|
23260
23287
|
let deferred0_1;
|
|
23261
23288
|
try {
|
|
@@ -23267,11 +23294,11 @@ function __wbg_get_imports() {
|
|
|
23267
23294
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23268
23295
|
}
|
|
23269
23296
|
},
|
|
23270
|
-
|
|
23297
|
+
__wbg_getAccountIds_254f4a379f7148fc: function(arg0, arg1) {
|
|
23271
23298
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
23272
23299
|
return ret;
|
|
23273
23300
|
},
|
|
23274
|
-
|
|
23301
|
+
__wbg_getAccountStorageMaps_bb5eee8491dcea16: function(arg0, arg1, arg2, arg3) {
|
|
23275
23302
|
let deferred0_0;
|
|
23276
23303
|
let deferred0_1;
|
|
23277
23304
|
try {
|
|
@@ -23283,7 +23310,7 @@ function __wbg_get_imports() {
|
|
|
23283
23310
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23284
23311
|
}
|
|
23285
23312
|
},
|
|
23286
|
-
|
|
23313
|
+
__wbg_getAccountStorage_327e6237e53d1c34: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23287
23314
|
let deferred0_0;
|
|
23288
23315
|
let deferred0_1;
|
|
23289
23316
|
try {
|
|
@@ -23297,7 +23324,7 @@ function __wbg_get_imports() {
|
|
|
23297
23324
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23298
23325
|
}
|
|
23299
23326
|
},
|
|
23300
|
-
|
|
23327
|
+
__wbg_getAccountVaultAssets_13c9a817f208f9a0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23301
23328
|
let deferred0_0;
|
|
23302
23329
|
let deferred0_1;
|
|
23303
23330
|
try {
|
|
@@ -23311,23 +23338,23 @@ function __wbg_get_imports() {
|
|
|
23311
23338
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23312
23339
|
}
|
|
23313
23340
|
},
|
|
23314
|
-
|
|
23341
|
+
__wbg_getAllAccountHeaders_beea75c113c4f57d: function(arg0, arg1) {
|
|
23315
23342
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
23316
23343
|
return ret;
|
|
23317
23344
|
},
|
|
23318
|
-
|
|
23345
|
+
__wbg_getBlockHeaders_07a196e8299ff787: function(arg0, arg1, arg2, arg3) {
|
|
23319
23346
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
23320
23347
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23321
23348
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
23322
23349
|
return ret;
|
|
23323
23350
|
},
|
|
23324
|
-
|
|
23351
|
+
__wbg_getForeignAccountCode_6e79e22462b49ff2: function(arg0, arg1, arg2, arg3) {
|
|
23325
23352
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23326
23353
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23327
23354
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
23328
23355
|
return ret;
|
|
23329
23356
|
},
|
|
23330
|
-
|
|
23357
|
+
__wbg_getInputNoteByOffset_5b701fc90ea53cbd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
23331
23358
|
let deferred1_0;
|
|
23332
23359
|
let deferred1_1;
|
|
23333
23360
|
try {
|
|
@@ -23341,25 +23368,25 @@ function __wbg_get_imports() {
|
|
|
23341
23368
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23342
23369
|
}
|
|
23343
23370
|
},
|
|
23344
|
-
|
|
23371
|
+
__wbg_getInputNotesFromIds_d6347ee0ea56a624: function(arg0, arg1, arg2, arg3) {
|
|
23345
23372
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23346
23373
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23347
23374
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
23348
23375
|
return ret;
|
|
23349
23376
|
},
|
|
23350
|
-
|
|
23377
|
+
__wbg_getInputNotesFromNullifiers_c050444a6ae5a37c: function(arg0, arg1, arg2, arg3) {
|
|
23351
23378
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23352
23379
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23353
23380
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
23354
23381
|
return ret;
|
|
23355
23382
|
},
|
|
23356
|
-
|
|
23383
|
+
__wbg_getInputNotes_b17663215ac794d2: function(arg0, arg1, arg2, arg3) {
|
|
23357
23384
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23358
23385
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23359
23386
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
23360
23387
|
return ret;
|
|
23361
23388
|
},
|
|
23362
|
-
|
|
23389
|
+
__wbg_getKeyCommitmentsByAccountId_4b181a7094d01904: function(arg0, arg1, arg2, arg3) {
|
|
23363
23390
|
let deferred0_0;
|
|
23364
23391
|
let deferred0_1;
|
|
23365
23392
|
try {
|
|
@@ -23371,7 +23398,7 @@ function __wbg_get_imports() {
|
|
|
23371
23398
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23372
23399
|
}
|
|
23373
23400
|
},
|
|
23374
|
-
|
|
23401
|
+
__wbg_getNoteScript_d1c46eb9d61290a7: function(arg0, arg1, arg2, arg3) {
|
|
23375
23402
|
let deferred0_0;
|
|
23376
23403
|
let deferred0_1;
|
|
23377
23404
|
try {
|
|
@@ -23383,33 +23410,33 @@ function __wbg_get_imports() {
|
|
|
23383
23410
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23384
23411
|
}
|
|
23385
23412
|
},
|
|
23386
|
-
|
|
23413
|
+
__wbg_getNoteTags_261757bd9ba6b176: function(arg0, arg1) {
|
|
23387
23414
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
23388
23415
|
return ret;
|
|
23389
23416
|
},
|
|
23390
|
-
|
|
23417
|
+
__wbg_getOutputNotesFromIds_ec175b7442179dfc: function(arg0, arg1, arg2, arg3) {
|
|
23391
23418
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23392
23419
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23393
23420
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
23394
23421
|
return ret;
|
|
23395
23422
|
},
|
|
23396
|
-
|
|
23423
|
+
__wbg_getOutputNotesFromNullifiers_cfe595f5a28981dd: function(arg0, arg1, arg2, arg3) {
|
|
23397
23424
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23398
23425
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23399
23426
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
23400
23427
|
return ret;
|
|
23401
23428
|
},
|
|
23402
|
-
|
|
23429
|
+
__wbg_getOutputNotes_34426a64b01c311e: function(arg0, arg1, arg2, arg3) {
|
|
23403
23430
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23404
23431
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23405
23432
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
23406
23433
|
return ret;
|
|
23407
23434
|
},
|
|
23408
|
-
|
|
23435
|
+
__wbg_getPartialBlockchainNodesAll_57b4bdaa9b2cb88f: function(arg0, arg1) {
|
|
23409
23436
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
23410
23437
|
return ret;
|
|
23411
23438
|
},
|
|
23412
|
-
|
|
23439
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_3c223e72f7b9003e: function(arg0, arg1, arg2, arg3) {
|
|
23413
23440
|
let deferred0_0;
|
|
23414
23441
|
let deferred0_1;
|
|
23415
23442
|
try {
|
|
@@ -23421,13 +23448,13 @@ function __wbg_get_imports() {
|
|
|
23421
23448
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23422
23449
|
}
|
|
23423
23450
|
},
|
|
23424
|
-
|
|
23451
|
+
__wbg_getPartialBlockchainNodes_8a8aa6c8cb7e9d10: function(arg0, arg1, arg2, arg3) {
|
|
23425
23452
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23426
23453
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23427
23454
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
23428
23455
|
return ret;
|
|
23429
23456
|
},
|
|
23430
|
-
|
|
23457
|
+
__wbg_getPartialBlockchainPeaksByBlockNum_a6d62f60cf767faf: function(arg0, arg1, arg2) {
|
|
23431
23458
|
const ret = getPartialBlockchainPeaksByBlockNum(getStringFromWasm0(arg0, arg1), arg2 >>> 0);
|
|
23432
23459
|
return ret;
|
|
23433
23460
|
},
|
|
@@ -23438,7 +23465,7 @@ function __wbg_get_imports() {
|
|
|
23438
23465
|
const ret = arg0.getReader();
|
|
23439
23466
|
return ret;
|
|
23440
23467
|
}, arguments); },
|
|
23441
|
-
|
|
23468
|
+
__wbg_getSetting_b0870045f2c26e89: function(arg0, arg1, arg2, arg3) {
|
|
23442
23469
|
let deferred0_0;
|
|
23443
23470
|
let deferred0_1;
|
|
23444
23471
|
try {
|
|
@@ -23450,7 +23477,7 @@ function __wbg_get_imports() {
|
|
|
23450
23477
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23451
23478
|
}
|
|
23452
23479
|
},
|
|
23453
|
-
|
|
23480
|
+
__wbg_getSyncHeight_764e80a403e4c11c: function(arg0, arg1) {
|
|
23454
23481
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
23455
23482
|
return ret;
|
|
23456
23483
|
},
|
|
@@ -23458,15 +23485,15 @@ function __wbg_get_imports() {
|
|
|
23458
23485
|
const ret = arg0.getTime();
|
|
23459
23486
|
return ret;
|
|
23460
23487
|
},
|
|
23461
|
-
|
|
23488
|
+
__wbg_getTrackedBlockHeaderNumbers_7f4b13a63d168c5d: function(arg0, arg1) {
|
|
23462
23489
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
23463
23490
|
return ret;
|
|
23464
23491
|
},
|
|
23465
|
-
|
|
23492
|
+
__wbg_getTrackedBlockHeaders_6f12a3c4ab8c4b7b: function(arg0, arg1) {
|
|
23466
23493
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
23467
23494
|
return ret;
|
|
23468
23495
|
},
|
|
23469
|
-
|
|
23496
|
+
__wbg_getTransactions_30ea36f7fc0b3a07: function(arg0, arg1, arg2, arg3) {
|
|
23470
23497
|
let deferred0_0;
|
|
23471
23498
|
let deferred0_1;
|
|
23472
23499
|
try {
|
|
@@ -23478,7 +23505,7 @@ function __wbg_get_imports() {
|
|
|
23478
23505
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23479
23506
|
}
|
|
23480
23507
|
},
|
|
23481
|
-
|
|
23508
|
+
__wbg_getUnspentInputNoteNullifiers_c340441deaa25755: function(arg0, arg1) {
|
|
23482
23509
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
23483
23510
|
return ret;
|
|
23484
23511
|
},
|
|
@@ -23522,7 +23549,7 @@ function __wbg_get_imports() {
|
|
|
23522
23549
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
23523
23550
|
return ret;
|
|
23524
23551
|
},
|
|
23525
|
-
|
|
23552
|
+
__wbg_insertAccountAddress_2ad144231111e7b8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23526
23553
|
let deferred0_0;
|
|
23527
23554
|
let deferred0_1;
|
|
23528
23555
|
try {
|
|
@@ -23536,7 +23563,7 @@ function __wbg_get_imports() {
|
|
|
23536
23563
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23537
23564
|
}
|
|
23538
23565
|
},
|
|
23539
|
-
|
|
23566
|
+
__wbg_insertAccountAuth_d8105b6284b797bf: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23540
23567
|
let deferred0_0;
|
|
23541
23568
|
let deferred0_1;
|
|
23542
23569
|
let deferred1_0;
|
|
@@ -23553,7 +23580,7 @@ function __wbg_get_imports() {
|
|
|
23553
23580
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23554
23581
|
}
|
|
23555
23582
|
},
|
|
23556
|
-
|
|
23583
|
+
__wbg_insertAccountKeyMapping_cbc8474854c70fba: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23557
23584
|
let deferred0_0;
|
|
23558
23585
|
let deferred0_1;
|
|
23559
23586
|
let deferred1_0;
|
|
@@ -23570,7 +23597,7 @@ function __wbg_get_imports() {
|
|
|
23570
23597
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23571
23598
|
}
|
|
23572
23599
|
},
|
|
23573
|
-
|
|
23600
|
+
__wbg_insertBlockHeader_dbcb8f73f4fc0fd5: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
23574
23601
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
23575
23602
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
23576
23603
|
var v1 = getArrayU8FromWasm0(arg5, arg6).slice();
|
|
@@ -23578,7 +23605,7 @@ function __wbg_get_imports() {
|
|
|
23578
23605
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, v1, arg7 !== 0);
|
|
23579
23606
|
return ret;
|
|
23580
23607
|
},
|
|
23581
|
-
|
|
23608
|
+
__wbg_insertPartialBlockchainNodes_6ab1bcf955334b73: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23582
23609
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23583
23610
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23584
23611
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -23586,7 +23613,7 @@ function __wbg_get_imports() {
|
|
|
23586
23613
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
23587
23614
|
return ret;
|
|
23588
23615
|
},
|
|
23589
|
-
|
|
23616
|
+
__wbg_insertSetting_7dc23dc49d15b368: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23590
23617
|
let deferred0_0;
|
|
23591
23618
|
let deferred0_1;
|
|
23592
23619
|
try {
|
|
@@ -23600,7 +23627,7 @@ function __wbg_get_imports() {
|
|
|
23600
23627
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23601
23628
|
}
|
|
23602
23629
|
},
|
|
23603
|
-
|
|
23630
|
+
__wbg_insertTransactionScript_f84da450a39a1985: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23604
23631
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23605
23632
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23606
23633
|
let v1;
|
|
@@ -23693,11 +23720,11 @@ function __wbg_get_imports() {
|
|
|
23693
23720
|
const ret = arg0.length;
|
|
23694
23721
|
return ret;
|
|
23695
23722
|
},
|
|
23696
|
-
|
|
23723
|
+
__wbg_listSettingKeys_6cef95ced3cbf8ba: function(arg0, arg1) {
|
|
23697
23724
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
23698
23725
|
return ret;
|
|
23699
23726
|
},
|
|
23700
|
-
|
|
23727
|
+
__wbg_lockAccount_43dce8d4abdb5f09: function(arg0, arg1, arg2, arg3) {
|
|
23701
23728
|
let deferred0_0;
|
|
23702
23729
|
let deferred0_1;
|
|
23703
23730
|
try {
|
|
@@ -23888,7 +23915,7 @@ function __wbg_get_imports() {
|
|
|
23888
23915
|
const ret = NoteTag.__unwrap(arg0);
|
|
23889
23916
|
return ret;
|
|
23890
23917
|
},
|
|
23891
|
-
|
|
23918
|
+
__wbg_openDatabase_e10946cc4c72b847: function(arg0, arg1, arg2, arg3) {
|
|
23892
23919
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
23893
23920
|
return ret;
|
|
23894
23921
|
},
|
|
@@ -23919,7 +23946,7 @@ function __wbg_get_imports() {
|
|
|
23919
23946
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
23920
23947
|
return ret;
|
|
23921
23948
|
},
|
|
23922
|
-
|
|
23949
|
+
__wbg_pruneAccountHistory_49fa123a7d62ae4d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23923
23950
|
let deferred0_0;
|
|
23924
23951
|
let deferred0_1;
|
|
23925
23952
|
let deferred1_0;
|
|
@@ -23936,7 +23963,7 @@ function __wbg_get_imports() {
|
|
|
23936
23963
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23937
23964
|
}
|
|
23938
23965
|
},
|
|
23939
|
-
|
|
23966
|
+
__wbg_pruneIrrelevantBlocks_14a26c26d55e3e71: function(arg0, arg1) {
|
|
23940
23967
|
const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1));
|
|
23941
23968
|
return ret;
|
|
23942
23969
|
},
|
|
@@ -23954,13 +23981,13 @@ function __wbg_get_imports() {
|
|
|
23954
23981
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
23955
23982
|
arg0.releaseLock();
|
|
23956
23983
|
},
|
|
23957
|
-
|
|
23984
|
+
__wbg_removeAccountAddress_0f2431a6492a108c: function(arg0, arg1, arg2, arg3) {
|
|
23958
23985
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23959
23986
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23960
23987
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
23961
23988
|
return ret;
|
|
23962
23989
|
},
|
|
23963
|
-
|
|
23990
|
+
__wbg_removeAccountAuth_0d70d9e3528ce2d2: function(arg0, arg1, arg2, arg3) {
|
|
23964
23991
|
let deferred0_0;
|
|
23965
23992
|
let deferred0_1;
|
|
23966
23993
|
try {
|
|
@@ -23972,7 +23999,7 @@ function __wbg_get_imports() {
|
|
|
23972
23999
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23973
24000
|
}
|
|
23974
24001
|
},
|
|
23975
|
-
|
|
24002
|
+
__wbg_removeAllMappingsForKey_fb72afcedd3eadbc: function(arg0, arg1, arg2, arg3) {
|
|
23976
24003
|
let deferred0_0;
|
|
23977
24004
|
let deferred0_1;
|
|
23978
24005
|
try {
|
|
@@ -23984,7 +24011,7 @@ function __wbg_get_imports() {
|
|
|
23984
24011
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23985
24012
|
}
|
|
23986
24013
|
},
|
|
23987
|
-
|
|
24014
|
+
__wbg_removeNoteTag_61789564bed57fa9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
23988
24015
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23989
24016
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23990
24017
|
let v1;
|
|
@@ -24000,7 +24027,7 @@ function __wbg_get_imports() {
|
|
|
24000
24027
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2);
|
|
24001
24028
|
return ret;
|
|
24002
24029
|
},
|
|
24003
|
-
|
|
24030
|
+
__wbg_removeSetting_f90c38c2bbaa0503: function(arg0, arg1, arg2, arg3) {
|
|
24004
24031
|
let deferred0_0;
|
|
24005
24032
|
let deferred0_1;
|
|
24006
24033
|
try {
|
|
@@ -24192,13 +24219,13 @@ function __wbg_get_imports() {
|
|
|
24192
24219
|
const ret = TransactionSummary.__wrap(arg0);
|
|
24193
24220
|
return ret;
|
|
24194
24221
|
},
|
|
24195
|
-
|
|
24222
|
+
__wbg_undoAccountStates_55952d96171fcaae: function(arg0, arg1, arg2, arg3) {
|
|
24196
24223
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24197
24224
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24198
24225
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
24199
24226
|
return ret;
|
|
24200
24227
|
},
|
|
24201
|
-
|
|
24228
|
+
__wbg_upsertAccountCode_6ea0fd608c26da92: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24202
24229
|
let deferred0_0;
|
|
24203
24230
|
let deferred0_1;
|
|
24204
24231
|
try {
|
|
@@ -24212,7 +24239,7 @@ function __wbg_get_imports() {
|
|
|
24212
24239
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24213
24240
|
}
|
|
24214
24241
|
},
|
|
24215
|
-
|
|
24242
|
+
__wbg_upsertAccountRecord_7427b8986e2d12c8: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) {
|
|
24216
24243
|
let deferred0_0;
|
|
24217
24244
|
let deferred0_1;
|
|
24218
24245
|
let deferred1_0;
|
|
@@ -24254,7 +24281,7 @@ function __wbg_get_imports() {
|
|
|
24254
24281
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
24255
24282
|
}
|
|
24256
24283
|
},
|
|
24257
|
-
|
|
24284
|
+
__wbg_upsertAccountStorage_d913f1c451e02d49: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24258
24285
|
let deferred0_0;
|
|
24259
24286
|
let deferred0_1;
|
|
24260
24287
|
try {
|
|
@@ -24268,7 +24295,7 @@ function __wbg_get_imports() {
|
|
|
24268
24295
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24269
24296
|
}
|
|
24270
24297
|
},
|
|
24271
|
-
|
|
24298
|
+
__wbg_upsertForeignAccountCode_b6e56987b6e8449c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
24272
24299
|
let deferred0_0;
|
|
24273
24300
|
let deferred0_1;
|
|
24274
24301
|
let deferred2_0;
|
|
@@ -24287,7 +24314,7 @@ function __wbg_get_imports() {
|
|
|
24287
24314
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
24288
24315
|
}
|
|
24289
24316
|
},
|
|
24290
|
-
|
|
24317
|
+
__wbg_upsertInputNote_8722dc3a93336ed1: 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) {
|
|
24291
24318
|
let deferred0_0;
|
|
24292
24319
|
let deferred0_1;
|
|
24293
24320
|
let deferred4_0;
|
|
@@ -24329,7 +24356,7 @@ function __wbg_get_imports() {
|
|
|
24329
24356
|
wasm.__wbindgen_free(deferred7_0, deferred7_1, 1);
|
|
24330
24357
|
}
|
|
24331
24358
|
},
|
|
24332
|
-
|
|
24359
|
+
__wbg_upsertNoteScript_4a5e64583c81d57f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24333
24360
|
let deferred0_0;
|
|
24334
24361
|
let deferred0_1;
|
|
24335
24362
|
try {
|
|
@@ -24343,7 +24370,7 @@ function __wbg_get_imports() {
|
|
|
24343
24370
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24344
24371
|
}
|
|
24345
24372
|
},
|
|
24346
|
-
|
|
24373
|
+
__wbg_upsertOutputNote_851bc49a046fb032: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) {
|
|
24347
24374
|
let deferred0_0;
|
|
24348
24375
|
let deferred0_1;
|
|
24349
24376
|
let deferred2_0;
|
|
@@ -24371,7 +24398,7 @@ function __wbg_get_imports() {
|
|
|
24371
24398
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
24372
24399
|
}
|
|
24373
24400
|
},
|
|
24374
|
-
|
|
24401
|
+
__wbg_upsertStorageMapEntries_708d7e1b9785c232: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24375
24402
|
let deferred0_0;
|
|
24376
24403
|
let deferred0_1;
|
|
24377
24404
|
try {
|
|
@@ -24385,7 +24412,7 @@ function __wbg_get_imports() {
|
|
|
24385
24412
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24386
24413
|
}
|
|
24387
24414
|
},
|
|
24388
|
-
|
|
24415
|
+
__wbg_upsertTransactionRecord_131924c25bc551c8: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
24389
24416
|
let deferred0_0;
|
|
24390
24417
|
let deferred0_1;
|
|
24391
24418
|
try {
|
|
@@ -24406,7 +24433,7 @@ function __wbg_get_imports() {
|
|
|
24406
24433
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24407
24434
|
}
|
|
24408
24435
|
},
|
|
24409
|
-
|
|
24436
|
+
__wbg_upsertVaultAssets_610488e7f4bf93bb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24410
24437
|
let deferred0_0;
|
|
24411
24438
|
let deferred0_1;
|
|
24412
24439
|
try {
|
|
@@ -24437,12 +24464,12 @@ function __wbg_get_imports() {
|
|
|
24437
24464
|
return ret;
|
|
24438
24465
|
},
|
|
24439
24466
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
24440
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
24467
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 357, function: Function { arguments: [Externref], shim_idx: 695, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
24441
24468
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h521bf77e4c41e510, wasm_bindgen__convert__closures_____invoke__h305992f72ee30af3);
|
|
24442
24469
|
return ret;
|
|
24443
24470
|
},
|
|
24444
24471
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
24445
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
24472
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 357, function: Function { arguments: [], shim_idx: 358, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
24446
24473
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h521bf77e4c41e510, wasm_bindgen__convert__closures_____invoke__h2aef54828e0d6e2f);
|
|
24447
24474
|
return ret;
|
|
24448
24475
|
},
|
|
@@ -25359,4 +25386,4 @@ async function __wbg_init(module_or_path) {
|
|
|
25359
25386
|
|
|
25360
25387
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
25361
25388
|
export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentKind, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, sequentialSumBench, setupLogging , __wbg_init, module$1 as __wasm_url };
|
|
25362
|
-
//# sourceMappingURL=Cargo-
|
|
25389
|
+
//# sourceMappingURL=Cargo-jOTNoFyS.js.map
|