@contentauth/c2pa-wasm 0.15.0 → 0.15.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 +3 -3
- package/pkg/c2pa.js +12 -12
- package/pkg/c2pa_bg.wasm +0 -0
- package/pkg/c2pa_bg.wasm.d.ts +3 -3
package/package.json
CHANGED
package/pkg/c2pa.d.ts
CHANGED
|
@@ -322,9 +322,9 @@ export interface InitOutput {
|
|
|
322
322
|
readonly wasmreader_manifestStore: (a: number) => [number, number, number];
|
|
323
323
|
readonly wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
|
|
324
324
|
readonly wasmsigner_fromDefinition: (a: any) => [number, number, number];
|
|
325
|
-
readonly
|
|
326
|
-
readonly
|
|
327
|
-
readonly
|
|
325
|
+
readonly wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
326
|
+
readonly wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___wasm_bindgen_cb414c02e4f83cd6___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_cb414c02e4f83cd6___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
327
|
+
readonly wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
328
328
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
329
329
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
330
330
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/pkg/c2pa.js
CHANGED
|
@@ -915,7 +915,7 @@ function __wbg_get_imports() {
|
|
|
915
915
|
const a = state0.a;
|
|
916
916
|
state0.a = 0;
|
|
917
917
|
try {
|
|
918
|
-
return
|
|
918
|
+
return wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
919
919
|
} finally {
|
|
920
920
|
state0.a = a;
|
|
921
921
|
}
|
|
@@ -1104,13 +1104,13 @@ function __wbg_get_imports() {
|
|
|
1104
1104
|
return ret;
|
|
1105
1105
|
},
|
|
1106
1106
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
1107
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1108
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1107
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3383, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1108
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___wasm_bindgen_cb414c02e4f83cd6___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_cb414c02e4f83cd6___JsError___true_);
|
|
1109
1109
|
return ret;
|
|
1110
1110
|
},
|
|
1111
1111
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
1112
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1113
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1112
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2073, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1113
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke_______true_);
|
|
1114
1114
|
return ret;
|
|
1115
1115
|
},
|
|
1116
1116
|
__wbindgen_generic_0000000000000003: function(arg0) {
|
|
@@ -1161,19 +1161,19 @@ function __wbg_get_imports() {
|
|
|
1161
1161
|
};
|
|
1162
1162
|
}
|
|
1163
1163
|
|
|
1164
|
-
function
|
|
1165
|
-
wasm.
|
|
1164
|
+
function wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
1165
|
+
wasm.wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke_______true_(arg0, arg1);
|
|
1166
1166
|
}
|
|
1167
1167
|
|
|
1168
|
-
function
|
|
1169
|
-
const ret = wasm.
|
|
1168
|
+
function wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___wasm_bindgen_cb414c02e4f83cd6___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_cb414c02e4f83cd6___JsError___true_(arg0, arg1, arg2) {
|
|
1169
|
+
const ret = wasm.wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___wasm_bindgen_cb414c02e4f83cd6___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_cb414c02e4f83cd6___JsError___true_(arg0, arg1, arg2);
|
|
1170
1170
|
if (ret[1]) {
|
|
1171
1171
|
throw takeFromExternrefTable0(ret[0]);
|
|
1172
1172
|
}
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
|
-
function
|
|
1176
|
-
wasm.
|
|
1175
|
+
function wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
1176
|
+
wasm.wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
1179
|
|
|
@@ -1525,4 +1525,4 @@ async function __wbg_init(module_or_path) {
|
|
|
1525
1525
|
}
|
|
1526
1526
|
|
|
1527
1527
|
export { initSync, __wbg_init as default };
|
|
1528
|
-
export const WASM_SRI = "sha512-
|
|
1528
|
+
export const WASM_SRI = "sha512-8DsR9dZv4DrsQt255lygHQqJ+hY6wsE+ah7WnQU7NBZ8yPnNj6GEgdrRRdywL7j9+EGQl+5UgtKP+XCYtO2MlQ==";
|
package/pkg/c2pa_bg.wasm
CHANGED
|
Binary file
|
package/pkg/c2pa_bg.wasm.d.ts
CHANGED
|
@@ -39,9 +39,9 @@ export const wasmreader_json: (a: number) => [number, number];
|
|
|
39
39
|
export const wasmreader_manifestStore: (a: number) => [number, number, number];
|
|
40
40
|
export const wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
|
|
41
41
|
export const wasmsigner_fromDefinition: (a: any) => [number, number, number];
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
42
|
+
export const wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined___js_sys_1746cd361478c686___Function_fn_wasm_bindgen_cb414c02e4f83cd6___JsValue_____wasm_bindgen_cb414c02e4f83cd6___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
43
|
+
export const wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke___wasm_bindgen_cb414c02e4f83cd6___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_cb414c02e4f83cd6___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
44
|
+
export const wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
45
45
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
46
46
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
47
47
|
export const __wbindgen_exn_store: (a: number) => void;
|