@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 +1 -1
- package/package.json +1 -1
- package/pkg/c2pa.d.ts +21 -15
- package/pkg/c2pa.js +167 -158
- package/pkg/c2pa_bg.wasm +0 -0
- package/pkg/c2pa_bg.wasm.d.ts +15 -15
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.
|
|
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
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
|
|
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
|
|
186
|
-
readonly
|
|
187
|
-
readonly
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
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
|
-
|
|
410
|
+
__wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
|
|
405
411
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
406
412
|
return ret;
|
|
407
413
|
},
|
|
408
|
-
|
|
414
|
+
__wbg_Number_a5a435bd7bbec835: function(arg0) {
|
|
409
415
|
const ret = Number(arg0);
|
|
410
416
|
return ret;
|
|
411
417
|
},
|
|
412
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
436
|
+
__wbg___wbindgen_in_41dbb8413020e076: function(arg0, arg1) {
|
|
431
437
|
const ret = arg0 in arg1;
|
|
432
438
|
return ret;
|
|
433
439
|
},
|
|
434
|
-
|
|
440
|
+
__wbg___wbindgen_is_bigint_e2141d4f045b7eda: function(arg0) {
|
|
435
441
|
const ret = typeof(arg0) === 'bigint';
|
|
436
442
|
return ret;
|
|
437
443
|
},
|
|
438
|
-
|
|
444
|
+
__wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
|
|
439
445
|
const ret = typeof(arg0) === 'function';
|
|
440
446
|
return ret;
|
|
441
447
|
},
|
|
442
|
-
|
|
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
|
-
|
|
453
|
+
__wbg___wbindgen_is_string_7ef6b97b02428fae: function(arg0) {
|
|
448
454
|
const ret = typeof(arg0) === 'string';
|
|
449
455
|
return ret;
|
|
450
456
|
},
|
|
451
|
-
|
|
457
|
+
__wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
|
|
452
458
|
const ret = arg0 === undefined;
|
|
453
459
|
return ret;
|
|
454
460
|
},
|
|
455
|
-
|
|
461
|
+
__wbg___wbindgen_jsval_eq_ee31bfad3e536463: function(arg0, arg1) {
|
|
456
462
|
const ret = arg0 === arg1;
|
|
457
463
|
return ret;
|
|
458
464
|
},
|
|
459
|
-
|
|
465
|
+
__wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b: function(arg0, arg1) {
|
|
460
466
|
const ret = arg0 == arg1;
|
|
461
467
|
return ret;
|
|
462
468
|
},
|
|
463
|
-
|
|
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
|
-
|
|
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
|
-
|
|
483
|
+
__wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
|
|
478
484
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
479
485
|
},
|
|
480
|
-
|
|
486
|
+
__wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
|
|
481
487
|
arg0._wbg_cb_unref();
|
|
482
488
|
},
|
|
483
|
-
|
|
489
|
+
__wbg_abort_5ef96933660780b7: function(arg0) {
|
|
484
490
|
arg0.abort();
|
|
485
491
|
},
|
|
486
|
-
|
|
492
|
+
__wbg_abort_6479c2d794ebf2ee: function(arg0, arg1) {
|
|
487
493
|
arg0.abort(arg1);
|
|
488
494
|
},
|
|
489
|
-
|
|
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
|
-
|
|
498
|
+
__wbg_arrayBuffer_eb8e9ca620af2a19: function() { return handleError(function (arg0) {
|
|
493
499
|
const ret = arg0.arrayBuffer();
|
|
494
500
|
return ret;
|
|
495
501
|
}, arguments); },
|
|
496
|
-
|
|
502
|
+
__wbg_byteLength_607b856aa6c5a508: function(arg0) {
|
|
497
503
|
const ret = arg0.byteLength;
|
|
498
504
|
return ret;
|
|
499
505
|
},
|
|
500
|
-
|
|
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
|
-
|
|
505
|
-
const ret = arg0.call(arg1
|
|
510
|
+
__wbg_call_e133b57c9155d22c: function() { return handleError(function (arg0, arg1) {
|
|
511
|
+
const ret = arg0.call(arg1);
|
|
506
512
|
return ret;
|
|
507
513
|
}, arguments); },
|
|
508
|
-
|
|
514
|
+
__wbg_clearTimeout_6b8d9a38b9263d65: function(arg0) {
|
|
509
515
|
const ret = clearTimeout(arg0);
|
|
510
516
|
return ret;
|
|
511
517
|
},
|
|
512
|
-
|
|
518
|
+
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
513
519
|
const ret = arg0.crypto;
|
|
514
520
|
return ret;
|
|
515
521
|
},
|
|
516
|
-
|
|
522
|
+
__wbg_done_08ce71ee07e3bd17: function(arg0) {
|
|
517
523
|
const ret = arg0.done;
|
|
518
524
|
return ret;
|
|
519
525
|
},
|
|
520
|
-
|
|
526
|
+
__wbg_entries_e8a20ff8c9757101: function(arg0) {
|
|
521
527
|
const ret = Object.entries(arg0);
|
|
522
528
|
return ret;
|
|
523
529
|
},
|
|
524
|
-
|
|
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
|
-
|
|
536
|
-
const ret = fetch(
|
|
541
|
+
__wbg_fetch_5550a88cf343aaa9: function(arg0, arg1) {
|
|
542
|
+
const ret = arg0.fetch(arg1);
|
|
537
543
|
return ret;
|
|
538
544
|
},
|
|
539
|
-
|
|
540
|
-
const ret =
|
|
545
|
+
__wbg_fetch_9dad4fe911207b37: function(arg0) {
|
|
546
|
+
const ret = fetch(arg0);
|
|
541
547
|
return ret;
|
|
542
548
|
},
|
|
543
|
-
|
|
549
|
+
__wbg_from_4bdf88943703fd48: function(arg0) {
|
|
544
550
|
const ret = Array.from(arg0);
|
|
545
551
|
return ret;
|
|
546
552
|
},
|
|
547
|
-
|
|
553
|
+
__wbg_getRandomValues_3dda8830c2565714: function() { return handleError(function (arg0, arg1) {
|
|
548
554
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
549
555
|
}, arguments); },
|
|
550
|
-
|
|
556
|
+
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
551
557
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
552
558
|
}, arguments); },
|
|
553
|
-
|
|
559
|
+
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
554
560
|
arg0.getRandomValues(arg1);
|
|
555
561
|
}, arguments); },
|
|
556
|
-
|
|
562
|
+
__wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
|
|
557
563
|
const ret = arg0.getTime();
|
|
558
564
|
return ret;
|
|
559
565
|
},
|
|
560
|
-
|
|
561
|
-
const ret = arg0
|
|
566
|
+
__wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
|
|
567
|
+
const ret = Reflect.get(arg0, arg1);
|
|
562
568
|
return ret;
|
|
563
|
-
},
|
|
564
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
590
|
+
__wbg_headers_eb2234545f9ff993: function(arg0) {
|
|
577
591
|
const ret = arg0.headers;
|
|
578
592
|
return ret;
|
|
579
593
|
},
|
|
580
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
644
|
+
__wbg_isArray_33b91feb269ff46e: function(arg0) {
|
|
631
645
|
const ret = Array.isArray(arg0);
|
|
632
646
|
return ret;
|
|
633
647
|
},
|
|
634
|
-
|
|
648
|
+
__wbg_isSafeInteger_ecd6a7f9c3e053cd: function(arg0) {
|
|
635
649
|
const ret = Number.isSafeInteger(arg0);
|
|
636
650
|
return ret;
|
|
637
651
|
},
|
|
638
|
-
|
|
652
|
+
__wbg_iterator_d8f549ec8fb061b1: function() {
|
|
639
653
|
const ret = Symbol.iterator;
|
|
640
654
|
return ret;
|
|
641
655
|
},
|
|
642
|
-
|
|
656
|
+
__wbg_length_b3416cf66a5452c8: function(arg0) {
|
|
643
657
|
const ret = arg0.length;
|
|
644
658
|
return ret;
|
|
645
659
|
},
|
|
646
|
-
|
|
660
|
+
__wbg_length_ea16607d7b61445b: function(arg0) {
|
|
647
661
|
const ret = arg0.length;
|
|
648
662
|
return ret;
|
|
649
663
|
},
|
|
650
|
-
|
|
664
|
+
__wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
|
|
651
665
|
const ret = arg0.msCrypto;
|
|
652
666
|
return ret;
|
|
653
667
|
},
|
|
654
|
-
|
|
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
|
-
|
|
659
|
-
const ret = new
|
|
676
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
677
|
+
const ret = new Error();
|
|
660
678
|
return ret;
|
|
661
679
|
},
|
|
662
|
-
|
|
663
|
-
const ret = new
|
|
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
|
-
|
|
667
|
-
const ret = new
|
|
688
|
+
__wbg_new_5f486cdf45a04d78: function(arg0) {
|
|
689
|
+
const ret = new Uint8Array(arg0);
|
|
668
690
|
return ret;
|
|
669
|
-
},
|
|
670
|
-
|
|
671
|
-
const ret = new
|
|
691
|
+
},
|
|
692
|
+
__wbg_new_a70fbab9066b301f: function() {
|
|
693
|
+
const ret = new Array();
|
|
672
694
|
return ret;
|
|
673
695
|
},
|
|
674
|
-
|
|
675
|
-
const ret = new
|
|
696
|
+
__wbg_new_ab79df5bd7c26067: function() {
|
|
697
|
+
const ret = new Object();
|
|
676
698
|
return ret;
|
|
677
699
|
},
|
|
678
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
734
|
+
__wbg_next_11b99ee6237339e3: function() { return handleError(function (arg0) {
|
|
729
735
|
const ret = arg0.next();
|
|
730
736
|
return ret;
|
|
731
737
|
}, arguments); },
|
|
732
|
-
|
|
738
|
+
__wbg_next_e01a967809d1aa68: function(arg0) {
|
|
733
739
|
const ret = arg0.next;
|
|
734
740
|
return ret;
|
|
735
741
|
},
|
|
736
|
-
|
|
742
|
+
__wbg_node_84ea875411254db1: function(arg0) {
|
|
737
743
|
const ret = arg0.node;
|
|
738
744
|
return ret;
|
|
739
745
|
},
|
|
740
|
-
|
|
746
|
+
__wbg_now_16f0c993d5dd6c27: function() {
|
|
741
747
|
const ret = Date.now();
|
|
742
748
|
return ret;
|
|
743
749
|
},
|
|
744
|
-
|
|
750
|
+
__wbg_process_44c7a14e11e9f69e: function(arg0) {
|
|
745
751
|
const ret = arg0.process;
|
|
746
752
|
return ret;
|
|
747
753
|
},
|
|
748
|
-
|
|
754
|
+
__wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
|
|
749
755
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
750
756
|
},
|
|
751
|
-
|
|
757
|
+
__wbg_queueMicrotask_0c399741342fb10f: function(arg0) {
|
|
752
758
|
const ret = arg0.queueMicrotask;
|
|
753
759
|
return ret;
|
|
754
760
|
},
|
|
755
|
-
|
|
761
|
+
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
756
762
|
queueMicrotask(arg0);
|
|
757
763
|
},
|
|
758
|
-
|
|
764
|
+
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
759
765
|
arg0.randomFillSync(arg1);
|
|
760
766
|
}, arguments); },
|
|
761
|
-
|
|
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
|
-
|
|
771
|
+
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
766
772
|
const ret = module.require;
|
|
767
773
|
return ret;
|
|
768
774
|
}, arguments); },
|
|
769
|
-
|
|
775
|
+
__wbg_resolve_ae8d83246e5bcc12: function(arg0) {
|
|
770
776
|
const ret = Promise.resolve(arg0);
|
|
771
777
|
return ret;
|
|
772
778
|
},
|
|
773
|
-
|
|
779
|
+
__wbg_setTimeout_f757f00851f76c42: function(arg0, arg1) {
|
|
774
780
|
const ret = setTimeout(arg0, arg1);
|
|
775
781
|
return ret;
|
|
776
782
|
},
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
return ret;
|
|
783
|
+
__wbg_set_282384002438957f: function(arg0, arg1, arg2) {
|
|
784
|
+
arg0[arg1 >>> 0] = arg2;
|
|
780
785
|
},
|
|
781
|
-
|
|
786
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
782
787
|
arg0[arg1] = arg2;
|
|
783
788
|
},
|
|
784
|
-
|
|
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
|
-
|
|
799
|
+
__wbg_set_cache_ec7e430c6056ebda: function(arg0, arg1) {
|
|
788
800
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
789
801
|
},
|
|
790
|
-
|
|
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
|
-
|
|
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
|
-
|
|
808
|
+
__wbg_set_method_8c015e8bcafd7be1: function(arg0, arg1, arg2) {
|
|
803
809
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
804
810
|
},
|
|
805
|
-
|
|
811
|
+
__wbg_set_mode_5a87f2c809cf37c2: function(arg0, arg1) {
|
|
806
812
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
807
813
|
},
|
|
808
|
-
|
|
814
|
+
__wbg_set_signal_0cebecb698f25d21: function(arg0, arg1) {
|
|
809
815
|
arg0.signal = arg1;
|
|
810
816
|
},
|
|
811
|
-
|
|
817
|
+
__wbg_signal_166e1da31adcac18: function(arg0) {
|
|
812
818
|
const ret = arg0.signal;
|
|
813
819
|
return ret;
|
|
814
820
|
},
|
|
815
|
-
|
|
821
|
+
__wbg_size_819df95195daae81: function(arg0) {
|
|
816
822
|
const ret = arg0.size;
|
|
817
823
|
return ret;
|
|
818
824
|
},
|
|
819
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
852
|
+
__wbg_status_318629ab93a22955: function(arg0) {
|
|
847
853
|
const ret = arg0.status;
|
|
848
854
|
return ret;
|
|
849
855
|
},
|
|
850
|
-
|
|
856
|
+
__wbg_stringify_5ae93966a84901ac: function() { return handleError(function (arg0) {
|
|
851
857
|
const ret = JSON.stringify(arg0);
|
|
852
858
|
return ret;
|
|
853
859
|
}, arguments); },
|
|
854
|
-
|
|
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
|
-
|
|
859
|
-
const ret = arg0.then(arg1
|
|
864
|
+
__wbg_then_098abe61755d12f6: function(arg0, arg1) {
|
|
865
|
+
const ret = arg0.then(arg1);
|
|
860
866
|
return ret;
|
|
861
867
|
},
|
|
862
|
-
|
|
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
|
-
|
|
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
|
-
|
|
879
|
+
__wbg_valueOf_3dcf9bcf2e496cb2: function(arg0) {
|
|
874
880
|
const ret = arg0.valueOf();
|
|
875
881
|
return ret;
|
|
876
882
|
},
|
|
877
|
-
|
|
883
|
+
__wbg_value_21fc78aab0322612: function(arg0) {
|
|
878
884
|
const ret = arg0.value;
|
|
879
885
|
return ret;
|
|
880
886
|
},
|
|
881
|
-
|
|
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:
|
|
891
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
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:
|
|
896
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
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
|
|
948
|
-
wasm.
|
|
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
|
|
952
|
-
wasm.
|
|
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
|
|
956
|
-
wasm.
|
|
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
|
|
1290
|
+
export const WASM_SRI = "sha512-C4pp0ebkfSxUgWcCNLI63fbUFlxX3TEviCAwM+2qm/TNRzJf6l2BNqZwktlUrG6bthan8VOeBuMb411BUChb2Q==";
|
package/pkg/c2pa_bg.wasm
CHANGED
|
Binary file
|
package/pkg/c2pa_bg.wasm.d.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
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
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
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;
|