@provablehq/wasm 0.9.6 → 0.9.7

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.
@@ -291,7 +291,7 @@ function __wbg_adapter_43(arg0, arg1, arg2) {
291
291
  wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2));
292
292
  }
293
293
 
294
- function __wbg_adapter_853(arg0, arg1, arg2, arg3) {
294
+ function __wbg_adapter_854(arg0, arg1, arg2, arg3) {
295
295
  wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
296
296
  }
297
297
 
@@ -3443,7 +3443,7 @@ class I128 {
3443
3443
  wasm.__wbg_i128_free(ptr, 0);
3444
3444
  }
3445
3445
  /**
3446
- * Creates from string.
3446
+ * Construct an integer from a string representation.
3447
3447
  * @param {string} s
3448
3448
  * @returns {I128}
3449
3449
  */
@@ -3465,7 +3465,7 @@ class I128 {
3465
3465
  }
3466
3466
  }
3467
3467
  /**
3468
- * To string.
3468
+ * Get the string representation of the integer.
3469
3469
  * @returns {string}
3470
3470
  */
3471
3471
  toString() {
@@ -3485,7 +3485,7 @@ class I128 {
3485
3485
  }
3486
3486
  }
3487
3487
  /**
3488
- * From bytes (LE).
3488
+ * Get the byte array representation of the integer.
3489
3489
  * @param {Uint8Array} bytes
3490
3490
  * @returns {I128}
3491
3491
  */
@@ -3506,7 +3506,7 @@ class I128 {
3506
3506
  }
3507
3507
  }
3508
3508
  /**
3509
- * To bytes (LE).
3509
+ * Construct an integer from a byte array representation.
3510
3510
  * @returns {Uint8Array}
3511
3511
  */
3512
3512
  toBytesLe() {
@@ -3525,7 +3525,7 @@ class I128 {
3525
3525
  }
3526
3526
  }
3527
3527
  /**
3528
- * From bits.
3528
+ * Construct an integer from a boolean array representation.
3529
3529
  * @param {Array<any>} bits
3530
3530
  * @returns {I128}
3531
3531
  */
@@ -3546,7 +3546,7 @@ class I128 {
3546
3546
  }
3547
3547
  }
3548
3548
  /**
3549
- * To bits.
3549
+ * Get the boolean array representation of the integer.
3550
3550
  * @returns {Array<any>}
3551
3551
  */
3552
3552
  toBitsLe() {
@@ -3570,7 +3570,7 @@ class I128 {
3570
3570
  return I128.__wrap(ret);
3571
3571
  }
3572
3572
  /**
3573
- * Wrapped addition.
3573
+ * Wrapped addition with another integer.
3574
3574
  * @param {I128} other
3575
3575
  * @returns {I128}
3576
3576
  */
@@ -3580,7 +3580,7 @@ class I128 {
3580
3580
  return I128.__wrap(ret);
3581
3581
  }
3582
3582
  /**
3583
- * Wrapped subtraction.
3583
+ * Wrapped subtraction with another integer.
3584
3584
  * @param {I128} other
3585
3585
  * @returns {I128}
3586
3586
  */
@@ -3590,7 +3590,7 @@ class I128 {
3590
3590
  return I128.__wrap(ret);
3591
3591
  }
3592
3592
  /**
3593
- * Wrapped multiplication.
3593
+ * Wrapped multiplication with another integer.
3594
3594
  * @param {I128} other
3595
3595
  * @returns {I128}
3596
3596
  */
@@ -3610,7 +3610,7 @@ class I128 {
3610
3610
  return I128.__wrap(ret);
3611
3611
  }
3612
3612
  /**
3613
- * Power to a u8 exponent.
3613
+ * Exponentiate the integer with a u8 exponent.
3614
3614
  * @param {U8} exponent
3615
3615
  * @returns {I128}
3616
3616
  */
@@ -3620,7 +3620,7 @@ class I128 {
3620
3620
  return I128.__wrap(ret);
3621
3621
  }
3622
3622
  /**
3623
- * Power to a u16 exponent.
3623
+ * Exponentiate the integer with a u16 exponent.
3624
3624
  * @param {U16} exponent
3625
3625
  * @returns {I128}
3626
3626
  */
@@ -3630,7 +3630,7 @@ class I128 {
3630
3630
  return I128.__wrap(ret);
3631
3631
  }
3632
3632
  /**
3633
- * Power to a u32 exponent.
3633
+ * Exponentiate the integer with a u32 exponent.
3634
3634
  * @param {U32} exponent
3635
3635
  * @returns {I128}
3636
3636
  */
@@ -3640,7 +3640,7 @@ class I128 {
3640
3640
  return I128.__wrap(ret);
3641
3641
  }
3642
3642
  /**
3643
- * Negates the integer (e.g., 5 → -5).
3643
+ * Negate the integer (e.g., 5 → -5).
3644
3644
  * @returns {I128}
3645
3645
  */
3646
3646
  neg() {
@@ -3648,7 +3648,7 @@ class I128 {
3648
3648
  return I128.__wrap(ret);
3649
3649
  }
3650
3650
  /**
3651
- * Checks equality with another integer.
3651
+ * Check equality with another integer.
3652
3652
  * @param {I128} other
3653
3653
  * @returns {boolean}
3654
3654
  */
@@ -3658,7 +3658,7 @@ class I128 {
3658
3658
  return ret !== 0;
3659
3659
  }
3660
3660
  /**
3661
- * Remainder.
3661
+ * Get the remainder from integer division.
3662
3662
  * @param {I128} other
3663
3663
  * @returns {I128}
3664
3664
  */
@@ -3668,7 +3668,7 @@ class I128 {
3668
3668
  return I128.__wrap(ret);
3669
3669
  }
3670
3670
  /**
3671
- * Wrapped remainder.
3671
+ * Get the remainder from an integer division which wraps if there's an overflow.
3672
3672
  * @param {I128} other
3673
3673
  * @returns {I128}
3674
3674
  */
@@ -3678,7 +3678,7 @@ class I128 {
3678
3678
  return I128.__wrap(ret);
3679
3679
  }
3680
3680
  /**
3681
- * Convert to Scalar.
3681
+ * Convert the integer to a Scalar value.
3682
3682
  * @returns {Scalar}
3683
3683
  */
3684
3684
  toScalar() {
@@ -3686,7 +3686,7 @@ class I128 {
3686
3686
  return Scalar.__wrap(ret);
3687
3687
  }
3688
3688
  /**
3689
- * Convert to plaintext.
3689
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
3690
3690
  * @returns {Plaintext}
3691
3691
  */
3692
3692
  toPlaintext() {
@@ -3694,7 +3694,7 @@ class I128 {
3694
3694
  return Plaintext.__wrap(ret);
3695
3695
  }
3696
3696
  /**
3697
- * Convert from Field.
3697
+ * Attempt to construct the integer from a field element.
3698
3698
  * @param {Field} field
3699
3699
  * @returns {I128}
3700
3700
  */
@@ -3715,7 +3715,7 @@ class I128 {
3715
3715
  }
3716
3716
  }
3717
3717
  /**
3718
- * Convert from Fields.
3718
+ * Atttempt to construct the integer from a list of field elements.
3719
3719
  * @param {Array<any>} fields
3720
3720
  * @returns {I128}
3721
3721
  */
@@ -3735,7 +3735,7 @@ class I128 {
3735
3735
  }
3736
3736
  }
3737
3737
  /**
3738
- * Clone.
3738
+ * Clone the integer in wasm memory.
3739
3739
  * @returns {I128}
3740
3740
  */
3741
3741
  clone() {
@@ -3770,7 +3770,7 @@ class I16 {
3770
3770
  wasm.__wbg_i16_free(ptr, 0);
3771
3771
  }
3772
3772
  /**
3773
- * Creates from string.
3773
+ * Construct an integer from a string representation.
3774
3774
  * @param {string} s
3775
3775
  * @returns {I16}
3776
3776
  */
@@ -3792,7 +3792,7 @@ class I16 {
3792
3792
  }
3793
3793
  }
3794
3794
  /**
3795
- * To string.
3795
+ * Get the string representation of the integer.
3796
3796
  * @returns {string}
3797
3797
  */
3798
3798
  toString() {
@@ -3812,7 +3812,7 @@ class I16 {
3812
3812
  }
3813
3813
  }
3814
3814
  /**
3815
- * From bytes (LE).
3815
+ * Get the byte array representation of the integer.
3816
3816
  * @param {Uint8Array} bytes
3817
3817
  * @returns {I16}
3818
3818
  */
@@ -3833,7 +3833,7 @@ class I16 {
3833
3833
  }
3834
3834
  }
3835
3835
  /**
3836
- * To bytes (LE).
3836
+ * Construct an integer from a byte array representation.
3837
3837
  * @returns {Uint8Array}
3838
3838
  */
3839
3839
  toBytesLe() {
@@ -3852,7 +3852,7 @@ class I16 {
3852
3852
  }
3853
3853
  }
3854
3854
  /**
3855
- * From bits.
3855
+ * Construct an integer from a boolean array representation.
3856
3856
  * @param {Array<any>} bits
3857
3857
  * @returns {I16}
3858
3858
  */
@@ -3873,7 +3873,7 @@ class I16 {
3873
3873
  }
3874
3874
  }
3875
3875
  /**
3876
- * To bits.
3876
+ * Get the boolean array representation of the integer.
3877
3877
  * @returns {Array<any>}
3878
3878
  */
3879
3879
  toBitsLe() {
@@ -3897,7 +3897,7 @@ class I16 {
3897
3897
  return I16.__wrap(ret);
3898
3898
  }
3899
3899
  /**
3900
- * Wrapped addition.
3900
+ * Wrapped addition with another integer.
3901
3901
  * @param {I16} other
3902
3902
  * @returns {I16}
3903
3903
  */
@@ -3907,7 +3907,7 @@ class I16 {
3907
3907
  return I16.__wrap(ret);
3908
3908
  }
3909
3909
  /**
3910
- * Wrapped subtraction.
3910
+ * Wrapped subtraction with another integer.
3911
3911
  * @param {I16} other
3912
3912
  * @returns {I16}
3913
3913
  */
@@ -3917,7 +3917,7 @@ class I16 {
3917
3917
  return I16.__wrap(ret);
3918
3918
  }
3919
3919
  /**
3920
- * Wrapped multiplication.
3920
+ * Wrapped multiplication with another integer.
3921
3921
  * @param {I16} other
3922
3922
  * @returns {I16}
3923
3923
  */
@@ -3937,7 +3937,7 @@ class I16 {
3937
3937
  return I16.__wrap(ret);
3938
3938
  }
3939
3939
  /**
3940
- * Power to a u8 exponent.
3940
+ * Exponentiate the integer with a u8 exponent.
3941
3941
  * @param {U8} exponent
3942
3942
  * @returns {I16}
3943
3943
  */
@@ -3947,7 +3947,7 @@ class I16 {
3947
3947
  return I16.__wrap(ret);
3948
3948
  }
3949
3949
  /**
3950
- * Power to a u16 exponent.
3950
+ * Exponentiate the integer with a u16 exponent.
3951
3951
  * @param {U16} exponent
3952
3952
  * @returns {I16}
3953
3953
  */
@@ -3957,7 +3957,7 @@ class I16 {
3957
3957
  return I16.__wrap(ret);
3958
3958
  }
3959
3959
  /**
3960
- * Power to a u32 exponent.
3960
+ * Exponentiate the integer with a u32 exponent.
3961
3961
  * @param {U32} exponent
3962
3962
  * @returns {I16}
3963
3963
  */
@@ -3967,7 +3967,7 @@ class I16 {
3967
3967
  return I16.__wrap(ret);
3968
3968
  }
3969
3969
  /**
3970
- * Negates the integer (e.g., 5 → -5).
3970
+ * Negate the integer (e.g., 5 → -5).
3971
3971
  * @returns {I16}
3972
3972
  */
3973
3973
  neg() {
@@ -3975,7 +3975,7 @@ class I16 {
3975
3975
  return I16.__wrap(ret);
3976
3976
  }
3977
3977
  /**
3978
- * Checks equality with another integer.
3978
+ * Check equality with another integer.
3979
3979
  * @param {I16} other
3980
3980
  * @returns {boolean}
3981
3981
  */
@@ -3985,7 +3985,7 @@ class I16 {
3985
3985
  return ret !== 0;
3986
3986
  }
3987
3987
  /**
3988
- * Remainder.
3988
+ * Get the remainder from integer division.
3989
3989
  * @param {I16} other
3990
3990
  * @returns {I16}
3991
3991
  */
@@ -3995,7 +3995,7 @@ class I16 {
3995
3995
  return I16.__wrap(ret);
3996
3996
  }
3997
3997
  /**
3998
- * Wrapped remainder.
3998
+ * Get the remainder from an integer division which wraps if there's an overflow.
3999
3999
  * @param {I16} other
4000
4000
  * @returns {I16}
4001
4001
  */
@@ -4005,7 +4005,7 @@ class I16 {
4005
4005
  return I16.__wrap(ret);
4006
4006
  }
4007
4007
  /**
4008
- * Convert to Scalar.
4008
+ * Convert the integer to a Scalar value.
4009
4009
  * @returns {Scalar}
4010
4010
  */
4011
4011
  toScalar() {
@@ -4013,7 +4013,7 @@ class I16 {
4013
4013
  return Scalar.__wrap(ret);
4014
4014
  }
4015
4015
  /**
4016
- * Convert to plaintext.
4016
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
4017
4017
  * @returns {Plaintext}
4018
4018
  */
4019
4019
  toPlaintext() {
@@ -4021,7 +4021,7 @@ class I16 {
4021
4021
  return Plaintext.__wrap(ret);
4022
4022
  }
4023
4023
  /**
4024
- * Convert from Field.
4024
+ * Attempt to construct the integer from a field element.
4025
4025
  * @param {Field} field
4026
4026
  * @returns {I16}
4027
4027
  */
@@ -4042,7 +4042,7 @@ class I16 {
4042
4042
  }
4043
4043
  }
4044
4044
  /**
4045
- * Convert from Fields.
4045
+ * Atttempt to construct the integer from a list of field elements.
4046
4046
  * @param {Array<any>} fields
4047
4047
  * @returns {I16}
4048
4048
  */
@@ -4062,7 +4062,7 @@ class I16 {
4062
4062
  }
4063
4063
  }
4064
4064
  /**
4065
- * Clone.
4065
+ * Clone the integer in wasm memory.
4066
4066
  * @returns {I16}
4067
4067
  */
4068
4068
  clone() {
@@ -4097,7 +4097,7 @@ class I32 {
4097
4097
  wasm.__wbg_i32_free(ptr, 0);
4098
4098
  }
4099
4099
  /**
4100
- * Creates from string.
4100
+ * Construct an integer from a string representation.
4101
4101
  * @param {string} s
4102
4102
  * @returns {I32}
4103
4103
  */
@@ -4119,7 +4119,7 @@ class I32 {
4119
4119
  }
4120
4120
  }
4121
4121
  /**
4122
- * To string.
4122
+ * Get the string representation of the integer.
4123
4123
  * @returns {string}
4124
4124
  */
4125
4125
  toString() {
@@ -4139,7 +4139,7 @@ class I32 {
4139
4139
  }
4140
4140
  }
4141
4141
  /**
4142
- * From bytes (LE).
4142
+ * Get the byte array representation of the integer.
4143
4143
  * @param {Uint8Array} bytes
4144
4144
  * @returns {I32}
4145
4145
  */
@@ -4160,7 +4160,7 @@ class I32 {
4160
4160
  }
4161
4161
  }
4162
4162
  /**
4163
- * To bytes (LE).
4163
+ * Construct an integer from a byte array representation.
4164
4164
  * @returns {Uint8Array}
4165
4165
  */
4166
4166
  toBytesLe() {
@@ -4179,7 +4179,7 @@ class I32 {
4179
4179
  }
4180
4180
  }
4181
4181
  /**
4182
- * From bits.
4182
+ * Construct an integer from a boolean array representation.
4183
4183
  * @param {Array<any>} bits
4184
4184
  * @returns {I32}
4185
4185
  */
@@ -4200,7 +4200,7 @@ class I32 {
4200
4200
  }
4201
4201
  }
4202
4202
  /**
4203
- * To bits.
4203
+ * Get the boolean array representation of the integer.
4204
4204
  * @returns {Array<any>}
4205
4205
  */
4206
4206
  toBitsLe() {
@@ -4224,7 +4224,7 @@ class I32 {
4224
4224
  return I32.__wrap(ret);
4225
4225
  }
4226
4226
  /**
4227
- * Wrapped addition.
4227
+ * Wrapped addition with another integer.
4228
4228
  * @param {I32} other
4229
4229
  * @returns {I32}
4230
4230
  */
@@ -4234,7 +4234,7 @@ class I32 {
4234
4234
  return I32.__wrap(ret);
4235
4235
  }
4236
4236
  /**
4237
- * Wrapped subtraction.
4237
+ * Wrapped subtraction with another integer.
4238
4238
  * @param {I32} other
4239
4239
  * @returns {I32}
4240
4240
  */
@@ -4244,7 +4244,7 @@ class I32 {
4244
4244
  return I32.__wrap(ret);
4245
4245
  }
4246
4246
  /**
4247
- * Wrapped multiplication.
4247
+ * Wrapped multiplication with another integer.
4248
4248
  * @param {I32} other
4249
4249
  * @returns {I32}
4250
4250
  */
@@ -4264,7 +4264,7 @@ class I32 {
4264
4264
  return I32.__wrap(ret);
4265
4265
  }
4266
4266
  /**
4267
- * Power to a u8 exponent.
4267
+ * Exponentiate the integer with a u8 exponent.
4268
4268
  * @param {U8} exponent
4269
4269
  * @returns {I32}
4270
4270
  */
@@ -4274,7 +4274,7 @@ class I32 {
4274
4274
  return I32.__wrap(ret);
4275
4275
  }
4276
4276
  /**
4277
- * Power to a u16 exponent.
4277
+ * Exponentiate the integer with a u16 exponent.
4278
4278
  * @param {U16} exponent
4279
4279
  * @returns {I32}
4280
4280
  */
@@ -4284,7 +4284,7 @@ class I32 {
4284
4284
  return I32.__wrap(ret);
4285
4285
  }
4286
4286
  /**
4287
- * Power to a u32 exponent.
4287
+ * Exponentiate the integer with a u32 exponent.
4288
4288
  * @param {U32} exponent
4289
4289
  * @returns {I32}
4290
4290
  */
@@ -4294,7 +4294,7 @@ class I32 {
4294
4294
  return I32.__wrap(ret);
4295
4295
  }
4296
4296
  /**
4297
- * Negates the integer (e.g., 5 → -5).
4297
+ * Negate the integer (e.g., 5 → -5).
4298
4298
  * @returns {I32}
4299
4299
  */
4300
4300
  neg() {
@@ -4302,7 +4302,7 @@ class I32 {
4302
4302
  return I32.__wrap(ret);
4303
4303
  }
4304
4304
  /**
4305
- * Checks equality with another integer.
4305
+ * Check equality with another integer.
4306
4306
  * @param {I32} other
4307
4307
  * @returns {boolean}
4308
4308
  */
@@ -4312,7 +4312,7 @@ class I32 {
4312
4312
  return ret !== 0;
4313
4313
  }
4314
4314
  /**
4315
- * Remainder.
4315
+ * Get the remainder from integer division.
4316
4316
  * @param {I32} other
4317
4317
  * @returns {I32}
4318
4318
  */
@@ -4322,7 +4322,7 @@ class I32 {
4322
4322
  return I32.__wrap(ret);
4323
4323
  }
4324
4324
  /**
4325
- * Wrapped remainder.
4325
+ * Get the remainder from an integer division which wraps if there's an overflow.
4326
4326
  * @param {I32} other
4327
4327
  * @returns {I32}
4328
4328
  */
@@ -4332,7 +4332,7 @@ class I32 {
4332
4332
  return I32.__wrap(ret);
4333
4333
  }
4334
4334
  /**
4335
- * Convert to Scalar.
4335
+ * Convert the integer to a Scalar value.
4336
4336
  * @returns {Scalar}
4337
4337
  */
4338
4338
  toScalar() {
@@ -4340,7 +4340,7 @@ class I32 {
4340
4340
  return Scalar.__wrap(ret);
4341
4341
  }
4342
4342
  /**
4343
- * Convert to plaintext.
4343
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
4344
4344
  * @returns {Plaintext}
4345
4345
  */
4346
4346
  toPlaintext() {
@@ -4348,7 +4348,7 @@ class I32 {
4348
4348
  return Plaintext.__wrap(ret);
4349
4349
  }
4350
4350
  /**
4351
- * Convert from Field.
4351
+ * Attempt to construct the integer from a field element.
4352
4352
  * @param {Field} field
4353
4353
  * @returns {I32}
4354
4354
  */
@@ -4369,7 +4369,7 @@ class I32 {
4369
4369
  }
4370
4370
  }
4371
4371
  /**
4372
- * Convert from Fields.
4372
+ * Atttempt to construct the integer from a list of field elements.
4373
4373
  * @param {Array<any>} fields
4374
4374
  * @returns {I32}
4375
4375
  */
@@ -4389,7 +4389,7 @@ class I32 {
4389
4389
  }
4390
4390
  }
4391
4391
  /**
4392
- * Clone.
4392
+ * Clone the integer in wasm memory.
4393
4393
  * @returns {I32}
4394
4394
  */
4395
4395
  clone() {
@@ -4424,7 +4424,7 @@ class I64 {
4424
4424
  wasm.__wbg_i64_free(ptr, 0);
4425
4425
  }
4426
4426
  /**
4427
- * Creates from string.
4427
+ * Construct an integer from a string representation.
4428
4428
  * @param {string} s
4429
4429
  * @returns {I64}
4430
4430
  */
@@ -4446,7 +4446,7 @@ class I64 {
4446
4446
  }
4447
4447
  }
4448
4448
  /**
4449
- * To string.
4449
+ * Get the string representation of the integer.
4450
4450
  * @returns {string}
4451
4451
  */
4452
4452
  toString() {
@@ -4466,7 +4466,7 @@ class I64 {
4466
4466
  }
4467
4467
  }
4468
4468
  /**
4469
- * From bytes (LE).
4469
+ * Get the byte array representation of the integer.
4470
4470
  * @param {Uint8Array} bytes
4471
4471
  * @returns {I64}
4472
4472
  */
@@ -4487,7 +4487,7 @@ class I64 {
4487
4487
  }
4488
4488
  }
4489
4489
  /**
4490
- * To bytes (LE).
4490
+ * Construct an integer from a byte array representation.
4491
4491
  * @returns {Uint8Array}
4492
4492
  */
4493
4493
  toBytesLe() {
@@ -4506,7 +4506,7 @@ class I64 {
4506
4506
  }
4507
4507
  }
4508
4508
  /**
4509
- * From bits.
4509
+ * Construct an integer from a boolean array representation.
4510
4510
  * @param {Array<any>} bits
4511
4511
  * @returns {I64}
4512
4512
  */
@@ -4527,7 +4527,7 @@ class I64 {
4527
4527
  }
4528
4528
  }
4529
4529
  /**
4530
- * To bits.
4530
+ * Get the boolean array representation of the integer.
4531
4531
  * @returns {Array<any>}
4532
4532
  */
4533
4533
  toBitsLe() {
@@ -4551,7 +4551,7 @@ class I64 {
4551
4551
  return I64.__wrap(ret);
4552
4552
  }
4553
4553
  /**
4554
- * Wrapped addition.
4554
+ * Wrapped addition with another integer.
4555
4555
  * @param {I64} other
4556
4556
  * @returns {I64}
4557
4557
  */
@@ -4561,7 +4561,7 @@ class I64 {
4561
4561
  return I64.__wrap(ret);
4562
4562
  }
4563
4563
  /**
4564
- * Wrapped subtraction.
4564
+ * Wrapped subtraction with another integer.
4565
4565
  * @param {I64} other
4566
4566
  * @returns {I64}
4567
4567
  */
@@ -4571,7 +4571,7 @@ class I64 {
4571
4571
  return I64.__wrap(ret);
4572
4572
  }
4573
4573
  /**
4574
- * Wrapped multiplication.
4574
+ * Wrapped multiplication with another integer.
4575
4575
  * @param {I64} other
4576
4576
  * @returns {I64}
4577
4577
  */
@@ -4591,7 +4591,7 @@ class I64 {
4591
4591
  return I64.__wrap(ret);
4592
4592
  }
4593
4593
  /**
4594
- * Power to a u8 exponent.
4594
+ * Exponentiate the integer with a u8 exponent.
4595
4595
  * @param {U8} exponent
4596
4596
  * @returns {I64}
4597
4597
  */
@@ -4601,7 +4601,7 @@ class I64 {
4601
4601
  return I64.__wrap(ret);
4602
4602
  }
4603
4603
  /**
4604
- * Power to a u16 exponent.
4604
+ * Exponentiate the integer with a u16 exponent.
4605
4605
  * @param {U16} exponent
4606
4606
  * @returns {I64}
4607
4607
  */
@@ -4611,7 +4611,7 @@ class I64 {
4611
4611
  return I64.__wrap(ret);
4612
4612
  }
4613
4613
  /**
4614
- * Power to a u32 exponent.
4614
+ * Exponentiate the integer with a u32 exponent.
4615
4615
  * @param {U32} exponent
4616
4616
  * @returns {I64}
4617
4617
  */
@@ -4621,7 +4621,7 @@ class I64 {
4621
4621
  return I64.__wrap(ret);
4622
4622
  }
4623
4623
  /**
4624
- * Negates the integer (e.g., 5 → -5).
4624
+ * Negate the integer (e.g., 5 → -5).
4625
4625
  * @returns {I64}
4626
4626
  */
4627
4627
  neg() {
@@ -4629,7 +4629,7 @@ class I64 {
4629
4629
  return I64.__wrap(ret);
4630
4630
  }
4631
4631
  /**
4632
- * Checks equality with another integer.
4632
+ * Check equality with another integer.
4633
4633
  * @param {I64} other
4634
4634
  * @returns {boolean}
4635
4635
  */
@@ -4639,7 +4639,7 @@ class I64 {
4639
4639
  return ret !== 0;
4640
4640
  }
4641
4641
  /**
4642
- * Remainder.
4642
+ * Get the remainder from integer division.
4643
4643
  * @param {I64} other
4644
4644
  * @returns {I64}
4645
4645
  */
@@ -4649,7 +4649,7 @@ class I64 {
4649
4649
  return I64.__wrap(ret);
4650
4650
  }
4651
4651
  /**
4652
- * Wrapped remainder.
4652
+ * Get the remainder from an integer division which wraps if there's an overflow.
4653
4653
  * @param {I64} other
4654
4654
  * @returns {I64}
4655
4655
  */
@@ -4659,7 +4659,7 @@ class I64 {
4659
4659
  return I64.__wrap(ret);
4660
4660
  }
4661
4661
  /**
4662
- * Convert to Scalar.
4662
+ * Convert the integer to a Scalar value.
4663
4663
  * @returns {Scalar}
4664
4664
  */
4665
4665
  toScalar() {
@@ -4667,7 +4667,7 @@ class I64 {
4667
4667
  return Scalar.__wrap(ret);
4668
4668
  }
4669
4669
  /**
4670
- * Convert to plaintext.
4670
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
4671
4671
  * @returns {Plaintext}
4672
4672
  */
4673
4673
  toPlaintext() {
@@ -4675,7 +4675,7 @@ class I64 {
4675
4675
  return Plaintext.__wrap(ret);
4676
4676
  }
4677
4677
  /**
4678
- * Convert from Field.
4678
+ * Attempt to construct the integer from a field element.
4679
4679
  * @param {Field} field
4680
4680
  * @returns {I64}
4681
4681
  */
@@ -4696,7 +4696,7 @@ class I64 {
4696
4696
  }
4697
4697
  }
4698
4698
  /**
4699
- * Convert from Fields.
4699
+ * Atttempt to construct the integer from a list of field elements.
4700
4700
  * @param {Array<any>} fields
4701
4701
  * @returns {I64}
4702
4702
  */
@@ -4716,7 +4716,7 @@ class I64 {
4716
4716
  }
4717
4717
  }
4718
4718
  /**
4719
- * Clone.
4719
+ * Clone the integer in wasm memory.
4720
4720
  * @returns {I64}
4721
4721
  */
4722
4722
  clone() {
@@ -4751,7 +4751,7 @@ class I8 {
4751
4751
  wasm.__wbg_i8_free(ptr, 0);
4752
4752
  }
4753
4753
  /**
4754
- * Creates from string.
4754
+ * Construct an integer from a string representation.
4755
4755
  * @param {string} s
4756
4756
  * @returns {I8}
4757
4757
  */
@@ -4773,7 +4773,7 @@ class I8 {
4773
4773
  }
4774
4774
  }
4775
4775
  /**
4776
- * To string.
4776
+ * Get the string representation of the integer.
4777
4777
  * @returns {string}
4778
4778
  */
4779
4779
  toString() {
@@ -4793,7 +4793,7 @@ class I8 {
4793
4793
  }
4794
4794
  }
4795
4795
  /**
4796
- * From bytes (LE).
4796
+ * Get the byte array representation of the integer.
4797
4797
  * @param {Uint8Array} bytes
4798
4798
  * @returns {I8}
4799
4799
  */
@@ -4814,7 +4814,7 @@ class I8 {
4814
4814
  }
4815
4815
  }
4816
4816
  /**
4817
- * To bytes (LE).
4817
+ * Construct an integer from a byte array representation.
4818
4818
  * @returns {Uint8Array}
4819
4819
  */
4820
4820
  toBytesLe() {
@@ -4833,7 +4833,7 @@ class I8 {
4833
4833
  }
4834
4834
  }
4835
4835
  /**
4836
- * From bits.
4836
+ * Construct an integer from a boolean array representation.
4837
4837
  * @param {Array<any>} bits
4838
4838
  * @returns {I8}
4839
4839
  */
@@ -4854,7 +4854,7 @@ class I8 {
4854
4854
  }
4855
4855
  }
4856
4856
  /**
4857
- * To bits.
4857
+ * Get the boolean array representation of the integer.
4858
4858
  * @returns {Array<any>}
4859
4859
  */
4860
4860
  toBitsLe() {
@@ -4878,7 +4878,7 @@ class I8 {
4878
4878
  return I8.__wrap(ret);
4879
4879
  }
4880
4880
  /**
4881
- * Wrapped addition.
4881
+ * Wrapped addition with another integer.
4882
4882
  * @param {I8} other
4883
4883
  * @returns {I8}
4884
4884
  */
@@ -4888,7 +4888,7 @@ class I8 {
4888
4888
  return I8.__wrap(ret);
4889
4889
  }
4890
4890
  /**
4891
- * Wrapped subtraction.
4891
+ * Wrapped subtraction with another integer.
4892
4892
  * @param {I8} other
4893
4893
  * @returns {I8}
4894
4894
  */
@@ -4898,7 +4898,7 @@ class I8 {
4898
4898
  return I8.__wrap(ret);
4899
4899
  }
4900
4900
  /**
4901
- * Wrapped multiplication.
4901
+ * Wrapped multiplication with another integer.
4902
4902
  * @param {I8} other
4903
4903
  * @returns {I8}
4904
4904
  */
@@ -4918,7 +4918,7 @@ class I8 {
4918
4918
  return I8.__wrap(ret);
4919
4919
  }
4920
4920
  /**
4921
- * Power to a u8 exponent.
4921
+ * Exponentiate the integer with a u8 exponent.
4922
4922
  * @param {U8} exponent
4923
4923
  * @returns {I8}
4924
4924
  */
@@ -4928,7 +4928,7 @@ class I8 {
4928
4928
  return I8.__wrap(ret);
4929
4929
  }
4930
4930
  /**
4931
- * Power to a u16 exponent.
4931
+ * Exponentiate the integer with a u16 exponent.
4932
4932
  * @param {U16} exponent
4933
4933
  * @returns {I8}
4934
4934
  */
@@ -4938,7 +4938,7 @@ class I8 {
4938
4938
  return I8.__wrap(ret);
4939
4939
  }
4940
4940
  /**
4941
- * Power to a u32 exponent.
4941
+ * Exponentiate the integer with a u32 exponent.
4942
4942
  * @param {U32} exponent
4943
4943
  * @returns {I8}
4944
4944
  */
@@ -4948,7 +4948,7 @@ class I8 {
4948
4948
  return I8.__wrap(ret);
4949
4949
  }
4950
4950
  /**
4951
- * Negates the integer (e.g., 5 → -5).
4951
+ * Negate the integer (e.g., 5 → -5).
4952
4952
  * @returns {I8}
4953
4953
  */
4954
4954
  neg() {
@@ -4956,7 +4956,7 @@ class I8 {
4956
4956
  return I8.__wrap(ret);
4957
4957
  }
4958
4958
  /**
4959
- * Checks equality with another integer.
4959
+ * Check equality with another integer.
4960
4960
  * @param {I8} other
4961
4961
  * @returns {boolean}
4962
4962
  */
@@ -4966,7 +4966,7 @@ class I8 {
4966
4966
  return ret !== 0;
4967
4967
  }
4968
4968
  /**
4969
- * Remainder.
4969
+ * Get the remainder from integer division.
4970
4970
  * @param {I8} other
4971
4971
  * @returns {I8}
4972
4972
  */
@@ -4976,7 +4976,7 @@ class I8 {
4976
4976
  return I8.__wrap(ret);
4977
4977
  }
4978
4978
  /**
4979
- * Wrapped remainder.
4979
+ * Get the remainder from an integer division which wraps if there's an overflow.
4980
4980
  * @param {I8} other
4981
4981
  * @returns {I8}
4982
4982
  */
@@ -4986,7 +4986,7 @@ class I8 {
4986
4986
  return I8.__wrap(ret);
4987
4987
  }
4988
4988
  /**
4989
- * Convert to Scalar.
4989
+ * Convert the integer to a Scalar value.
4990
4990
  * @returns {Scalar}
4991
4991
  */
4992
4992
  toScalar() {
@@ -4994,7 +4994,7 @@ class I8 {
4994
4994
  return Scalar.__wrap(ret);
4995
4995
  }
4996
4996
  /**
4997
- * Convert to plaintext.
4997
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
4998
4998
  * @returns {Plaintext}
4999
4999
  */
5000
5000
  toPlaintext() {
@@ -5002,7 +5002,7 @@ class I8 {
5002
5002
  return Plaintext.__wrap(ret);
5003
5003
  }
5004
5004
  /**
5005
- * Convert from Field.
5005
+ * Attempt to construct the integer from a field element.
5006
5006
  * @param {Field} field
5007
5007
  * @returns {I8}
5008
5008
  */
@@ -5023,7 +5023,7 @@ class I8 {
5023
5023
  }
5024
5024
  }
5025
5025
  /**
5026
- * Convert from Fields.
5026
+ * Atttempt to construct the integer from a list of field elements.
5027
5027
  * @param {Array<any>} fields
5028
5028
  * @returns {I8}
5029
5029
  */
@@ -5043,7 +5043,7 @@ class I8 {
5043
5043
  }
5044
5044
  }
5045
5045
  /**
5046
- * Clone.
5046
+ * Clone the integer in wasm memory.
5047
5047
  * @returns {I8}
5048
5048
  */
5049
5049
  clone() {
@@ -10465,7 +10465,7 @@ class U128 {
10465
10465
  wasm.__wbg_u128_free(ptr, 0);
10466
10466
  }
10467
10467
  /**
10468
- * Creates from string.
10468
+ * Construct an integer from a string representation.
10469
10469
  * @param {string} s
10470
10470
  * @returns {U128}
10471
10471
  */
@@ -10487,7 +10487,7 @@ class U128 {
10487
10487
  }
10488
10488
  }
10489
10489
  /**
10490
- * To string.
10490
+ * Get the string representation of the integer.
10491
10491
  * @returns {string}
10492
10492
  */
10493
10493
  toString() {
@@ -10507,7 +10507,7 @@ class U128 {
10507
10507
  }
10508
10508
  }
10509
10509
  /**
10510
- * From bytes (LE).
10510
+ * Get the byte array representation of the integer.
10511
10511
  * @param {Uint8Array} bytes
10512
10512
  * @returns {U128}
10513
10513
  */
@@ -10528,7 +10528,7 @@ class U128 {
10528
10528
  }
10529
10529
  }
10530
10530
  /**
10531
- * To bytes (LE).
10531
+ * Construct an integer from a byte array representation.
10532
10532
  * @returns {Uint8Array}
10533
10533
  */
10534
10534
  toBytesLe() {
@@ -10547,7 +10547,7 @@ class U128 {
10547
10547
  }
10548
10548
  }
10549
10549
  /**
10550
- * From bits.
10550
+ * Construct an integer from a boolean array representation.
10551
10551
  * @param {Array<any>} bits
10552
10552
  * @returns {U128}
10553
10553
  */
@@ -10568,7 +10568,7 @@ class U128 {
10568
10568
  }
10569
10569
  }
10570
10570
  /**
10571
- * To bits.
10571
+ * Get the boolean array representation of the integer.
10572
10572
  * @returns {Array<any>}
10573
10573
  */
10574
10574
  toBitsLe() {
@@ -10592,7 +10592,7 @@ class U128 {
10592
10592
  return U128.__wrap(ret);
10593
10593
  }
10594
10594
  /**
10595
- * Wrapped addition.
10595
+ * Wrapped addition with another integer.
10596
10596
  * @param {U128} other
10597
10597
  * @returns {U128}
10598
10598
  */
@@ -10602,7 +10602,7 @@ class U128 {
10602
10602
  return U128.__wrap(ret);
10603
10603
  }
10604
10604
  /**
10605
- * Wrapped subtraction.
10605
+ * Wrapped subtraction with another integer.
10606
10606
  * @param {U128} other
10607
10607
  * @returns {U128}
10608
10608
  */
@@ -10612,7 +10612,7 @@ class U128 {
10612
10612
  return U128.__wrap(ret);
10613
10613
  }
10614
10614
  /**
10615
- * Wrapped multiplication.
10615
+ * Wrapped multiplication with another integer.
10616
10616
  * @param {U128} other
10617
10617
  * @returns {U128}
10618
10618
  */
@@ -10632,7 +10632,7 @@ class U128 {
10632
10632
  return U128.__wrap(ret);
10633
10633
  }
10634
10634
  /**
10635
- * Power to a u8 exponent.
10635
+ * Exponentiate the integer with a u8 exponent.
10636
10636
  * @param {U8} exponent
10637
10637
  * @returns {U128}
10638
10638
  */
@@ -10642,7 +10642,7 @@ class U128 {
10642
10642
  return U128.__wrap(ret);
10643
10643
  }
10644
10644
  /**
10645
- * Power to a u16 exponent.
10645
+ * Exponentiate the integer with a u16 exponent.
10646
10646
  * @param {U16} exponent
10647
10647
  * @returns {U128}
10648
10648
  */
@@ -10652,7 +10652,7 @@ class U128 {
10652
10652
  return U128.__wrap(ret);
10653
10653
  }
10654
10654
  /**
10655
- * Power to a u32 exponent.
10655
+ * Exponentiate the integer with a u32 exponent.
10656
10656
  * @param {U32} exponent
10657
10657
  * @returns {U128}
10658
10658
  */
@@ -10662,7 +10662,7 @@ class U128 {
10662
10662
  return U128.__wrap(ret);
10663
10663
  }
10664
10664
  /**
10665
- * Negates the integer (e.g., 5 → -5).
10665
+ * Negate the integer (e.g., 5 → -5).
10666
10666
  * @returns {U128}
10667
10667
  */
10668
10668
  neg() {
@@ -10670,7 +10670,7 @@ class U128 {
10670
10670
  return U128.__wrap(ret);
10671
10671
  }
10672
10672
  /**
10673
- * Checks equality with another integer.
10673
+ * Check equality with another integer.
10674
10674
  * @param {U128} other
10675
10675
  * @returns {boolean}
10676
10676
  */
@@ -10680,7 +10680,7 @@ class U128 {
10680
10680
  return ret !== 0;
10681
10681
  }
10682
10682
  /**
10683
- * Remainder.
10683
+ * Get the remainder from integer division.
10684
10684
  * @param {U128} other
10685
10685
  * @returns {U128}
10686
10686
  */
@@ -10690,7 +10690,7 @@ class U128 {
10690
10690
  return U128.__wrap(ret);
10691
10691
  }
10692
10692
  /**
10693
- * Wrapped remainder.
10693
+ * Get the remainder from an integer division which wraps if there's an overflow.
10694
10694
  * @param {U128} other
10695
10695
  * @returns {U128}
10696
10696
  */
@@ -10700,7 +10700,7 @@ class U128 {
10700
10700
  return U128.__wrap(ret);
10701
10701
  }
10702
10702
  /**
10703
- * Convert to Scalar.
10703
+ * Convert the integer to a Scalar value.
10704
10704
  * @returns {Scalar}
10705
10705
  */
10706
10706
  toScalar() {
@@ -10708,7 +10708,7 @@ class U128 {
10708
10708
  return Scalar.__wrap(ret);
10709
10709
  }
10710
10710
  /**
10711
- * Convert to plaintext.
10711
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
10712
10712
  * @returns {Plaintext}
10713
10713
  */
10714
10714
  toPlaintext() {
@@ -10716,7 +10716,7 @@ class U128 {
10716
10716
  return Plaintext.__wrap(ret);
10717
10717
  }
10718
10718
  /**
10719
- * Convert from Field.
10719
+ * Attempt to construct the integer from a field element.
10720
10720
  * @param {Field} field
10721
10721
  * @returns {U128}
10722
10722
  */
@@ -10737,7 +10737,7 @@ class U128 {
10737
10737
  }
10738
10738
  }
10739
10739
  /**
10740
- * Convert from Fields.
10740
+ * Atttempt to construct the integer from a list of field elements.
10741
10741
  * @param {Array<any>} fields
10742
10742
  * @returns {U128}
10743
10743
  */
@@ -10757,7 +10757,7 @@ class U128 {
10757
10757
  }
10758
10758
  }
10759
10759
  /**
10760
- * Clone.
10760
+ * Clone the integer in wasm memory.
10761
10761
  * @returns {U128}
10762
10762
  */
10763
10763
  clone() {
@@ -10792,7 +10792,7 @@ class U16 {
10792
10792
  wasm.__wbg_u16_free(ptr, 0);
10793
10793
  }
10794
10794
  /**
10795
- * Creates from string.
10795
+ * Construct an integer from a string representation.
10796
10796
  * @param {string} s
10797
10797
  * @returns {U16}
10798
10798
  */
@@ -10814,7 +10814,7 @@ class U16 {
10814
10814
  }
10815
10815
  }
10816
10816
  /**
10817
- * To string.
10817
+ * Get the string representation of the integer.
10818
10818
  * @returns {string}
10819
10819
  */
10820
10820
  toString() {
@@ -10834,7 +10834,7 @@ class U16 {
10834
10834
  }
10835
10835
  }
10836
10836
  /**
10837
- * From bytes (LE).
10837
+ * Get the byte array representation of the integer.
10838
10838
  * @param {Uint8Array} bytes
10839
10839
  * @returns {U16}
10840
10840
  */
@@ -10855,7 +10855,7 @@ class U16 {
10855
10855
  }
10856
10856
  }
10857
10857
  /**
10858
- * To bytes (LE).
10858
+ * Construct an integer from a byte array representation.
10859
10859
  * @returns {Uint8Array}
10860
10860
  */
10861
10861
  toBytesLe() {
@@ -10874,7 +10874,7 @@ class U16 {
10874
10874
  }
10875
10875
  }
10876
10876
  /**
10877
- * From bits.
10877
+ * Construct an integer from a boolean array representation.
10878
10878
  * @param {Array<any>} bits
10879
10879
  * @returns {U16}
10880
10880
  */
@@ -10895,7 +10895,7 @@ class U16 {
10895
10895
  }
10896
10896
  }
10897
10897
  /**
10898
- * To bits.
10898
+ * Get the boolean array representation of the integer.
10899
10899
  * @returns {Array<any>}
10900
10900
  */
10901
10901
  toBitsLe() {
@@ -10919,7 +10919,7 @@ class U16 {
10919
10919
  return U16.__wrap(ret);
10920
10920
  }
10921
10921
  /**
10922
- * Wrapped addition.
10922
+ * Wrapped addition with another integer.
10923
10923
  * @param {U16} other
10924
10924
  * @returns {U16}
10925
10925
  */
@@ -10929,7 +10929,7 @@ class U16 {
10929
10929
  return U16.__wrap(ret);
10930
10930
  }
10931
10931
  /**
10932
- * Wrapped subtraction.
10932
+ * Wrapped subtraction with another integer.
10933
10933
  * @param {U16} other
10934
10934
  * @returns {U16}
10935
10935
  */
@@ -10939,7 +10939,7 @@ class U16 {
10939
10939
  return U16.__wrap(ret);
10940
10940
  }
10941
10941
  /**
10942
- * Wrapped multiplication.
10942
+ * Wrapped multiplication with another integer.
10943
10943
  * @param {U16} other
10944
10944
  * @returns {U16}
10945
10945
  */
@@ -10959,7 +10959,7 @@ class U16 {
10959
10959
  return U16.__wrap(ret);
10960
10960
  }
10961
10961
  /**
10962
- * Power to a u8 exponent.
10962
+ * Exponentiate the integer with a u8 exponent.
10963
10963
  * @param {U8} exponent
10964
10964
  * @returns {U16}
10965
10965
  */
@@ -10969,7 +10969,7 @@ class U16 {
10969
10969
  return U16.__wrap(ret);
10970
10970
  }
10971
10971
  /**
10972
- * Power to a u16 exponent.
10972
+ * Exponentiate the integer with a u16 exponent.
10973
10973
  * @param {U16} exponent
10974
10974
  * @returns {U16}
10975
10975
  */
@@ -10979,7 +10979,7 @@ class U16 {
10979
10979
  return U16.__wrap(ret);
10980
10980
  }
10981
10981
  /**
10982
- * Power to a u32 exponent.
10982
+ * Exponentiate the integer with a u32 exponent.
10983
10983
  * @param {U32} exponent
10984
10984
  * @returns {U16}
10985
10985
  */
@@ -10989,7 +10989,7 @@ class U16 {
10989
10989
  return U16.__wrap(ret);
10990
10990
  }
10991
10991
  /**
10992
- * Negates the integer (e.g., 5 → -5).
10992
+ * Negate the integer (e.g., 5 → -5).
10993
10993
  * @returns {U16}
10994
10994
  */
10995
10995
  neg() {
@@ -10997,7 +10997,7 @@ class U16 {
10997
10997
  return U16.__wrap(ret);
10998
10998
  }
10999
10999
  /**
11000
- * Checks equality with another integer.
11000
+ * Check equality with another integer.
11001
11001
  * @param {U16} other
11002
11002
  * @returns {boolean}
11003
11003
  */
@@ -11007,7 +11007,7 @@ class U16 {
11007
11007
  return ret !== 0;
11008
11008
  }
11009
11009
  /**
11010
- * Remainder.
11010
+ * Get the remainder from integer division.
11011
11011
  * @param {U16} other
11012
11012
  * @returns {U16}
11013
11013
  */
@@ -11017,7 +11017,7 @@ class U16 {
11017
11017
  return U16.__wrap(ret);
11018
11018
  }
11019
11019
  /**
11020
- * Wrapped remainder.
11020
+ * Get the remainder from an integer division which wraps if there's an overflow.
11021
11021
  * @param {U16} other
11022
11022
  * @returns {U16}
11023
11023
  */
@@ -11027,7 +11027,7 @@ class U16 {
11027
11027
  return U16.__wrap(ret);
11028
11028
  }
11029
11029
  /**
11030
- * Convert to Scalar.
11030
+ * Convert the integer to a Scalar value.
11031
11031
  * @returns {Scalar}
11032
11032
  */
11033
11033
  toScalar() {
@@ -11035,7 +11035,7 @@ class U16 {
11035
11035
  return Scalar.__wrap(ret);
11036
11036
  }
11037
11037
  /**
11038
- * Convert to plaintext.
11038
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
11039
11039
  * @returns {Plaintext}
11040
11040
  */
11041
11041
  toPlaintext() {
@@ -11043,7 +11043,7 @@ class U16 {
11043
11043
  return Plaintext.__wrap(ret);
11044
11044
  }
11045
11045
  /**
11046
- * Convert from Field.
11046
+ * Attempt to construct the integer from a field element.
11047
11047
  * @param {Field} field
11048
11048
  * @returns {U16}
11049
11049
  */
@@ -11064,7 +11064,7 @@ class U16 {
11064
11064
  }
11065
11065
  }
11066
11066
  /**
11067
- * Convert from Fields.
11067
+ * Atttempt to construct the integer from a list of field elements.
11068
11068
  * @param {Array<any>} fields
11069
11069
  * @returns {U16}
11070
11070
  */
@@ -11084,7 +11084,7 @@ class U16 {
11084
11084
  }
11085
11085
  }
11086
11086
  /**
11087
- * Clone.
11087
+ * Clone the integer in wasm memory.
11088
11088
  * @returns {U16}
11089
11089
  */
11090
11090
  clone() {
@@ -11119,7 +11119,7 @@ class U32 {
11119
11119
  wasm.__wbg_u32_free(ptr, 0);
11120
11120
  }
11121
11121
  /**
11122
- * Creates from string.
11122
+ * Construct an integer from a string representation.
11123
11123
  * @param {string} s
11124
11124
  * @returns {U32}
11125
11125
  */
@@ -11141,7 +11141,7 @@ class U32 {
11141
11141
  }
11142
11142
  }
11143
11143
  /**
11144
- * To string.
11144
+ * Get the string representation of the integer.
11145
11145
  * @returns {string}
11146
11146
  */
11147
11147
  toString() {
@@ -11161,7 +11161,7 @@ class U32 {
11161
11161
  }
11162
11162
  }
11163
11163
  /**
11164
- * From bytes (LE).
11164
+ * Get the byte array representation of the integer.
11165
11165
  * @param {Uint8Array} bytes
11166
11166
  * @returns {U32}
11167
11167
  */
@@ -11182,7 +11182,7 @@ class U32 {
11182
11182
  }
11183
11183
  }
11184
11184
  /**
11185
- * To bytes (LE).
11185
+ * Construct an integer from a byte array representation.
11186
11186
  * @returns {Uint8Array}
11187
11187
  */
11188
11188
  toBytesLe() {
@@ -11201,7 +11201,7 @@ class U32 {
11201
11201
  }
11202
11202
  }
11203
11203
  /**
11204
- * From bits.
11204
+ * Construct an integer from a boolean array representation.
11205
11205
  * @param {Array<any>} bits
11206
11206
  * @returns {U32}
11207
11207
  */
@@ -11222,7 +11222,7 @@ class U32 {
11222
11222
  }
11223
11223
  }
11224
11224
  /**
11225
- * To bits.
11225
+ * Get the boolean array representation of the integer.
11226
11226
  * @returns {Array<any>}
11227
11227
  */
11228
11228
  toBitsLe() {
@@ -11246,7 +11246,7 @@ class U32 {
11246
11246
  return U32.__wrap(ret);
11247
11247
  }
11248
11248
  /**
11249
- * Wrapped addition.
11249
+ * Wrapped addition with another integer.
11250
11250
  * @param {U32} other
11251
11251
  * @returns {U32}
11252
11252
  */
@@ -11256,7 +11256,7 @@ class U32 {
11256
11256
  return U32.__wrap(ret);
11257
11257
  }
11258
11258
  /**
11259
- * Wrapped subtraction.
11259
+ * Wrapped subtraction with another integer.
11260
11260
  * @param {U32} other
11261
11261
  * @returns {U32}
11262
11262
  */
@@ -11266,7 +11266,7 @@ class U32 {
11266
11266
  return U32.__wrap(ret);
11267
11267
  }
11268
11268
  /**
11269
- * Wrapped multiplication.
11269
+ * Wrapped multiplication with another integer.
11270
11270
  * @param {U32} other
11271
11271
  * @returns {U32}
11272
11272
  */
@@ -11286,7 +11286,7 @@ class U32 {
11286
11286
  return U32.__wrap(ret);
11287
11287
  }
11288
11288
  /**
11289
- * Power to a u8 exponent.
11289
+ * Exponentiate the integer with a u8 exponent.
11290
11290
  * @param {U8} exponent
11291
11291
  * @returns {U32}
11292
11292
  */
@@ -11296,7 +11296,7 @@ class U32 {
11296
11296
  return U32.__wrap(ret);
11297
11297
  }
11298
11298
  /**
11299
- * Power to a u16 exponent.
11299
+ * Exponentiate the integer with a u16 exponent.
11300
11300
  * @param {U16} exponent
11301
11301
  * @returns {U32}
11302
11302
  */
@@ -11306,7 +11306,7 @@ class U32 {
11306
11306
  return U32.__wrap(ret);
11307
11307
  }
11308
11308
  /**
11309
- * Power to a u32 exponent.
11309
+ * Exponentiate the integer with a u32 exponent.
11310
11310
  * @param {U32} exponent
11311
11311
  * @returns {U32}
11312
11312
  */
@@ -11316,7 +11316,7 @@ class U32 {
11316
11316
  return U32.__wrap(ret);
11317
11317
  }
11318
11318
  /**
11319
- * Negates the integer (e.g., 5 → -5).
11319
+ * Negate the integer (e.g., 5 → -5).
11320
11320
  * @returns {U32}
11321
11321
  */
11322
11322
  neg() {
@@ -11324,7 +11324,7 @@ class U32 {
11324
11324
  return U32.__wrap(ret);
11325
11325
  }
11326
11326
  /**
11327
- * Checks equality with another integer.
11327
+ * Check equality with another integer.
11328
11328
  * @param {U32} other
11329
11329
  * @returns {boolean}
11330
11330
  */
@@ -11334,7 +11334,7 @@ class U32 {
11334
11334
  return ret !== 0;
11335
11335
  }
11336
11336
  /**
11337
- * Remainder.
11337
+ * Get the remainder from integer division.
11338
11338
  * @param {U32} other
11339
11339
  * @returns {U32}
11340
11340
  */
@@ -11344,7 +11344,7 @@ class U32 {
11344
11344
  return U32.__wrap(ret);
11345
11345
  }
11346
11346
  /**
11347
- * Wrapped remainder.
11347
+ * Get the remainder from an integer division which wraps if there's an overflow.
11348
11348
  * @param {U32} other
11349
11349
  * @returns {U32}
11350
11350
  */
@@ -11354,7 +11354,7 @@ class U32 {
11354
11354
  return U32.__wrap(ret);
11355
11355
  }
11356
11356
  /**
11357
- * Convert to Scalar.
11357
+ * Convert the integer to a Scalar value.
11358
11358
  * @returns {Scalar}
11359
11359
  */
11360
11360
  toScalar() {
@@ -11362,7 +11362,7 @@ class U32 {
11362
11362
  return Scalar.__wrap(ret);
11363
11363
  }
11364
11364
  /**
11365
- * Convert to plaintext.
11365
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
11366
11366
  * @returns {Plaintext}
11367
11367
  */
11368
11368
  toPlaintext() {
@@ -11370,7 +11370,7 @@ class U32 {
11370
11370
  return Plaintext.__wrap(ret);
11371
11371
  }
11372
11372
  /**
11373
- * Convert from Field.
11373
+ * Attempt to construct the integer from a field element.
11374
11374
  * @param {Field} field
11375
11375
  * @returns {U32}
11376
11376
  */
@@ -11391,7 +11391,7 @@ class U32 {
11391
11391
  }
11392
11392
  }
11393
11393
  /**
11394
- * Convert from Fields.
11394
+ * Atttempt to construct the integer from a list of field elements.
11395
11395
  * @param {Array<any>} fields
11396
11396
  * @returns {U32}
11397
11397
  */
@@ -11411,7 +11411,7 @@ class U32 {
11411
11411
  }
11412
11412
  }
11413
11413
  /**
11414
- * Clone.
11414
+ * Clone the integer in wasm memory.
11415
11415
  * @returns {U32}
11416
11416
  */
11417
11417
  clone() {
@@ -11446,7 +11446,7 @@ class U64 {
11446
11446
  wasm.__wbg_u64_free(ptr, 0);
11447
11447
  }
11448
11448
  /**
11449
- * Creates from string.
11449
+ * Construct an integer from a string representation.
11450
11450
  * @param {string} s
11451
11451
  * @returns {U64}
11452
11452
  */
@@ -11468,7 +11468,7 @@ class U64 {
11468
11468
  }
11469
11469
  }
11470
11470
  /**
11471
- * To string.
11471
+ * Get the string representation of the integer.
11472
11472
  * @returns {string}
11473
11473
  */
11474
11474
  toString() {
@@ -11488,7 +11488,7 @@ class U64 {
11488
11488
  }
11489
11489
  }
11490
11490
  /**
11491
- * From bytes (LE).
11491
+ * Get the byte array representation of the integer.
11492
11492
  * @param {Uint8Array} bytes
11493
11493
  * @returns {U64}
11494
11494
  */
@@ -11509,7 +11509,7 @@ class U64 {
11509
11509
  }
11510
11510
  }
11511
11511
  /**
11512
- * To bytes (LE).
11512
+ * Construct an integer from a byte array representation.
11513
11513
  * @returns {Uint8Array}
11514
11514
  */
11515
11515
  toBytesLe() {
@@ -11528,7 +11528,7 @@ class U64 {
11528
11528
  }
11529
11529
  }
11530
11530
  /**
11531
- * From bits.
11531
+ * Construct an integer from a boolean array representation.
11532
11532
  * @param {Array<any>} bits
11533
11533
  * @returns {U64}
11534
11534
  */
@@ -11549,7 +11549,7 @@ class U64 {
11549
11549
  }
11550
11550
  }
11551
11551
  /**
11552
- * To bits.
11552
+ * Get the boolean array representation of the integer.
11553
11553
  * @returns {Array<any>}
11554
11554
  */
11555
11555
  toBitsLe() {
@@ -11573,7 +11573,7 @@ class U64 {
11573
11573
  return U64.__wrap(ret);
11574
11574
  }
11575
11575
  /**
11576
- * Wrapped addition.
11576
+ * Wrapped addition with another integer.
11577
11577
  * @param {U64} other
11578
11578
  * @returns {U64}
11579
11579
  */
@@ -11583,7 +11583,7 @@ class U64 {
11583
11583
  return U64.__wrap(ret);
11584
11584
  }
11585
11585
  /**
11586
- * Wrapped subtraction.
11586
+ * Wrapped subtraction with another integer.
11587
11587
  * @param {U64} other
11588
11588
  * @returns {U64}
11589
11589
  */
@@ -11593,7 +11593,7 @@ class U64 {
11593
11593
  return U64.__wrap(ret);
11594
11594
  }
11595
11595
  /**
11596
- * Wrapped multiplication.
11596
+ * Wrapped multiplication with another integer.
11597
11597
  * @param {U64} other
11598
11598
  * @returns {U64}
11599
11599
  */
@@ -11613,7 +11613,7 @@ class U64 {
11613
11613
  return U64.__wrap(ret);
11614
11614
  }
11615
11615
  /**
11616
- * Power to a u8 exponent.
11616
+ * Exponentiate the integer with a u8 exponent.
11617
11617
  * @param {U8} exponent
11618
11618
  * @returns {U64}
11619
11619
  */
@@ -11623,7 +11623,7 @@ class U64 {
11623
11623
  return U64.__wrap(ret);
11624
11624
  }
11625
11625
  /**
11626
- * Power to a u16 exponent.
11626
+ * Exponentiate the integer with a u16 exponent.
11627
11627
  * @param {U16} exponent
11628
11628
  * @returns {U64}
11629
11629
  */
@@ -11633,7 +11633,7 @@ class U64 {
11633
11633
  return U64.__wrap(ret);
11634
11634
  }
11635
11635
  /**
11636
- * Power to a u32 exponent.
11636
+ * Exponentiate the integer with a u32 exponent.
11637
11637
  * @param {U32} exponent
11638
11638
  * @returns {U64}
11639
11639
  */
@@ -11643,7 +11643,7 @@ class U64 {
11643
11643
  return U64.__wrap(ret);
11644
11644
  }
11645
11645
  /**
11646
- * Negates the integer (e.g., 5 → -5).
11646
+ * Negate the integer (e.g., 5 → -5).
11647
11647
  * @returns {U64}
11648
11648
  */
11649
11649
  neg() {
@@ -11651,7 +11651,7 @@ class U64 {
11651
11651
  return U64.__wrap(ret);
11652
11652
  }
11653
11653
  /**
11654
- * Checks equality with another integer.
11654
+ * Check equality with another integer.
11655
11655
  * @param {U64} other
11656
11656
  * @returns {boolean}
11657
11657
  */
@@ -11661,7 +11661,7 @@ class U64 {
11661
11661
  return ret !== 0;
11662
11662
  }
11663
11663
  /**
11664
- * Remainder.
11664
+ * Get the remainder from integer division.
11665
11665
  * @param {U64} other
11666
11666
  * @returns {U64}
11667
11667
  */
@@ -11671,7 +11671,7 @@ class U64 {
11671
11671
  return U64.__wrap(ret);
11672
11672
  }
11673
11673
  /**
11674
- * Wrapped remainder.
11674
+ * Get the remainder from an integer division which wraps if there's an overflow.
11675
11675
  * @param {U64} other
11676
11676
  * @returns {U64}
11677
11677
  */
@@ -11681,7 +11681,7 @@ class U64 {
11681
11681
  return U64.__wrap(ret);
11682
11682
  }
11683
11683
  /**
11684
- * Convert to Scalar.
11684
+ * Convert the integer to a Scalar value.
11685
11685
  * @returns {Scalar}
11686
11686
  */
11687
11687
  toScalar() {
@@ -11689,7 +11689,7 @@ class U64 {
11689
11689
  return Scalar.__wrap(ret);
11690
11690
  }
11691
11691
  /**
11692
- * Convert to plaintext.
11692
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
11693
11693
  * @returns {Plaintext}
11694
11694
  */
11695
11695
  toPlaintext() {
@@ -11697,7 +11697,7 @@ class U64 {
11697
11697
  return Plaintext.__wrap(ret);
11698
11698
  }
11699
11699
  /**
11700
- * Convert from Field.
11700
+ * Attempt to construct the integer from a field element.
11701
11701
  * @param {Field} field
11702
11702
  * @returns {U64}
11703
11703
  */
@@ -11718,7 +11718,7 @@ class U64 {
11718
11718
  }
11719
11719
  }
11720
11720
  /**
11721
- * Convert from Fields.
11721
+ * Atttempt to construct the integer from a list of field elements.
11722
11722
  * @param {Array<any>} fields
11723
11723
  * @returns {U64}
11724
11724
  */
@@ -11738,7 +11738,7 @@ class U64 {
11738
11738
  }
11739
11739
  }
11740
11740
  /**
11741
- * Clone.
11741
+ * Clone the integer in wasm memory.
11742
11742
  * @returns {U64}
11743
11743
  */
11744
11744
  clone() {
@@ -11773,7 +11773,7 @@ class U8 {
11773
11773
  wasm.__wbg_u8_free(ptr, 0);
11774
11774
  }
11775
11775
  /**
11776
- * Creates from string.
11776
+ * Construct an integer from a string representation.
11777
11777
  * @param {string} s
11778
11778
  * @returns {U8}
11779
11779
  */
@@ -11795,7 +11795,7 @@ class U8 {
11795
11795
  }
11796
11796
  }
11797
11797
  /**
11798
- * To string.
11798
+ * Get the string representation of the integer.
11799
11799
  * @returns {string}
11800
11800
  */
11801
11801
  toString() {
@@ -11815,7 +11815,7 @@ class U8 {
11815
11815
  }
11816
11816
  }
11817
11817
  /**
11818
- * From bytes (LE).
11818
+ * Get the byte array representation of the integer.
11819
11819
  * @param {Uint8Array} bytes
11820
11820
  * @returns {U8}
11821
11821
  */
@@ -11836,7 +11836,7 @@ class U8 {
11836
11836
  }
11837
11837
  }
11838
11838
  /**
11839
- * To bytes (LE).
11839
+ * Construct an integer from a byte array representation.
11840
11840
  * @returns {Uint8Array}
11841
11841
  */
11842
11842
  toBytesLe() {
@@ -11855,7 +11855,7 @@ class U8 {
11855
11855
  }
11856
11856
  }
11857
11857
  /**
11858
- * From bits.
11858
+ * Construct an integer from a boolean array representation.
11859
11859
  * @param {Array<any>} bits
11860
11860
  * @returns {U8}
11861
11861
  */
@@ -11876,7 +11876,7 @@ class U8 {
11876
11876
  }
11877
11877
  }
11878
11878
  /**
11879
- * To bits.
11879
+ * Get the boolean array representation of the integer.
11880
11880
  * @returns {Array<any>}
11881
11881
  */
11882
11882
  toBitsLe() {
@@ -11900,7 +11900,7 @@ class U8 {
11900
11900
  return U8.__wrap(ret);
11901
11901
  }
11902
11902
  /**
11903
- * Wrapped addition.
11903
+ * Wrapped addition with another integer.
11904
11904
  * @param {U8} other
11905
11905
  * @returns {U8}
11906
11906
  */
@@ -11910,7 +11910,7 @@ class U8 {
11910
11910
  return U8.__wrap(ret);
11911
11911
  }
11912
11912
  /**
11913
- * Wrapped subtraction.
11913
+ * Wrapped subtraction with another integer.
11914
11914
  * @param {U8} other
11915
11915
  * @returns {U8}
11916
11916
  */
@@ -11920,7 +11920,7 @@ class U8 {
11920
11920
  return U8.__wrap(ret);
11921
11921
  }
11922
11922
  /**
11923
- * Wrapped multiplication.
11923
+ * Wrapped multiplication with another integer.
11924
11924
  * @param {U8} other
11925
11925
  * @returns {U8}
11926
11926
  */
@@ -11940,7 +11940,7 @@ class U8 {
11940
11940
  return U8.__wrap(ret);
11941
11941
  }
11942
11942
  /**
11943
- * Power to a u8 exponent.
11943
+ * Exponentiate the integer with a u8 exponent.
11944
11944
  * @param {U8} exponent
11945
11945
  * @returns {U8}
11946
11946
  */
@@ -11950,7 +11950,7 @@ class U8 {
11950
11950
  return U8.__wrap(ret);
11951
11951
  }
11952
11952
  /**
11953
- * Power to a u16 exponent.
11953
+ * Exponentiate the integer with a u16 exponent.
11954
11954
  * @param {U16} exponent
11955
11955
  * @returns {U8}
11956
11956
  */
@@ -11960,7 +11960,7 @@ class U8 {
11960
11960
  return U8.__wrap(ret);
11961
11961
  }
11962
11962
  /**
11963
- * Power to a u32 exponent.
11963
+ * Exponentiate the integer with a u32 exponent.
11964
11964
  * @param {U32} exponent
11965
11965
  * @returns {U8}
11966
11966
  */
@@ -11970,7 +11970,7 @@ class U8 {
11970
11970
  return U8.__wrap(ret);
11971
11971
  }
11972
11972
  /**
11973
- * Negates the integer (e.g., 5 → -5).
11973
+ * Negate the integer (e.g., 5 → -5).
11974
11974
  * @returns {U8}
11975
11975
  */
11976
11976
  neg() {
@@ -11978,7 +11978,7 @@ class U8 {
11978
11978
  return U8.__wrap(ret);
11979
11979
  }
11980
11980
  /**
11981
- * Checks equality with another integer.
11981
+ * Check equality with another integer.
11982
11982
  * @param {U8} other
11983
11983
  * @returns {boolean}
11984
11984
  */
@@ -11988,7 +11988,7 @@ class U8 {
11988
11988
  return ret !== 0;
11989
11989
  }
11990
11990
  /**
11991
- * Remainder.
11991
+ * Get the remainder from integer division.
11992
11992
  * @param {U8} other
11993
11993
  * @returns {U8}
11994
11994
  */
@@ -11998,7 +11998,7 @@ class U8 {
11998
11998
  return U8.__wrap(ret);
11999
11999
  }
12000
12000
  /**
12001
- * Wrapped remainder.
12001
+ * Get the remainder from an integer division which wraps if there's an overflow.
12002
12002
  * @param {U8} other
12003
12003
  * @returns {U8}
12004
12004
  */
@@ -12008,7 +12008,7 @@ class U8 {
12008
12008
  return U8.__wrap(ret);
12009
12009
  }
12010
12010
  /**
12011
- * Convert to Scalar.
12011
+ * Convert the integer to a Scalar value.
12012
12012
  * @returns {Scalar}
12013
12013
  */
12014
12014
  toScalar() {
@@ -12016,7 +12016,7 @@ class U8 {
12016
12016
  return Scalar.__wrap(ret);
12017
12017
  }
12018
12018
  /**
12019
- * Convert to plaintext.
12019
+ * Convert the integer to the Plaintext type. This must be done before hashing an integer to ensure it matches hashes with a leo/aleo program.
12020
12020
  * @returns {Plaintext}
12021
12021
  */
12022
12022
  toPlaintext() {
@@ -12024,7 +12024,7 @@ class U8 {
12024
12024
  return Plaintext.__wrap(ret);
12025
12025
  }
12026
12026
  /**
12027
- * Convert from Field.
12027
+ * Attempt to construct the integer from a field element.
12028
12028
  * @param {Field} field
12029
12029
  * @returns {U8}
12030
12030
  */
@@ -12045,7 +12045,7 @@ class U8 {
12045
12045
  }
12046
12046
  }
12047
12047
  /**
12048
- * Convert from Fields.
12048
+ * Atttempt to construct the integer from a list of field elements.
12049
12049
  * @param {Array<any>} fields
12050
12050
  * @returns {U8}
12051
12051
  */
@@ -12065,7 +12065,7 @@ class U8 {
12065
12065
  }
12066
12066
  }
12067
12067
  /**
12068
- * Clone.
12068
+ * Clone the integer in wasm memory.
12069
12069
  * @returns {U8}
12070
12070
  */
12071
12071
  clone() {
@@ -12529,6 +12529,16 @@ class VerifyingKey {
12529
12529
  wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
12530
12530
  }
12531
12531
  }
12532
+ /**
12533
+ * Get the number of constraints associated with the circuit
12534
+ *
12535
+ * @returns {number} The number of constraints
12536
+ * @returns {number}
12537
+ */
12538
+ numConstraints() {
12539
+ const ret = wasm.verifyingkey_numConstraints(this.__wbg_ptr);
12540
+ return ret >>> 0;
12541
+ }
12532
12542
  }
12533
12543
 
12534
12544
  const ViewKeyFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -12857,7 +12867,7 @@ function __wbg_get_imports() {
12857
12867
  const ret = getObject(arg0).length;
12858
12868
  return ret;
12859
12869
  };
12860
- imports.wbg.__wbg_log_d77c7cb22d553166 = function(arg0, arg1) {
12870
+ imports.wbg.__wbg_log_c1cb0361f1f1b380 = function(arg0, arg1) {
12861
12871
  console.log(getStringFromWasm0(arg0, arg1));
12862
12872
  };
12863
12873
  imports.wbg.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
@@ -12875,7 +12885,7 @@ function __wbg_get_imports() {
12875
12885
  const a = state0.a;
12876
12886
  state0.a = 0;
12877
12887
  try {
12878
- return __wbg_adapter_853(a, state0.b, arg0, arg1);
12888
+ return __wbg_adapter_854(a, state0.b, arg0, arg1);
12879
12889
  } finally {
12880
12890
  state0.a = a;
12881
12891
  }
@@ -13066,7 +13076,7 @@ function __wbg_get_imports() {
13066
13076
  const ret = Signature.__wrap(arg0);
13067
13077
  return addHeapObject(ret);
13068
13078
  };
13069
- imports.wbg.__wbg_spawnWorker_d71cf6dd66485b00 = function(arg0, arg1, arg2, arg3) {
13079
+ imports.wbg.__wbg_spawnWorker_5336e77275412fce = function(arg0, arg1, arg2, arg3) {
13070
13080
  const ret = spawnWorker(getObject(arg0), getObject(arg1), getObject(arg2), arg3 >>> 0);
13071
13081
  return addHeapObject(ret);
13072
13082
  };
@@ -13186,15 +13196,15 @@ function __wbg_get_imports() {
13186
13196
  const ret = false;
13187
13197
  return ret;
13188
13198
  };
13189
- imports.wbg.__wbindgen_closure_wrapper6646 = function(arg0, arg1, arg2) {
13199
+ imports.wbg.__wbindgen_closure_wrapper6649 = function(arg0, arg1, arg2) {
13190
13200
  const ret = makeMutClosure(arg0, arg1, 481, __wbg_adapter_40);
13191
13201
  return addHeapObject(ret);
13192
13202
  };
13193
- imports.wbg.__wbindgen_closure_wrapper7240 = function(arg0, arg1, arg2) {
13203
+ imports.wbg.__wbindgen_closure_wrapper7241 = function(arg0, arg1, arg2) {
13194
13204
  const ret = makeMutClosure(arg0, arg1, 481, __wbg_adapter_43);
13195
13205
  return addHeapObject(ret);
13196
13206
  };
13197
- imports.wbg.__wbindgen_closure_wrapper7244 = function(arg0, arg1, arg2) {
13207
+ imports.wbg.__wbindgen_closure_wrapper7245 = function(arg0, arg1, arg2) {
13198
13208
  const ret = makeMutClosure(arg0, arg1, 481, __wbg_adapter_43);
13199
13209
  return addHeapObject(ret);
13200
13210
  };