@contentauth/c2pa-wasm 0.5.0 → 0.5.1
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 +1 -1
- package/pkg/c2pa.d.ts +6 -6
- package/pkg/c2pa.js +12 -12
- package/pkg/c2pa_bg.wasm +0 -0
- package/pkg/c2pa_bg.wasm.d.ts +6 -6
package/package.json
CHANGED
package/pkg/c2pa.d.ts
CHANGED
|
@@ -186,15 +186,15 @@ export interface InitOutput {
|
|
|
186
186
|
readonly wasmbuilder_sign: (a: number, b: any, c: number, d: number, e: any) => any;
|
|
187
187
|
readonly wasmbuilder_signAndGetManifestBytes: (a: number, b: any, c: number, d: number, e: any) => any;
|
|
188
188
|
readonly wasmbuilder_toArchive: (a: number) => [number, number, number];
|
|
189
|
+
readonly run: () => void;
|
|
189
190
|
readonly __wbg_wasmsigner_free: (a: number, b: number) => void;
|
|
190
191
|
readonly wasmsigner_fromDefinition: (a: any) => [number, number, number];
|
|
191
192
|
readonly loadSettings: (a: number, b: number) => [number, number];
|
|
192
|
-
readonly
|
|
193
|
-
readonly
|
|
194
|
-
readonly
|
|
195
|
-
readonly
|
|
196
|
-
readonly
|
|
197
|
-
readonly wasm_bindgen__convert__closures_____invoke__h88b9912c47edf5c0: (a: number, b: number) => void;
|
|
193
|
+
readonly wasm_bindgen__closure__destroy__h30e1f1aacfc8be07: (a: number, b: number) => void;
|
|
194
|
+
readonly wasm_bindgen__closure__destroy__h1bb863e8c2f31492: (a: number, b: number) => void;
|
|
195
|
+
readonly wasm_bindgen__convert__closures_____invoke__h97115e9701795d15: (a: number, b: number, c: any) => [number, number];
|
|
196
|
+
readonly wasm_bindgen__convert__closures_____invoke__h2e3e7bd63b210081: (a: number, b: number, c: any, d: any) => void;
|
|
197
|
+
readonly wasm_bindgen__convert__closures_____invoke__ha8a072e6843ba599: (a: number, b: number) => void;
|
|
198
198
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
199
199
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
200
200
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/pkg/c2pa.js
CHANGED
|
@@ -711,7 +711,7 @@ function __wbg_get_imports() {
|
|
|
711
711
|
const a = state0.a;
|
|
712
712
|
state0.a = 0;
|
|
713
713
|
try {
|
|
714
|
-
return
|
|
714
|
+
return wasm_bindgen__convert__closures_____invoke__h2e3e7bd63b210081(a, state0.b, arg0, arg1);
|
|
715
715
|
} finally {
|
|
716
716
|
state0.a = a;
|
|
717
717
|
}
|
|
@@ -892,13 +892,13 @@ function __wbg_get_imports() {
|
|
|
892
892
|
return ret;
|
|
893
893
|
},
|
|
894
894
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
895
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
896
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
895
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1523, function: Function { arguments: [], shim_idx: 1524, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
896
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h30e1f1aacfc8be07, wasm_bindgen__convert__closures_____invoke__ha8a072e6843ba599);
|
|
897
897
|
return ret;
|
|
898
898
|
},
|
|
899
899
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
900
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
901
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
900
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1526, function: Function { arguments: [Externref], shim_idx: 2977, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
901
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1bb863e8c2f31492, wasm_bindgen__convert__closures_____invoke__h97115e9701795d15);
|
|
902
902
|
return ret;
|
|
903
903
|
},
|
|
904
904
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -949,19 +949,19 @@ function __wbg_get_imports() {
|
|
|
949
949
|
};
|
|
950
950
|
}
|
|
951
951
|
|
|
952
|
-
function
|
|
953
|
-
wasm.
|
|
952
|
+
function wasm_bindgen__convert__closures_____invoke__ha8a072e6843ba599(arg0, arg1) {
|
|
953
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha8a072e6843ba599(arg0, arg1);
|
|
954
954
|
}
|
|
955
955
|
|
|
956
|
-
function
|
|
957
|
-
const ret = wasm.
|
|
956
|
+
function wasm_bindgen__convert__closures_____invoke__h97115e9701795d15(arg0, arg1, arg2) {
|
|
957
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h97115e9701795d15(arg0, arg1, arg2);
|
|
958
958
|
if (ret[1]) {
|
|
959
959
|
throw takeFromExternrefTable0(ret[0]);
|
|
960
960
|
}
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
-
function
|
|
964
|
-
wasm.
|
|
963
|
+
function wasm_bindgen__convert__closures_____invoke__h2e3e7bd63b210081(arg0, arg1, arg2, arg3) {
|
|
964
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2e3e7bd63b210081(arg0, arg1, arg2, arg3);
|
|
965
965
|
}
|
|
966
966
|
|
|
967
967
|
|
|
@@ -1286,4 +1286,4 @@ async function __wbg_init(module_or_path) {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
|
|
1288
1288
|
export { initSync, __wbg_init as default };
|
|
1289
|
-
export const WASM_SRI = "sha512-
|
|
1289
|
+
export const WASM_SRI = "sha512-HBGJ1VLwJixyphQpB11fdjtTk/WlmAIweoTcaI19QEGylq6IUFY/EwjHAfamsduFKQKk3VTYh7X7ICEB2dsQvg==";
|
package/pkg/c2pa_bg.wasm
CHANGED
|
Binary file
|
package/pkg/c2pa_bg.wasm.d.ts
CHANGED
|
@@ -25,15 +25,15 @@ export const wasmbuilder_setThumbnailFromBlob: (a: number, b: number, c: number,
|
|
|
25
25
|
export const wasmbuilder_sign: (a: number, b: any, c: number, d: number, e: any) => any;
|
|
26
26
|
export const wasmbuilder_signAndGetManifestBytes: (a: number, b: any, c: number, d: number, e: any) => any;
|
|
27
27
|
export const wasmbuilder_toArchive: (a: number) => [number, number, number];
|
|
28
|
+
export const run: () => void;
|
|
28
29
|
export const __wbg_wasmsigner_free: (a: number, b: number) => void;
|
|
29
30
|
export const wasmsigner_fromDefinition: (a: any) => [number, number, number];
|
|
30
31
|
export const loadSettings: (a: number, b: number) => [number, number];
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const wasm_bindgen__convert__closures_____invoke__h88b9912c47edf5c0: (a: number, b: number) => void;
|
|
32
|
+
export const wasm_bindgen__closure__destroy__h30e1f1aacfc8be07: (a: number, b: number) => void;
|
|
33
|
+
export const wasm_bindgen__closure__destroy__h1bb863e8c2f31492: (a: number, b: number) => void;
|
|
34
|
+
export const wasm_bindgen__convert__closures_____invoke__h97115e9701795d15: (a: number, b: number, c: any) => [number, number];
|
|
35
|
+
export const wasm_bindgen__convert__closures_____invoke__h2e3e7bd63b210081: (a: number, b: number, c: any, d: any) => void;
|
|
36
|
+
export const wasm_bindgen__convert__closures_____invoke__ha8a072e6843ba599: (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;
|