@contentauth/c2pa-web 0.14.4 → 0.14.5
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/dist/{c2pa-CL7pqSPf.js → c2pa-CJjzMta6.js} +189 -264
- package/dist/c2pa_worker.js +3 -3
- package/dist/common.d.ts +0 -1
- package/dist/common.d.ts.map +1 -1
- package/dist/index.js +17 -19
- package/dist/inline.js +3 -6
- package/dist/lib/reader.d.ts.map +1 -1
- package/dist/resources/c2pa_bg.wasm +0 -0
- package/package.json +2 -2
- package/dist/lib/error.d.ts +0 -12
- package/dist/lib/error.d.ts.map +0 -1
- package/dist/lib/supportedFormats.d.ts +0 -11
- package/dist/lib/supportedFormats.d.ts.map +0 -1
package/dist/c2pa_worker.js
CHANGED
|
@@ -873,15 +873,15 @@ var de = G((fe, C) => {
|
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
875
|
function X(r, e) {
|
|
876
|
-
o.
|
|
876
|
+
o.wasm_bindgen_4d7940e3be85a6dc___convert__closures_____invoke_______true_(r, e);
|
|
877
877
|
}
|
|
878
878
|
function Y(r, e, t) {
|
|
879
|
-
const n = o.
|
|
879
|
+
const n = o.wasm_bindgen_4d7940e3be85a6dc___convert__closures_____invoke___wasm_bindgen_4d7940e3be85a6dc___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_4d7940e3be85a6dc___JsError___true_(r, e, t);
|
|
880
880
|
if (n[1])
|
|
881
881
|
throw d(n[0]);
|
|
882
882
|
}
|
|
883
883
|
function K(r, e, t, n) {
|
|
884
|
-
o.
|
|
884
|
+
o.wasm_bindgen_4d7940e3be85a6dc___convert__closures_____invoke___js_sys_a576b80f2209464___Function_fn_wasm_bindgen_4d7940e3be85a6dc___JsValue_____wasm_bindgen_4d7940e3be85a6dc___sys__Undefined___js_sys_a576b80f2209464___Function_fn_wasm_bindgen_4d7940e3be85a6dc___JsValue_____wasm_bindgen_4d7940e3be85a6dc___sys__Undefined_______true_(r, e, t, n);
|
|
885
885
|
}
|
|
886
886
|
const Q = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"], Z = ["omit", "same-origin", "include"], ee = ["same-origin", "no-cors", "cors", "navigate"], k = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
887
887
|
}, unregister: () => {
|
package/dist/common.d.ts
CHANGED
|
@@ -10,6 +10,5 @@ export type * from './lib/c2pa.js';
|
|
|
10
10
|
export type { Reader, ReaderFactory } from './lib/reader.js';
|
|
11
11
|
export type { Builder, BuilderFactory, ManifestAndAssetBytes } from './lib/builder.js';
|
|
12
12
|
export type { Signer, SigningAlg } from './lib/signer.js';
|
|
13
|
-
export { isSupportedReaderFormat, READER_SUPPORTED_FORMATS } from './lib/supportedFormats.js';
|
|
14
13
|
export type * from '@contentauth/c2pa-types';
|
|
15
14
|
//# sourceMappingURL=common.d.ts.map
|
package/dist/common.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,mBAAmB,eAAe,CAAC;AAEnC,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE7D,YAAY,EACV,OAAO,EACP,cAAc,EACd,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAE1B,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,mBAAmB,eAAe,CAAC;AAEnC,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE7D,YAAY,EACV,OAAO,EACP,cAAc,EACd,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAE1B,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG1D,mBAAmB,yBAAyB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as a, D as t, a as r, b as _, c as E, d as T, e as A, f as S, g as i, h as R, i as g, j as o, k as n, l as L, m as D, n as l, r as F, o as M, s as c, p as f, v as I } from "./c2pa-CJjzMta6.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
a as AssetTooLargeError,
|
|
4
4
|
t as DEFAULT_INITIAL_RETRY_DELAY_MS,
|
|
5
5
|
r as DEFAULT_MAX_RESPONSE_BYTES,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
R as createC2pa,
|
|
6
|
+
_ as DEFAULT_MAX_RETRIES,
|
|
7
|
+
E as DEFAULT_MAX_RETRY_AFTER_MS,
|
|
8
|
+
T as DEFAULT_MAX_RETRY_DELAY_MS,
|
|
9
|
+
A as DEFAULT_MAX_SIZE_IN_BYTES,
|
|
10
|
+
S as createC2pa,
|
|
12
11
|
i as createCawgTrustSettings,
|
|
13
|
-
|
|
12
|
+
R as createTrustSettings,
|
|
14
13
|
g as createVerifySettings,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
M as loadSettingsFromUrl,
|
|
14
|
+
o as defaultIsRetryableStatus,
|
|
15
|
+
n as fetchWithRetry,
|
|
16
|
+
L as fetchWithRetryRaw,
|
|
17
|
+
D as loadSettingsFromUrl,
|
|
20
18
|
l as mergeSettings,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
F as resolveSettings,
|
|
20
|
+
M as resolveTrustSettings,
|
|
21
|
+
c as settingsToJson,
|
|
22
|
+
f as snakeCaseify,
|
|
23
|
+
I as validateAssetSize
|
|
26
24
|
};
|