@trylimbo/sdk-verifier-wasm 0.2.25-canary.38 → 0.3.0-canary.40

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.
@@ -440,8 +440,8 @@ export class AssetVerifier {
440
440
  /**
441
441
  * Verify an asset against the configured trust anchors and per-call recovery options.
442
442
  *
443
- * Reads the C2PA-native formats. A container format (MXF) is plugin-backed, and plugins
444
- * are native, so a master is verified through the native SDK.
443
+ * Reads the C2PA handlers included in the browser build. Additional native modules require
444
+ * the Node or Python SDK.
445
445
  * `format` optionally declares the media type for inputs such as SVG and plain text.
446
446
  *
447
447
  * # Errors
@@ -687,27 +687,12 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
687
687
 
688
688
  export interface InitOutput {
689
689
  readonly memory: WebAssembly.Memory;
690
- readonly parse: (a: number, b: number) => any;
691
- readonly resource: (a: number, b: number, c: number, d: number) => any;
692
- readonly c2paTrustList: () => [number, number];
693
- readonly c2paTsaTrustList: () => [number, number];
694
- readonly devCa: () => [number, number];
695
- readonly init_panic_hook: () => void;
696
- readonly computeSoftBinding: (a: number, b: number, c: any, d: number, e: number) => any;
697
690
  readonly __wbg_assetverifier_free: (a: number, b: number) => void;
698
- readonly __wbg_blobsource_free: (a: number, b: number) => void;
699
- readonly __wbg_memorysource_free: (a: number, b: number) => void;
700
691
  readonly __wbg_streamsession_free: (a: number, b: number) => void;
701
692
  readonly __wbg_streamverifier_free: (a: number, b: number) => void;
702
693
  readonly __wbg_verification_free: (a: number, b: number) => void;
703
694
  readonly assetverifier_create: (a: any) => [number, number, number];
704
695
  readonly assetverifier_verify: (a: number, b: any, c: number, d: number, e: number) => any;
705
- readonly blobsource_length: (a: number) => number;
706
- readonly blobsource_new: (a: any) => [number, number, number];
707
- readonly blobsource_readAt: (a: number, b: number, c: number) => [number, number, number];
708
- readonly memorysource_length: (a: number) => number;
709
- readonly memorysource_new: (a: any) => number;
710
- readonly memorysource_readAt: (a: number, b: number, c: number) => any;
711
696
  readonly streamsession_export: (a: number) => [number, number, number, number];
712
697
  readonly streamsession_validate: (a: number, b: any) => any;
713
698
  readonly streamverifier_create: (a: any) => [number, number, number];
@@ -715,6 +700,21 @@ export interface InitOutput {
715
700
  readonly streamverifier_resume: (a: number, b: number, c: number) => any;
716
701
  readonly verification_report: (a: number) => any;
717
702
  readonly verification_resource: (a: number, b: number, c: number, d: number) => [number, number, number, number];
703
+ readonly parse: (a: number, b: number) => any;
704
+ readonly resource: (a: number, b: number, c: number, d: number) => any;
705
+ readonly __wbg_blobsource_free: (a: number, b: number) => void;
706
+ readonly __wbg_memorysource_free: (a: number, b: number) => void;
707
+ readonly blobsource_length: (a: number) => number;
708
+ readonly blobsource_new: (a: any) => [number, number, number];
709
+ readonly blobsource_readAt: (a: number, b: number, c: number) => [number, number, number];
710
+ readonly memorysource_length: (a: number) => number;
711
+ readonly memorysource_new: (a: any) => number;
712
+ readonly memorysource_readAt: (a: number, b: number, c: number) => any;
713
+ readonly computeSoftBinding: (a: number, b: number, c: any, d: number, e: number) => any;
714
+ readonly c2paTrustList: () => [number, number];
715
+ readonly c2paTsaTrustList: () => [number, number];
716
+ readonly devCa: () => [number, number];
717
+ readonly init_panic_hook: () => void;
718
718
  readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
719
719
  readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
720
720
  readonly intounderlyingbytesource_cancel: (a: number) => void;
@@ -34,8 +34,8 @@ export class AssetVerifier {
34
34
  /**
35
35
  * Verify an asset against the configured trust anchors and per-call recovery options.
36
36
  *
37
- * Reads the C2PA-native formats. A container format (MXF) is plugin-backed, and plugins
38
- * are native, so a master is verified through the native SDK.
37
+ * Reads the C2PA handlers included in the browser build. Additional native modules require
38
+ * the Node or Python SDK.
39
39
  * `format` optionally declares the media type for inputs such as SVG and plain text.
40
40
  *
41
41
  * # Errors
@@ -1199,17 +1199,17 @@ function __wbg_get_imports() {
1199
1199
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1200
1200
  },
1201
1201
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1202
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2234, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1202
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2270, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1203
1203
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hfa954cb356c7e7e1);
1204
1204
  return ret;
1205
1205
  },
1206
1206
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1207
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 5988, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1207
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 6075, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1208
1208
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hbfbf6526ca40dbc0);
1209
1209
  return ret;
1210
1210
  },
1211
1211
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1212
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 3528, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1212
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 3557, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1213
1213
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h66de60f9da4a5479);
1214
1214
  return ret;
1215
1215
  },
@@ -1,27 +1,12 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const parse: (a: number, b: number) => any;
5
- export const resource: (a: number, b: number, c: number, d: number) => any;
6
- export const c2paTrustList: () => [number, number];
7
- export const c2paTsaTrustList: () => [number, number];
8
- export const devCa: () => [number, number];
9
- export const init_panic_hook: () => void;
10
- export const computeSoftBinding: (a: number, b: number, c: any, d: number, e: number) => any;
11
4
  export const __wbg_assetverifier_free: (a: number, b: number) => void;
12
- export const __wbg_blobsource_free: (a: number, b: number) => void;
13
- export const __wbg_memorysource_free: (a: number, b: number) => void;
14
5
  export const __wbg_streamsession_free: (a: number, b: number) => void;
15
6
  export const __wbg_streamverifier_free: (a: number, b: number) => void;
16
7
  export const __wbg_verification_free: (a: number, b: number) => void;
17
8
  export const assetverifier_create: (a: any) => [number, number, number];
18
9
  export const assetverifier_verify: (a: number, b: any, c: number, d: number, e: number) => any;
19
- export const blobsource_length: (a: number) => number;
20
- export const blobsource_new: (a: any) => [number, number, number];
21
- export const blobsource_readAt: (a: number, b: number, c: number) => [number, number, number];
22
- export const memorysource_length: (a: number) => number;
23
- export const memorysource_new: (a: any) => number;
24
- export const memorysource_readAt: (a: number, b: number, c: number) => any;
25
10
  export const streamsession_export: (a: number) => [number, number, number, number];
26
11
  export const streamsession_validate: (a: number, b: any) => any;
27
12
  export const streamverifier_create: (a: any) => [number, number, number];
@@ -29,6 +14,21 @@ export const streamverifier_open: (a: number, b: number, c: number) => number;
29
14
  export const streamverifier_resume: (a: number, b: number, c: number) => any;
30
15
  export const verification_report: (a: number) => any;
31
16
  export const verification_resource: (a: number, b: number, c: number, d: number) => [number, number, number, number];
17
+ export const parse: (a: number, b: number) => any;
18
+ export const resource: (a: number, b: number, c: number, d: number) => any;
19
+ export const __wbg_blobsource_free: (a: number, b: number) => void;
20
+ export const __wbg_memorysource_free: (a: number, b: number) => void;
21
+ export const blobsource_length: (a: number) => number;
22
+ export const blobsource_new: (a: any) => [number, number, number];
23
+ export const blobsource_readAt: (a: number, b: number, c: number) => [number, number, number];
24
+ export const memorysource_length: (a: number) => number;
25
+ export const memorysource_new: (a: any) => number;
26
+ export const memorysource_readAt: (a: number, b: number, c: number) => any;
27
+ export const computeSoftBinding: (a: number, b: number, c: any, d: number, e: number) => any;
28
+ export const c2paTrustList: () => [number, number];
29
+ export const c2paTsaTrustList: () => [number, number];
30
+ export const devCa: () => [number, number];
31
+ export const init_panic_hook: () => void;
32
32
  export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
33
33
  export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
34
34
  export const intounderlyingbytesource_cancel: (a: number) => void;
@@ -32,8 +32,8 @@ var AssetVerifier = class AssetVerifier {
32
32
  /**
33
33
  * Verify an asset against the configured trust anchors and per-call recovery options.
34
34
  *
35
- * Reads the C2PA-native formats. A container format (MXF) is plugin-backed, and plugins
36
- * are native, so a master is verified through the native SDK.
35
+ * Reads the C2PA handlers included in the browser build. Additional native modules require
36
+ * the Node or Python SDK.
37
37
  * `format` optionally declares the media type for inputs such as SVG and plain text.
38
38
  *
39
39
  * # Errors
@@ -612,8 +612,8 @@ declare class AssetVerifier {
612
612
  /**
613
613
  * Verify an asset against the configured trust anchors and per-call recovery options.
614
614
  *
615
- * Reads the C2PA-native formats. A container format (MXF) is plugin-backed, and plugins
616
- * are native, so a master is verified through the native SDK.
615
+ * Reads the C2PA handlers included in the browser build. Additional native modules require
616
+ * the Node or Python SDK.
617
617
  * `format` optionally declares the media type for inputs such as SVG and plain text.
618
618
  *
619
619
  * # Errors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trylimbo/sdk-verifier-wasm",
3
- "version": "0.2.25-canary.38",
3
+ "version": "0.3.0-canary.40",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",