@contentauth/c2pa-wasm 0.14.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 +20 -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
|
}
|
|
@@ -950,6 +950,14 @@ function __wbg_get_imports() {
|
|
|
950
950
|
const ret = Date.now();
|
|
951
951
|
return ret;
|
|
952
952
|
},
|
|
953
|
+
__wbg_now_e7c6795a7f81e10f: function(arg0) {
|
|
954
|
+
const ret = arg0.now();
|
|
955
|
+
return ret;
|
|
956
|
+
},
|
|
957
|
+
__wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
|
|
958
|
+
const ret = arg0.performance;
|
|
959
|
+
return ret;
|
|
960
|
+
},
|
|
953
961
|
__wbg_process_44c7a14e11e9f69e: function(arg0) {
|
|
954
962
|
const ret = arg0.process;
|
|
955
963
|
return ret;
|
|
@@ -1096,13 +1104,13 @@ function __wbg_get_imports() {
|
|
|
1096
1104
|
return ret;
|
|
1097
1105
|
},
|
|
1098
1106
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
1099
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1100
|
-
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_);
|
|
1101
1109
|
return ret;
|
|
1102
1110
|
},
|
|
1103
1111
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
1104
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1105
|
-
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_);
|
|
1106
1114
|
return ret;
|
|
1107
1115
|
},
|
|
1108
1116
|
__wbindgen_generic_0000000000000003: function(arg0) {
|
|
@@ -1153,19 +1161,19 @@ function __wbg_get_imports() {
|
|
|
1153
1161
|
};
|
|
1154
1162
|
}
|
|
1155
1163
|
|
|
1156
|
-
function
|
|
1157
|
-
wasm.
|
|
1164
|
+
function wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
1165
|
+
wasm.wasm_bindgen_cb414c02e4f83cd6___convert__closures_____invoke_______true_(arg0, arg1);
|
|
1158
1166
|
}
|
|
1159
1167
|
|
|
1160
|
-
function
|
|
1161
|
-
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);
|
|
1162
1170
|
if (ret[1]) {
|
|
1163
1171
|
throw takeFromExternrefTable0(ret[0]);
|
|
1164
1172
|
}
|
|
1165
1173
|
}
|
|
1166
1174
|
|
|
1167
|
-
function
|
|
1168
|
-
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);
|
|
1169
1177
|
}
|
|
1170
1178
|
|
|
1171
1179
|
|
|
@@ -1517,4 +1525,4 @@ async function __wbg_init(module_or_path) {
|
|
|
1517
1525
|
}
|
|
1518
1526
|
|
|
1519
1527
|
export { initSync, __wbg_init as default };
|
|
1520
|
-
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;
|