@provablehq/wasm 0.10.6-rc.1 → 0.11.0

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.
@@ -286,6 +286,17 @@ function runRayonThread(receiver) {
286
286
  wasm.runRayonThread(receiver);
287
287
  }
288
288
 
289
+ /**
290
+ * Set the WASM log level from JS. Called automatically by the SDK's
291
+ * `setLogLevel(level)` to keep TS and WASM logging in sync.
292
+ * Levels: 0=silent, 1=error, 2=warn, 3=info (default), 4=debug.
293
+ * Values above 4 are clamped to debug.
294
+ * @param {number} level
295
+ */
296
+ function setWasmLogLevel(level) {
297
+ wasm.setWasmLogLevel(level);
298
+ }
299
+
289
300
  /**
290
301
  * @param {URL} url
291
302
  * @param {number} num_threads
@@ -351,38 +362,6 @@ function verifyFunctionExecution(execution, verifying_key, program, function_id,
351
362
  }
352
363
  }
353
364
 
354
- /**
355
- * Verify a batch SNARK proof against multiple verifying keys and their corresponding public inputs.
356
- *
357
- * This function verifies a batch proof produced by Aleo programs that may not be deployed on chain.
358
- * Each verifying key is paired with one or more sets of public inputs (instances).
359
- *
360
- * @param {Array<string>} verifying_keys Array of verifying key strings, one per circuit
361
- * @param {Array<Array<Array<string>>>} inputs 3D array of field element strings [circuit_idx][instance_idx][field_idx]
362
- * @param {Proof} proof The batch proof to verify
363
- * @returns {boolean} True if the batch proof is valid, false otherwise
364
- * @param {Array<any>} verifying_keys
365
- * @param {Array<any>} inputs
366
- * @param {Proof} proof
367
- * @returns {boolean}
368
- */
369
- function snarkVerifyBatch(verifying_keys, inputs, proof) {
370
- try {
371
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
372
- _assertClass(proof, Proof);
373
- wasm.snarkVerifyBatch(retptr, addHeapObject(verifying_keys), addHeapObject(inputs), proof.__wbg_ptr);
374
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
375
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
376
- var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
377
- if (r2) {
378
- throw takeObject(r1);
379
- }
380
- return r0 !== 0;
381
- } finally {
382
- wasm.__wbindgen_add_to_stack_pointer(16);
383
- }
384
- }
385
-
386
365
  /**
387
366
  * Verify a SNARK proof against a verifying key and public inputs.
388
367
  *
@@ -417,22 +396,32 @@ function snarkVerify(verifying_key, inputs, proof) {
417
396
  }
418
397
 
419
398
  /**
420
- * @param {string} string
421
- * @returns {Field}
399
+ * Verify a batch SNARK proof against multiple verifying keys and their corresponding public inputs.
400
+ *
401
+ * This function verifies a batch proof produced by Aleo programs that may not be deployed on chain.
402
+ * Each verifying key is paired with one or more sets of public inputs (instances).
403
+ *
404
+ * @param {Array<string>} verifying_keys Array of verifying key strings, one per circuit
405
+ * @param {Array<Array<Array<string>>>} inputs 3D array of field element strings [circuit_idx][instance_idx][field_idx]
406
+ * @param {Proof} proof The batch proof to verify
407
+ * @returns {boolean} True if the batch proof is valid, false otherwise
408
+ * @param {Array<any>} verifying_keys
409
+ * @param {Array<any>} inputs
410
+ * @param {Proof} proof
411
+ * @returns {boolean}
422
412
  */
423
- function stringToField(string) {
413
+ function snarkVerifyBatch(verifying_keys, inputs, proof) {
424
414
  try {
425
415
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
426
- const ptr0 = passStringToWasm0(string, wasm.__wbindgen_export, wasm.__wbindgen_export2);
427
- const len0 = WASM_VECTOR_LEN;
428
- wasm.stringToField(retptr, ptr0, len0);
416
+ _assertClass(proof, Proof);
417
+ wasm.snarkVerifyBatch(retptr, addHeapObject(verifying_keys), addHeapObject(inputs), proof.__wbg_ptr);
429
418
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
430
419
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
431
420
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
432
421
  if (r2) {
433
422
  throw takeObject(r1);
434
423
  }
435
- return Field.__wrap(r0);
424
+ return r0 !== 0;
436
425
  } finally {
437
426
  wasm.__wbindgen_add_to_stack_pointer(16);
438
427
  }
@@ -458,6 +447,28 @@ function getOrInitConsensusVersionTestHeights(heights) {
458
447
  return takeObject(ret);
459
448
  }
460
449
 
450
+ /**
451
+ * @param {string} string
452
+ * @returns {Field}
453
+ */
454
+ function stringToField(string) {
455
+ try {
456
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
457
+ const ptr0 = passStringToWasm0(string, wasm.__wbindgen_export, wasm.__wbindgen_export2);
458
+ const len0 = WASM_VECTOR_LEN;
459
+ wasm.stringToField(retptr, ptr0, len0);
460
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
461
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
462
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
463
+ if (r2) {
464
+ throw takeObject(r1);
465
+ }
466
+ return Field.__wrap(r0);
467
+ } finally {
468
+ wasm.__wbindgen_add_to_stack_pointer(16);
469
+ }
470
+ }
471
+
461
472
  function passArrayJsValueToWasm0(array, malloc) {
462
473
  const ptr = malloc(array.length * 4, 4) >>> 0;
463
474
  const mem = getDataViewMemory0();
@@ -477,16 +488,16 @@ function getArrayJsValueFromWasm0(ptr, len) {
477
488
  }
478
489
  return result;
479
490
  }
480
- function __wasm_bindgen_func_elem_8618(arg0, arg1, arg2) {
481
- wasm.__wasm_bindgen_func_elem_8618(arg0, arg1, addHeapObject(arg2));
491
+ function __wasm_bindgen_func_elem_7287(arg0, arg1) {
492
+ wasm.__wasm_bindgen_func_elem_7287(arg0, arg1);
482
493
  }
483
494
 
484
- function __wasm_bindgen_func_elem_7256(arg0, arg1) {
485
- wasm.__wasm_bindgen_func_elem_7256(arg0, arg1);
495
+ function __wasm_bindgen_func_elem_8655(arg0, arg1, arg2) {
496
+ wasm.__wasm_bindgen_func_elem_8655(arg0, arg1, addHeapObject(arg2));
486
497
  }
487
498
 
488
- function __wasm_bindgen_func_elem_7529(arg0, arg1, arg2, arg3) {
489
- wasm.__wasm_bindgen_func_elem_7529(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
499
+ function __wasm_bindgen_func_elem_7560(arg0, arg1, arg2, arg3) {
500
+ wasm.__wasm_bindgen_func_elem_7560(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
490
501
  }
491
502
 
492
503
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
@@ -12391,6 +12402,17 @@ const ProvingRequestFinalization = (typeof FinalizationRegistry === 'undefined')
12391
12402
  : new FinalizationRegistry(ptr => wasm.__wbg_provingrequest_free(ptr >>> 0, 1));
12392
12403
  /**
12393
12404
  * Represents a proving request to a prover.
12405
+ *
12406
+ * Carries one of two variants:
12407
+ * - `Authorization` — a fully-constructed snarkVM `Authorization` (plus optional
12408
+ * fee authorization). Submitted to `/prove/authorization` (encrypted-only).
12409
+ * - `Request` — a single signed snarkVM `Request` (plus optional fee `Request`)
12410
+ * that the prover authorizes server-side. Submitted to `/prove/request`
12411
+ * (encrypted-only).
12412
+ *
12413
+ * Use {@link ProvingRequest#kind} when handling a `ProvingRequest` of unknown
12414
+ * variant (e.g. after deserialization). Variant-specific accessors throw if
12415
+ * called on the wrong variant.
12394
12416
  */
12395
12417
  class ProvingRequest {
12396
12418
 
@@ -12414,9 +12436,23 @@ class ProvingRequest {
12414
12436
  wasm.__wbg_provingrequest_free(ptr, 0);
12415
12437
  }
12416
12438
  /**
12417
- * Creates a ProvingRequest from a string representation.
12439
+ * Returns the signed fee `ExecutionRequest` in the Request variant, or
12440
+ * `undefined` when no fee request is set or this is an Authorization variant.
12441
+ * @returns {ExecutionRequest | undefined}
12442
+ */
12443
+ feeRequest() {
12444
+ const ret = wasm.provingrequest_feeRequest(this.__wbg_ptr);
12445
+ return ret === 0 ? undefined : ExecutionRequest.__wrap(ret);
12446
+ }
12447
+ /**
12448
+ * Creates a `ProvingRequest` from a JSON string representation.
12418
12449
  *
12419
- * @param {Uint8Array} request String representation of the ProvingRequest.
12450
+ * The variant is determined automatically by the JSON shape:
12451
+ * `{ authorization, ... }` → Authorization variant; `{ request, ... }` →
12452
+ * Request variant. Use {@link ProvingRequest#kind} to inspect the
12453
+ * resulting variant.
12454
+ *
12455
+ * @param {string} request JSON string representation of the ProvingRequest.
12420
12456
  * @param {string} request
12421
12457
  * @returns {ProvingRequest}
12422
12458
  */
@@ -12438,7 +12474,10 @@ class ProvingRequest {
12438
12474
  }
12439
12475
  }
12440
12476
  /**
12441
- * Creates a left-endian byte representation of the ProvingRequest.
12477
+ * Creates a left-endian byte representation of the ProvingRequest,
12478
+ * dispatching on the variant. The bytes are wire-compatible with the
12479
+ * matching DPS route (`/prove[/encrypted]` for Authorization,
12480
+ * `/prove/request` for Request).
12442
12481
  * @returns {Uint8Array}
12443
12482
  */
12444
12483
  toBytesLe() {
@@ -12457,17 +12496,64 @@ class ProvingRequest {
12457
12496
  }
12458
12497
  }
12459
12498
  /**
12460
- * Get the Authorization of the main function in the ProvingRequest.
12499
+ * Creates a new Request-variant `ProvingRequest` from a single signed
12500
+ * `ExecutionRequest` and an optional signed fee `ExecutionRequest`.
12501
+ *
12502
+ * The Request variant is processed by the DPS at the `/prove/request`
12503
+ * endpoint, which is encrypted-only. The server runs
12504
+ * `Process::authorize_request` to turn each `Request` into an
12505
+ * `Authorization` before proving.
12506
+ *
12507
+ * Only valid for single-public-request executions. Layered / nested
12508
+ * calls are not supported by `/prove/request` at this time.
12509
+ *
12510
+ * @param {ExecutionRequest} request The signed request for the function.
12511
+ * @param {ExecutionRequest} fee_request Optional signed request for the fee function. When omitted, the prover generates and pays the fee.
12512
+ * @param {boolean} broadcast Flag that indicates whether the remote proving service should attempt to submit the transaction on the caller's behalf.
12513
+ * @param {ExecutionRequest} request
12514
+ * @param {ExecutionRequest | null | undefined} fee_request
12515
+ * @param {boolean} broadcast
12516
+ * @returns {ProvingRequest}
12517
+ */
12518
+ static fromRequest(request, fee_request, broadcast) {
12519
+ _assertClass(request, ExecutionRequest);
12520
+ var ptr0 = request.__destroy_into_raw();
12521
+ let ptr1 = 0;
12522
+ if (!isLikeNone(fee_request)) {
12523
+ _assertClass(fee_request, ExecutionRequest);
12524
+ ptr1 = fee_request.__destroy_into_raw();
12525
+ }
12526
+ const ret = wasm.provingrequest_fromRequest(ptr0, ptr1, broadcast);
12527
+ return ProvingRequest.__wrap(ret);
12528
+ }
12529
+ /**
12530
+ * Returns the Authorization of the main function in the ProvingRequest.
12531
+ *
12532
+ * @throws If this `ProvingRequest` is a Request variant. Check
12533
+ * {@link ProvingRequest#kind} or use {@link ProvingRequest#request} instead.
12461
12534
  * @returns {Authorization}
12462
12535
  */
12463
12536
  authorization() {
12464
- const ret = wasm.provingrequest_authorization(this.__wbg_ptr);
12465
- return Authorization.__wrap(ret);
12537
+ try {
12538
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12539
+ wasm.provingrequest_authorization(retptr, this.__wbg_ptr);
12540
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12541
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12542
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12543
+ if (r2) {
12544
+ throw takeObject(r1);
12545
+ }
12546
+ return Authorization.__wrap(r0);
12547
+ } finally {
12548
+ wasm.__wbindgen_add_to_stack_pointer(16);
12549
+ }
12466
12550
  }
12467
12551
  /**
12468
- * Creates a ProvingRequest from a left-endian byte representation of the ProvingRequest.
12552
+ * Reads bytes as an Authorization-variant `ProvingRequest`. For the
12553
+ * Request variant, use {@link ProvingRequest.fromBytesLeRequest}
12554
+ * explicitly — byte layout carries no variant discriminator.
12469
12555
  *
12470
- * @param {Uint8Array} bytes Left-endian bytes representing the proving request.
12556
+ * @param {Uint8Array} bytes Left-endian bytes representing an Authorization-variant proving request.
12471
12557
  * @param {Uint8Array} bytes
12472
12558
  * @returns {ProvingRequest}
12473
12559
  */
@@ -12487,7 +12573,8 @@ class ProvingRequest {
12487
12573
  }
12488
12574
  }
12489
12575
  /**
12490
- * Get the fee Authorization in the ProvingRequest.
12576
+ * Returns the fee Authorization in the ProvingRequest, or `undefined`
12577
+ * when no fee is set or this is a Request variant.
12491
12578
  * @returns {Authorization | undefined}
12492
12579
  */
12493
12580
  feeAuthorization() {
@@ -12495,7 +12582,32 @@ class ProvingRequest {
12495
12582
  return ret === 0 ? undefined : Authorization.__wrap(ret);
12496
12583
  }
12497
12584
  /**
12498
- * Creates a new ProvingRequest from a function Authorization and an optional fee Authorization.
12585
+ * Reads bytes as a Request-variant `ProvingRequest`. Byte layout is
12586
+ * disjoint from the Authorization variant; callers must pick the right
12587
+ * reader for the bytes they hold.
12588
+ *
12589
+ * @param {Uint8Array} bytes Left-endian bytes representing a Request-variant proving request.
12590
+ * @param {Uint8Array} bytes
12591
+ * @returns {ProvingRequest}
12592
+ */
12593
+ static fromBytesLeRequest(bytes) {
12594
+ try {
12595
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12596
+ wasm.provingrequest_fromBytesLeRequest(retptr, addHeapObject(bytes));
12597
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12598
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12599
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12600
+ if (r2) {
12601
+ throw takeObject(r1);
12602
+ }
12603
+ return ProvingRequest.__wrap(r0);
12604
+ } finally {
12605
+ wasm.__wbindgen_add_to_stack_pointer(16);
12606
+ }
12607
+ }
12608
+ /**
12609
+ * Creates a new Authorization-variant `ProvingRequest` from a function
12610
+ * `Authorization` and an optional fee `Authorization`.
12499
12611
  *
12500
12612
  * @param {Authorization} authorization An Authorization for a function.
12501
12613
  * @param {Authorization} fee_authorization The authorization for the `credits.aleo/fee_public` or `credits.aleo/fee_private` function that pays the fee for the execution of the main function.
@@ -12516,6 +12628,28 @@ class ProvingRequest {
12516
12628
  const ret = wasm.provingrequest_new(ptr0, ptr1, broadcast);
12517
12629
  return ProvingRequest.__wrap(ret);
12518
12630
  }
12631
+ /**
12632
+ * Returns the variant of this `ProvingRequest`: `"authorization"` or
12633
+ * `"request"`. Useful when handling a `ProvingRequest` whose variant
12634
+ * was determined at deserialization time.
12635
+ * @returns {string}
12636
+ */
12637
+ kind() {
12638
+ let deferred1_0;
12639
+ let deferred1_1;
12640
+ try {
12641
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12642
+ wasm.provingrequest_kind(retptr, this.__wbg_ptr);
12643
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12644
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12645
+ deferred1_0 = r0;
12646
+ deferred1_1 = r1;
12647
+ return getStringFromWasm0(r0, r1);
12648
+ } finally {
12649
+ wasm.__wbindgen_add_to_stack_pointer(16);
12650
+ wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
12651
+ }
12652
+ }
12519
12653
  /**
12520
12654
  * Check if a ProvingRequest is the same as another ProvingRequest.
12521
12655
  * @param {ProvingRequest} other
@@ -12526,6 +12660,29 @@ class ProvingRequest {
12526
12660
  const ret = wasm.provingrequest_equals(this.__wbg_ptr, other.__wbg_ptr);
12527
12661
  return ret !== 0;
12528
12662
  }
12663
+ /**
12664
+ * Returns the signed `ExecutionRequest` carried by the Request variant.
12665
+ *
12666
+ * @throws If this `ProvingRequest` is an Authorization variant. Check
12667
+ * {@link ProvingRequest#kind} or use {@link ProvingRequest#authorization}
12668
+ * instead.
12669
+ * @returns {ExecutionRequest}
12670
+ */
12671
+ request() {
12672
+ try {
12673
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12674
+ wasm.provingrequest_request(retptr, this.__wbg_ptr);
12675
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12676
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12677
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12678
+ if (r2) {
12679
+ throw takeObject(r1);
12680
+ }
12681
+ return ExecutionRequest.__wrap(r0);
12682
+ } finally {
12683
+ wasm.__wbindgen_add_to_stack_pointer(16);
12684
+ }
12685
+ }
12529
12686
  /**
12530
12687
  * Get the broadcast flag set in the ProvingRequest.
12531
12688
  * @returns {boolean}
@@ -12535,7 +12692,9 @@ class ProvingRequest {
12535
12692
  return ret !== 0;
12536
12693
  }
12537
12694
  /**
12538
- * Creates a string representation of the ProvingRequest.
12695
+ * Creates a JSON string representation of the ProvingRequest.
12696
+ * The shape carries enough information to recover the variant via
12697
+ * {@link ProvingRequest.fromString}.
12539
12698
  * @returns {string}
12540
12699
  */
12541
12700
  toString() {
@@ -19081,7 +19240,7 @@ function __wbg_get_imports(memory) {
19081
19240
  const ret = getObject(arg0).length;
19082
19241
  return ret;
19083
19242
  };
19084
- imports.wbg.__wbg_log_2c81ec274d38c9bb = function(arg0, arg1) {
19243
+ imports.wbg.__wbg_log_b88efcc0ed7757a6 = function(arg0, arg1) {
19085
19244
  console.log(getStringFromWasm0(arg0, arg1));
19086
19245
  };
19087
19246
  imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
@@ -19103,7 +19262,7 @@ function __wbg_get_imports(memory) {
19103
19262
  const a = state0.a;
19104
19263
  state0.a = 0;
19105
19264
  try {
19106
- return __wasm_bindgen_func_elem_7529(a, state0.b, arg0, arg1);
19265
+ return __wasm_bindgen_func_elem_7560(a, state0.b, arg0, arg1);
19107
19266
  } finally {
19108
19267
  state0.a = a;
19109
19268
  }
@@ -19290,7 +19449,7 @@ function __wbg_get_imports(memory) {
19290
19449
  const ret = Signature.__wrap(arg0);
19291
19450
  return addHeapObject(ret);
19292
19451
  };
19293
- imports.wbg.__wbg_spawnWorker_c5c00ae0c7b9fe56 = function(arg0, arg1, arg2, arg3) {
19452
+ imports.wbg.__wbg_spawnWorker_6ede797d507e374c = function(arg0, arg1, arg2, arg3) {
19294
19453
  const ret = spawnWorker(getObject(arg0), getObject(arg1), getObject(arg2), arg3 >>> 0);
19295
19454
  return addHeapObject(ret);
19296
19455
  };
@@ -19392,7 +19551,7 @@ function __wbg_get_imports(memory) {
19392
19551
  };
19393
19552
  imports.wbg.__wbindgen_cast_3ebebf8ee554379e = function(arg0, arg1) {
19394
19553
  // Cast intrinsic for `Closure(Closure { dtor_idx: 354, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 355, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
19395
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7255, __wasm_bindgen_func_elem_8618);
19554
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7286, __wasm_bindgen_func_elem_8655);
19396
19555
  return addHeapObject(ret);
19397
19556
  };
19398
19557
  imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
@@ -19402,12 +19561,12 @@ function __wbg_get_imports(memory) {
19402
19561
  };
19403
19562
  imports.wbg.__wbindgen_cast_5e9bcb6388942484 = function(arg0, arg1) {
19404
19563
  // Cast intrinsic for `Closure(Closure { dtor_idx: 354, function: Function { arguments: [], shim_idx: 462, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
19405
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7255, __wasm_bindgen_func_elem_7256);
19564
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7286, __wasm_bindgen_func_elem_7287);
19406
19565
  return addHeapObject(ret);
19407
19566
  };
19408
19567
  imports.wbg.__wbindgen_cast_74f3a90a349943d1 = function(arg0, arg1) {
19409
19568
  // Cast intrinsic for `Closure(Closure { dtor_idx: 354, function: Function { arguments: [Externref], shim_idx: 355, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
19410
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7255, __wasm_bindgen_func_elem_8618);
19569
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7286, __wasm_bindgen_func_elem_8655);
19411
19570
  return addHeapObject(ret);
19412
19571
  };
19413
19572
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
@@ -19528,5 +19687,5 @@ async function initThreadPool(threads) {
19528
19687
  await initThreadPool$1(new URL("worker.js", import.meta.url), threads);
19529
19688
  }
19530
19689
 
19531
- export { Address, Authorization, BHP1024, BHP256, BHP512, BHP768, Boolean, CallbackQuery, Ciphertext, ComputeKey, DynamicRecord, EncryptionToolkit, Execution, ExecutionRequest, ExecutionResponse, Field, GraphKey, Group, I128, I16, I32, I64, I8, KeyPair, Metadata, OfflineQuery, Pedersen128, Pedersen64, Plaintext, Poseidon2, Poseidon4, Poseidon8, PrivateKey, PrivateKeyCiphertext, Program, ProgramImports, ProgramManager, Proof, ProvingKey, ProvingRequest, QueryOption, RecordCiphertext, RecordPlaintext, Scalar, Signature, Transaction, Transition, U128, U16, U32, U64, U8, Value, VerifyingKey, ViewKey, getOrInitConsensusVersionTestHeights, initSync, initThreadPool, runRayonThread, snarkVerify, snarkVerifyBatch, stringToField, verifyFunctionExecution };
19690
+ export { Address, Authorization, BHP1024, BHP256, BHP512, BHP768, Boolean, CallbackQuery, Ciphertext, ComputeKey, DynamicRecord, EncryptionToolkit, Execution, ExecutionRequest, ExecutionResponse, Field, GraphKey, Group, I128, I16, I32, I64, I8, KeyPair, Metadata, OfflineQuery, Pedersen128, Pedersen64, Plaintext, Poseidon2, Poseidon4, Poseidon8, PrivateKey, PrivateKeyCiphertext, Program, ProgramImports, ProgramManager, Proof, ProvingKey, ProvingRequest, QueryOption, RecordCiphertext, RecordPlaintext, Scalar, Signature, Transaction, Transition, U128, U16, U32, U64, U8, Value, VerifyingKey, ViewKey, getOrInitConsensusVersionTestHeights, initSync, initThreadPool, runRayonThread, setWasmLogLevel, snarkVerify, snarkVerifyBatch, stringToField, verifyFunctionExecution };
19532
19691
  //# sourceMappingURL=index.js.map