@contentauth/c2pa-wasm 0.13.2 → 0.13.4
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 +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/README.md
CHANGED
|
@@ -14,7 +14,7 @@ npm install @contentauth/c2pa-wasm
|
|
|
14
14
|
|
|
15
15
|
Ensure the repo-wide prerequisites are installed:
|
|
16
16
|
|
|
17
|
-
- [Node.js](https://nodejs.org/)
|
|
17
|
+
- A patched [Node.js](https://nodejs.org/) release; see [TLS trust stores](../../README.md#tls-trust-stores).
|
|
18
18
|
- [Nx](https://nx.dev/getting-started/intro)
|
|
19
19
|
- [pnpm](https://pnpm.io/)
|
|
20
20
|
|
package/package.json
CHANGED
package/pkg/c2pa.d.ts
CHANGED
|
@@ -309,9 +309,9 @@ export interface InitOutput {
|
|
|
309
309
|
readonly wasmreader_manifestStore: (a: number) => [number, number, number];
|
|
310
310
|
readonly wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
|
|
311
311
|
readonly wasmsigner_fromDefinition: (a: any) => [number, number, number];
|
|
312
|
-
readonly
|
|
313
|
-
readonly
|
|
314
|
-
readonly
|
|
312
|
+
readonly wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
313
|
+
readonly wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___wasm_bindgen_255200e6d97c625a___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_255200e6d97c625a___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
314
|
+
readonly wasm_bindgen_255200e6d97c625a___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
315
315
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
316
316
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
317
317
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/pkg/c2pa.js
CHANGED
|
@@ -887,7 +887,7 @@ function __wbg_get_imports() {
|
|
|
887
887
|
const a = state0.a;
|
|
888
888
|
state0.a = 0;
|
|
889
889
|
try {
|
|
890
|
-
return
|
|
890
|
+
return wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
891
891
|
} finally {
|
|
892
892
|
state0.a = a;
|
|
893
893
|
}
|
|
@@ -1068,13 +1068,13 @@ function __wbg_get_imports() {
|
|
|
1068
1068
|
return ret;
|
|
1069
1069
|
},
|
|
1070
1070
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
1071
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1072
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1071
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3363, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1072
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___wasm_bindgen_255200e6d97c625a___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_255200e6d97c625a___JsError___true_);
|
|
1073
1073
|
return ret;
|
|
1074
1074
|
},
|
|
1075
1075
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
1076
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1077
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1076
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2053, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1077
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_255200e6d97c625a___convert__closures_____invoke_______true_);
|
|
1078
1078
|
return ret;
|
|
1079
1079
|
},
|
|
1080
1080
|
__wbindgen_generic_0000000000000003: function(arg0) {
|
|
@@ -1125,19 +1125,19 @@ function __wbg_get_imports() {
|
|
|
1125
1125
|
};
|
|
1126
1126
|
}
|
|
1127
1127
|
|
|
1128
|
-
function
|
|
1129
|
-
wasm.
|
|
1128
|
+
function wasm_bindgen_255200e6d97c625a___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
1129
|
+
wasm.wasm_bindgen_255200e6d97c625a___convert__closures_____invoke_______true_(arg0, arg1);
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
|
-
function
|
|
1133
|
-
const ret = wasm.
|
|
1132
|
+
function wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___wasm_bindgen_255200e6d97c625a___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_255200e6d97c625a___JsError___true_(arg0, arg1, arg2) {
|
|
1133
|
+
const ret = wasm.wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___wasm_bindgen_255200e6d97c625a___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_255200e6d97c625a___JsError___true_(arg0, arg1, arg2);
|
|
1134
1134
|
if (ret[1]) {
|
|
1135
1135
|
throw takeFromExternrefTable0(ret[0]);
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
|
-
function
|
|
1140
|
-
wasm.
|
|
1139
|
+
function wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
1140
|
+
wasm.wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
1143
|
|
|
@@ -1489,4 +1489,4 @@ async function __wbg_init(module_or_path) {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
|
|
1491
1491
|
export { initSync, __wbg_init as default };
|
|
1492
|
-
export const WASM_SRI = "sha512-
|
|
1492
|
+
export const WASM_SRI = "sha512-VUKUpwxCu08SShdzVBFmt9OjEBJBb8t0B0cJtO6liA3muW4/Y25yKpKTuu2MaTFNlsXhqkDeDg41/wn//UM2bw==";
|
package/pkg/c2pa_bg.wasm
CHANGED
|
Binary file
|
package/pkg/c2pa_bg.wasm.d.ts
CHANGED
|
@@ -37,9 +37,9 @@ export const wasmreader_json: (a: number) => [number, number];
|
|
|
37
37
|
export const wasmreader_manifestStore: (a: number) => [number, number, number];
|
|
38
38
|
export const wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
|
|
39
39
|
export const wasmsigner_fromDefinition: (a: any) => [number, number, number];
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
40
|
+
export const wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
41
|
+
export const wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___wasm_bindgen_255200e6d97c625a___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_255200e6d97c625a___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
42
|
+
export const wasm_bindgen_255200e6d97c625a___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
43
43
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
44
44
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
45
45
|
export const __wbindgen_exn_store: (a: number) => void;
|