@crisp-e3/zk-inputs 0.0.1-test → 0.0.2-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@crisp-e3/zk-inputs",
3
3
  "type": "module",
4
4
  "description": "Core logic to pre-compute CRISP ZK inputs (WASM/JavaScript bindings).",
5
- "version": "0.0.1-test",
5
+ "version": "0.0.2-test",
6
6
  "license": "LGPL-3.0-only",
7
7
  "repository": {
8
8
  "type": "git",
package/pkg/index_bg.js CHANGED
@@ -6,7 +6,7 @@ export function __wbg_set_wasm(val) {
6
6
 
7
7
  function addToExternrefTable0(obj) {
8
8
  const idx = wasm.__externref_table_alloc();
9
- wasm.__wbindgen_export_2.set(idx, obj);
9
+ wasm.__wbindgen_externrefs.set(idx, obj);
10
10
  return idx;
11
11
  }
12
12
 
@@ -77,7 +77,7 @@ function passArray64ToWasm0(arg, malloc) {
77
77
  }
78
78
 
79
79
  function takeFromExternrefTable0(idx) {
80
- const value = wasm.__wbindgen_export_2.get(idx);
80
+ const value = wasm.__wbindgen_externrefs.get(idx);
81
81
  wasm.__externref_table_dealloc(idx);
82
82
  return value;
83
83
  }
@@ -231,21 +231,46 @@ export class ZKInputsGenerator {
231
231
  }
232
232
  if (Symbol.dispose) ZKInputsGenerator.prototype[Symbol.dispose] = ZKInputsGenerator.prototype.free;
233
233
 
234
- export function __wbg_BigInt_40a77d45cca49470() { return handleError(function (arg0) {
234
+ export function __wbg_BigInt_7bf8b8b2f99c431a() { return handleError(function (arg0) {
235
235
  const ret = BigInt(arg0);
236
236
  return ret;
237
237
  }, arguments) };
238
238
 
239
- export function __wbg_call_13410aac570ffff7() { return handleError(function (arg0, arg1) {
240
- const ret = arg0.call(arg1);
239
+ export function __wbg___wbindgen_is_function_ee8a6c5833c90377(arg0) {
240
+ const ret = typeof(arg0) === 'function';
241
241
  return ret;
242
- }, arguments) };
242
+ };
243
+
244
+ export function __wbg___wbindgen_is_object_c818261d21f283a4(arg0) {
245
+ const val = arg0;
246
+ const ret = typeof(val) === 'object' && val !== null;
247
+ return ret;
248
+ };
249
+
250
+ export function __wbg___wbindgen_is_string_fbb76cb2940daafd(arg0) {
251
+ const ret = typeof(arg0) === 'string';
252
+ return ret;
253
+ };
254
+
255
+ export function __wbg___wbindgen_is_undefined_2d472862bd29a478(arg0) {
256
+ const ret = arg0 === undefined;
257
+ return ret;
258
+ };
243
259
 
244
- export function __wbg_call_a5400b25a865cfd8() { return handleError(function (arg0, arg1, arg2) {
260
+ export function __wbg___wbindgen_throw_b855445ff6a94295(arg0, arg1) {
261
+ throw new Error(getStringFromWasm0(arg0, arg1));
262
+ };
263
+
264
+ export function __wbg_call_525440f72fbfc0ea() { return handleError(function (arg0, arg1, arg2) {
245
265
  const ret = arg0.call(arg1, arg2);
246
266
  return ret;
247
267
  }, arguments) };
248
268
 
269
+ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg0, arg1) {
270
+ const ret = arg0.call(arg1);
271
+ return ret;
272
+ }, arguments) };
273
+
249
274
  export function __wbg_crypto_574e78ad8b13b65f(arg0) {
250
275
  const ret = arg0.crypto;
251
276
  return ret;
@@ -255,7 +280,7 @@ export function __wbg_getRandomValues_b8f5dbd5f3995a9e() { return handleError(fu
255
280
  arg0.getRandomValues(arg1);
256
281
  }, arguments) };
257
282
 
258
- export function __wbg_length_6bb7e81f9d7713e4(arg0) {
283
+ export function __wbg_length_69bca3cb64fc8748(arg0) {
259
284
  const ret = arg0.length;
260
285
  return ret;
261
286
  };
@@ -265,22 +290,22 @@ export function __wbg_msCrypto_a61aeb35a24c1329(arg0) {
265
290
  return ret;
266
291
  };
267
292
 
268
- export function __wbg_new_19c25a3f2fa63a02() {
293
+ export function __wbg_new_1acc0b6eea89d040() {
269
294
  const ret = new Object();
270
295
  return ret;
271
296
  };
272
297
 
273
- export function __wbg_new_1f3a344cf3123716() {
298
+ export function __wbg_new_e17d9f43105b08be() {
274
299
  const ret = new Array();
275
300
  return ret;
276
301
  };
277
302
 
278
- export function __wbg_newnoargs_254190557c45b4ec(arg0, arg1) {
303
+ export function __wbg_new_no_args_ee98eee5275000a4(arg0, arg1) {
279
304
  const ret = new Function(getStringFromWasm0(arg0, arg1));
280
305
  return ret;
281
306
  };
282
307
 
283
- export function __wbg_newwithlength_a167dcc7aaa3ba77(arg0) {
308
+ export function __wbg_new_with_length_01aa0dc35aa13543(arg0) {
284
309
  const ret = new Uint8Array(arg0 >>> 0);
285
310
  return ret;
286
311
  };
@@ -290,7 +315,7 @@ export function __wbg_node_905d3e251edff8a2(arg0) {
290
315
  return ret;
291
316
  };
292
317
 
293
- export function __wbg_parse_442f5ba02e5eaf8b() { return handleError(function (arg0, arg1) {
318
+ export function __wbg_parse_2a704d6b78abb2b8() { return handleError(function (arg0, arg1) {
294
319
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
295
320
  return ret;
296
321
  }, arguments) };
@@ -300,11 +325,11 @@ export function __wbg_process_dc0fbacc7c1c06f7(arg0) {
300
325
  return ret;
301
326
  };
302
327
 
303
- export function __wbg_prototypesetcall_3d4a26c1ed734349(arg0, arg1, arg2) {
328
+ export function __wbg_prototypesetcall_2a6620b6922694b2(arg0, arg1, arg2) {
304
329
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
305
330
  };
306
331
 
307
- export function __wbg_push_330b2eb93e4e1212(arg0, arg1) {
332
+ export function __wbg_push_df81a39d04db858c(arg0, arg1) {
308
333
  const ret = arg0.push(arg1);
309
334
  return ret;
310
335
  };
@@ -318,32 +343,32 @@ export function __wbg_require_60cc747a6bc5215a() { return handleError(function (
318
343
  return ret;
319
344
  }, arguments) };
320
345
 
321
- export function __wbg_set_453345bcda80b89a() { return handleError(function (arg0, arg1, arg2) {
346
+ export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0, arg1, arg2) {
322
347
  const ret = Reflect.set(arg0, arg1, arg2);
323
348
  return ret;
324
349
  }, arguments) };
325
350
 
326
- export function __wbg_static_accessor_GLOBAL_8921f820c2ce3f12() {
351
+ export function __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e() {
327
352
  const ret = typeof global === 'undefined' ? null : global;
328
353
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
329
354
  };
330
355
 
331
- export function __wbg_static_accessor_GLOBAL_THIS_f0a4409105898184() {
356
+ export function __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac() {
332
357
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
333
358
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
334
359
  };
335
360
 
336
- export function __wbg_static_accessor_SELF_995b214ae681ff99() {
361
+ export function __wbg_static_accessor_SELF_6fdf4b64710cc91b() {
337
362
  const ret = typeof self === 'undefined' ? null : self;
338
363
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
339
364
  };
340
365
 
341
- export function __wbg_static_accessor_WINDOW_cde3890479c675ea() {
366
+ export function __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2() {
342
367
  const ret = typeof window === 'undefined' ? null : window;
343
368
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
344
369
  };
345
370
 
346
- export function __wbg_subarray_70fd07feefe14294(arg0, arg1, arg2) {
371
+ export function __wbg_subarray_480600f3d6a9f26c(arg0, arg1, arg2) {
347
372
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
348
373
  return ret;
349
374
  };
@@ -353,31 +378,6 @@ export function __wbg_versions_c01dfd4722a88165(arg0) {
353
378
  return ret;
354
379
  };
355
380
 
356
- export function __wbg_wbindgenisfunction_8cee7dce3725ae74(arg0) {
357
- const ret = typeof(arg0) === 'function';
358
- return ret;
359
- };
360
-
361
- export function __wbg_wbindgenisobject_307a53c6bd97fbf8(arg0) {
362
- const val = arg0;
363
- const ret = typeof(val) === 'object' && val !== null;
364
- return ret;
365
- };
366
-
367
- export function __wbg_wbindgenisstring_d4fa939789f003b0(arg0) {
368
- const ret = typeof(arg0) === 'string';
369
- return ret;
370
- };
371
-
372
- export function __wbg_wbindgenisundefined_c4b71d073b92f3c5(arg0) {
373
- const ret = arg0 === undefined;
374
- return ret;
375
- };
376
-
377
- export function __wbg_wbindgenthrow_451ec1a8469d7eb6(arg0, arg1) {
378
- throw new Error(getStringFromWasm0(arg0, arg1));
379
- };
380
-
381
381
  export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
382
382
  // Cast intrinsic for `Ref(String) -> Externref`.
383
383
  const ret = getStringFromWasm0(arg0, arg1);
@@ -397,7 +397,7 @@ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
397
397
  };
398
398
 
399
399
  export function __wbindgen_init_externref_table() {
400
- const table = wasm.__wbindgen_export_2;
400
+ const table = wasm.__wbindgen_externrefs;
401
401
  const offset = table.grow(4);
402
402
  table.set(0, undefined);
403
403
  table.set(offset + 0, undefined);
package/pkg/index_bg.wasm CHANGED
Binary file