@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.
- package/dist/{c2pa-CL7pqSPf.js → c2pa-BK_gbEns.js} +213 -288
- package/dist/c2pa_worker.js +4 -4
- 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 +4 -7
- package/dist/lib/reader.d.ts.map +1 -1
- package/dist/lib/worker/sanitizeManifestStore.d.ts +6 -0
- package/dist/lib/worker/sanitizeManifestStore.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: () => {
|
|
@@ -1119,7 +1119,7 @@ ${r.stack}` : n;
|
|
|
1119
1119
|
if (!(r != null && r.manifests))
|
|
1120
1120
|
return r;
|
|
1121
1121
|
const e = r.manifests, t = Object.assign(/* @__PURE__ */ Object.create(null), e), n = Object.getPrototypeOf(e);
|
|
1122
|
-
return n !== null && n !== Object.prototype &&
|
|
1122
|
+
return n !== null && n !== Object.prototype && (t.__proto__ = n), r.manifests = t, r;
|
|
1123
1123
|
}
|
|
1124
1124
|
const p = D(), f = D(), V = se();
|
|
1125
1125
|
ie(
|
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-BK_gbEns.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
|
};
|