@contentauth/c2pa-wasm 0.11.2 → 0.11.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/README.md CHANGED
@@ -12,10 +12,10 @@ npm install @contentauth/c2pa-wasm
12
12
 
13
13
  ### Prerequisites
14
14
 
15
- Ensure the repo-wide prerequisites are installed.:
15
+ Ensure the repo-wide prerequisites are installed:
16
16
 
17
17
  - [Node.js](https://nodejs.org/) v22.22+
18
- - [NX](https://nx.dev/getting-started/intro)
18
+ - [Nx](https://nx.dev/getting-started/intro)
19
19
  - [pnpm](https://pnpm.io/)
20
20
 
21
21
  See the [c2pa-js README](../../README.md#prerequisites) for details.
@@ -46,7 +46,7 @@ rustup target add wasm32-unknown-unknown
46
46
 
47
47
  #### wasm-bindgen-cli
48
48
 
49
- The `wasm-bindgen-cli` provides options to tweak JavaScript generated by `wasm-bingen`.
49
+ The `wasm-bindgen-cli` provides options to tweak JavaScript generated by `wasm-bindgen`.
50
50
 
51
51
  For more information, see the [wasm-bindgen-cli documentation](https://wasm-bindgen.github.io/wasm-bindgen/reference/cli).
52
52
 
@@ -54,7 +54,7 @@ For more information, see the [wasm-bindgen-cli documentation](https://wasm-bind
54
54
  cargo install wasm-bindgen-cli@0.2.122
55
55
  ```
56
56
 
57
- > [!IMPORTANT]
57
+ > [!IMPORTANT]
58
58
  > The version of `wasm-bindgen-cli` **must** match the version of the `wasm-bindgen` dependency in [`Cargo.toml`](https://github.com/contentauth/c2pa-js/blob/main/packages/c2pa-wasm/Cargo.toml). A version mismatch will cause build failures with errors like _"rust Wasm file schema version: X.X.X, this binary schema version: Y.Y.Y"_. If you encounter this, check `Cargo.toml` for the correct version and reinstall the CLI accordingly.
59
59
 
60
60
  #### wasm-pack
@@ -83,6 +83,6 @@ The library relies on [`wasm-pack`](https://rustwasm.github.io/docs/wasm-pack/)
83
83
 
84
84
  To run the tests:
85
85
 
86
- ```
86
+ ```sh
87
87
  nx test c2pa-wasm
88
88
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentauth/c2pa-wasm",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
package/pkg/c2pa.js CHANGED
@@ -1030,12 +1030,12 @@ function __wbg_get_imports() {
1030
1030
  return ret;
1031
1031
  },
1032
1032
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1033
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3103, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1033
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3077, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1034
1034
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_304c265eb9e6f0af___convert__closures_____invoke___wasm_bindgen_304c265eb9e6f0af___JsValue__core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_304c265eb9e6f0af___JsError___true_);
1035
1035
  return ret;
1036
1036
  },
1037
1037
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1038
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1861, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1038
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1847, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1039
1039
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_304c265eb9e6f0af___convert__closures_____invoke_______true_);
1040
1040
  return ret;
1041
1041
  },
@@ -1440,4 +1440,4 @@ async function __wbg_init(module_or_path) {
1440
1440
  }
1441
1441
 
1442
1442
  export { initSync, __wbg_init as default };
1443
- export const WASM_SRI = "sha512-JDgJjxNbd/twwreFXlKMWAMvONRRKQot0lqVEL/GA4Uw5j4kTw1fSfLy14JE/mX1gyzDZdZsE+a8eg1QZkJ04Q==";
1443
+ export const WASM_SRI = "sha512-MqM7VL8b6NoK003EIdVNEV5gmt/a52dS+KYs96DK45qy5YfEQFKGDTDBJszTSSoGP7JoRfYqLw5ER1FQnnf1jw==";
package/pkg/c2pa_bg.wasm CHANGED
Binary file