@contentauth/c2pa-web 0.14.4 → 0.14.6

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.
@@ -1 +1 @@
1
- {"version":3,"file":"reader.d.ts","sourceRoot":"","sources":["../../src/lib/reader.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACL,QAAQ,EAGT,MAAM,6BAA6B,CAAC;AAGrC,eAAO,MAAM,iBAAiB,QAAU,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,QAAQ,EAAE,CACR,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,QAAQ,CAAC,EAAE,QAAQ,KAChB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAE5B;;;;;;;OAOG;IACH,gBAAgB,EAAE,CAChB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,IAAI,EACd,QAAQ,CAAC,EAAE,QAAQ,KAChB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC7B;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,WAAW,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAE1C;;OAEG;IACH,aAAa,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;IAE5C;;OAEG;IACH,cAAc,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC;IAExC;;;;OAIG;IACH,IAAI,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;IAEzB;;OAEG;IACH,MAAM,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;IAE3B;;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OAAO,CAAC,QAAQ,CAAC,CAAC;IAExC;;;;OAIG;IACH,IAAI,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;IAEzB;;OAEG;IACH,MAAM,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;IAE3B;;;;;;;;;;;;;;OAcG;IACH,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;IAEnE;;OAEG;IACH,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,aAAa,CA8D7F"}
@@ -17,6 +17,12 @@
17
17
  * copies own properties, so it would disappear in transit. We detect this by
18
18
  * checking whether the prototype was changed, and restore the manifest as an
19
19
  * own property before the value leaves the worker.
20
+ *
21
+ * The recovered value's key is always the literal string "__proto__" -
22
+ * that's the only key whose bracket assignment triggers [[SetPrototypeOf]] -
23
+ * regardless of which manifest is active. It must be restored under that
24
+ * key rather than `store.active_manifest`, otherwise a poisoned manifest
25
+ * that isn't the active one would overwrite the genuine active manifest.
20
26
  */
21
27
  export declare function sanitizeManifestStore(store: any): any;
22
28
  //# sourceMappingURL=sanitizeManifestStore.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sanitizeManifestStore.d.ts","sourceRoot":"","sources":["../../../src/lib/worker/sanitizeManifestStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,CAerD"}
1
+ {"version":3,"file":"sanitizeManifestStore.d.ts","sourceRoot":"","sources":["../../../src/lib/worker/sanitizeManifestStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,CAerD"}
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentauth/c2pa-web",
3
- "version": "0.14.4",
3
+ "version": "0.14.6",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "highgain": "^0.1.0",
35
35
  "@contentauth/c2pa-types": "0.7.4",
36
36
  "@contentauth/c2pa-utilities": "0.2.2",
37
- "@contentauth/c2pa-wasm": "0.11.4"
37
+ "@contentauth/c2pa-wasm": "0.11.6"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@playwright/test": "^1.60.0",
@@ -1,12 +0,0 @@
1
- /**
2
- * Copyright 2025 Adobe
3
- * All Rights Reserved.
4
- *
5
- * NOTICE: Adobe permits you to use, modify, and distribute this file in
6
- * accordance with the terms of the Adobe license agreement accompanying
7
- * it.
8
- */
9
- export declare class UnsupportedFormatError extends Error {
10
- constructor(format: string);
11
- }
12
- //# sourceMappingURL=error.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/lib/error.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,qBAAa,sBAAuB,SAAQ,KAAK;gBACnC,MAAM,EAAE,MAAM;CAI3B"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright 2025 Adobe
3
- * All Rights Reserved.
4
- *
5
- * NOTICE: Adobe permits you to use, modify, and distribute this file in
6
- * accordance with the terms of the Adobe license agreement accompanying
7
- * it.
8
- */
9
- export declare const READER_SUPPORTED_FORMATS: string[];
10
- export declare function isSupportedReaderFormat(format: string): boolean;
11
- //# sourceMappingURL=supportedFormats.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"supportedFormats.d.ts","sourceRoot":"","sources":["../../src/lib/supportedFormats.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,eAAO,MAAM,wBAAwB,UA4DpC,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAE/D"}