tfhe 0.4.2 → 0.4.3

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.
Files changed (4) hide show
  1. package/package.json +1 -1
  2. package/tfhe.d.ts +15 -15
  3. package/tfhe.js +482 -193
  4. package/tfhe_bg.wasm +0 -0
package/tfhe.js CHANGED
@@ -183,6 +183,7 @@ function passStringToWasm0(arg, malloc, realloc) {
183
183
  const ret = encodeString(arg, view);
184
184
 
185
185
  offset += ret.written;
186
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
186
187
  }
187
188
 
188
189
  WASM_VECTOR_LEN = offset;
@@ -291,16 +292,20 @@ function handleError(f, args) {
291
292
  }
292
293
  /**
293
294
  */
294
- export const BooleanParameterSet = Object.freeze({ Default:0,"0":"Default",TfheLib:1,"1":"TfheLib",DefaultKsPbs:2,"2":"DefaultKsPbs",TfheLibKsPbs:3,"3":"TfheLibKsPbs", });
295
+ export const ShortintEncryptionKeyChoice = Object.freeze({ Big:0,"0":"Big",Small:1,"1":"Small", });
295
296
  /**
296
297
  */
297
298
  export const BooleanEncryptionKeyChoice = Object.freeze({ Big:0,"0":"Big",Small:1,"1":"Small", });
298
299
  /**
299
300
  */
300
- export const ShortintEncryptionKeyChoice = Object.freeze({ Big:0,"0":"Big",Small:1,"1":"Small", });
301
+ export const BooleanParameterSet = Object.freeze({ Default:0,"0":"Default",TfheLib:1,"1":"TfheLib",DefaultKsPbs:2,"2":"DefaultKsPbs",TfheLibKsPbs:3,"3":"TfheLibKsPbs", });
301
302
  /**
302
303
  */
303
304
  export const ShortintParametersName = Object.freeze({ PARAM_MESSAGE_1_CARRY_0_KS_PBS:0,"0":"PARAM_MESSAGE_1_CARRY_0_KS_PBS",PARAM_MESSAGE_1_CARRY_1_KS_PBS:1,"1":"PARAM_MESSAGE_1_CARRY_1_KS_PBS",PARAM_MESSAGE_2_CARRY_0_KS_PBS:2,"2":"PARAM_MESSAGE_2_CARRY_0_KS_PBS",PARAM_MESSAGE_1_CARRY_2_KS_PBS:3,"3":"PARAM_MESSAGE_1_CARRY_2_KS_PBS",PARAM_MESSAGE_2_CARRY_1_KS_PBS:4,"4":"PARAM_MESSAGE_2_CARRY_1_KS_PBS",PARAM_MESSAGE_3_CARRY_0_KS_PBS:5,"5":"PARAM_MESSAGE_3_CARRY_0_KS_PBS",PARAM_MESSAGE_1_CARRY_3_KS_PBS:6,"6":"PARAM_MESSAGE_1_CARRY_3_KS_PBS",PARAM_MESSAGE_2_CARRY_2_KS_PBS:7,"7":"PARAM_MESSAGE_2_CARRY_2_KS_PBS",PARAM_MESSAGE_3_CARRY_1_KS_PBS:8,"8":"PARAM_MESSAGE_3_CARRY_1_KS_PBS",PARAM_MESSAGE_4_CARRY_0_KS_PBS:9,"9":"PARAM_MESSAGE_4_CARRY_0_KS_PBS",PARAM_MESSAGE_1_CARRY_4_KS_PBS:10,"10":"PARAM_MESSAGE_1_CARRY_4_KS_PBS",PARAM_MESSAGE_2_CARRY_3_KS_PBS:11,"11":"PARAM_MESSAGE_2_CARRY_3_KS_PBS",PARAM_MESSAGE_3_CARRY_2_KS_PBS:12,"12":"PARAM_MESSAGE_3_CARRY_2_KS_PBS",PARAM_MESSAGE_4_CARRY_1_KS_PBS:13,"13":"PARAM_MESSAGE_4_CARRY_1_KS_PBS",PARAM_MESSAGE_5_CARRY_0_KS_PBS:14,"14":"PARAM_MESSAGE_5_CARRY_0_KS_PBS",PARAM_MESSAGE_1_CARRY_5_KS_PBS:15,"15":"PARAM_MESSAGE_1_CARRY_5_KS_PBS",PARAM_MESSAGE_2_CARRY_4_KS_PBS:16,"16":"PARAM_MESSAGE_2_CARRY_4_KS_PBS",PARAM_MESSAGE_3_CARRY_3_KS_PBS:17,"17":"PARAM_MESSAGE_3_CARRY_3_KS_PBS",PARAM_MESSAGE_4_CARRY_2_KS_PBS:18,"18":"PARAM_MESSAGE_4_CARRY_2_KS_PBS",PARAM_MESSAGE_5_CARRY_1_KS_PBS:19,"19":"PARAM_MESSAGE_5_CARRY_1_KS_PBS",PARAM_MESSAGE_6_CARRY_0_KS_PBS:20,"20":"PARAM_MESSAGE_6_CARRY_0_KS_PBS",PARAM_MESSAGE_1_CARRY_6_KS_PBS:21,"21":"PARAM_MESSAGE_1_CARRY_6_KS_PBS",PARAM_MESSAGE_2_CARRY_5_KS_PBS:22,"22":"PARAM_MESSAGE_2_CARRY_5_KS_PBS",PARAM_MESSAGE_3_CARRY_4_KS_PBS:23,"23":"PARAM_MESSAGE_3_CARRY_4_KS_PBS",PARAM_MESSAGE_4_CARRY_3_KS_PBS:24,"24":"PARAM_MESSAGE_4_CARRY_3_KS_PBS",PARAM_MESSAGE_5_CARRY_2_KS_PBS:25,"25":"PARAM_MESSAGE_5_CARRY_2_KS_PBS",PARAM_MESSAGE_6_CARRY_1_KS_PBS:26,"26":"PARAM_MESSAGE_6_CARRY_1_KS_PBS",PARAM_MESSAGE_7_CARRY_0_KS_PBS:27,"27":"PARAM_MESSAGE_7_CARRY_0_KS_PBS",PARAM_MESSAGE_1_CARRY_7_KS_PBS:28,"28":"PARAM_MESSAGE_1_CARRY_7_KS_PBS",PARAM_MESSAGE_2_CARRY_6_KS_PBS:29,"29":"PARAM_MESSAGE_2_CARRY_6_KS_PBS",PARAM_MESSAGE_3_CARRY_5_KS_PBS:30,"30":"PARAM_MESSAGE_3_CARRY_5_KS_PBS",PARAM_MESSAGE_4_CARRY_4_KS_PBS:31,"31":"PARAM_MESSAGE_4_CARRY_4_KS_PBS",PARAM_MESSAGE_5_CARRY_3_KS_PBS:32,"32":"PARAM_MESSAGE_5_CARRY_3_KS_PBS",PARAM_MESSAGE_6_CARRY_2_KS_PBS:33,"33":"PARAM_MESSAGE_6_CARRY_2_KS_PBS",PARAM_MESSAGE_7_CARRY_1_KS_PBS:34,"34":"PARAM_MESSAGE_7_CARRY_1_KS_PBS",PARAM_MESSAGE_8_CARRY_0_KS_PBS:35,"35":"PARAM_MESSAGE_8_CARRY_0_KS_PBS",PARAM_MESSAGE_1_CARRY_1_PBS_KS:36,"36":"PARAM_MESSAGE_1_CARRY_1_PBS_KS",PARAM_MESSAGE_2_CARRY_2_PBS_KS:37,"37":"PARAM_MESSAGE_2_CARRY_2_PBS_KS",PARAM_MESSAGE_3_CARRY_3_PBS_KS:38,"38":"PARAM_MESSAGE_3_CARRY_3_PBS_KS",PARAM_MESSAGE_4_CARRY_4_PBS_KS:39,"39":"PARAM_MESSAGE_4_CARRY_4_PBS_KS",PARAM_MESSAGE_1_CARRY_2_COMPACT_PK_KS_PBS:40,"40":"PARAM_MESSAGE_1_CARRY_2_COMPACT_PK_KS_PBS",PARAM_MESSAGE_1_CARRY_3_COMPACT_PK_KS_PBS:41,"41":"PARAM_MESSAGE_1_CARRY_3_COMPACT_PK_KS_PBS",PARAM_MESSAGE_1_CARRY_4_COMPACT_PK_KS_PBS:42,"42":"PARAM_MESSAGE_1_CARRY_4_COMPACT_PK_KS_PBS",PARAM_MESSAGE_1_CARRY_5_COMPACT_PK_KS_PBS:43,"43":"PARAM_MESSAGE_1_CARRY_5_COMPACT_PK_KS_PBS",PARAM_MESSAGE_1_CARRY_6_COMPACT_PK_KS_PBS:44,"44":"PARAM_MESSAGE_1_CARRY_6_COMPACT_PK_KS_PBS",PARAM_MESSAGE_1_CARRY_7_COMPACT_PK_KS_PBS:45,"45":"PARAM_MESSAGE_1_CARRY_7_COMPACT_PK_KS_PBS",PARAM_MESSAGE_2_CARRY_1_COMPACT_PK_KS_PBS:46,"46":"PARAM_MESSAGE_2_CARRY_1_COMPACT_PK_KS_PBS",PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS:47,"47":"PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS",PARAM_MESSAGE_2_CARRY_3_COMPACT_PK_KS_PBS:48,"48":"PARAM_MESSAGE_2_CARRY_3_COMPACT_PK_KS_PBS",PARAM_MESSAGE_2_CARRY_4_COMPACT_PK_KS_PBS:49,"49":"PARAM_MESSAGE_2_CARRY_4_COMPACT_PK_KS_PBS",PARAM_MESSAGE_2_CARRY_5_COMPACT_PK_KS_PBS:50,"50":"PARAM_MESSAGE_2_CARRY_5_COMPACT_PK_KS_PBS",PARAM_MESSAGE_2_CARRY_6_COMPACT_PK_KS_PBS:51,"51":"PARAM_MESSAGE_2_CARRY_6_COMPACT_PK_KS_PBS",PARAM_MESSAGE_3_CARRY_1_COMPACT_PK_KS_PBS:52,"52":"PARAM_MESSAGE_3_CARRY_1_COMPACT_PK_KS_PBS",PARAM_MESSAGE_3_CARRY_2_COMPACT_PK_KS_PBS:53,"53":"PARAM_MESSAGE_3_CARRY_2_COMPACT_PK_KS_PBS",PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_KS_PBS:54,"54":"PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_KS_PBS",PARAM_MESSAGE_3_CARRY_4_COMPACT_PK_KS_PBS:55,"55":"PARAM_MESSAGE_3_CARRY_4_COMPACT_PK_KS_PBS",PARAM_MESSAGE_3_CARRY_5_COMPACT_PK_KS_PBS:56,"56":"PARAM_MESSAGE_3_CARRY_5_COMPACT_PK_KS_PBS",PARAM_MESSAGE_4_CARRY_1_COMPACT_PK_KS_PBS:57,"57":"PARAM_MESSAGE_4_CARRY_1_COMPACT_PK_KS_PBS",PARAM_MESSAGE_4_CARRY_2_COMPACT_PK_KS_PBS:58,"58":"PARAM_MESSAGE_4_CARRY_2_COMPACT_PK_KS_PBS",PARAM_MESSAGE_4_CARRY_3_COMPACT_PK_KS_PBS:59,"59":"PARAM_MESSAGE_4_CARRY_3_COMPACT_PK_KS_PBS",PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_KS_PBS:60,"60":"PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_KS_PBS",PARAM_MESSAGE_5_CARRY_1_COMPACT_PK_KS_PBS:61,"61":"PARAM_MESSAGE_5_CARRY_1_COMPACT_PK_KS_PBS",PARAM_MESSAGE_5_CARRY_2_COMPACT_PK_KS_PBS:62,"62":"PARAM_MESSAGE_5_CARRY_2_COMPACT_PK_KS_PBS",PARAM_MESSAGE_5_CARRY_3_COMPACT_PK_KS_PBS:63,"63":"PARAM_MESSAGE_5_CARRY_3_COMPACT_PK_KS_PBS",PARAM_MESSAGE_6_CARRY_1_COMPACT_PK_KS_PBS:64,"64":"PARAM_MESSAGE_6_CARRY_1_COMPACT_PK_KS_PBS",PARAM_MESSAGE_6_CARRY_2_COMPACT_PK_KS_PBS:65,"65":"PARAM_MESSAGE_6_CARRY_2_COMPACT_PK_KS_PBS",PARAM_MESSAGE_7_CARRY_1_COMPACT_PK_KS_PBS:66,"66":"PARAM_MESSAGE_7_CARRY_1_COMPACT_PK_KS_PBS",PARAM_MESSAGE_1_CARRY_1_COMPACT_PK_PBS_KS:67,"67":"PARAM_MESSAGE_1_CARRY_1_COMPACT_PK_PBS_KS",PARAM_MESSAGE_1_CARRY_2_COMPACT_PK_PBS_KS:68,"68":"PARAM_MESSAGE_1_CARRY_2_COMPACT_PK_PBS_KS",PARAM_MESSAGE_1_CARRY_3_COMPACT_PK_PBS_KS:69,"69":"PARAM_MESSAGE_1_CARRY_3_COMPACT_PK_PBS_KS",PARAM_MESSAGE_1_CARRY_4_COMPACT_PK_PBS_KS:70,"70":"PARAM_MESSAGE_1_CARRY_4_COMPACT_PK_PBS_KS",PARAM_MESSAGE_1_CARRY_5_COMPACT_PK_PBS_KS:71,"71":"PARAM_MESSAGE_1_CARRY_5_COMPACT_PK_PBS_KS",PARAM_MESSAGE_1_CARRY_6_COMPACT_PK_PBS_KS:72,"72":"PARAM_MESSAGE_1_CARRY_6_COMPACT_PK_PBS_KS",PARAM_MESSAGE_1_CARRY_7_COMPACT_PK_PBS_KS:73,"73":"PARAM_MESSAGE_1_CARRY_7_COMPACT_PK_PBS_KS",PARAM_MESSAGE_2_CARRY_1_COMPACT_PK_PBS_KS:74,"74":"PARAM_MESSAGE_2_CARRY_1_COMPACT_PK_PBS_KS",PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS:75,"75":"PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS",PARAM_MESSAGE_2_CARRY_3_COMPACT_PK_PBS_KS:76,"76":"PARAM_MESSAGE_2_CARRY_3_COMPACT_PK_PBS_KS",PARAM_MESSAGE_2_CARRY_4_COMPACT_PK_PBS_KS:77,"77":"PARAM_MESSAGE_2_CARRY_4_COMPACT_PK_PBS_KS",PARAM_MESSAGE_2_CARRY_5_COMPACT_PK_PBS_KS:78,"78":"PARAM_MESSAGE_2_CARRY_5_COMPACT_PK_PBS_KS",PARAM_MESSAGE_2_CARRY_6_COMPACT_PK_PBS_KS:79,"79":"PARAM_MESSAGE_2_CARRY_6_COMPACT_PK_PBS_KS",PARAM_MESSAGE_3_CARRY_1_COMPACT_PK_PBS_KS:80,"80":"PARAM_MESSAGE_3_CARRY_1_COMPACT_PK_PBS_KS",PARAM_MESSAGE_3_CARRY_2_COMPACT_PK_PBS_KS:81,"81":"PARAM_MESSAGE_3_CARRY_2_COMPACT_PK_PBS_KS",PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS:82,"82":"PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS",PARAM_MESSAGE_3_CARRY_4_COMPACT_PK_PBS_KS:83,"83":"PARAM_MESSAGE_3_CARRY_4_COMPACT_PK_PBS_KS",PARAM_MESSAGE_3_CARRY_5_COMPACT_PK_PBS_KS:84,"84":"PARAM_MESSAGE_3_CARRY_5_COMPACT_PK_PBS_KS",PARAM_MESSAGE_4_CARRY_1_COMPACT_PK_PBS_KS:85,"85":"PARAM_MESSAGE_4_CARRY_1_COMPACT_PK_PBS_KS",PARAM_MESSAGE_4_CARRY_2_COMPACT_PK_PBS_KS:86,"86":"PARAM_MESSAGE_4_CARRY_2_COMPACT_PK_PBS_KS",PARAM_MESSAGE_4_CARRY_3_COMPACT_PK_PBS_KS:87,"87":"PARAM_MESSAGE_4_CARRY_3_COMPACT_PK_PBS_KS",PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS:88,"88":"PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS",PARAM_MESSAGE_5_CARRY_1_COMPACT_PK_PBS_KS:89,"89":"PARAM_MESSAGE_5_CARRY_1_COMPACT_PK_PBS_KS",PARAM_MESSAGE_5_CARRY_2_COMPACT_PK_PBS_KS:90,"90":"PARAM_MESSAGE_5_CARRY_2_COMPACT_PK_PBS_KS",PARAM_MESSAGE_5_CARRY_3_COMPACT_PK_PBS_KS:91,"91":"PARAM_MESSAGE_5_CARRY_3_COMPACT_PK_PBS_KS",PARAM_MESSAGE_6_CARRY_1_COMPACT_PK_PBS_KS:92,"92":"PARAM_MESSAGE_6_CARRY_1_COMPACT_PK_PBS_KS",PARAM_MESSAGE_6_CARRY_2_COMPACT_PK_PBS_KS:93,"93":"PARAM_MESSAGE_6_CARRY_2_COMPACT_PK_PBS_KS",PARAM_MESSAGE_7_CARRY_1_COMPACT_PK_PBS_KS:94,"94":"PARAM_MESSAGE_7_CARRY_1_COMPACT_PK_PBS_KS",PARAM_MESSAGE_1_CARRY_0:95,"95":"PARAM_MESSAGE_1_CARRY_0",PARAM_MESSAGE_1_CARRY_1:96,"96":"PARAM_MESSAGE_1_CARRY_1",PARAM_MESSAGE_2_CARRY_0:97,"97":"PARAM_MESSAGE_2_CARRY_0",PARAM_MESSAGE_1_CARRY_2:98,"98":"PARAM_MESSAGE_1_CARRY_2",PARAM_MESSAGE_2_CARRY_1:99,"99":"PARAM_MESSAGE_2_CARRY_1",PARAM_MESSAGE_3_CARRY_0:100,"100":"PARAM_MESSAGE_3_CARRY_0",PARAM_MESSAGE_1_CARRY_3:101,"101":"PARAM_MESSAGE_1_CARRY_3",PARAM_MESSAGE_2_CARRY_2:102,"102":"PARAM_MESSAGE_2_CARRY_2",PARAM_MESSAGE_3_CARRY_1:103,"103":"PARAM_MESSAGE_3_CARRY_1",PARAM_MESSAGE_4_CARRY_0:104,"104":"PARAM_MESSAGE_4_CARRY_0",PARAM_MESSAGE_1_CARRY_4:105,"105":"PARAM_MESSAGE_1_CARRY_4",PARAM_MESSAGE_2_CARRY_3:106,"106":"PARAM_MESSAGE_2_CARRY_3",PARAM_MESSAGE_3_CARRY_2:107,"107":"PARAM_MESSAGE_3_CARRY_2",PARAM_MESSAGE_4_CARRY_1:108,"108":"PARAM_MESSAGE_4_CARRY_1",PARAM_MESSAGE_5_CARRY_0:109,"109":"PARAM_MESSAGE_5_CARRY_0",PARAM_MESSAGE_1_CARRY_5:110,"110":"PARAM_MESSAGE_1_CARRY_5",PARAM_MESSAGE_2_CARRY_4:111,"111":"PARAM_MESSAGE_2_CARRY_4",PARAM_MESSAGE_3_CARRY_3:112,"112":"PARAM_MESSAGE_3_CARRY_3",PARAM_MESSAGE_4_CARRY_2:113,"113":"PARAM_MESSAGE_4_CARRY_2",PARAM_MESSAGE_5_CARRY_1:114,"114":"PARAM_MESSAGE_5_CARRY_1",PARAM_MESSAGE_6_CARRY_0:115,"115":"PARAM_MESSAGE_6_CARRY_0",PARAM_MESSAGE_1_CARRY_6:116,"116":"PARAM_MESSAGE_1_CARRY_6",PARAM_MESSAGE_2_CARRY_5:117,"117":"PARAM_MESSAGE_2_CARRY_5",PARAM_MESSAGE_3_CARRY_4:118,"118":"PARAM_MESSAGE_3_CARRY_4",PARAM_MESSAGE_4_CARRY_3:119,"119":"PARAM_MESSAGE_4_CARRY_3",PARAM_MESSAGE_5_CARRY_2:120,"120":"PARAM_MESSAGE_5_CARRY_2",PARAM_MESSAGE_6_CARRY_1:121,"121":"PARAM_MESSAGE_6_CARRY_1",PARAM_MESSAGE_7_CARRY_0:122,"122":"PARAM_MESSAGE_7_CARRY_0",PARAM_MESSAGE_1_CARRY_7:123,"123":"PARAM_MESSAGE_1_CARRY_7",PARAM_MESSAGE_2_CARRY_6:124,"124":"PARAM_MESSAGE_2_CARRY_6",PARAM_MESSAGE_3_CARRY_5:125,"125":"PARAM_MESSAGE_3_CARRY_5",PARAM_MESSAGE_4_CARRY_4:126,"126":"PARAM_MESSAGE_4_CARRY_4",PARAM_MESSAGE_5_CARRY_3:127,"127":"PARAM_MESSAGE_5_CARRY_3",PARAM_MESSAGE_6_CARRY_2:128,"128":"PARAM_MESSAGE_6_CARRY_2",PARAM_MESSAGE_7_CARRY_1:129,"129":"PARAM_MESSAGE_7_CARRY_1",PARAM_MESSAGE_8_CARRY_0:130,"130":"PARAM_MESSAGE_8_CARRY_0",PARAM_SMALL_MESSAGE_1_CARRY_1:131,"131":"PARAM_SMALL_MESSAGE_1_CARRY_1",PARAM_SMALL_MESSAGE_2_CARRY_2:132,"132":"PARAM_SMALL_MESSAGE_2_CARRY_2",PARAM_SMALL_MESSAGE_3_CARRY_3:133,"133":"PARAM_SMALL_MESSAGE_3_CARRY_3",PARAM_SMALL_MESSAGE_4_CARRY_4:134,"134":"PARAM_SMALL_MESSAGE_4_CARRY_4", });
305
+
306
+ const BooleanFinalization = (typeof FinalizationRegistry === 'undefined')
307
+ ? { register: () => {}, unregister: () => {} }
308
+ : new FinalizationRegistry(ptr => wasm.__wbg_boolean_free(ptr >>> 0));
304
309
  /**
305
310
  */
306
311
  export class Boolean {
@@ -308,7 +313,7 @@ export class Boolean {
308
313
  __destroy_into_raw() {
309
314
  const ptr = this.__wbg_ptr;
310
315
  this.__wbg_ptr = 0;
311
-
316
+ BooleanFinalization.unregister(this);
312
317
  return ptr;
313
318
  }
314
319
 
@@ -669,6 +674,10 @@ export class Boolean {
669
674
  }
670
675
  }
671
676
  }
677
+
678
+ const BooleanCiphertextFinalization = (typeof FinalizationRegistry === 'undefined')
679
+ ? { register: () => {}, unregister: () => {} }
680
+ : new FinalizationRegistry(ptr => wasm.__wbg_booleanciphertext_free(ptr >>> 0));
672
681
  /**
673
682
  */
674
683
  export class BooleanCiphertext {
@@ -677,14 +686,14 @@ export class BooleanCiphertext {
677
686
  ptr = ptr >>> 0;
678
687
  const obj = Object.create(BooleanCiphertext.prototype);
679
688
  obj.__wbg_ptr = ptr;
680
-
689
+ BooleanCiphertextFinalization.register(obj, obj.__wbg_ptr, obj);
681
690
  return obj;
682
691
  }
683
692
 
684
693
  __destroy_into_raw() {
685
694
  const ptr = this.__wbg_ptr;
686
695
  this.__wbg_ptr = 0;
687
-
696
+ BooleanCiphertextFinalization.unregister(this);
688
697
  return ptr;
689
698
  }
690
699
 
@@ -693,6 +702,10 @@ export class BooleanCiphertext {
693
702
  wasm.__wbg_booleanciphertext_free(ptr);
694
703
  }
695
704
  }
705
+
706
+ const BooleanClientKeyFinalization = (typeof FinalizationRegistry === 'undefined')
707
+ ? { register: () => {}, unregister: () => {} }
708
+ : new FinalizationRegistry(ptr => wasm.__wbg_booleanclientkey_free(ptr >>> 0));
696
709
  /**
697
710
  */
698
711
  export class BooleanClientKey {
@@ -701,14 +714,14 @@ export class BooleanClientKey {
701
714
  ptr = ptr >>> 0;
702
715
  const obj = Object.create(BooleanClientKey.prototype);
703
716
  obj.__wbg_ptr = ptr;
704
-
717
+ BooleanClientKeyFinalization.register(obj, obj.__wbg_ptr, obj);
705
718
  return obj;
706
719
  }
707
720
 
708
721
  __destroy_into_raw() {
709
722
  const ptr = this.__wbg_ptr;
710
723
  this.__wbg_ptr = 0;
711
-
724
+ BooleanClientKeyFinalization.unregister(this);
712
725
  return ptr;
713
726
  }
714
727
 
@@ -717,6 +730,10 @@ export class BooleanClientKey {
717
730
  wasm.__wbg_booleanclientkey_free(ptr);
718
731
  }
719
732
  }
733
+
734
+ const BooleanCompressedCiphertextFinalization = (typeof FinalizationRegistry === 'undefined')
735
+ ? { register: () => {}, unregister: () => {} }
736
+ : new FinalizationRegistry(ptr => wasm.__wbg_booleancompressedciphertext_free(ptr >>> 0));
720
737
  /**
721
738
  */
722
739
  export class BooleanCompressedCiphertext {
@@ -725,14 +742,14 @@ export class BooleanCompressedCiphertext {
725
742
  ptr = ptr >>> 0;
726
743
  const obj = Object.create(BooleanCompressedCiphertext.prototype);
727
744
  obj.__wbg_ptr = ptr;
728
-
745
+ BooleanCompressedCiphertextFinalization.register(obj, obj.__wbg_ptr, obj);
729
746
  return obj;
730
747
  }
731
748
 
732
749
  __destroy_into_raw() {
733
750
  const ptr = this.__wbg_ptr;
734
751
  this.__wbg_ptr = 0;
735
-
752
+ BooleanCompressedCiphertextFinalization.unregister(this);
736
753
  return ptr;
737
754
  }
738
755
 
@@ -741,6 +758,10 @@ export class BooleanCompressedCiphertext {
741
758
  wasm.__wbg_booleancompressedciphertext_free(ptr);
742
759
  }
743
760
  }
761
+
762
+ const BooleanCompressedServerKeyFinalization = (typeof FinalizationRegistry === 'undefined')
763
+ ? { register: () => {}, unregister: () => {} }
764
+ : new FinalizationRegistry(ptr => wasm.__wbg_booleancompressedserverkey_free(ptr >>> 0));
744
765
  /**
745
766
  */
746
767
  export class BooleanCompressedServerKey {
@@ -749,14 +770,14 @@ export class BooleanCompressedServerKey {
749
770
  ptr = ptr >>> 0;
750
771
  const obj = Object.create(BooleanCompressedServerKey.prototype);
751
772
  obj.__wbg_ptr = ptr;
752
-
773
+ BooleanCompressedServerKeyFinalization.register(obj, obj.__wbg_ptr, obj);
753
774
  return obj;
754
775
  }
755
776
 
756
777
  __destroy_into_raw() {
757
778
  const ptr = this.__wbg_ptr;
758
779
  this.__wbg_ptr = 0;
759
-
780
+ BooleanCompressedServerKeyFinalization.unregister(this);
760
781
  return ptr;
761
782
  }
762
783
 
@@ -765,6 +786,10 @@ export class BooleanCompressedServerKey {
765
786
  wasm.__wbg_booleancompressedserverkey_free(ptr);
766
787
  }
767
788
  }
789
+
790
+ const BooleanParametersFinalization = (typeof FinalizationRegistry === 'undefined')
791
+ ? { register: () => {}, unregister: () => {} }
792
+ : new FinalizationRegistry(ptr => wasm.__wbg_booleanparameters_free(ptr >>> 0));
768
793
  /**
769
794
  */
770
795
  export class BooleanParameters {
@@ -773,14 +798,14 @@ export class BooleanParameters {
773
798
  ptr = ptr >>> 0;
774
799
  const obj = Object.create(BooleanParameters.prototype);
775
800
  obj.__wbg_ptr = ptr;
776
-
801
+ BooleanParametersFinalization.register(obj, obj.__wbg_ptr, obj);
777
802
  return obj;
778
803
  }
779
804
 
780
805
  __destroy_into_raw() {
781
806
  const ptr = this.__wbg_ptr;
782
807
  this.__wbg_ptr = 0;
783
-
808
+ BooleanParametersFinalization.unregister(this);
784
809
  return ptr;
785
810
  }
786
811
 
@@ -789,6 +814,10 @@ export class BooleanParameters {
789
814
  wasm.__wbg_booleanparameters_free(ptr);
790
815
  }
791
816
  }
817
+
818
+ const BooleanPublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
819
+ ? { register: () => {}, unregister: () => {} }
820
+ : new FinalizationRegistry(ptr => wasm.__wbg_booleanpublickey_free(ptr >>> 0));
792
821
  /**
793
822
  */
794
823
  export class BooleanPublicKey {
@@ -797,14 +826,14 @@ export class BooleanPublicKey {
797
826
  ptr = ptr >>> 0;
798
827
  const obj = Object.create(BooleanPublicKey.prototype);
799
828
  obj.__wbg_ptr = ptr;
800
-
829
+ BooleanPublicKeyFinalization.register(obj, obj.__wbg_ptr, obj);
801
830
  return obj;
802
831
  }
803
832
 
804
833
  __destroy_into_raw() {
805
834
  const ptr = this.__wbg_ptr;
806
835
  this.__wbg_ptr = 0;
807
-
836
+ BooleanPublicKeyFinalization.unregister(this);
808
837
  return ptr;
809
838
  }
810
839
 
@@ -813,6 +842,10 @@ export class BooleanPublicKey {
813
842
  wasm.__wbg_booleanpublickey_free(ptr);
814
843
  }
815
844
  }
845
+
846
+ const CompactFheInt128Finalization = (typeof FinalizationRegistry === 'undefined')
847
+ ? { register: () => {}, unregister: () => {} }
848
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint128_free(ptr >>> 0));
816
849
  /**
817
850
  */
818
851
  export class CompactFheInt128 {
@@ -821,14 +854,14 @@ export class CompactFheInt128 {
821
854
  ptr = ptr >>> 0;
822
855
  const obj = Object.create(CompactFheInt128.prototype);
823
856
  obj.__wbg_ptr = ptr;
824
-
857
+ CompactFheInt128Finalization.register(obj, obj.__wbg_ptr, obj);
825
858
  return obj;
826
859
  }
827
860
 
828
861
  __destroy_into_raw() {
829
862
  const ptr = this.__wbg_ptr;
830
863
  this.__wbg_ptr = 0;
831
-
864
+ CompactFheInt128Finalization.unregister(this);
832
865
  return ptr;
833
866
  }
834
867
 
@@ -962,6 +995,10 @@ export class CompactFheInt128 {
962
995
  }
963
996
  }
964
997
  }
998
+
999
+ const CompactFheInt128ListFinalization = (typeof FinalizationRegistry === 'undefined')
1000
+ ? { register: () => {}, unregister: () => {} }
1001
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint128list_free(ptr >>> 0));
965
1002
  /**
966
1003
  */
967
1004
  export class CompactFheInt128List {
@@ -970,14 +1007,14 @@ export class CompactFheInt128List {
970
1007
  ptr = ptr >>> 0;
971
1008
  const obj = Object.create(CompactFheInt128List.prototype);
972
1009
  obj.__wbg_ptr = ptr;
973
-
1010
+ CompactFheInt128ListFinalization.register(obj, obj.__wbg_ptr, obj);
974
1011
  return obj;
975
1012
  }
976
1013
 
977
1014
  __destroy_into_raw() {
978
1015
  const ptr = this.__wbg_ptr;
979
1016
  this.__wbg_ptr = 0;
980
-
1017
+ CompactFheInt128ListFinalization.unregister(this);
981
1018
  return ptr;
982
1019
  }
983
1020
 
@@ -1072,6 +1109,10 @@ export class CompactFheInt128List {
1072
1109
  }
1073
1110
  }
1074
1111
  }
1112
+
1113
+ const CompactFheInt16Finalization = (typeof FinalizationRegistry === 'undefined')
1114
+ ? { register: () => {}, unregister: () => {} }
1115
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint16_free(ptr >>> 0));
1075
1116
  /**
1076
1117
  */
1077
1118
  export class CompactFheInt16 {
@@ -1080,14 +1121,14 @@ export class CompactFheInt16 {
1080
1121
  ptr = ptr >>> 0;
1081
1122
  const obj = Object.create(CompactFheInt16.prototype);
1082
1123
  obj.__wbg_ptr = ptr;
1083
-
1124
+ CompactFheInt16Finalization.register(obj, obj.__wbg_ptr, obj);
1084
1125
  return obj;
1085
1126
  }
1086
1127
 
1087
1128
  __destroy_into_raw() {
1088
1129
  const ptr = this.__wbg_ptr;
1089
1130
  this.__wbg_ptr = 0;
1090
-
1131
+ CompactFheInt16Finalization.unregister(this);
1091
1132
  return ptr;
1092
1133
  }
1093
1134
 
@@ -1221,6 +1262,10 @@ export class CompactFheInt16 {
1221
1262
  }
1222
1263
  }
1223
1264
  }
1265
+
1266
+ const CompactFheInt16ListFinalization = (typeof FinalizationRegistry === 'undefined')
1267
+ ? { register: () => {}, unregister: () => {} }
1268
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint16list_free(ptr >>> 0));
1224
1269
  /**
1225
1270
  */
1226
1271
  export class CompactFheInt16List {
@@ -1229,14 +1274,14 @@ export class CompactFheInt16List {
1229
1274
  ptr = ptr >>> 0;
1230
1275
  const obj = Object.create(CompactFheInt16List.prototype);
1231
1276
  obj.__wbg_ptr = ptr;
1232
-
1277
+ CompactFheInt16ListFinalization.register(obj, obj.__wbg_ptr, obj);
1233
1278
  return obj;
1234
1279
  }
1235
1280
 
1236
1281
  __destroy_into_raw() {
1237
1282
  const ptr = this.__wbg_ptr;
1238
1283
  this.__wbg_ptr = 0;
1239
-
1284
+ CompactFheInt16ListFinalization.unregister(this);
1240
1285
  return ptr;
1241
1286
  }
1242
1287
 
@@ -1331,6 +1376,10 @@ export class CompactFheInt16List {
1331
1376
  }
1332
1377
  }
1333
1378
  }
1379
+
1380
+ const CompactFheInt256Finalization = (typeof FinalizationRegistry === 'undefined')
1381
+ ? { register: () => {}, unregister: () => {} }
1382
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint256_free(ptr >>> 0));
1334
1383
  /**
1335
1384
  */
1336
1385
  export class CompactFheInt256 {
@@ -1339,14 +1388,14 @@ export class CompactFheInt256 {
1339
1388
  ptr = ptr >>> 0;
1340
1389
  const obj = Object.create(CompactFheInt256.prototype);
1341
1390
  obj.__wbg_ptr = ptr;
1342
-
1391
+ CompactFheInt256Finalization.register(obj, obj.__wbg_ptr, obj);
1343
1392
  return obj;
1344
1393
  }
1345
1394
 
1346
1395
  __destroy_into_raw() {
1347
1396
  const ptr = this.__wbg_ptr;
1348
1397
  this.__wbg_ptr = 0;
1349
-
1398
+ CompactFheInt256Finalization.unregister(this);
1350
1399
  return ptr;
1351
1400
  }
1352
1401
 
@@ -1480,6 +1529,10 @@ export class CompactFheInt256 {
1480
1529
  }
1481
1530
  }
1482
1531
  }
1532
+
1533
+ const CompactFheInt256ListFinalization = (typeof FinalizationRegistry === 'undefined')
1534
+ ? { register: () => {}, unregister: () => {} }
1535
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint256list_free(ptr >>> 0));
1483
1536
  /**
1484
1537
  */
1485
1538
  export class CompactFheInt256List {
@@ -1488,14 +1541,14 @@ export class CompactFheInt256List {
1488
1541
  ptr = ptr >>> 0;
1489
1542
  const obj = Object.create(CompactFheInt256List.prototype);
1490
1543
  obj.__wbg_ptr = ptr;
1491
-
1544
+ CompactFheInt256ListFinalization.register(obj, obj.__wbg_ptr, obj);
1492
1545
  return obj;
1493
1546
  }
1494
1547
 
1495
1548
  __destroy_into_raw() {
1496
1549
  const ptr = this.__wbg_ptr;
1497
1550
  this.__wbg_ptr = 0;
1498
-
1551
+ CompactFheInt256ListFinalization.unregister(this);
1499
1552
  return ptr;
1500
1553
  }
1501
1554
 
@@ -1590,6 +1643,10 @@ export class CompactFheInt256List {
1590
1643
  }
1591
1644
  }
1592
1645
  }
1646
+
1647
+ const CompactFheInt32Finalization = (typeof FinalizationRegistry === 'undefined')
1648
+ ? { register: () => {}, unregister: () => {} }
1649
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint32_free(ptr >>> 0));
1593
1650
  /**
1594
1651
  */
1595
1652
  export class CompactFheInt32 {
@@ -1598,14 +1655,14 @@ export class CompactFheInt32 {
1598
1655
  ptr = ptr >>> 0;
1599
1656
  const obj = Object.create(CompactFheInt32.prototype);
1600
1657
  obj.__wbg_ptr = ptr;
1601
-
1658
+ CompactFheInt32Finalization.register(obj, obj.__wbg_ptr, obj);
1602
1659
  return obj;
1603
1660
  }
1604
1661
 
1605
1662
  __destroy_into_raw() {
1606
1663
  const ptr = this.__wbg_ptr;
1607
1664
  this.__wbg_ptr = 0;
1608
-
1665
+ CompactFheInt32Finalization.unregister(this);
1609
1666
  return ptr;
1610
1667
  }
1611
1668
 
@@ -1739,6 +1796,10 @@ export class CompactFheInt32 {
1739
1796
  }
1740
1797
  }
1741
1798
  }
1799
+
1800
+ const CompactFheInt32ListFinalization = (typeof FinalizationRegistry === 'undefined')
1801
+ ? { register: () => {}, unregister: () => {} }
1802
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint32list_free(ptr >>> 0));
1742
1803
  /**
1743
1804
  */
1744
1805
  export class CompactFheInt32List {
@@ -1747,14 +1808,14 @@ export class CompactFheInt32List {
1747
1808
  ptr = ptr >>> 0;
1748
1809
  const obj = Object.create(CompactFheInt32List.prototype);
1749
1810
  obj.__wbg_ptr = ptr;
1750
-
1811
+ CompactFheInt32ListFinalization.register(obj, obj.__wbg_ptr, obj);
1751
1812
  return obj;
1752
1813
  }
1753
1814
 
1754
1815
  __destroy_into_raw() {
1755
1816
  const ptr = this.__wbg_ptr;
1756
1817
  this.__wbg_ptr = 0;
1757
-
1818
+ CompactFheInt32ListFinalization.unregister(this);
1758
1819
  return ptr;
1759
1820
  }
1760
1821
 
@@ -1849,6 +1910,10 @@ export class CompactFheInt32List {
1849
1910
  }
1850
1911
  }
1851
1912
  }
1913
+
1914
+ const CompactFheInt64Finalization = (typeof FinalizationRegistry === 'undefined')
1915
+ ? { register: () => {}, unregister: () => {} }
1916
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint64_free(ptr >>> 0));
1852
1917
  /**
1853
1918
  */
1854
1919
  export class CompactFheInt64 {
@@ -1857,14 +1922,14 @@ export class CompactFheInt64 {
1857
1922
  ptr = ptr >>> 0;
1858
1923
  const obj = Object.create(CompactFheInt64.prototype);
1859
1924
  obj.__wbg_ptr = ptr;
1860
-
1925
+ CompactFheInt64Finalization.register(obj, obj.__wbg_ptr, obj);
1861
1926
  return obj;
1862
1927
  }
1863
1928
 
1864
1929
  __destroy_into_raw() {
1865
1930
  const ptr = this.__wbg_ptr;
1866
1931
  this.__wbg_ptr = 0;
1867
-
1932
+ CompactFheInt64Finalization.unregister(this);
1868
1933
  return ptr;
1869
1934
  }
1870
1935
 
@@ -1998,6 +2063,10 @@ export class CompactFheInt64 {
1998
2063
  }
1999
2064
  }
2000
2065
  }
2066
+
2067
+ const CompactFheInt64ListFinalization = (typeof FinalizationRegistry === 'undefined')
2068
+ ? { register: () => {}, unregister: () => {} }
2069
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint64list_free(ptr >>> 0));
2001
2070
  /**
2002
2071
  */
2003
2072
  export class CompactFheInt64List {
@@ -2006,14 +2075,14 @@ export class CompactFheInt64List {
2006
2075
  ptr = ptr >>> 0;
2007
2076
  const obj = Object.create(CompactFheInt64List.prototype);
2008
2077
  obj.__wbg_ptr = ptr;
2009
-
2078
+ CompactFheInt64ListFinalization.register(obj, obj.__wbg_ptr, obj);
2010
2079
  return obj;
2011
2080
  }
2012
2081
 
2013
2082
  __destroy_into_raw() {
2014
2083
  const ptr = this.__wbg_ptr;
2015
2084
  this.__wbg_ptr = 0;
2016
-
2085
+ CompactFheInt64ListFinalization.unregister(this);
2017
2086
  return ptr;
2018
2087
  }
2019
2088
 
@@ -2108,6 +2177,10 @@ export class CompactFheInt64List {
2108
2177
  }
2109
2178
  }
2110
2179
  }
2180
+
2181
+ const CompactFheInt8Finalization = (typeof FinalizationRegistry === 'undefined')
2182
+ ? { register: () => {}, unregister: () => {} }
2183
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint8_free(ptr >>> 0));
2111
2184
  /**
2112
2185
  */
2113
2186
  export class CompactFheInt8 {
@@ -2116,14 +2189,14 @@ export class CompactFheInt8 {
2116
2189
  ptr = ptr >>> 0;
2117
2190
  const obj = Object.create(CompactFheInt8.prototype);
2118
2191
  obj.__wbg_ptr = ptr;
2119
-
2192
+ CompactFheInt8Finalization.register(obj, obj.__wbg_ptr, obj);
2120
2193
  return obj;
2121
2194
  }
2122
2195
 
2123
2196
  __destroy_into_raw() {
2124
2197
  const ptr = this.__wbg_ptr;
2125
2198
  this.__wbg_ptr = 0;
2126
-
2199
+ CompactFheInt8Finalization.unregister(this);
2127
2200
  return ptr;
2128
2201
  }
2129
2202
 
@@ -2257,6 +2330,10 @@ export class CompactFheInt8 {
2257
2330
  }
2258
2331
  }
2259
2332
  }
2333
+
2334
+ const CompactFheInt8ListFinalization = (typeof FinalizationRegistry === 'undefined')
2335
+ ? { register: () => {}, unregister: () => {} }
2336
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheint8list_free(ptr >>> 0));
2260
2337
  /**
2261
2338
  */
2262
2339
  export class CompactFheInt8List {
@@ -2265,14 +2342,14 @@ export class CompactFheInt8List {
2265
2342
  ptr = ptr >>> 0;
2266
2343
  const obj = Object.create(CompactFheInt8List.prototype);
2267
2344
  obj.__wbg_ptr = ptr;
2268
-
2345
+ CompactFheInt8ListFinalization.register(obj, obj.__wbg_ptr, obj);
2269
2346
  return obj;
2270
2347
  }
2271
2348
 
2272
2349
  __destroy_into_raw() {
2273
2350
  const ptr = this.__wbg_ptr;
2274
2351
  this.__wbg_ptr = 0;
2275
-
2352
+ CompactFheInt8ListFinalization.unregister(this);
2276
2353
  return ptr;
2277
2354
  }
2278
2355
 
@@ -2367,6 +2444,10 @@ export class CompactFheInt8List {
2367
2444
  }
2368
2445
  }
2369
2446
  }
2447
+
2448
+ const CompactFheUint128Finalization = (typeof FinalizationRegistry === 'undefined')
2449
+ ? { register: () => {}, unregister: () => {} }
2450
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint128_free(ptr >>> 0));
2370
2451
  /**
2371
2452
  */
2372
2453
  export class CompactFheUint128 {
@@ -2375,14 +2456,14 @@ export class CompactFheUint128 {
2375
2456
  ptr = ptr >>> 0;
2376
2457
  const obj = Object.create(CompactFheUint128.prototype);
2377
2458
  obj.__wbg_ptr = ptr;
2378
-
2459
+ CompactFheUint128Finalization.register(obj, obj.__wbg_ptr, obj);
2379
2460
  return obj;
2380
2461
  }
2381
2462
 
2382
2463
  __destroy_into_raw() {
2383
2464
  const ptr = this.__wbg_ptr;
2384
2465
  this.__wbg_ptr = 0;
2385
-
2466
+ CompactFheUint128Finalization.unregister(this);
2386
2467
  return ptr;
2387
2468
  }
2388
2469
 
@@ -2516,6 +2597,10 @@ export class CompactFheUint128 {
2516
2597
  }
2517
2598
  }
2518
2599
  }
2600
+
2601
+ const CompactFheUint128ListFinalization = (typeof FinalizationRegistry === 'undefined')
2602
+ ? { register: () => {}, unregister: () => {} }
2603
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint128list_free(ptr >>> 0));
2519
2604
  /**
2520
2605
  */
2521
2606
  export class CompactFheUint128List {
@@ -2524,14 +2609,14 @@ export class CompactFheUint128List {
2524
2609
  ptr = ptr >>> 0;
2525
2610
  const obj = Object.create(CompactFheUint128List.prototype);
2526
2611
  obj.__wbg_ptr = ptr;
2527
-
2612
+ CompactFheUint128ListFinalization.register(obj, obj.__wbg_ptr, obj);
2528
2613
  return obj;
2529
2614
  }
2530
2615
 
2531
2616
  __destroy_into_raw() {
2532
2617
  const ptr = this.__wbg_ptr;
2533
2618
  this.__wbg_ptr = 0;
2534
-
2619
+ CompactFheUint128ListFinalization.unregister(this);
2535
2620
  return ptr;
2536
2621
  }
2537
2622
 
@@ -2626,6 +2711,10 @@ export class CompactFheUint128List {
2626
2711
  }
2627
2712
  }
2628
2713
  }
2714
+
2715
+ const CompactFheUint16Finalization = (typeof FinalizationRegistry === 'undefined')
2716
+ ? { register: () => {}, unregister: () => {} }
2717
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint16_free(ptr >>> 0));
2629
2718
  /**
2630
2719
  */
2631
2720
  export class CompactFheUint16 {
@@ -2634,14 +2723,14 @@ export class CompactFheUint16 {
2634
2723
  ptr = ptr >>> 0;
2635
2724
  const obj = Object.create(CompactFheUint16.prototype);
2636
2725
  obj.__wbg_ptr = ptr;
2637
-
2726
+ CompactFheUint16Finalization.register(obj, obj.__wbg_ptr, obj);
2638
2727
  return obj;
2639
2728
  }
2640
2729
 
2641
2730
  __destroy_into_raw() {
2642
2731
  const ptr = this.__wbg_ptr;
2643
2732
  this.__wbg_ptr = 0;
2644
-
2733
+ CompactFheUint16Finalization.unregister(this);
2645
2734
  return ptr;
2646
2735
  }
2647
2736
 
@@ -2775,6 +2864,10 @@ export class CompactFheUint16 {
2775
2864
  }
2776
2865
  }
2777
2866
  }
2867
+
2868
+ const CompactFheUint16ListFinalization = (typeof FinalizationRegistry === 'undefined')
2869
+ ? { register: () => {}, unregister: () => {} }
2870
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint16list_free(ptr >>> 0));
2778
2871
  /**
2779
2872
  */
2780
2873
  export class CompactFheUint16List {
@@ -2783,14 +2876,14 @@ export class CompactFheUint16List {
2783
2876
  ptr = ptr >>> 0;
2784
2877
  const obj = Object.create(CompactFheUint16List.prototype);
2785
2878
  obj.__wbg_ptr = ptr;
2786
-
2879
+ CompactFheUint16ListFinalization.register(obj, obj.__wbg_ptr, obj);
2787
2880
  return obj;
2788
2881
  }
2789
2882
 
2790
2883
  __destroy_into_raw() {
2791
2884
  const ptr = this.__wbg_ptr;
2792
2885
  this.__wbg_ptr = 0;
2793
-
2886
+ CompactFheUint16ListFinalization.unregister(this);
2794
2887
  return ptr;
2795
2888
  }
2796
2889
 
@@ -2885,6 +2978,10 @@ export class CompactFheUint16List {
2885
2978
  }
2886
2979
  }
2887
2980
  }
2981
+
2982
+ const CompactFheUint256Finalization = (typeof FinalizationRegistry === 'undefined')
2983
+ ? { register: () => {}, unregister: () => {} }
2984
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint256_free(ptr >>> 0));
2888
2985
  /**
2889
2986
  */
2890
2987
  export class CompactFheUint256 {
@@ -2893,14 +2990,14 @@ export class CompactFheUint256 {
2893
2990
  ptr = ptr >>> 0;
2894
2991
  const obj = Object.create(CompactFheUint256.prototype);
2895
2992
  obj.__wbg_ptr = ptr;
2896
-
2993
+ CompactFheUint256Finalization.register(obj, obj.__wbg_ptr, obj);
2897
2994
  return obj;
2898
2995
  }
2899
2996
 
2900
2997
  __destroy_into_raw() {
2901
2998
  const ptr = this.__wbg_ptr;
2902
2999
  this.__wbg_ptr = 0;
2903
-
3000
+ CompactFheUint256Finalization.unregister(this);
2904
3001
  return ptr;
2905
3002
  }
2906
3003
 
@@ -3034,6 +3131,10 @@ export class CompactFheUint256 {
3034
3131
  }
3035
3132
  }
3036
3133
  }
3134
+
3135
+ const CompactFheUint256ListFinalization = (typeof FinalizationRegistry === 'undefined')
3136
+ ? { register: () => {}, unregister: () => {} }
3137
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint256list_free(ptr >>> 0));
3037
3138
  /**
3038
3139
  */
3039
3140
  export class CompactFheUint256List {
@@ -3042,14 +3143,14 @@ export class CompactFheUint256List {
3042
3143
  ptr = ptr >>> 0;
3043
3144
  const obj = Object.create(CompactFheUint256List.prototype);
3044
3145
  obj.__wbg_ptr = ptr;
3045
-
3146
+ CompactFheUint256ListFinalization.register(obj, obj.__wbg_ptr, obj);
3046
3147
  return obj;
3047
3148
  }
3048
3149
 
3049
3150
  __destroy_into_raw() {
3050
3151
  const ptr = this.__wbg_ptr;
3051
3152
  this.__wbg_ptr = 0;
3052
-
3153
+ CompactFheUint256ListFinalization.unregister(this);
3053
3154
  return ptr;
3054
3155
  }
3055
3156
 
@@ -3144,6 +3245,10 @@ export class CompactFheUint256List {
3144
3245
  }
3145
3246
  }
3146
3247
  }
3248
+
3249
+ const CompactFheUint32Finalization = (typeof FinalizationRegistry === 'undefined')
3250
+ ? { register: () => {}, unregister: () => {} }
3251
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint32_free(ptr >>> 0));
3147
3252
  /**
3148
3253
  */
3149
3254
  export class CompactFheUint32 {
@@ -3152,14 +3257,14 @@ export class CompactFheUint32 {
3152
3257
  ptr = ptr >>> 0;
3153
3258
  const obj = Object.create(CompactFheUint32.prototype);
3154
3259
  obj.__wbg_ptr = ptr;
3155
-
3260
+ CompactFheUint32Finalization.register(obj, obj.__wbg_ptr, obj);
3156
3261
  return obj;
3157
3262
  }
3158
3263
 
3159
3264
  __destroy_into_raw() {
3160
3265
  const ptr = this.__wbg_ptr;
3161
3266
  this.__wbg_ptr = 0;
3162
-
3267
+ CompactFheUint32Finalization.unregister(this);
3163
3268
  return ptr;
3164
3269
  }
3165
3270
 
@@ -3293,6 +3398,10 @@ export class CompactFheUint32 {
3293
3398
  }
3294
3399
  }
3295
3400
  }
3401
+
3402
+ const CompactFheUint32ListFinalization = (typeof FinalizationRegistry === 'undefined')
3403
+ ? { register: () => {}, unregister: () => {} }
3404
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint32list_free(ptr >>> 0));
3296
3405
  /**
3297
3406
  */
3298
3407
  export class CompactFheUint32List {
@@ -3301,14 +3410,14 @@ export class CompactFheUint32List {
3301
3410
  ptr = ptr >>> 0;
3302
3411
  const obj = Object.create(CompactFheUint32List.prototype);
3303
3412
  obj.__wbg_ptr = ptr;
3304
-
3413
+ CompactFheUint32ListFinalization.register(obj, obj.__wbg_ptr, obj);
3305
3414
  return obj;
3306
3415
  }
3307
3416
 
3308
3417
  __destroy_into_raw() {
3309
3418
  const ptr = this.__wbg_ptr;
3310
3419
  this.__wbg_ptr = 0;
3311
-
3420
+ CompactFheUint32ListFinalization.unregister(this);
3312
3421
  return ptr;
3313
3422
  }
3314
3423
 
@@ -3403,6 +3512,10 @@ export class CompactFheUint32List {
3403
3512
  }
3404
3513
  }
3405
3514
  }
3515
+
3516
+ const CompactFheUint64Finalization = (typeof FinalizationRegistry === 'undefined')
3517
+ ? { register: () => {}, unregister: () => {} }
3518
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint64_free(ptr >>> 0));
3406
3519
  /**
3407
3520
  */
3408
3521
  export class CompactFheUint64 {
@@ -3411,14 +3524,14 @@ export class CompactFheUint64 {
3411
3524
  ptr = ptr >>> 0;
3412
3525
  const obj = Object.create(CompactFheUint64.prototype);
3413
3526
  obj.__wbg_ptr = ptr;
3414
-
3527
+ CompactFheUint64Finalization.register(obj, obj.__wbg_ptr, obj);
3415
3528
  return obj;
3416
3529
  }
3417
3530
 
3418
3531
  __destroy_into_raw() {
3419
3532
  const ptr = this.__wbg_ptr;
3420
3533
  this.__wbg_ptr = 0;
3421
-
3534
+ CompactFheUint64Finalization.unregister(this);
3422
3535
  return ptr;
3423
3536
  }
3424
3537
 
@@ -3552,6 +3665,10 @@ export class CompactFheUint64 {
3552
3665
  }
3553
3666
  }
3554
3667
  }
3668
+
3669
+ const CompactFheUint64ListFinalization = (typeof FinalizationRegistry === 'undefined')
3670
+ ? { register: () => {}, unregister: () => {} }
3671
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint64list_free(ptr >>> 0));
3555
3672
  /**
3556
3673
  */
3557
3674
  export class CompactFheUint64List {
@@ -3560,14 +3677,14 @@ export class CompactFheUint64List {
3560
3677
  ptr = ptr >>> 0;
3561
3678
  const obj = Object.create(CompactFheUint64List.prototype);
3562
3679
  obj.__wbg_ptr = ptr;
3563
-
3680
+ CompactFheUint64ListFinalization.register(obj, obj.__wbg_ptr, obj);
3564
3681
  return obj;
3565
3682
  }
3566
3683
 
3567
3684
  __destroy_into_raw() {
3568
3685
  const ptr = this.__wbg_ptr;
3569
3686
  this.__wbg_ptr = 0;
3570
-
3687
+ CompactFheUint64ListFinalization.unregister(this);
3571
3688
  return ptr;
3572
3689
  }
3573
3690
 
@@ -3662,6 +3779,10 @@ export class CompactFheUint64List {
3662
3779
  }
3663
3780
  }
3664
3781
  }
3782
+
3783
+ const CompactFheUint8Finalization = (typeof FinalizationRegistry === 'undefined')
3784
+ ? { register: () => {}, unregister: () => {} }
3785
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint8_free(ptr >>> 0));
3665
3786
  /**
3666
3787
  */
3667
3788
  export class CompactFheUint8 {
@@ -3670,14 +3791,14 @@ export class CompactFheUint8 {
3670
3791
  ptr = ptr >>> 0;
3671
3792
  const obj = Object.create(CompactFheUint8.prototype);
3672
3793
  obj.__wbg_ptr = ptr;
3673
-
3794
+ CompactFheUint8Finalization.register(obj, obj.__wbg_ptr, obj);
3674
3795
  return obj;
3675
3796
  }
3676
3797
 
3677
3798
  __destroy_into_raw() {
3678
3799
  const ptr = this.__wbg_ptr;
3679
3800
  this.__wbg_ptr = 0;
3680
-
3801
+ CompactFheUint8Finalization.unregister(this);
3681
3802
  return ptr;
3682
3803
  }
3683
3804
 
@@ -3811,6 +3932,10 @@ export class CompactFheUint8 {
3811
3932
  }
3812
3933
  }
3813
3934
  }
3935
+
3936
+ const CompactFheUint8ListFinalization = (typeof FinalizationRegistry === 'undefined')
3937
+ ? { register: () => {}, unregister: () => {} }
3938
+ : new FinalizationRegistry(ptr => wasm.__wbg_compactfheuint8list_free(ptr >>> 0));
3814
3939
  /**
3815
3940
  */
3816
3941
  export class CompactFheUint8List {
@@ -3819,14 +3944,14 @@ export class CompactFheUint8List {
3819
3944
  ptr = ptr >>> 0;
3820
3945
  const obj = Object.create(CompactFheUint8List.prototype);
3821
3946
  obj.__wbg_ptr = ptr;
3822
-
3947
+ CompactFheUint8ListFinalization.register(obj, obj.__wbg_ptr, obj);
3823
3948
  return obj;
3824
3949
  }
3825
3950
 
3826
3951
  __destroy_into_raw() {
3827
3952
  const ptr = this.__wbg_ptr;
3828
3953
  this.__wbg_ptr = 0;
3829
-
3954
+ CompactFheUint8ListFinalization.unregister(this);
3830
3955
  return ptr;
3831
3956
  }
3832
3957
 
@@ -3921,6 +4046,10 @@ export class CompactFheUint8List {
3921
4046
  }
3922
4047
  }
3923
4048
  }
4049
+
4050
+ const CompressedFheInt128Finalization = (typeof FinalizationRegistry === 'undefined')
4051
+ ? { register: () => {}, unregister: () => {} }
4052
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheint128_free(ptr >>> 0));
3924
4053
  /**
3925
4054
  */
3926
4055
  export class CompressedFheInt128 {
@@ -3929,14 +4058,14 @@ export class CompressedFheInt128 {
3929
4058
  ptr = ptr >>> 0;
3930
4059
  const obj = Object.create(CompressedFheInt128.prototype);
3931
4060
  obj.__wbg_ptr = ptr;
3932
-
4061
+ CompressedFheInt128Finalization.register(obj, obj.__wbg_ptr, obj);
3933
4062
  return obj;
3934
4063
  }
3935
4064
 
3936
4065
  __destroy_into_raw() {
3937
4066
  const ptr = this.__wbg_ptr;
3938
4067
  this.__wbg_ptr = 0;
3939
-
4068
+ CompressedFheInt128Finalization.unregister(this);
3940
4069
  return ptr;
3941
4070
  }
3942
4071
 
@@ -4070,6 +4199,10 @@ export class CompressedFheInt128 {
4070
4199
  }
4071
4200
  }
4072
4201
  }
4202
+
4203
+ const CompressedFheInt16Finalization = (typeof FinalizationRegistry === 'undefined')
4204
+ ? { register: () => {}, unregister: () => {} }
4205
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheint16_free(ptr >>> 0));
4073
4206
  /**
4074
4207
  */
4075
4208
  export class CompressedFheInt16 {
@@ -4078,14 +4211,14 @@ export class CompressedFheInt16 {
4078
4211
  ptr = ptr >>> 0;
4079
4212
  const obj = Object.create(CompressedFheInt16.prototype);
4080
4213
  obj.__wbg_ptr = ptr;
4081
-
4214
+ CompressedFheInt16Finalization.register(obj, obj.__wbg_ptr, obj);
4082
4215
  return obj;
4083
4216
  }
4084
4217
 
4085
4218
  __destroy_into_raw() {
4086
4219
  const ptr = this.__wbg_ptr;
4087
4220
  this.__wbg_ptr = 0;
4088
-
4221
+ CompressedFheInt16Finalization.unregister(this);
4089
4222
  return ptr;
4090
4223
  }
4091
4224
 
@@ -4219,6 +4352,10 @@ export class CompressedFheInt16 {
4219
4352
  }
4220
4353
  }
4221
4354
  }
4355
+
4356
+ const CompressedFheInt256Finalization = (typeof FinalizationRegistry === 'undefined')
4357
+ ? { register: () => {}, unregister: () => {} }
4358
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheint256_free(ptr >>> 0));
4222
4359
  /**
4223
4360
  */
4224
4361
  export class CompressedFheInt256 {
@@ -4227,14 +4364,14 @@ export class CompressedFheInt256 {
4227
4364
  ptr = ptr >>> 0;
4228
4365
  const obj = Object.create(CompressedFheInt256.prototype);
4229
4366
  obj.__wbg_ptr = ptr;
4230
-
4367
+ CompressedFheInt256Finalization.register(obj, obj.__wbg_ptr, obj);
4231
4368
  return obj;
4232
4369
  }
4233
4370
 
4234
4371
  __destroy_into_raw() {
4235
4372
  const ptr = this.__wbg_ptr;
4236
4373
  this.__wbg_ptr = 0;
4237
-
4374
+ CompressedFheInt256Finalization.unregister(this);
4238
4375
  return ptr;
4239
4376
  }
4240
4377
 
@@ -4368,6 +4505,10 @@ export class CompressedFheInt256 {
4368
4505
  }
4369
4506
  }
4370
4507
  }
4508
+
4509
+ const CompressedFheInt32Finalization = (typeof FinalizationRegistry === 'undefined')
4510
+ ? { register: () => {}, unregister: () => {} }
4511
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheint32_free(ptr >>> 0));
4371
4512
  /**
4372
4513
  */
4373
4514
  export class CompressedFheInt32 {
@@ -4376,14 +4517,14 @@ export class CompressedFheInt32 {
4376
4517
  ptr = ptr >>> 0;
4377
4518
  const obj = Object.create(CompressedFheInt32.prototype);
4378
4519
  obj.__wbg_ptr = ptr;
4379
-
4520
+ CompressedFheInt32Finalization.register(obj, obj.__wbg_ptr, obj);
4380
4521
  return obj;
4381
4522
  }
4382
4523
 
4383
4524
  __destroy_into_raw() {
4384
4525
  const ptr = this.__wbg_ptr;
4385
4526
  this.__wbg_ptr = 0;
4386
-
4527
+ CompressedFheInt32Finalization.unregister(this);
4387
4528
  return ptr;
4388
4529
  }
4389
4530
 
@@ -4517,6 +4658,10 @@ export class CompressedFheInt32 {
4517
4658
  }
4518
4659
  }
4519
4660
  }
4661
+
4662
+ const CompressedFheInt64Finalization = (typeof FinalizationRegistry === 'undefined')
4663
+ ? { register: () => {}, unregister: () => {} }
4664
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheint64_free(ptr >>> 0));
4520
4665
  /**
4521
4666
  */
4522
4667
  export class CompressedFheInt64 {
@@ -4525,14 +4670,14 @@ export class CompressedFheInt64 {
4525
4670
  ptr = ptr >>> 0;
4526
4671
  const obj = Object.create(CompressedFheInt64.prototype);
4527
4672
  obj.__wbg_ptr = ptr;
4528
-
4673
+ CompressedFheInt64Finalization.register(obj, obj.__wbg_ptr, obj);
4529
4674
  return obj;
4530
4675
  }
4531
4676
 
4532
4677
  __destroy_into_raw() {
4533
4678
  const ptr = this.__wbg_ptr;
4534
4679
  this.__wbg_ptr = 0;
4535
-
4680
+ CompressedFheInt64Finalization.unregister(this);
4536
4681
  return ptr;
4537
4682
  }
4538
4683
 
@@ -4666,6 +4811,10 @@ export class CompressedFheInt64 {
4666
4811
  }
4667
4812
  }
4668
4813
  }
4814
+
4815
+ const CompressedFheInt8Finalization = (typeof FinalizationRegistry === 'undefined')
4816
+ ? { register: () => {}, unregister: () => {} }
4817
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheint8_free(ptr >>> 0));
4669
4818
  /**
4670
4819
  */
4671
4820
  export class CompressedFheInt8 {
@@ -4674,14 +4823,14 @@ export class CompressedFheInt8 {
4674
4823
  ptr = ptr >>> 0;
4675
4824
  const obj = Object.create(CompressedFheInt8.prototype);
4676
4825
  obj.__wbg_ptr = ptr;
4677
-
4826
+ CompressedFheInt8Finalization.register(obj, obj.__wbg_ptr, obj);
4678
4827
  return obj;
4679
4828
  }
4680
4829
 
4681
4830
  __destroy_into_raw() {
4682
4831
  const ptr = this.__wbg_ptr;
4683
4832
  this.__wbg_ptr = 0;
4684
-
4833
+ CompressedFheInt8Finalization.unregister(this);
4685
4834
  return ptr;
4686
4835
  }
4687
4836
 
@@ -4815,6 +4964,10 @@ export class CompressedFheInt8 {
4815
4964
  }
4816
4965
  }
4817
4966
  }
4967
+
4968
+ const CompressedFheUint128Finalization = (typeof FinalizationRegistry === 'undefined')
4969
+ ? { register: () => {}, unregister: () => {} }
4970
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheuint128_free(ptr >>> 0));
4818
4971
  /**
4819
4972
  */
4820
4973
  export class CompressedFheUint128 {
@@ -4823,14 +4976,14 @@ export class CompressedFheUint128 {
4823
4976
  ptr = ptr >>> 0;
4824
4977
  const obj = Object.create(CompressedFheUint128.prototype);
4825
4978
  obj.__wbg_ptr = ptr;
4826
-
4979
+ CompressedFheUint128Finalization.register(obj, obj.__wbg_ptr, obj);
4827
4980
  return obj;
4828
4981
  }
4829
4982
 
4830
4983
  __destroy_into_raw() {
4831
4984
  const ptr = this.__wbg_ptr;
4832
4985
  this.__wbg_ptr = 0;
4833
-
4986
+ CompressedFheUint128Finalization.unregister(this);
4834
4987
  return ptr;
4835
4988
  }
4836
4989
 
@@ -4964,6 +5117,10 @@ export class CompressedFheUint128 {
4964
5117
  }
4965
5118
  }
4966
5119
  }
5120
+
5121
+ const CompressedFheUint16Finalization = (typeof FinalizationRegistry === 'undefined')
5122
+ ? { register: () => {}, unregister: () => {} }
5123
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheuint16_free(ptr >>> 0));
4967
5124
  /**
4968
5125
  */
4969
5126
  export class CompressedFheUint16 {
@@ -4972,14 +5129,14 @@ export class CompressedFheUint16 {
4972
5129
  ptr = ptr >>> 0;
4973
5130
  const obj = Object.create(CompressedFheUint16.prototype);
4974
5131
  obj.__wbg_ptr = ptr;
4975
-
5132
+ CompressedFheUint16Finalization.register(obj, obj.__wbg_ptr, obj);
4976
5133
  return obj;
4977
5134
  }
4978
5135
 
4979
5136
  __destroy_into_raw() {
4980
5137
  const ptr = this.__wbg_ptr;
4981
5138
  this.__wbg_ptr = 0;
4982
-
5139
+ CompressedFheUint16Finalization.unregister(this);
4983
5140
  return ptr;
4984
5141
  }
4985
5142
 
@@ -5113,6 +5270,10 @@ export class CompressedFheUint16 {
5113
5270
  }
5114
5271
  }
5115
5272
  }
5273
+
5274
+ const CompressedFheUint256Finalization = (typeof FinalizationRegistry === 'undefined')
5275
+ ? { register: () => {}, unregister: () => {} }
5276
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheuint256_free(ptr >>> 0));
5116
5277
  /**
5117
5278
  */
5118
5279
  export class CompressedFheUint256 {
@@ -5121,14 +5282,14 @@ export class CompressedFheUint256 {
5121
5282
  ptr = ptr >>> 0;
5122
5283
  const obj = Object.create(CompressedFheUint256.prototype);
5123
5284
  obj.__wbg_ptr = ptr;
5124
-
5285
+ CompressedFheUint256Finalization.register(obj, obj.__wbg_ptr, obj);
5125
5286
  return obj;
5126
5287
  }
5127
5288
 
5128
5289
  __destroy_into_raw() {
5129
5290
  const ptr = this.__wbg_ptr;
5130
5291
  this.__wbg_ptr = 0;
5131
-
5292
+ CompressedFheUint256Finalization.unregister(this);
5132
5293
  return ptr;
5133
5294
  }
5134
5295
 
@@ -5262,6 +5423,10 @@ export class CompressedFheUint256 {
5262
5423
  }
5263
5424
  }
5264
5425
  }
5426
+
5427
+ const CompressedFheUint32Finalization = (typeof FinalizationRegistry === 'undefined')
5428
+ ? { register: () => {}, unregister: () => {} }
5429
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheuint32_free(ptr >>> 0));
5265
5430
  /**
5266
5431
  */
5267
5432
  export class CompressedFheUint32 {
@@ -5270,14 +5435,14 @@ export class CompressedFheUint32 {
5270
5435
  ptr = ptr >>> 0;
5271
5436
  const obj = Object.create(CompressedFheUint32.prototype);
5272
5437
  obj.__wbg_ptr = ptr;
5273
-
5438
+ CompressedFheUint32Finalization.register(obj, obj.__wbg_ptr, obj);
5274
5439
  return obj;
5275
5440
  }
5276
5441
 
5277
5442
  __destroy_into_raw() {
5278
5443
  const ptr = this.__wbg_ptr;
5279
5444
  this.__wbg_ptr = 0;
5280
-
5445
+ CompressedFheUint32Finalization.unregister(this);
5281
5446
  return ptr;
5282
5447
  }
5283
5448
 
@@ -5411,6 +5576,10 @@ export class CompressedFheUint32 {
5411
5576
  }
5412
5577
  }
5413
5578
  }
5579
+
5580
+ const CompressedFheUint64Finalization = (typeof FinalizationRegistry === 'undefined')
5581
+ ? { register: () => {}, unregister: () => {} }
5582
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheuint64_free(ptr >>> 0));
5414
5583
  /**
5415
5584
  */
5416
5585
  export class CompressedFheUint64 {
@@ -5419,14 +5588,14 @@ export class CompressedFheUint64 {
5419
5588
  ptr = ptr >>> 0;
5420
5589
  const obj = Object.create(CompressedFheUint64.prototype);
5421
5590
  obj.__wbg_ptr = ptr;
5422
-
5591
+ CompressedFheUint64Finalization.register(obj, obj.__wbg_ptr, obj);
5423
5592
  return obj;
5424
5593
  }
5425
5594
 
5426
5595
  __destroy_into_raw() {
5427
5596
  const ptr = this.__wbg_ptr;
5428
5597
  this.__wbg_ptr = 0;
5429
-
5598
+ CompressedFheUint64Finalization.unregister(this);
5430
5599
  return ptr;
5431
5600
  }
5432
5601
 
@@ -5560,6 +5729,10 @@ export class CompressedFheUint64 {
5560
5729
  }
5561
5730
  }
5562
5731
  }
5732
+
5733
+ const CompressedFheUint8Finalization = (typeof FinalizationRegistry === 'undefined')
5734
+ ? { register: () => {}, unregister: () => {} }
5735
+ : new FinalizationRegistry(ptr => wasm.__wbg_compressedfheuint8_free(ptr >>> 0));
5563
5736
  /**
5564
5737
  */
5565
5738
  export class CompressedFheUint8 {
@@ -5568,14 +5741,14 @@ export class CompressedFheUint8 {
5568
5741
  ptr = ptr >>> 0;
5569
5742
  const obj = Object.create(CompressedFheUint8.prototype);
5570
5743
  obj.__wbg_ptr = ptr;
5571
-
5744
+ CompressedFheUint8Finalization.register(obj, obj.__wbg_ptr, obj);
5572
5745
  return obj;
5573
5746
  }
5574
5747
 
5575
5748
  __destroy_into_raw() {
5576
5749
  const ptr = this.__wbg_ptr;
5577
5750
  this.__wbg_ptr = 0;
5578
-
5751
+ CompressedFheUint8Finalization.unregister(this);
5579
5752
  return ptr;
5580
5753
  }
5581
5754
 
@@ -5709,6 +5882,10 @@ export class CompressedFheUint8 {
5709
5882
  }
5710
5883
  }
5711
5884
  }
5885
+
5886
+ const FheInt128Finalization = (typeof FinalizationRegistry === 'undefined')
5887
+ ? { register: () => {}, unregister: () => {} }
5888
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheint128_free(ptr >>> 0));
5712
5889
  /**
5713
5890
  */
5714
5891
  export class FheInt128 {
@@ -5717,14 +5894,14 @@ export class FheInt128 {
5717
5894
  ptr = ptr >>> 0;
5718
5895
  const obj = Object.create(FheInt128.prototype);
5719
5896
  obj.__wbg_ptr = ptr;
5720
-
5897
+ FheInt128Finalization.register(obj, obj.__wbg_ptr, obj);
5721
5898
  return obj;
5722
5899
  }
5723
5900
 
5724
5901
  __destroy_into_raw() {
5725
5902
  const ptr = this.__wbg_ptr;
5726
5903
  this.__wbg_ptr = 0;
5727
-
5904
+ FheInt128Finalization.unregister(this);
5728
5905
  return ptr;
5729
5906
  }
5730
5907
 
@@ -5923,6 +6100,10 @@ export class FheInt128 {
5923
6100
  }
5924
6101
  }
5925
6102
  }
6103
+
6104
+ const FheInt16Finalization = (typeof FinalizationRegistry === 'undefined')
6105
+ ? { register: () => {}, unregister: () => {} }
6106
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheint16_free(ptr >>> 0));
5926
6107
  /**
5927
6108
  */
5928
6109
  export class FheInt16 {
@@ -5931,14 +6112,14 @@ export class FheInt16 {
5931
6112
  ptr = ptr >>> 0;
5932
6113
  const obj = Object.create(FheInt16.prototype);
5933
6114
  obj.__wbg_ptr = ptr;
5934
-
6115
+ FheInt16Finalization.register(obj, obj.__wbg_ptr, obj);
5935
6116
  return obj;
5936
6117
  }
5937
6118
 
5938
6119
  __destroy_into_raw() {
5939
6120
  const ptr = this.__wbg_ptr;
5940
6121
  this.__wbg_ptr = 0;
5941
-
6122
+ FheInt16Finalization.unregister(this);
5942
6123
  return ptr;
5943
6124
  }
5944
6125
 
@@ -6137,6 +6318,10 @@ export class FheInt16 {
6137
6318
  }
6138
6319
  }
6139
6320
  }
6321
+
6322
+ const FheInt256Finalization = (typeof FinalizationRegistry === 'undefined')
6323
+ ? { register: () => {}, unregister: () => {} }
6324
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheint256_free(ptr >>> 0));
6140
6325
  /**
6141
6326
  */
6142
6327
  export class FheInt256 {
@@ -6145,14 +6330,14 @@ export class FheInt256 {
6145
6330
  ptr = ptr >>> 0;
6146
6331
  const obj = Object.create(FheInt256.prototype);
6147
6332
  obj.__wbg_ptr = ptr;
6148
-
6333
+ FheInt256Finalization.register(obj, obj.__wbg_ptr, obj);
6149
6334
  return obj;
6150
6335
  }
6151
6336
 
6152
6337
  __destroy_into_raw() {
6153
6338
  const ptr = this.__wbg_ptr;
6154
6339
  this.__wbg_ptr = 0;
6155
-
6340
+ FheInt256Finalization.unregister(this);
6156
6341
  return ptr;
6157
6342
  }
6158
6343
 
@@ -6351,6 +6536,10 @@ export class FheInt256 {
6351
6536
  }
6352
6537
  }
6353
6538
  }
6539
+
6540
+ const FheInt32Finalization = (typeof FinalizationRegistry === 'undefined')
6541
+ ? { register: () => {}, unregister: () => {} }
6542
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheint32_free(ptr >>> 0));
6354
6543
  /**
6355
6544
  */
6356
6545
  export class FheInt32 {
@@ -6359,14 +6548,14 @@ export class FheInt32 {
6359
6548
  ptr = ptr >>> 0;
6360
6549
  const obj = Object.create(FheInt32.prototype);
6361
6550
  obj.__wbg_ptr = ptr;
6362
-
6551
+ FheInt32Finalization.register(obj, obj.__wbg_ptr, obj);
6363
6552
  return obj;
6364
6553
  }
6365
6554
 
6366
6555
  __destroy_into_raw() {
6367
6556
  const ptr = this.__wbg_ptr;
6368
6557
  this.__wbg_ptr = 0;
6369
-
6558
+ FheInt32Finalization.unregister(this);
6370
6559
  return ptr;
6371
6560
  }
6372
6561
 
@@ -6565,6 +6754,10 @@ export class FheInt32 {
6565
6754
  }
6566
6755
  }
6567
6756
  }
6757
+
6758
+ const FheInt64Finalization = (typeof FinalizationRegistry === 'undefined')
6759
+ ? { register: () => {}, unregister: () => {} }
6760
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheint64_free(ptr >>> 0));
6568
6761
  /**
6569
6762
  */
6570
6763
  export class FheInt64 {
@@ -6573,14 +6766,14 @@ export class FheInt64 {
6573
6766
  ptr = ptr >>> 0;
6574
6767
  const obj = Object.create(FheInt64.prototype);
6575
6768
  obj.__wbg_ptr = ptr;
6576
-
6769
+ FheInt64Finalization.register(obj, obj.__wbg_ptr, obj);
6577
6770
  return obj;
6578
6771
  }
6579
6772
 
6580
6773
  __destroy_into_raw() {
6581
6774
  const ptr = this.__wbg_ptr;
6582
6775
  this.__wbg_ptr = 0;
6583
-
6776
+ FheInt64Finalization.unregister(this);
6584
6777
  return ptr;
6585
6778
  }
6586
6779
 
@@ -6779,6 +6972,10 @@ export class FheInt64 {
6779
6972
  }
6780
6973
  }
6781
6974
  }
6975
+
6976
+ const FheInt8Finalization = (typeof FinalizationRegistry === 'undefined')
6977
+ ? { register: () => {}, unregister: () => {} }
6978
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheint8_free(ptr >>> 0));
6782
6979
  /**
6783
6980
  */
6784
6981
  export class FheInt8 {
@@ -6787,14 +6984,14 @@ export class FheInt8 {
6787
6984
  ptr = ptr >>> 0;
6788
6985
  const obj = Object.create(FheInt8.prototype);
6789
6986
  obj.__wbg_ptr = ptr;
6790
-
6987
+ FheInt8Finalization.register(obj, obj.__wbg_ptr, obj);
6791
6988
  return obj;
6792
6989
  }
6793
6990
 
6794
6991
  __destroy_into_raw() {
6795
6992
  const ptr = this.__wbg_ptr;
6796
6993
  this.__wbg_ptr = 0;
6797
-
6994
+ FheInt8Finalization.unregister(this);
6798
6995
  return ptr;
6799
6996
  }
6800
6997
 
@@ -6993,6 +7190,10 @@ export class FheInt8 {
6993
7190
  }
6994
7191
  }
6995
7192
  }
7193
+
7194
+ const FheUint128Finalization = (typeof FinalizationRegistry === 'undefined')
7195
+ ? { register: () => {}, unregister: () => {} }
7196
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheuint128_free(ptr >>> 0));
6996
7197
  /**
6997
7198
  */
6998
7199
  export class FheUint128 {
@@ -7001,14 +7202,14 @@ export class FheUint128 {
7001
7202
  ptr = ptr >>> 0;
7002
7203
  const obj = Object.create(FheUint128.prototype);
7003
7204
  obj.__wbg_ptr = ptr;
7004
-
7205
+ FheUint128Finalization.register(obj, obj.__wbg_ptr, obj);
7005
7206
  return obj;
7006
7207
  }
7007
7208
 
7008
7209
  __destroy_into_raw() {
7009
7210
  const ptr = this.__wbg_ptr;
7010
7211
  this.__wbg_ptr = 0;
7011
-
7212
+ FheUint128Finalization.unregister(this);
7012
7213
  return ptr;
7013
7214
  }
7014
7215
 
@@ -7207,6 +7408,10 @@ export class FheUint128 {
7207
7408
  }
7208
7409
  }
7209
7410
  }
7411
+
7412
+ const FheUint16Finalization = (typeof FinalizationRegistry === 'undefined')
7413
+ ? { register: () => {}, unregister: () => {} }
7414
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheuint16_free(ptr >>> 0));
7210
7415
  /**
7211
7416
  */
7212
7417
  export class FheUint16 {
@@ -7215,14 +7420,14 @@ export class FheUint16 {
7215
7420
  ptr = ptr >>> 0;
7216
7421
  const obj = Object.create(FheUint16.prototype);
7217
7422
  obj.__wbg_ptr = ptr;
7218
-
7423
+ FheUint16Finalization.register(obj, obj.__wbg_ptr, obj);
7219
7424
  return obj;
7220
7425
  }
7221
7426
 
7222
7427
  __destroy_into_raw() {
7223
7428
  const ptr = this.__wbg_ptr;
7224
7429
  this.__wbg_ptr = 0;
7225
-
7430
+ FheUint16Finalization.unregister(this);
7226
7431
  return ptr;
7227
7432
  }
7228
7433
 
@@ -7421,6 +7626,10 @@ export class FheUint16 {
7421
7626
  }
7422
7627
  }
7423
7628
  }
7629
+
7630
+ const FheUint256Finalization = (typeof FinalizationRegistry === 'undefined')
7631
+ ? { register: () => {}, unregister: () => {} }
7632
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheuint256_free(ptr >>> 0));
7424
7633
  /**
7425
7634
  */
7426
7635
  export class FheUint256 {
@@ -7429,14 +7638,14 @@ export class FheUint256 {
7429
7638
  ptr = ptr >>> 0;
7430
7639
  const obj = Object.create(FheUint256.prototype);
7431
7640
  obj.__wbg_ptr = ptr;
7432
-
7641
+ FheUint256Finalization.register(obj, obj.__wbg_ptr, obj);
7433
7642
  return obj;
7434
7643
  }
7435
7644
 
7436
7645
  __destroy_into_raw() {
7437
7646
  const ptr = this.__wbg_ptr;
7438
7647
  this.__wbg_ptr = 0;
7439
-
7648
+ FheUint256Finalization.unregister(this);
7440
7649
  return ptr;
7441
7650
  }
7442
7651
 
@@ -7635,6 +7844,10 @@ export class FheUint256 {
7635
7844
  }
7636
7845
  }
7637
7846
  }
7847
+
7848
+ const FheUint32Finalization = (typeof FinalizationRegistry === 'undefined')
7849
+ ? { register: () => {}, unregister: () => {} }
7850
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheuint32_free(ptr >>> 0));
7638
7851
  /**
7639
7852
  */
7640
7853
  export class FheUint32 {
@@ -7643,14 +7856,14 @@ export class FheUint32 {
7643
7856
  ptr = ptr >>> 0;
7644
7857
  const obj = Object.create(FheUint32.prototype);
7645
7858
  obj.__wbg_ptr = ptr;
7646
-
7859
+ FheUint32Finalization.register(obj, obj.__wbg_ptr, obj);
7647
7860
  return obj;
7648
7861
  }
7649
7862
 
7650
7863
  __destroy_into_raw() {
7651
7864
  const ptr = this.__wbg_ptr;
7652
7865
  this.__wbg_ptr = 0;
7653
-
7866
+ FheUint32Finalization.unregister(this);
7654
7867
  return ptr;
7655
7868
  }
7656
7869
 
@@ -7849,6 +8062,10 @@ export class FheUint32 {
7849
8062
  }
7850
8063
  }
7851
8064
  }
8065
+
8066
+ const FheUint64Finalization = (typeof FinalizationRegistry === 'undefined')
8067
+ ? { register: () => {}, unregister: () => {} }
8068
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheuint64_free(ptr >>> 0));
7852
8069
  /**
7853
8070
  */
7854
8071
  export class FheUint64 {
@@ -7857,14 +8074,14 @@ export class FheUint64 {
7857
8074
  ptr = ptr >>> 0;
7858
8075
  const obj = Object.create(FheUint64.prototype);
7859
8076
  obj.__wbg_ptr = ptr;
7860
-
8077
+ FheUint64Finalization.register(obj, obj.__wbg_ptr, obj);
7861
8078
  return obj;
7862
8079
  }
7863
8080
 
7864
8081
  __destroy_into_raw() {
7865
8082
  const ptr = this.__wbg_ptr;
7866
8083
  this.__wbg_ptr = 0;
7867
-
8084
+ FheUint64Finalization.unregister(this);
7868
8085
  return ptr;
7869
8086
  }
7870
8087
 
@@ -8063,6 +8280,10 @@ export class FheUint64 {
8063
8280
  }
8064
8281
  }
8065
8282
  }
8283
+
8284
+ const FheUint8Finalization = (typeof FinalizationRegistry === 'undefined')
8285
+ ? { register: () => {}, unregister: () => {} }
8286
+ : new FinalizationRegistry(ptr => wasm.__wbg_fheuint8_free(ptr >>> 0));
8066
8287
  /**
8067
8288
  */
8068
8289
  export class FheUint8 {
@@ -8071,14 +8292,14 @@ export class FheUint8 {
8071
8292
  ptr = ptr >>> 0;
8072
8293
  const obj = Object.create(FheUint8.prototype);
8073
8294
  obj.__wbg_ptr = ptr;
8074
-
8295
+ FheUint8Finalization.register(obj, obj.__wbg_ptr, obj);
8075
8296
  return obj;
8076
8297
  }
8077
8298
 
8078
8299
  __destroy_into_raw() {
8079
8300
  const ptr = this.__wbg_ptr;
8080
8301
  this.__wbg_ptr = 0;
8081
-
8302
+ FheUint8Finalization.unregister(this);
8082
8303
  return ptr;
8083
8304
  }
8084
8305
 
@@ -8277,6 +8498,10 @@ export class FheUint8 {
8277
8498
  }
8278
8499
  }
8279
8500
  }
8501
+
8502
+ const ShortintFinalization = (typeof FinalizationRegistry === 'undefined')
8503
+ ? { register: () => {}, unregister: () => {} }
8504
+ : new FinalizationRegistry(ptr => wasm.__wbg_shortint_free(ptr >>> 0));
8280
8505
  /**
8281
8506
  */
8282
8507
  export class Shortint {
@@ -8284,7 +8509,7 @@ export class Shortint {
8284
8509
  __destroy_into_raw() {
8285
8510
  const ptr = this.__wbg_ptr;
8286
8511
  this.__wbg_ptr = 0;
8287
-
8512
+ ShortintFinalization.unregister(this);
8288
8513
  return ptr;
8289
8514
  }
8290
8515
 
@@ -8735,6 +8960,10 @@ export class Shortint {
8735
8960
  }
8736
8961
  }
8737
8962
  }
8963
+
8964
+ const ShortintCiphertextFinalization = (typeof FinalizationRegistry === 'undefined')
8965
+ ? { register: () => {}, unregister: () => {} }
8966
+ : new FinalizationRegistry(ptr => wasm.__wbg_shortintciphertext_free(ptr >>> 0));
8738
8967
  /**
8739
8968
  */
8740
8969
  export class ShortintCiphertext {
@@ -8743,14 +8972,14 @@ export class ShortintCiphertext {
8743
8972
  ptr = ptr >>> 0;
8744
8973
  const obj = Object.create(ShortintCiphertext.prototype);
8745
8974
  obj.__wbg_ptr = ptr;
8746
-
8975
+ ShortintCiphertextFinalization.register(obj, obj.__wbg_ptr, obj);
8747
8976
  return obj;
8748
8977
  }
8749
8978
 
8750
8979
  __destroy_into_raw() {
8751
8980
  const ptr = this.__wbg_ptr;
8752
8981
  this.__wbg_ptr = 0;
8753
-
8982
+ ShortintCiphertextFinalization.unregister(this);
8754
8983
  return ptr;
8755
8984
  }
8756
8985
 
@@ -8759,6 +8988,10 @@ export class ShortintCiphertext {
8759
8988
  wasm.__wbg_shortintciphertext_free(ptr);
8760
8989
  }
8761
8990
  }
8991
+
8992
+ const ShortintClientKeyFinalization = (typeof FinalizationRegistry === 'undefined')
8993
+ ? { register: () => {}, unregister: () => {} }
8994
+ : new FinalizationRegistry(ptr => wasm.__wbg_shortintclientkey_free(ptr >>> 0));
8762
8995
  /**
8763
8996
  */
8764
8997
  export class ShortintClientKey {
@@ -8767,14 +9000,14 @@ export class ShortintClientKey {
8767
9000
  ptr = ptr >>> 0;
8768
9001
  const obj = Object.create(ShortintClientKey.prototype);
8769
9002
  obj.__wbg_ptr = ptr;
8770
-
9003
+ ShortintClientKeyFinalization.register(obj, obj.__wbg_ptr, obj);
8771
9004
  return obj;
8772
9005
  }
8773
9006
 
8774
9007
  __destroy_into_raw() {
8775
9008
  const ptr = this.__wbg_ptr;
8776
9009
  this.__wbg_ptr = 0;
8777
-
9010
+ ShortintClientKeyFinalization.unregister(this);
8778
9011
  return ptr;
8779
9012
  }
8780
9013
 
@@ -8783,6 +9016,10 @@ export class ShortintClientKey {
8783
9016
  wasm.__wbg_shortintclientkey_free(ptr);
8784
9017
  }
8785
9018
  }
9019
+
9020
+ const ShortintCompressedCiphertextFinalization = (typeof FinalizationRegistry === 'undefined')
9021
+ ? { register: () => {}, unregister: () => {} }
9022
+ : new FinalizationRegistry(ptr => wasm.__wbg_shortintcompressedciphertext_free(ptr >>> 0));
8786
9023
  /**
8787
9024
  */
8788
9025
  export class ShortintCompressedCiphertext {
@@ -8791,14 +9028,14 @@ export class ShortintCompressedCiphertext {
8791
9028
  ptr = ptr >>> 0;
8792
9029
  const obj = Object.create(ShortintCompressedCiphertext.prototype);
8793
9030
  obj.__wbg_ptr = ptr;
8794
-
9031
+ ShortintCompressedCiphertextFinalization.register(obj, obj.__wbg_ptr, obj);
8795
9032
  return obj;
8796
9033
  }
8797
9034
 
8798
9035
  __destroy_into_raw() {
8799
9036
  const ptr = this.__wbg_ptr;
8800
9037
  this.__wbg_ptr = 0;
8801
-
9038
+ ShortintCompressedCiphertextFinalization.unregister(this);
8802
9039
  return ptr;
8803
9040
  }
8804
9041
 
@@ -8807,6 +9044,10 @@ export class ShortintCompressedCiphertext {
8807
9044
  wasm.__wbg_shortintcompressedciphertext_free(ptr);
8808
9045
  }
8809
9046
  }
9047
+
9048
+ const ShortintCompressedPublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9049
+ ? { register: () => {}, unregister: () => {} }
9050
+ : new FinalizationRegistry(ptr => wasm.__wbg_shortintcompressedpublickey_free(ptr >>> 0));
8810
9051
  /**
8811
9052
  */
8812
9053
  export class ShortintCompressedPublicKey {
@@ -8815,14 +9056,14 @@ export class ShortintCompressedPublicKey {
8815
9056
  ptr = ptr >>> 0;
8816
9057
  const obj = Object.create(ShortintCompressedPublicKey.prototype);
8817
9058
  obj.__wbg_ptr = ptr;
8818
-
9059
+ ShortintCompressedPublicKeyFinalization.register(obj, obj.__wbg_ptr, obj);
8819
9060
  return obj;
8820
9061
  }
8821
9062
 
8822
9063
  __destroy_into_raw() {
8823
9064
  const ptr = this.__wbg_ptr;
8824
9065
  this.__wbg_ptr = 0;
8825
-
9066
+ ShortintCompressedPublicKeyFinalization.unregister(this);
8826
9067
  return ptr;
8827
9068
  }
8828
9069
 
@@ -8831,6 +9072,10 @@ export class ShortintCompressedPublicKey {
8831
9072
  wasm.__wbg_shortintcompressedpublickey_free(ptr);
8832
9073
  }
8833
9074
  }
9075
+
9076
+ const ShortintCompressedServerKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9077
+ ? { register: () => {}, unregister: () => {} }
9078
+ : new FinalizationRegistry(ptr => wasm.__wbg_shortintcompressedserverkey_free(ptr >>> 0));
8834
9079
  /**
8835
9080
  */
8836
9081
  export class ShortintCompressedServerKey {
@@ -8839,14 +9084,14 @@ export class ShortintCompressedServerKey {
8839
9084
  ptr = ptr >>> 0;
8840
9085
  const obj = Object.create(ShortintCompressedServerKey.prototype);
8841
9086
  obj.__wbg_ptr = ptr;
8842
-
9087
+ ShortintCompressedServerKeyFinalization.register(obj, obj.__wbg_ptr, obj);
8843
9088
  return obj;
8844
9089
  }
8845
9090
 
8846
9091
  __destroy_into_raw() {
8847
9092
  const ptr = this.__wbg_ptr;
8848
9093
  this.__wbg_ptr = 0;
8849
-
9094
+ ShortintCompressedServerKeyFinalization.unregister(this);
8850
9095
  return ptr;
8851
9096
  }
8852
9097
 
@@ -8855,6 +9100,10 @@ export class ShortintCompressedServerKey {
8855
9100
  wasm.__wbg_shortintcompressedserverkey_free(ptr);
8856
9101
  }
8857
9102
  }
9103
+
9104
+ const ShortintParametersFinalization = (typeof FinalizationRegistry === 'undefined')
9105
+ ? { register: () => {}, unregister: () => {} }
9106
+ : new FinalizationRegistry(ptr => wasm.__wbg_shortintparameters_free(ptr >>> 0));
8858
9107
  /**
8859
9108
  */
8860
9109
  export class ShortintParameters {
@@ -8863,14 +9112,14 @@ export class ShortintParameters {
8863
9112
  ptr = ptr >>> 0;
8864
9113
  const obj = Object.create(ShortintParameters.prototype);
8865
9114
  obj.__wbg_ptr = ptr;
8866
-
9115
+ ShortintParametersFinalization.register(obj, obj.__wbg_ptr, obj);
8867
9116
  return obj;
8868
9117
  }
8869
9118
 
8870
9119
  __destroy_into_raw() {
8871
9120
  const ptr = this.__wbg_ptr;
8872
9121
  this.__wbg_ptr = 0;
8873
-
9122
+ ShortintParametersFinalization.unregister(this);
8874
9123
  return ptr;
8875
9124
  }
8876
9125
 
@@ -8887,6 +9136,10 @@ export class ShortintParameters {
8887
9136
  return this;
8888
9137
  }
8889
9138
  }
9139
+
9140
+ const ShortintPublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9141
+ ? { register: () => {}, unregister: () => {} }
9142
+ : new FinalizationRegistry(ptr => wasm.__wbg_shortintpublickey_free(ptr >>> 0));
8890
9143
  /**
8891
9144
  */
8892
9145
  export class ShortintPublicKey {
@@ -8895,14 +9148,14 @@ export class ShortintPublicKey {
8895
9148
  ptr = ptr >>> 0;
8896
9149
  const obj = Object.create(ShortintPublicKey.prototype);
8897
9150
  obj.__wbg_ptr = ptr;
8898
-
9151
+ ShortintPublicKeyFinalization.register(obj, obj.__wbg_ptr, obj);
8899
9152
  return obj;
8900
9153
  }
8901
9154
 
8902
9155
  __destroy_into_raw() {
8903
9156
  const ptr = this.__wbg_ptr;
8904
9157
  this.__wbg_ptr = 0;
8905
-
9158
+ ShortintPublicKeyFinalization.unregister(this);
8906
9159
  return ptr;
8907
9160
  }
8908
9161
 
@@ -8911,6 +9164,10 @@ export class ShortintPublicKey {
8911
9164
  wasm.__wbg_shortintpublickey_free(ptr);
8912
9165
  }
8913
9166
  }
9167
+
9168
+ const TfheClientKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9169
+ ? { register: () => {}, unregister: () => {} }
9170
+ : new FinalizationRegistry(ptr => wasm.__wbg_tfheclientkey_free(ptr >>> 0));
8914
9171
  /**
8915
9172
  */
8916
9173
  export class TfheClientKey {
@@ -8919,14 +9176,14 @@ export class TfheClientKey {
8919
9176
  ptr = ptr >>> 0;
8920
9177
  const obj = Object.create(TfheClientKey.prototype);
8921
9178
  obj.__wbg_ptr = ptr;
8922
-
9179
+ TfheClientKeyFinalization.register(obj, obj.__wbg_ptr, obj);
8923
9180
  return obj;
8924
9181
  }
8925
9182
 
8926
9183
  __destroy_into_raw() {
8927
9184
  const ptr = this.__wbg_ptr;
8928
9185
  this.__wbg_ptr = 0;
8929
-
9186
+ TfheClientKeyFinalization.unregister(this);
8930
9187
  return ptr;
8931
9188
  }
8932
9189
 
@@ -9018,6 +9275,10 @@ export class TfheClientKey {
9018
9275
  }
9019
9276
  }
9020
9277
  }
9278
+
9279
+ const TfheCompactPublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9280
+ ? { register: () => {}, unregister: () => {} }
9281
+ : new FinalizationRegistry(ptr => wasm.__wbg_tfhecompactpublickey_free(ptr >>> 0));
9021
9282
  /**
9022
9283
  */
9023
9284
  export class TfheCompactPublicKey {
@@ -9026,14 +9287,14 @@ export class TfheCompactPublicKey {
9026
9287
  ptr = ptr >>> 0;
9027
9288
  const obj = Object.create(TfheCompactPublicKey.prototype);
9028
9289
  obj.__wbg_ptr = ptr;
9029
-
9290
+ TfheCompactPublicKeyFinalization.register(obj, obj.__wbg_ptr, obj);
9030
9291
  return obj;
9031
9292
  }
9032
9293
 
9033
9294
  __destroy_into_raw() {
9034
9295
  const ptr = this.__wbg_ptr;
9035
9296
  this.__wbg_ptr = 0;
9036
-
9297
+ TfheCompactPublicKeyFinalization.unregister(this);
9037
9298
  return ptr;
9038
9299
  }
9039
9300
 
@@ -9104,6 +9365,10 @@ export class TfheCompactPublicKey {
9104
9365
  }
9105
9366
  }
9106
9367
  }
9368
+
9369
+ const TfheCompressedCompactPublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9370
+ ? { register: () => {}, unregister: () => {} }
9371
+ : new FinalizationRegistry(ptr => wasm.__wbg_tfhecompressedcompactpublickey_free(ptr >>> 0));
9107
9372
  /**
9108
9373
  */
9109
9374
  export class TfheCompressedCompactPublicKey {
@@ -9112,14 +9377,14 @@ export class TfheCompressedCompactPublicKey {
9112
9377
  ptr = ptr >>> 0;
9113
9378
  const obj = Object.create(TfheCompressedCompactPublicKey.prototype);
9114
9379
  obj.__wbg_ptr = ptr;
9115
-
9380
+ TfheCompressedCompactPublicKeyFinalization.register(obj, obj.__wbg_ptr, obj);
9116
9381
  return obj;
9117
9382
  }
9118
9383
 
9119
9384
  __destroy_into_raw() {
9120
9385
  const ptr = this.__wbg_ptr;
9121
9386
  this.__wbg_ptr = 0;
9122
-
9387
+ TfheCompressedCompactPublicKeyFinalization.unregister(this);
9123
9388
  return ptr;
9124
9389
  }
9125
9390
 
@@ -9208,6 +9473,10 @@ export class TfheCompressedCompactPublicKey {
9208
9473
  }
9209
9474
  }
9210
9475
  }
9476
+
9477
+ const TfheCompressedPublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9478
+ ? { register: () => {}, unregister: () => {} }
9479
+ : new FinalizationRegistry(ptr => wasm.__wbg_tfhecompressedpublickey_free(ptr >>> 0));
9211
9480
  /**
9212
9481
  */
9213
9482
  export class TfheCompressedPublicKey {
@@ -9216,14 +9485,14 @@ export class TfheCompressedPublicKey {
9216
9485
  ptr = ptr >>> 0;
9217
9486
  const obj = Object.create(TfheCompressedPublicKey.prototype);
9218
9487
  obj.__wbg_ptr = ptr;
9219
-
9488
+ TfheCompressedPublicKeyFinalization.register(obj, obj.__wbg_ptr, obj);
9220
9489
  return obj;
9221
9490
  }
9222
9491
 
9223
9492
  __destroy_into_raw() {
9224
9493
  const ptr = this.__wbg_ptr;
9225
9494
  this.__wbg_ptr = 0;
9226
-
9495
+ TfheCompressedPublicKeyFinalization.unregister(this);
9227
9496
  return ptr;
9228
9497
  }
9229
9498
 
@@ -9312,6 +9581,10 @@ export class TfheCompressedPublicKey {
9312
9581
  }
9313
9582
  }
9314
9583
  }
9584
+
9585
+ const TfheCompressedServerKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9586
+ ? { register: () => {}, unregister: () => {} }
9587
+ : new FinalizationRegistry(ptr => wasm.__wbg_tfhecompressedserverkey_free(ptr >>> 0));
9315
9588
  /**
9316
9589
  */
9317
9590
  export class TfheCompressedServerKey {
@@ -9320,14 +9593,14 @@ export class TfheCompressedServerKey {
9320
9593
  ptr = ptr >>> 0;
9321
9594
  const obj = Object.create(TfheCompressedServerKey.prototype);
9322
9595
  obj.__wbg_ptr = ptr;
9323
-
9596
+ TfheCompressedServerKeyFinalization.register(obj, obj.__wbg_ptr, obj);
9324
9597
  return obj;
9325
9598
  }
9326
9599
 
9327
9600
  __destroy_into_raw() {
9328
9601
  const ptr = this.__wbg_ptr;
9329
9602
  this.__wbg_ptr = 0;
9330
-
9603
+ TfheCompressedServerKeyFinalization.unregister(this);
9331
9604
  return ptr;
9332
9605
  }
9333
9606
 
@@ -9398,6 +9671,10 @@ export class TfheCompressedServerKey {
9398
9671
  }
9399
9672
  }
9400
9673
  }
9674
+
9675
+ const TfheConfigFinalization = (typeof FinalizationRegistry === 'undefined')
9676
+ ? { register: () => {}, unregister: () => {} }
9677
+ : new FinalizationRegistry(ptr => wasm.__wbg_tfheconfig_free(ptr >>> 0));
9401
9678
  /**
9402
9679
  */
9403
9680
  export class TfheConfig {
@@ -9406,14 +9683,14 @@ export class TfheConfig {
9406
9683
  ptr = ptr >>> 0;
9407
9684
  const obj = Object.create(TfheConfig.prototype);
9408
9685
  obj.__wbg_ptr = ptr;
9409
-
9686
+ TfheConfigFinalization.register(obj, obj.__wbg_ptr, obj);
9410
9687
  return obj;
9411
9688
  }
9412
9689
 
9413
9690
  __destroy_into_raw() {
9414
9691
  const ptr = this.__wbg_ptr;
9415
9692
  this.__wbg_ptr = 0;
9416
-
9693
+ TfheConfigFinalization.unregister(this);
9417
9694
  return ptr;
9418
9695
  }
9419
9696
 
@@ -9422,6 +9699,10 @@ export class TfheConfig {
9422
9699
  wasm.__wbg_tfheconfig_free(ptr);
9423
9700
  }
9424
9701
  }
9702
+
9703
+ const TfheConfigBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
9704
+ ? { register: () => {}, unregister: () => {} }
9705
+ : new FinalizationRegistry(ptr => wasm.__wbg_tfheconfigbuilder_free(ptr >>> 0));
9425
9706
  /**
9426
9707
  */
9427
9708
  export class TfheConfigBuilder {
@@ -9430,14 +9711,14 @@ export class TfheConfigBuilder {
9430
9711
  ptr = ptr >>> 0;
9431
9712
  const obj = Object.create(TfheConfigBuilder.prototype);
9432
9713
  obj.__wbg_ptr = ptr;
9433
-
9714
+ TfheConfigBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
9434
9715
  return obj;
9435
9716
  }
9436
9717
 
9437
9718
  __destroy_into_raw() {
9438
9719
  const ptr = this.__wbg_ptr;
9439
9720
  this.__wbg_ptr = 0;
9440
-
9721
+ TfheConfigBuilderFinalization.unregister(this);
9441
9722
  return ptr;
9442
9723
  }
9443
9724
 
@@ -9488,6 +9769,10 @@ export class TfheConfigBuilder {
9488
9769
  return TfheConfig.__wrap(ret);
9489
9770
  }
9490
9771
  }
9772
+
9773
+ const TfhePublicKeyFinalization = (typeof FinalizationRegistry === 'undefined')
9774
+ ? { register: () => {}, unregister: () => {} }
9775
+ : new FinalizationRegistry(ptr => wasm.__wbg_tfhepublickey_free(ptr >>> 0));
9491
9776
  /**
9492
9777
  */
9493
9778
  export class TfhePublicKey {
@@ -9496,14 +9781,14 @@ export class TfhePublicKey {
9496
9781
  ptr = ptr >>> 0;
9497
9782
  const obj = Object.create(TfhePublicKey.prototype);
9498
9783
  obj.__wbg_ptr = ptr;
9499
-
9784
+ TfhePublicKeyFinalization.register(obj, obj.__wbg_ptr, obj);
9500
9785
  return obj;
9501
9786
  }
9502
9787
 
9503
9788
  __destroy_into_raw() {
9504
9789
  const ptr = this.__wbg_ptr;
9505
9790
  this.__wbg_ptr = 0;
9506
-
9791
+ TfhePublicKeyFinalization.unregister(this);
9507
9792
  return ptr;
9508
9793
  }
9509
9794
 
@@ -9574,6 +9859,10 @@ export class TfhePublicKey {
9574
9859
  }
9575
9860
  }
9576
9861
  }
9862
+
9863
+ const tfheFinalization = (typeof FinalizationRegistry === 'undefined')
9864
+ ? { register: () => {}, unregister: () => {} }
9865
+ : new FinalizationRegistry(ptr => wasm.__wbg_tfhe_free(ptr >>> 0));
9577
9866
  /**
9578
9867
  */
9579
9868
  export class tfhe {
@@ -9581,7 +9870,7 @@ export class tfhe {
9581
9870
  __destroy_into_raw() {
9582
9871
  const ptr = this.__wbg_ptr;
9583
9872
  this.__wbg_ptr = 0;
9584
-
9873
+ tfheFinalization.unregister(this);
9585
9874
  return ptr;
9586
9875
  }
9587
9876
 
@@ -9648,80 +9937,68 @@ function __wbg_get_imports() {
9648
9937
  const ret = new Error(getStringFromWasm0(arg0, arg1));
9649
9938
  return addHeapObject(ret);
9650
9939
  };
9651
- imports.wbg.__wbindgen_bigint_from_i128 = function(arg0, arg1) {
9652
- const ret = arg0 << BigInt(64) | BigInt.asUintN(64, arg1);
9653
- return addHeapObject(ret);
9654
- };
9655
9940
  imports.wbg.__wbindgen_bigint_from_u128 = function(arg0, arg1) {
9656
9941
  const ret = BigInt.asUintN(64, arg0) << BigInt(64) | BigInt.asUintN(64, arg1);
9657
9942
  return addHeapObject(ret);
9658
9943
  };
9659
- imports.wbg.__wbindgen_number_new = function(arg0) {
9660
- const ret = arg0;
9661
- return addHeapObject(ret);
9662
- };
9663
- imports.wbg.__wbg_fheint8_new = function(arg0) {
9664
- const ret = FheInt8.__wrap(arg0);
9665
- return addHeapObject(ret);
9666
- };
9667
- imports.wbg.__wbg_fheuint64_new = function(arg0) {
9668
- const ret = FheUint64.__wrap(arg0);
9944
+ imports.wbg.__wbindgen_bigint_from_i128 = function(arg0, arg1) {
9945
+ const ret = arg0 << BigInt(64) | BigInt.asUintN(64, arg1);
9669
9946
  return addHeapObject(ret);
9670
9947
  };
9671
- imports.wbg.__wbg_fheint16_new = function(arg0) {
9672
- const ret = FheInt16.__wrap(arg0);
9948
+ imports.wbg.__wbg_fheuint8_new = function(arg0) {
9949
+ const ret = FheUint8.__wrap(arg0);
9673
9950
  return addHeapObject(ret);
9674
9951
  };
9675
9952
  imports.wbg.__wbg_fheint128_new = function(arg0) {
9676
9953
  const ret = FheInt128.__wrap(arg0);
9677
9954
  return addHeapObject(ret);
9678
9955
  };
9679
- imports.wbg.__wbg_fheuint32_new = function(arg0) {
9680
- const ret = FheUint32.__wrap(arg0);
9681
- return addHeapObject(ret);
9682
- };
9683
- imports.wbg.__wbg_fheuint16_new = function(arg0) {
9684
- const ret = FheUint16.__wrap(arg0);
9956
+ imports.wbg.__wbg_fheuint64_new = function(arg0) {
9957
+ const ret = FheUint64.__wrap(arg0);
9685
9958
  return addHeapObject(ret);
9686
9959
  };
9687
- imports.wbg.__wbg_fheint256_new = function(arg0) {
9688
- const ret = FheInt256.__wrap(arg0);
9960
+ imports.wbg.__wbg_fheuint32_new = function(arg0) {
9961
+ const ret = FheUint32.__wrap(arg0);
9689
9962
  return addHeapObject(ret);
9690
9963
  };
9691
9964
  imports.wbg.__wbg_fheint32_new = function(arg0) {
9692
9965
  const ret = FheInt32.__wrap(arg0);
9693
9966
  return addHeapObject(ret);
9694
9967
  };
9695
- imports.wbg.__wbg_fheuint256_new = function(arg0) {
9696
- const ret = FheUint256.__wrap(arg0);
9968
+ imports.wbg.__wbg_fheuint16_new = function(arg0) {
9969
+ const ret = FheUint16.__wrap(arg0);
9970
+ return addHeapObject(ret);
9971
+ };
9972
+ imports.wbg.__wbindgen_number_new = function(arg0) {
9973
+ const ret = arg0;
9697
9974
  return addHeapObject(ret);
9698
9975
  };
9699
9976
  imports.wbg.__wbg_fheint64_new = function(arg0) {
9700
9977
  const ret = FheInt64.__wrap(arg0);
9701
9978
  return addHeapObject(ret);
9702
9979
  };
9703
- imports.wbg.__wbg_fheuint8_new = function(arg0) {
9704
- const ret = FheUint8.__wrap(arg0);
9980
+ imports.wbg.__wbg_fheint16_new = function(arg0) {
9981
+ const ret = FheInt16.__wrap(arg0);
9705
9982
  return addHeapObject(ret);
9706
9983
  };
9707
9984
  imports.wbg.__wbg_fheuint128_new = function(arg0) {
9708
9985
  const ret = FheUint128.__wrap(arg0);
9709
9986
  return addHeapObject(ret);
9710
9987
  };
9711
- imports.wbg.__wbindgen_bigint_from_str = function(arg0, arg1) {
9712
- const ret = BigInt(getStringFromWasm0(arg0, arg1));
9988
+ imports.wbg.__wbg_fheint256_new = function(arg0) {
9989
+ const ret = FheInt256.__wrap(arg0);
9713
9990
  return addHeapObject(ret);
9714
9991
  };
9715
- imports.wbg.__wbindgen_bit_and = function(arg0, arg1) {
9716
- const ret = getObject(arg0) & getObject(arg1);
9992
+ imports.wbg.__wbg_fheuint256_new = function(arg0) {
9993
+ const ret = FheUint256.__wrap(arg0);
9717
9994
  return addHeapObject(ret);
9718
9995
  };
9719
- imports.wbg.__wbindgen_lt = function(arg0, arg1) {
9720
- const ret = getObject(arg0) < getObject(arg1);
9721
- return ret;
9996
+ imports.wbg.__wbg_fheint8_new = function(arg0) {
9997
+ const ret = FheInt8.__wrap(arg0);
9998
+ return addHeapObject(ret);
9722
9999
  };
9723
- imports.wbg.__wbindgen_neg = function(arg0) {
9724
- const ret = -getObject(arg0);
10000
+ imports.wbg.__wbindgen_bigint_from_str = function(arg0, arg1) {
10001
+ const ret = BigInt(getStringFromWasm0(arg0, arg1));
9725
10002
  return addHeapObject(ret);
9726
10003
  };
9727
10004
  imports.wbg.__wbindgen_shl = function(arg0, arg1) {
@@ -9736,6 +10013,18 @@ function __wbg_get_imports() {
9736
10013
  const ret = getObject(arg0) | getObject(arg1);
9737
10014
  return addHeapObject(ret);
9738
10015
  };
10016
+ imports.wbg.__wbindgen_neg = function(arg0) {
10017
+ const ret = -getObject(arg0);
10018
+ return addHeapObject(ret);
10019
+ };
10020
+ imports.wbg.__wbindgen_bit_and = function(arg0, arg1) {
10021
+ const ret = getObject(arg0) & getObject(arg1);
10022
+ return addHeapObject(ret);
10023
+ };
10024
+ imports.wbg.__wbindgen_lt = function(arg0, arg1) {
10025
+ const ret = getObject(arg0) < getObject(arg1);
10026
+ return ret;
10027
+ };
9739
10028
  imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
9740
10029
  const ret = new Error();
9741
10030
  return addHeapObject(ret);
@@ -9805,11 +10094,11 @@ function __wbg_get_imports() {
9805
10094
  imports.wbg.__wbg_getRandomValues_7e42b4fb8779dc6d = function() { return handleError(function (arg0, arg1) {
9806
10095
  getObject(arg0).getRandomValues(getObject(arg1));
9807
10096
  }, arguments) };
9808
- imports.wbg.__wbg_newnoargs_5859b6d41c6fe9f7 = function(arg0, arg1) {
10097
+ imports.wbg.__wbg_newnoargs_cfecb3965268594c = function(arg0, arg1) {
9809
10098
  const ret = new Function(getStringFromWasm0(arg0, arg1));
9810
10099
  return addHeapObject(ret);
9811
10100
  };
9812
- imports.wbg.__wbg_call_a79f1973a4f07d5e = function() { return handleError(function (arg0, arg1) {
10101
+ imports.wbg.__wbg_call_3f093dd26d5569f8 = function() { return handleError(function (arg0, arg1) {
9813
10102
  const ret = getObject(arg0).call(getObject(arg1));
9814
10103
  return addHeapObject(ret);
9815
10104
  }, arguments) };
@@ -9817,19 +10106,19 @@ function __wbg_get_imports() {
9817
10106
  const ret = getObject(arg0);
9818
10107
  return addHeapObject(ret);
9819
10108
  };
9820
- imports.wbg.__wbg_self_086b5302bcafb962 = function() { return handleError(function () {
10109
+ imports.wbg.__wbg_self_05040bd9523805b9 = function() { return handleError(function () {
9821
10110
  const ret = self.self;
9822
10111
  return addHeapObject(ret);
9823
10112
  }, arguments) };
9824
- imports.wbg.__wbg_window_132fa5d7546f1de5 = function() { return handleError(function () {
10113
+ imports.wbg.__wbg_window_adc720039f2cb14f = function() { return handleError(function () {
9825
10114
  const ret = window.window;
9826
10115
  return addHeapObject(ret);
9827
10116
  }, arguments) };
9828
- imports.wbg.__wbg_globalThis_e5f801a37ad7d07b = function() { return handleError(function () {
10117
+ imports.wbg.__wbg_globalThis_622105db80c1457d = function() { return handleError(function () {
9829
10118
  const ret = globalThis.globalThis;
9830
10119
  return addHeapObject(ret);
9831
10120
  }, arguments) };
9832
- imports.wbg.__wbg_global_f9a61fce4af6b7c1 = function() { return handleError(function () {
10121
+ imports.wbg.__wbg_global_f56b013ed9bcf359 = function() { return handleError(function () {
9833
10122
  const ret = global.global;
9834
10123
  return addHeapObject(ret);
9835
10124
  }, arguments) };
@@ -9837,30 +10126,30 @@ function __wbg_get_imports() {
9837
10126
  const ret = getObject(arg0) === undefined;
9838
10127
  return ret;
9839
10128
  };
9840
- imports.wbg.__wbg_call_f6a2bc58c19c53c6 = function() { return handleError(function (arg0, arg1, arg2) {
10129
+ imports.wbg.__wbg_call_67f2111acd2dfdb6 = function() { return handleError(function (arg0, arg1, arg2) {
9841
10130
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
9842
10131
  return addHeapObject(ret);
9843
10132
  }, arguments) };
9844
- imports.wbg.__wbg_buffer_5d1b598a01b41a42 = function(arg0) {
10133
+ imports.wbg.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) {
9845
10134
  const ret = getObject(arg0).buffer;
9846
10135
  return addHeapObject(ret);
9847
10136
  };
9848
- imports.wbg.__wbg_newwithbyteoffsetandlength_d695c7957788f922 = function(arg0, arg1, arg2) {
10137
+ imports.wbg.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) {
9849
10138
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
9850
10139
  return addHeapObject(ret);
9851
10140
  };
9852
- imports.wbg.__wbg_new_ace717933ad7117f = function(arg0) {
10141
+ imports.wbg.__wbg_new_b1f2d6842d615181 = function(arg0) {
9853
10142
  const ret = new Uint8Array(getObject(arg0));
9854
10143
  return addHeapObject(ret);
9855
10144
  };
9856
- imports.wbg.__wbg_set_74906aa30864df5a = function(arg0, arg1, arg2) {
10145
+ imports.wbg.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) {
9857
10146
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
9858
10147
  };
9859
- imports.wbg.__wbg_newwithlength_728575f3bba9959b = function(arg0) {
10148
+ imports.wbg.__wbg_newwithlength_0d03cef43b68a530 = function(arg0) {
9860
10149
  const ret = new Uint8Array(arg0 >>> 0);
9861
10150
  return addHeapObject(ret);
9862
10151
  };
9863
- imports.wbg.__wbg_subarray_7f7a652672800851 = function(arg0, arg1, arg2) {
10152
+ imports.wbg.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
9864
10153
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
9865
10154
  return addHeapObject(ret);
9866
10155
  };