@contentauth/c2pa-wasm 0.15.2 → 0.15.3
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
|
@@ -364,9 +364,9 @@ export interface InitOutput {
|
|
|
364
364
|
readonly wasmreader_manifestStore: (a: number) => [number, number, number];
|
|
365
365
|
readonly wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
|
|
366
366
|
readonly wasmsigner_fromDefinition: (a: any) => [number, number, number];
|
|
367
|
-
readonly
|
|
368
|
-
readonly
|
|
369
|
-
readonly
|
|
367
|
+
readonly wasm_bindgen_749495e350e70745___convert__closures_____invoke___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
368
|
+
readonly wasm_bindgen_749495e350e70745___convert__closures_____invoke___wasm_bindgen_749495e350e70745___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_749495e350e70745___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
369
|
+
readonly wasm_bindgen_749495e350e70745___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
370
370
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
371
371
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
372
372
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/pkg/c2pa.js
CHANGED
|
@@ -1022,7 +1022,7 @@ function __wbg_get_imports() {
|
|
|
1022
1022
|
const a = state0.a;
|
|
1023
1023
|
state0.a = 0;
|
|
1024
1024
|
try {
|
|
1025
|
-
return
|
|
1025
|
+
return wasm_bindgen_749495e350e70745___convert__closures_____invoke___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1026
1026
|
} finally {
|
|
1027
1027
|
state0.a = a;
|
|
1028
1028
|
}
|
|
@@ -1211,13 +1211,13 @@ function __wbg_get_imports() {
|
|
|
1211
1211
|
return ret;
|
|
1212
1212
|
},
|
|
1213
1213
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
1214
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1215
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1214
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3444, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1215
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_749495e350e70745___convert__closures_____invoke___wasm_bindgen_749495e350e70745___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_749495e350e70745___JsError___true_);
|
|
1216
1216
|
return ret;
|
|
1217
1217
|
},
|
|
1218
1218
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
1219
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1220
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1219
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2138, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1220
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_749495e350e70745___convert__closures_____invoke_______true_);
|
|
1221
1221
|
return ret;
|
|
1222
1222
|
},
|
|
1223
1223
|
__wbindgen_generic_0000000000000003: function(arg0) {
|
|
@@ -1268,19 +1268,19 @@ function __wbg_get_imports() {
|
|
|
1268
1268
|
};
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
1271
|
-
function
|
|
1272
|
-
wasm.
|
|
1271
|
+
function wasm_bindgen_749495e350e70745___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
1272
|
+
wasm.wasm_bindgen_749495e350e70745___convert__closures_____invoke_______true_(arg0, arg1);
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
|
-
function
|
|
1276
|
-
const ret = wasm.
|
|
1275
|
+
function wasm_bindgen_749495e350e70745___convert__closures_____invoke___wasm_bindgen_749495e350e70745___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_749495e350e70745___JsError___true_(arg0, arg1, arg2) {
|
|
1276
|
+
const ret = wasm.wasm_bindgen_749495e350e70745___convert__closures_____invoke___wasm_bindgen_749495e350e70745___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_749495e350e70745___JsError___true_(arg0, arg1, arg2);
|
|
1277
1277
|
if (ret[1]) {
|
|
1278
1278
|
throw takeFromExternrefTable0(ret[0]);
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
1281
|
|
|
1282
|
-
function
|
|
1283
|
-
wasm.
|
|
1282
|
+
function wasm_bindgen_749495e350e70745___convert__closures_____invoke___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
1283
|
+
wasm.wasm_bindgen_749495e350e70745___convert__closures_____invoke___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
1284
1284
|
}
|
|
1285
1285
|
|
|
1286
1286
|
|
|
@@ -1641,4 +1641,4 @@ async function __wbg_init(module_or_path) {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
|
|
1643
1643
|
export { initSync, __wbg_init as default };
|
|
1644
|
-
export const WASM_SRI = "sha512-
|
|
1644
|
+
export const WASM_SRI = "sha512-ZeY41njKBqdN5baaEqpNkqdUBFnmbFNeoFdV/t8gSTrA1QwdionUUc0qFcb/tcYBya30kL0jcwphkI5vViUU8A==";
|
package/pkg/c2pa_bg.wasm
CHANGED
|
Binary file
|
package/pkg/c2pa_bg.wasm.d.ts
CHANGED
|
@@ -46,9 +46,9 @@ export const wasmreader_json: (a: number) => [number, number];
|
|
|
46
46
|
export const wasmreader_manifestStore: (a: number) => [number, number, number];
|
|
47
47
|
export const wasmreader_resourceToBytes: (a: number, b: number, c: number) => [number, number, number];
|
|
48
48
|
export const wasmsigner_fromDefinition: (a: any) => [number, number, number];
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
49
|
+
export const wasm_bindgen_749495e350e70745___convert__closures_____invoke___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined___js_sys_a6a8441767b3b579___Function_fn_wasm_bindgen_749495e350e70745___JsValue_____wasm_bindgen_749495e350e70745___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
50
|
+
export const wasm_bindgen_749495e350e70745___convert__closures_____invoke___wasm_bindgen_749495e350e70745___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_749495e350e70745___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
51
|
+
export const wasm_bindgen_749495e350e70745___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
52
52
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
53
53
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
54
54
|
export const __wbindgen_exn_store: (a: number) => void;
|