@contentauth/c2pa-wasm 0.4.5 → 0.4.6

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/README.md CHANGED
@@ -39,7 +39,7 @@ rustup target add wasm32-unknown-unknown
39
39
  [Documentation](https://wasm-bindgen.github.io/wasm-bindgen/reference/cli)
40
40
 
41
41
  ```sh
42
- cargo install wasm-bindgen-cli@0.2.108
42
+ cargo install wasm-bindgen-cli@0.2.114
43
43
  ```
44
44
 
45
45
  > **Important:** The version of `wasm-bindgen-cli` **must** match the version of the `wasm-bindgen` dependency in [`Cargo.toml`](./Cargo.toml). A version mismatch will cause build failures with errors like _"rust Wasm file schema version: X.X.X, this binary schema version: Y.Y.Y"_. If you encounter this, check `Cargo.toml` for the correct version and reinstall the CLI accordingly.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentauth/c2pa-wasm",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
package/pkg/c2pa.d.ts CHANGED
@@ -143,6 +143,12 @@ export class WasmSigner {
143
143
  }
144
144
 
145
145
  /**
146
+ *
147
+ * * NOTE: we can only return Err(JsString) or Err(JsValue) as error types here, because for some as-of-yet unknown
148
+ * * reason, wasm-bindgen appears to mishandle JsErrors when created in a Firefox web worker.
149
+ * *
150
+ * * See: https://github.com/wasm-bindgen/wasm-bindgen/issues/4961
151
+ *
146
152
  * Accepts a JSON-serialized string to be loaded as c2pa-rs settings.
147
153
  */
148
154
  export function loadSettings(settings: string): void;
@@ -156,14 +162,7 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
156
162
 
157
163
  export interface InitOutput {
158
164
  readonly memory: WebAssembly.Memory;
159
- readonly __wbg_wasmreader_free: (a: number, b: number) => void;
160
- readonly wasmreader_activeLabel: (a: number) => [number, number];
161
- readonly wasmreader_activeManifest: (a: number) => [number, number, number];
162
- readonly wasmreader_fromBlob: (a: number, b: number, c: any, d: number, e: number) => any;
163
- readonly wasmreader_fromBlobFragment: (a: number, b: number, c: any, d: any, e: number, f: number) => any;
164
- readonly wasmreader_json: (a: number) => [number, number];
165
- readonly wasmreader_manifestStore: (a: number) => [number, number, number];
166
- readonly wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
165
+ readonly run: () => void;
167
166
  readonly __wbg_wasmbuilder_free: (a: number, b: number) => void;
168
167
  readonly wasmbuilder_addAction: (a: number, b: any) => [number, number];
169
168
  readonly wasmbuilder_addIngredient: (a: number, b: number, c: number) => [number, number];
@@ -180,15 +179,22 @@ export interface InitOutput {
180
179
  readonly wasmbuilder_sign: (a: number, b: any, c: number, d: number, e: any) => any;
181
180
  readonly wasmbuilder_signAndGetManifestBytes: (a: number, b: any, c: number, d: number, e: any) => any;
182
181
  readonly wasmbuilder_toArchive: (a: number) => [number, number, number];
182
+ readonly __wbg_wasmreader_free: (a: number, b: number) => void;
183
+ readonly wasmreader_activeLabel: (a: number) => [number, number];
184
+ readonly wasmreader_activeManifest: (a: number) => [number, number, number];
185
+ readonly wasmreader_fromBlob: (a: number, b: number, c: any, d: number, e: number) => any;
186
+ readonly wasmreader_fromBlobFragment: (a: number, b: number, c: any, d: any, e: number, f: number) => any;
187
+ readonly wasmreader_json: (a: number) => [number, number];
188
+ readonly wasmreader_manifestStore: (a: number) => [number, number, number];
189
+ readonly wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
190
+ readonly loadSettings: (a: number, b: number) => [number, number];
183
191
  readonly __wbg_wasmsigner_free: (a: number, b: number) => void;
184
192
  readonly wasmsigner_fromDefinition: (a: any) => [number, number, number];
185
- readonly loadSettings: (a: number, b: number) => [number, number];
186
- readonly run: () => void;
187
- readonly wasm_bindgen__closure__destroy__h6c572eed28725b35: (a: number, b: number) => void;
188
- readonly wasm_bindgen__closure__destroy__hdc14e87eb7e60d10: (a: number, b: number) => void;
189
- readonly wasm_bindgen__convert__closures_____invoke__h1ab8f2c4d39167e4: (a: number, b: number, c: any, d: any) => void;
190
- readonly wasm_bindgen__convert__closures_____invoke__ha319c5c448ef8efe: (a: number, b: number, c: any) => void;
191
- readonly wasm_bindgen__convert__closures_____invoke__h6d7af91d7cf01ed3: (a: number, b: number) => void;
193
+ readonly wasm_bindgen__closure__destroy__h65b3b0e0904996a4: (a: number, b: number) => void;
194
+ readonly wasm_bindgen__closure__destroy__hc0a5e156ad330742: (a: number, b: number) => void;
195
+ readonly wasm_bindgen__convert__closures_____invoke__h21611001dce0af13: (a: number, b: number, c: any) => [number, number];
196
+ readonly wasm_bindgen__convert__closures_____invoke__h27acc2ed1032081e: (a: number, b: number, c: any, d: any) => void;
197
+ readonly wasm_bindgen__convert__closures_____invoke__h11a8a009ad66a767: (a: number, b: number) => void;
192
198
  readonly __wbindgen_malloc: (a: number, b: number) => number;
193
199
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
194
200
  readonly __wbindgen_exn_store: (a: number) => void;
package/pkg/c2pa.js CHANGED
@@ -379,6 +379,12 @@ export class WasmSigner {
379
379
  if (Symbol.dispose) WasmSigner.prototype[Symbol.dispose] = WasmSigner.prototype.free;
380
380
 
381
381
  /**
382
+ *
383
+ * * NOTE: we can only return Err(JsString) or Err(JsValue) as error types here, because for some as-of-yet unknown
384
+ * * reason, wasm-bindgen appears to mishandle JsErrors when created in a Firefox web worker.
385
+ * *
386
+ * * See: https://github.com/wasm-bindgen/wasm-bindgen/issues/4961
387
+ *
382
388
  * Accepts a JSON-serialized string to be loaded as c2pa-rs settings.
383
389
  * @param {string} settings
384
390
  */
@@ -401,72 +407,72 @@ export function run() {
401
407
  function __wbg_get_imports() {
402
408
  const import0 = {
403
409
  __proto__: null,
404
- __wbg_Error_8c4e43fe74559d73: function(arg0, arg1) {
410
+ __wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
405
411
  const ret = Error(getStringFromWasm0(arg0, arg1));
406
412
  return ret;
407
413
  },
408
- __wbg_Number_04624de7d0e8332d: function(arg0) {
414
+ __wbg_Number_a5a435bd7bbec835: function(arg0) {
409
415
  const ret = Number(arg0);
410
416
  return ret;
411
417
  },
412
- __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(arg0, arg1) {
418
+ __wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda: function(arg0, arg1) {
413
419
  const v = arg1;
414
420
  const ret = typeof(v) === 'bigint' ? v : undefined;
415
421
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
416
422
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
417
423
  },
418
- __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: function(arg0) {
424
+ __wbg___wbindgen_boolean_get_c0f3f60bac5a78d1: function(arg0) {
419
425
  const v = arg0;
420
426
  const ret = typeof(v) === 'boolean' ? v : undefined;
421
427
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
422
428
  },
423
- __wbg___wbindgen_debug_string_0bc8482c6e3508ae: function(arg0, arg1) {
429
+ __wbg___wbindgen_debug_string_5398f5bb970e0daa: function(arg0, arg1) {
424
430
  const ret = debugString(arg1);
425
431
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
426
432
  const len1 = WASM_VECTOR_LEN;
427
433
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
428
434
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
429
435
  },
430
- __wbg___wbindgen_in_47fa6863be6f2f25: function(arg0, arg1) {
436
+ __wbg___wbindgen_in_41dbb8413020e076: function(arg0, arg1) {
431
437
  const ret = arg0 in arg1;
432
438
  return ret;
433
439
  },
434
- __wbg___wbindgen_is_bigint_31b12575b56f32fc: function(arg0) {
440
+ __wbg___wbindgen_is_bigint_e2141d4f045b7eda: function(arg0) {
435
441
  const ret = typeof(arg0) === 'bigint';
436
442
  return ret;
437
443
  },
438
- __wbg___wbindgen_is_function_0095a73b8b156f76: function(arg0) {
444
+ __wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
439
445
  const ret = typeof(arg0) === 'function';
440
446
  return ret;
441
447
  },
442
- __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: function(arg0) {
448
+ __wbg___wbindgen_is_object_781bc9f159099513: function(arg0) {
443
449
  const val = arg0;
444
450
  const ret = typeof(val) === 'object' && val !== null;
445
451
  return ret;
446
452
  },
447
- __wbg___wbindgen_is_string_cd444516edc5b180: function(arg0) {
453
+ __wbg___wbindgen_is_string_7ef6b97b02428fae: function(arg0) {
448
454
  const ret = typeof(arg0) === 'string';
449
455
  return ret;
450
456
  },
451
- __wbg___wbindgen_is_undefined_9e4d92534c42d778: function(arg0) {
457
+ __wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
452
458
  const ret = arg0 === undefined;
453
459
  return ret;
454
460
  },
455
- __wbg___wbindgen_jsval_eq_11888390b0186270: function(arg0, arg1) {
461
+ __wbg___wbindgen_jsval_eq_ee31bfad3e536463: function(arg0, arg1) {
456
462
  const ret = arg0 === arg1;
457
463
  return ret;
458
464
  },
459
- __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: function(arg0, arg1) {
465
+ __wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b: function(arg0, arg1) {
460
466
  const ret = arg0 == arg1;
461
467
  return ret;
462
468
  },
463
- __wbg___wbindgen_number_get_8ff4255516ccad3e: function(arg0, arg1) {
469
+ __wbg___wbindgen_number_get_34bb9d9dcfa21373: function(arg0, arg1) {
464
470
  const obj = arg1;
465
471
  const ret = typeof(obj) === 'number' ? obj : undefined;
466
472
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
467
473
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
468
474
  },
469
- __wbg___wbindgen_string_get_72fb696202c56729: function(arg0, arg1) {
475
+ __wbg___wbindgen_string_get_395e606bd0ee4427: function(arg0, arg1) {
470
476
  const obj = arg1;
471
477
  const ret = typeof(obj) === 'string' ? obj : undefined;
472
478
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -474,54 +480,54 @@ function __wbg_get_imports() {
474
480
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
475
481
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
476
482
  },
477
- __wbg___wbindgen_throw_be289d5034ed271b: function(arg0, arg1) {
483
+ __wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
478
484
  throw new Error(getStringFromWasm0(arg0, arg1));
479
485
  },
480
- __wbg__wbg_cb_unref_d9b87ff7982e3b21: function(arg0) {
486
+ __wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
481
487
  arg0._wbg_cb_unref();
482
488
  },
483
- __wbg_abort_2f0584e03e8e3950: function(arg0) {
489
+ __wbg_abort_5ef96933660780b7: function(arg0) {
484
490
  arg0.abort();
485
491
  },
486
- __wbg_abort_d549b92d3c665de1: function(arg0, arg1) {
492
+ __wbg_abort_6479c2d794ebf2ee: function(arg0, arg1) {
487
493
  arg0.abort(arg1);
488
494
  },
489
- __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
495
+ __wbg_append_608dfb635ee8998f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
490
496
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
491
497
  }, arguments); },
492
- __wbg_arrayBuffer_bb54076166006c39: function() { return handleError(function (arg0) {
498
+ __wbg_arrayBuffer_eb8e9ca620af2a19: function() { return handleError(function (arg0) {
493
499
  const ret = arg0.arrayBuffer();
494
500
  return ret;
495
501
  }, arguments); },
496
- __wbg_byteLength_3417f266f4bf562a: function(arg0) {
502
+ __wbg_byteLength_607b856aa6c5a508: function(arg0) {
497
503
  const ret = arg0.byteLength;
498
504
  return ret;
499
505
  },
500
- __wbg_call_389efe28435a9388: function() { return handleError(function (arg0, arg1) {
501
- const ret = arg0.call(arg1);
506
+ __wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
507
+ const ret = arg0.call(arg1, arg2);
502
508
  return ret;
503
509
  }, arguments); },
504
- __wbg_call_4708e0c13bdc8e95: function() { return handleError(function (arg0, arg1, arg2) {
505
- const ret = arg0.call(arg1, arg2);
510
+ __wbg_call_e133b57c9155d22c: function() { return handleError(function (arg0, arg1) {
511
+ const ret = arg0.call(arg1);
506
512
  return ret;
507
513
  }, arguments); },
508
- __wbg_clearTimeout_42d9ccd50822fd3a: function(arg0) {
514
+ __wbg_clearTimeout_6b8d9a38b9263d65: function(arg0) {
509
515
  const ret = clearTimeout(arg0);
510
516
  return ret;
511
517
  },
512
- __wbg_crypto_86f2631e91b51511: function(arg0) {
518
+ __wbg_crypto_38df2bab126b63dc: function(arg0) {
513
519
  const ret = arg0.crypto;
514
520
  return ret;
515
521
  },
516
- __wbg_done_57b39ecd9addfe81: function(arg0) {
522
+ __wbg_done_08ce71ee07e3bd17: function(arg0) {
517
523
  const ret = arg0.done;
518
524
  return ret;
519
525
  },
520
- __wbg_entries_58c7934c745daac7: function(arg0) {
526
+ __wbg_entries_e8a20ff8c9757101: function(arg0) {
521
527
  const ret = Object.entries(arg0);
522
528
  return ret;
523
529
  },
524
- __wbg_error_7534b8e9a36f1ab4: function(arg0, arg1) {
530
+ __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
525
531
  let deferred0_0;
526
532
  let deferred0_1;
527
533
  try {
@@ -532,52 +538,60 @@ function __wbg_get_imports() {
532
538
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
533
539
  }
534
540
  },
535
- __wbg_fetch_6bbc32f991730587: function(arg0) {
536
- const ret = fetch(arg0);
541
+ __wbg_fetch_5550a88cf343aaa9: function(arg0, arg1) {
542
+ const ret = arg0.fetch(arg1);
537
543
  return ret;
538
544
  },
539
- __wbg_fetch_afb6a4b6cacf876d: function(arg0, arg1) {
540
- const ret = arg0.fetch(arg1);
545
+ __wbg_fetch_9dad4fe911207b37: function(arg0) {
546
+ const ret = fetch(arg0);
541
547
  return ret;
542
548
  },
543
- __wbg_from_bddd64e7d5ff6941: function(arg0) {
549
+ __wbg_from_4bdf88943703fd48: function(arg0) {
544
550
  const ret = Array.from(arg0);
545
551
  return ret;
546
552
  },
547
- __wbg_getRandomValues_1c61fac11405ffdc: function() { return handleError(function (arg0, arg1) {
553
+ __wbg_getRandomValues_3dda8830c2565714: function() { return handleError(function (arg0, arg1) {
548
554
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
549
555
  }, arguments); },
550
- __wbg_getRandomValues_9c5c1b115e142bb8: function() { return handleError(function (arg0, arg1) {
556
+ __wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
551
557
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
552
558
  }, arguments); },
553
- __wbg_getRandomValues_b3f15fcbfabb0f8b: function() { return handleError(function (arg0, arg1) {
559
+ __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
554
560
  arg0.getRandomValues(arg1);
555
561
  }, arguments); },
556
- __wbg_getTime_1e3cd1391c5c3995: function(arg0) {
562
+ __wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
557
563
  const ret = arg0.getTime();
558
564
  return ret;
559
565
  },
560
- __wbg_get_9b94d73e6221f75c: function(arg0, arg1) {
561
- const ret = arg0[arg1 >>> 0];
566
+ __wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
567
+ const ret = Reflect.get(arg0, arg1);
562
568
  return ret;
563
- },
564
- __wbg_get_b3ed3ad4be2bc8ac: function() { return handleError(function (arg0, arg1) {
569
+ }, arguments); },
570
+ __wbg_get_3ef1eba1850ade27: function() { return handleError(function (arg0, arg1) {
565
571
  const ret = Reflect.get(arg0, arg1);
566
572
  return ret;
567
573
  }, arguments); },
568
- __wbg_get_with_ref_key_1dc361bd10053bfe: function(arg0, arg1) {
574
+ __wbg_get_a8ee5c45dabc1b3b: function(arg0, arg1) {
575
+ const ret = arg0[arg1 >>> 0];
576
+ return ret;
577
+ },
578
+ __wbg_get_unchecked_329cfe50afab7352: function(arg0, arg1) {
579
+ const ret = arg0[arg1 >>> 0];
580
+ return ret;
581
+ },
582
+ __wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
569
583
  const ret = arg0[arg1];
570
584
  return ret;
571
585
  },
572
- __wbg_has_d4e53238966c12b6: function() { return handleError(function (arg0, arg1) {
586
+ __wbg_has_926ef2ff40b308cf: function() { return handleError(function (arg0, arg1) {
573
587
  const ret = Reflect.has(arg0, arg1);
574
588
  return ret;
575
589
  }, arguments); },
576
- __wbg_headers_59a2938db9f80985: function(arg0) {
590
+ __wbg_headers_eb2234545f9ff993: function(arg0) {
577
591
  const ret = arg0.headers;
578
592
  return ret;
579
593
  },
580
- __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: function(arg0) {
594
+ __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6: function(arg0) {
581
595
  let result;
582
596
  try {
583
597
  result = arg0 instanceof ArrayBuffer;
@@ -587,7 +601,7 @@ function __wbg_get_imports() {
587
601
  const ret = result;
588
602
  return ret;
589
603
  },
590
- __wbg_instanceof_Map_53af74335dec57f4: function(arg0) {
604
+ __wbg_instanceof_Map_f194b366846aca0c: function(arg0) {
591
605
  let result;
592
606
  try {
593
607
  result = arg0 instanceof Map;
@@ -597,7 +611,7 @@ function __wbg_get_imports() {
597
611
  const ret = result;
598
612
  return ret;
599
613
  },
600
- __wbg_instanceof_Promise_0094681e3519d6ec: function(arg0) {
614
+ __wbg_instanceof_Promise_7c3bdd7805c2c6e6: function(arg0) {
601
615
  let result;
602
616
  try {
603
617
  result = arg0 instanceof Promise;
@@ -607,7 +621,7 @@ function __wbg_get_imports() {
607
621
  const ret = result;
608
622
  return ret;
609
623
  },
610
- __wbg_instanceof_Response_ee1d54d79ae41977: function(arg0) {
624
+ __wbg_instanceof_Response_9b4d9fd451e051b1: function(arg0) {
611
625
  let result;
612
626
  try {
613
627
  result = arg0 instanceof Response;
@@ -617,7 +631,7 @@ function __wbg_get_imports() {
617
631
  const ret = result;
618
632
  return ret;
619
633
  },
620
- __wbg_instanceof_Uint8Array_9b9075935c74707c: function(arg0) {
634
+ __wbg_instanceof_Uint8Array_740438561a5b956d: function(arg0) {
621
635
  let result;
622
636
  try {
623
637
  result = arg0 instanceof Uint8Array;
@@ -627,62 +641,78 @@ function __wbg_get_imports() {
627
641
  const ret = result;
628
642
  return ret;
629
643
  },
630
- __wbg_isArray_d314bb98fcf08331: function(arg0) {
644
+ __wbg_isArray_33b91feb269ff46e: function(arg0) {
631
645
  const ret = Array.isArray(arg0);
632
646
  return ret;
633
647
  },
634
- __wbg_isSafeInteger_bfbc7332a9768d2a: function(arg0) {
648
+ __wbg_isSafeInteger_ecd6a7f9c3e053cd: function(arg0) {
635
649
  const ret = Number.isSafeInteger(arg0);
636
650
  return ret;
637
651
  },
638
- __wbg_iterator_6ff6560ca1568e55: function() {
652
+ __wbg_iterator_d8f549ec8fb061b1: function() {
639
653
  const ret = Symbol.iterator;
640
654
  return ret;
641
655
  },
642
- __wbg_length_32ed9a279acd054c: function(arg0) {
656
+ __wbg_length_b3416cf66a5452c8: function(arg0) {
643
657
  const ret = arg0.length;
644
658
  return ret;
645
659
  },
646
- __wbg_length_35a7bace40f36eac: function(arg0) {
660
+ __wbg_length_ea16607d7b61445b: function(arg0) {
647
661
  const ret = arg0.length;
648
662
  return ret;
649
663
  },
650
- __wbg_msCrypto_d562bbe83e0d4b91: function(arg0) {
664
+ __wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
651
665
  const ret = arg0.msCrypto;
652
666
  return ret;
653
667
  },
654
- __wbg_new_0_73afc35eb544e539: function() {
668
+ __wbg_new_0837727332ac86ba: function() { return handleError(function () {
669
+ const ret = new Headers();
670
+ return ret;
671
+ }, arguments); },
672
+ __wbg_new_0_1dcafdf5e786e876: function() {
655
673
  const ret = new Date();
656
674
  return ret;
657
675
  },
658
- __wbg_new_361308b2356cecd0: function() {
659
- const ret = new Object();
676
+ __wbg_new_227d7c05414eb861: function() {
677
+ const ret = new Error();
660
678
  return ret;
661
679
  },
662
- __wbg_new_3eb36ae241fe6f44: function() {
663
- const ret = new Array();
680
+ __wbg_new_338f3b13aa93419b: function() { return handleError(function () {
681
+ const ret = new FileReaderSync();
682
+ return ret;
683
+ }, arguments); },
684
+ __wbg_new_49d5571bd3f0c4d4: function() {
685
+ const ret = new Map();
664
686
  return ret;
665
687
  },
666
- __wbg_new_64284bd487f9d239: function() { return handleError(function () {
667
- const ret = new Headers();
688
+ __wbg_new_5f486cdf45a04d78: function(arg0) {
689
+ const ret = new Uint8Array(arg0);
668
690
  return ret;
669
- }, arguments); },
670
- __wbg_new_72b49615380db768: function(arg0, arg1) {
671
- const ret = new Error(getStringFromWasm0(arg0, arg1));
691
+ },
692
+ __wbg_new_a70fbab9066b301f: function() {
693
+ const ret = new Array();
672
694
  return ret;
673
695
  },
674
- __wbg_new_8a6f238a6ece86ea: function() {
675
- const ret = new Error();
696
+ __wbg_new_ab79df5bd7c26067: function() {
697
+ const ret = new Object();
676
698
  return ret;
677
699
  },
678
- __wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
700
+ __wbg_new_c518c60af666645b: function() { return handleError(function () {
701
+ const ret = new AbortController();
702
+ return ret;
703
+ }, arguments); },
704
+ __wbg_new_from_slice_22da9388ac046e50: function(arg0, arg1) {
705
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
706
+ return ret;
707
+ },
708
+ __wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
679
709
  try {
680
710
  var state0 = {a: arg0, b: arg1};
681
711
  var cb0 = (arg0, arg1) => {
682
712
  const a = state0.a;
683
713
  state0.a = 0;
684
714
  try {
685
- return wasm_bindgen__convert__closures_____invoke__h1ab8f2c4d39167e4(a, state0.b, arg0, arg1);
715
+ return wasm_bindgen__convert__closures_____invoke__h27acc2ed1032081e(a, state0.b, arg0, arg1);
686
716
  } finally {
687
717
  state0.a = a;
688
718
  }
@@ -693,192 +723,168 @@ function __wbg_get_imports() {
693
723
  state0.a = state0.b = 0;
694
724
  }
695
725
  },
696
- __wbg_new_b949e7f56150a5d1: function() { return handleError(function () {
697
- const ret = new AbortController();
698
- return ret;
699
- }, arguments); },
700
- __wbg_new_c27f68f047724fa3: function() { return handleError(function () {
701
- const ret = new FileReaderSync();
702
- return ret;
703
- }, arguments); },
704
- __wbg_new_dca287b076112a51: function() {
705
- const ret = new Map();
706
- return ret;
707
- },
708
- __wbg_new_dd2b680c8bf6ae29: function(arg0) {
709
- const ret = new Uint8Array(arg0);
710
- return ret;
711
- },
712
- __wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
713
- const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
714
- return ret;
715
- },
716
- __wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
717
- const ret = new Function(getStringFromWasm0(arg0, arg1));
718
- return ret;
719
- },
720
- __wbg_new_with_length_a2c39cbe88fd8ff1: function(arg0) {
726
+ __wbg_new_with_length_825018a1616e9e55: function(arg0) {
721
727
  const ret = new Uint8Array(arg0 >>> 0);
722
728
  return ret;
723
729
  },
724
- __wbg_new_with_str_and_init_a61cbc6bdef21614: function() { return handleError(function (arg0, arg1, arg2) {
730
+ __wbg_new_with_str_and_init_b4b54d1a819bc724: function() { return handleError(function (arg0, arg1, arg2) {
725
731
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
726
732
  return ret;
727
733
  }, arguments); },
728
- __wbg_next_3482f54c49e8af19: function() { return handleError(function (arg0) {
734
+ __wbg_next_11b99ee6237339e3: function() { return handleError(function (arg0) {
729
735
  const ret = arg0.next();
730
736
  return ret;
731
737
  }, arguments); },
732
- __wbg_next_418f80d8f5303233: function(arg0) {
738
+ __wbg_next_e01a967809d1aa68: function(arg0) {
733
739
  const ret = arg0.next;
734
740
  return ret;
735
741
  },
736
- __wbg_node_e1f24f89a7336c2e: function(arg0) {
742
+ __wbg_node_84ea875411254db1: function(arg0) {
737
743
  const ret = arg0.node;
738
744
  return ret;
739
745
  },
740
- __wbg_now_a3af9a2f4bbaa4d1: function() {
746
+ __wbg_now_16f0c993d5dd6c27: function() {
741
747
  const ret = Date.now();
742
748
  return ret;
743
749
  },
744
- __wbg_process_3975fd6c72f520aa: function(arg0) {
750
+ __wbg_process_44c7a14e11e9f69e: function(arg0) {
745
751
  const ret = arg0.process;
746
752
  return ret;
747
753
  },
748
- __wbg_prototypesetcall_bdcdcc5842e4d77d: function(arg0, arg1, arg2) {
754
+ __wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
749
755
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
750
756
  },
751
- __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
757
+ __wbg_queueMicrotask_0c399741342fb10f: function(arg0) {
752
758
  const ret = arg0.queueMicrotask;
753
759
  return ret;
754
760
  },
755
- __wbg_queueMicrotask_5bb536982f78a56f: function(arg0) {
761
+ __wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
756
762
  queueMicrotask(arg0);
757
763
  },
758
- __wbg_randomFillSync_f8c153b79f285817: function() { return handleError(function (arg0, arg1) {
764
+ __wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
759
765
  arg0.randomFillSync(arg1);
760
766
  }, arguments); },
761
- __wbg_readAsArrayBuffer_8b36975ef3917d9b: function() { return handleError(function (arg0, arg1) {
767
+ __wbg_readAsArrayBuffer_762e6372375b4632: function() { return handleError(function (arg0, arg1) {
762
768
  const ret = arg0.readAsArrayBuffer(arg1);
763
769
  return ret;
764
770
  }, arguments); },
765
- __wbg_require_b74f47fc2d022fd6: function() { return handleError(function () {
771
+ __wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
766
772
  const ret = module.require;
767
773
  return ret;
768
774
  }, arguments); },
769
- __wbg_resolve_002c4b7d9d8f6b64: function(arg0) {
775
+ __wbg_resolve_ae8d83246e5bcc12: function(arg0) {
770
776
  const ret = Promise.resolve(arg0);
771
777
  return ret;
772
778
  },
773
- __wbg_setTimeout_4ec014681668a581: function(arg0, arg1) {
779
+ __wbg_setTimeout_f757f00851f76c42: function(arg0, arg1) {
774
780
  const ret = setTimeout(arg0, arg1);
775
781
  return ret;
776
782
  },
777
- __wbg_set_1eb0999cf5d27fc8: function(arg0, arg1, arg2) {
778
- const ret = arg0.set(arg1, arg2);
779
- return ret;
783
+ __wbg_set_282384002438957f: function(arg0, arg1, arg2) {
784
+ arg0[arg1 >>> 0] = arg2;
780
785
  },
781
- __wbg_set_3f1d0b984ed272ed: function(arg0, arg1, arg2) {
786
+ __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
782
787
  arg0[arg1] = arg2;
783
788
  },
784
- __wbg_set_body_9a7e00afe3cfe244: function(arg0, arg1) {
789
+ __wbg_set_8c0b3ffcf05d61c2: function(arg0, arg1, arg2) {
790
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
791
+ },
792
+ __wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
793
+ const ret = arg0.set(arg1, arg2);
794
+ return ret;
795
+ },
796
+ __wbg_set_body_a3d856b097dfda04: function(arg0, arg1) {
785
797
  arg0.body = arg1;
786
798
  },
787
- __wbg_set_cache_315a3ed773a41543: function(arg0, arg1) {
799
+ __wbg_set_cache_ec7e430c6056ebda: function(arg0, arg1) {
788
800
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
789
801
  },
790
- __wbg_set_cc56eefd2dd91957: function(arg0, arg1, arg2) {
791
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
792
- },
793
- __wbg_set_credentials_c4a58d2e05ef24fb: function(arg0, arg1) {
802
+ __wbg_set_credentials_ed63183445882c65: function(arg0, arg1) {
794
803
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
795
804
  },
796
- __wbg_set_f43e577aea94465b: function(arg0, arg1, arg2) {
797
- arg0[arg1 >>> 0] = arg2;
798
- },
799
- __wbg_set_headers_cfc5f4b2c1f20549: function(arg0, arg1) {
805
+ __wbg_set_headers_3c8fecc693b75327: function(arg0, arg1) {
800
806
  arg0.headers = arg1;
801
807
  },
802
- __wbg_set_method_c3e20375f5ae7fac: function(arg0, arg1, arg2) {
808
+ __wbg_set_method_8c015e8bcafd7be1: function(arg0, arg1, arg2) {
803
809
  arg0.method = getStringFromWasm0(arg1, arg2);
804
810
  },
805
- __wbg_set_mode_b13642c312648202: function(arg0, arg1) {
811
+ __wbg_set_mode_5a87f2c809cf37c2: function(arg0, arg1) {
806
812
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
807
813
  },
808
- __wbg_set_signal_f2d3f8599248896d: function(arg0, arg1) {
814
+ __wbg_set_signal_0cebecb698f25d21: function(arg0, arg1) {
809
815
  arg0.signal = arg1;
810
816
  },
811
- __wbg_signal_d1285ecab4ebc5ad: function(arg0) {
817
+ __wbg_signal_166e1da31adcac18: function(arg0) {
812
818
  const ret = arg0.signal;
813
819
  return ret;
814
820
  },
815
- __wbg_size_e05d31cc6049815f: function(arg0) {
821
+ __wbg_size_819df95195daae81: function(arg0) {
816
822
  const ret = arg0.size;
817
823
  return ret;
818
824
  },
819
- __wbg_slice_a4d15492574b99a1: function() { return handleError(function (arg0, arg1, arg2) {
825
+ __wbg_slice_f55d290dcc799204: function() { return handleError(function (arg0, arg1, arg2) {
820
826
  const ret = arg0.slice(arg1, arg2);
821
827
  return ret;
822
828
  }, arguments); },
823
- __wbg_stack_0ed75d68575b0f3c: function(arg0, arg1) {
829
+ __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
824
830
  const ret = arg1.stack;
825
831
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
826
832
  const len1 = WASM_VECTOR_LEN;
827
833
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
828
834
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
829
835
  },
830
- __wbg_static_accessor_GLOBAL_12837167ad935116: function() {
836
+ __wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
831
837
  const ret = typeof global === 'undefined' ? null : global;
832
838
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
833
839
  },
834
- __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: function() {
840
+ __wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
835
841
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
836
842
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
837
843
  },
838
- __wbg_static_accessor_SELF_a621d3dfbb60d0ce: function() {
844
+ __wbg_static_accessor_SELF_f207c857566db248: function() {
839
845
  const ret = typeof self === 'undefined' ? null : self;
840
846
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
841
847
  },
842
- __wbg_static_accessor_WINDOW_f8727f0cf888e0bd: function() {
848
+ __wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
843
849
  const ret = typeof window === 'undefined' ? null : window;
844
850
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
845
851
  },
846
- __wbg_status_89d7e803db911ee7: function(arg0) {
852
+ __wbg_status_318629ab93a22955: function(arg0) {
847
853
  const ret = arg0.status;
848
854
  return ret;
849
855
  },
850
- __wbg_stringify_8d1cc6ff383e8bae: function() { return handleError(function (arg0) {
856
+ __wbg_stringify_5ae93966a84901ac: function() { return handleError(function (arg0) {
851
857
  const ret = JSON.stringify(arg0);
852
858
  return ret;
853
859
  }, arguments); },
854
- __wbg_subarray_a96e1fef17ed23cb: function(arg0, arg1, arg2) {
860
+ __wbg_subarray_a068d24e39478a8a: function(arg0, arg1, arg2) {
855
861
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
856
862
  return ret;
857
863
  },
858
- __wbg_then_0d9fe2c7b1857d32: function(arg0, arg1, arg2) {
859
- const ret = arg0.then(arg1, arg2);
864
+ __wbg_then_098abe61755d12f6: function(arg0, arg1) {
865
+ const ret = arg0.then(arg1);
860
866
  return ret;
861
867
  },
862
- __wbg_then_b9e7b3b5f1a9e1b5: function(arg0, arg1) {
863
- const ret = arg0.then(arg1);
868
+ __wbg_then_9e335f6dd892bc11: function(arg0, arg1, arg2) {
869
+ const ret = arg0.then(arg1, arg2);
864
870
  return ret;
865
871
  },
866
- __wbg_url_c484c26b1fbf5126: function(arg0, arg1) {
872
+ __wbg_url_7fefc1820fba4e0c: function(arg0, arg1) {
867
873
  const ret = arg1.url;
868
874
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
869
875
  const len1 = WASM_VECTOR_LEN;
870
876
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
871
877
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
872
878
  },
873
- __wbg_valueOf_670bef5709ccda33: function(arg0) {
879
+ __wbg_valueOf_3dcf9bcf2e496cb2: function(arg0) {
874
880
  const ret = arg0.valueOf();
875
881
  return ret;
876
882
  },
877
- __wbg_value_0546255b415e96c1: function(arg0) {
883
+ __wbg_value_21fc78aab0322612: function(arg0) {
878
884
  const ret = arg0.value;
879
885
  return ret;
880
886
  },
881
- __wbg_versions_4e31226f5e8dc909: function(arg0) {
887
+ __wbg_versions_276b2795b1c6a219: function(arg0) {
882
888
  const ret = arg0.versions;
883
889
  return ret;
884
890
  },
@@ -887,13 +893,13 @@ function __wbg_get_imports() {
887
893
  return ret;
888
894
  },
889
895
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
890
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1346, function: Function { arguments: [], shim_idx: 1347, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
891
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6c572eed28725b35, wasm_bindgen__convert__closures_____invoke__h6d7af91d7cf01ed3);
896
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1501, function: Function { arguments: [], shim_idx: 1502, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
897
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65b3b0e0904996a4, wasm_bindgen__convert__closures_____invoke__h11a8a009ad66a767);
892
898
  return ret;
893
899
  },
894
900
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
895
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1349, function: Function { arguments: [Externref], shim_idx: 1350, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
896
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hdc14e87eb7e60d10, wasm_bindgen__convert__closures_____invoke__ha319c5c448ef8efe);
901
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1504, function: Function { arguments: [Externref], shim_idx: 2953, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
902
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc0a5e156ad330742, wasm_bindgen__convert__closures_____invoke__h21611001dce0af13);
897
903
  return ret;
898
904
  },
899
905
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -944,16 +950,19 @@ function __wbg_get_imports() {
944
950
  };
945
951
  }
946
952
 
947
- function wasm_bindgen__convert__closures_____invoke__h6d7af91d7cf01ed3(arg0, arg1) {
948
- wasm.wasm_bindgen__convert__closures_____invoke__h6d7af91d7cf01ed3(arg0, arg1);
953
+ function wasm_bindgen__convert__closures_____invoke__h11a8a009ad66a767(arg0, arg1) {
954
+ wasm.wasm_bindgen__convert__closures_____invoke__h11a8a009ad66a767(arg0, arg1);
949
955
  }
950
956
 
951
- function wasm_bindgen__convert__closures_____invoke__ha319c5c448ef8efe(arg0, arg1, arg2) {
952
- wasm.wasm_bindgen__convert__closures_____invoke__ha319c5c448ef8efe(arg0, arg1, arg2);
957
+ function wasm_bindgen__convert__closures_____invoke__h21611001dce0af13(arg0, arg1, arg2) {
958
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21611001dce0af13(arg0, arg1, arg2);
959
+ if (ret[1]) {
960
+ throw takeFromExternrefTable0(ret[0]);
961
+ }
953
962
  }
954
963
 
955
- function wasm_bindgen__convert__closures_____invoke__h1ab8f2c4d39167e4(arg0, arg1, arg2, arg3) {
956
- wasm.wasm_bindgen__convert__closures_____invoke__h1ab8f2c4d39167e4(arg0, arg1, arg2, arg3);
964
+ function wasm_bindgen__convert__closures_____invoke__h27acc2ed1032081e(arg0, arg1, arg2, arg3) {
965
+ wasm.wasm_bindgen__convert__closures_____invoke__h27acc2ed1032081e(arg0, arg1, arg2, arg3);
957
966
  }
958
967
 
959
968
 
@@ -1278,4 +1287,4 @@ async function __wbg_init(module_or_path) {
1278
1287
  }
1279
1288
 
1280
1289
  export { initSync, __wbg_init as default };
1281
- export const WASM_SRI = "sha512-/BfYF29Di+PDrCOWfBXKdkAlYy5+vZbDIW0Z8+oeWW8DUm6mKN9XV030vz7HKDEQK6v6xzkiHrc+/pBf5lS1bA==";
1290
+ export const WASM_SRI = "sha512-C4pp0ebkfSxUgWcCNLI63fbUFlxX3TEviCAwM+2qm/TNRzJf6l2BNqZwktlUrG6bthan8VOeBuMb411BUChb2Q==";
package/pkg/c2pa_bg.wasm CHANGED
Binary file
@@ -1,14 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_wasmreader_free: (a: number, b: number) => void;
5
- export const wasmreader_activeLabel: (a: number) => [number, number];
6
- export const wasmreader_activeManifest: (a: number) => [number, number, number];
7
- export const wasmreader_fromBlob: (a: number, b: number, c: any, d: number, e: number) => any;
8
- export const wasmreader_fromBlobFragment: (a: number, b: number, c: any, d: any, e: number, f: number) => any;
9
- export const wasmreader_json: (a: number) => [number, number];
10
- export const wasmreader_manifestStore: (a: number) => [number, number, number];
11
- export const wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
4
+ export const run: () => void;
12
5
  export const __wbg_wasmbuilder_free: (a: number, b: number) => void;
13
6
  export const wasmbuilder_addAction: (a: number, b: any) => [number, number];
14
7
  export const wasmbuilder_addIngredient: (a: number, b: number, c: number) => [number, number];
@@ -25,15 +18,22 @@ export const wasmbuilder_setThumbnailFromBlob: (a: number, b: number, c: number,
25
18
  export const wasmbuilder_sign: (a: number, b: any, c: number, d: number, e: any) => any;
26
19
  export const wasmbuilder_signAndGetManifestBytes: (a: number, b: any, c: number, d: number, e: any) => any;
27
20
  export const wasmbuilder_toArchive: (a: number) => [number, number, number];
21
+ export const __wbg_wasmreader_free: (a: number, b: number) => void;
22
+ export const wasmreader_activeLabel: (a: number) => [number, number];
23
+ export const wasmreader_activeManifest: (a: number) => [number, number, number];
24
+ export const wasmreader_fromBlob: (a: number, b: number, c: any, d: number, e: number) => any;
25
+ export const wasmreader_fromBlobFragment: (a: number, b: number, c: any, d: any, e: number, f: number) => any;
26
+ export const wasmreader_json: (a: number) => [number, number];
27
+ export const wasmreader_manifestStore: (a: number) => [number, number, number];
28
+ export const wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
29
+ export const loadSettings: (a: number, b: number) => [number, number];
28
30
  export const __wbg_wasmsigner_free: (a: number, b: number) => void;
29
31
  export const wasmsigner_fromDefinition: (a: any) => [number, number, number];
30
- export const loadSettings: (a: number, b: number) => [number, number];
31
- export const run: () => void;
32
- export const wasm_bindgen__closure__destroy__h6c572eed28725b35: (a: number, b: number) => void;
33
- export const wasm_bindgen__closure__destroy__hdc14e87eb7e60d10: (a: number, b: number) => void;
34
- export const wasm_bindgen__convert__closures_____invoke__h1ab8f2c4d39167e4: (a: number, b: number, c: any, d: any) => void;
35
- export const wasm_bindgen__convert__closures_____invoke__ha319c5c448ef8efe: (a: number, b: number, c: any) => void;
36
- export const wasm_bindgen__convert__closures_____invoke__h6d7af91d7cf01ed3: (a: number, b: number) => void;
32
+ export const wasm_bindgen__closure__destroy__h65b3b0e0904996a4: (a: number, b: number) => void;
33
+ export const wasm_bindgen__closure__destroy__hc0a5e156ad330742: (a: number, b: number) => void;
34
+ export const wasm_bindgen__convert__closures_____invoke__h21611001dce0af13: (a: number, b: number, c: any) => [number, number];
35
+ export const wasm_bindgen__convert__closures_____invoke__h27acc2ed1032081e: (a: number, b: number, c: any, d: any) => void;
36
+ export const wasm_bindgen__convert__closures_____invoke__h11a8a009ad66a767: (a: number, b: number) => void;
37
37
  export const __wbindgen_malloc: (a: number, b: number) => number;
38
38
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
39
39
  export const __wbindgen_exn_store: (a: number) => void;