@uploadcare/file-uploader 1.17.2 → 1.17.3-alpha.1
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/blocks/Config/Config.d.ts.map +1 -1
- package/blocks/Config/Config.js +6 -1
- package/blocks/Config/initialConfig.d.ts +1 -0
- package/blocks/Config/initialConfig.d.ts.map +1 -1
- package/blocks/Config/initialConfig.js +2 -0
- package/blocks/Config/normalizeConfigValue.d.ts.map +1 -1
- package/blocks/Config/normalizeConfigValue.js +1 -0
- package/blocks/Config/side-effects.d.ts +8 -4
- package/blocks/Config/side-effects.d.ts.map +1 -1
- package/blocks/Config/side-effects.js +107 -21
- package/index.ssr.d.ts.map +1 -1
- package/index.ssr.js +2 -0
- package/package.json +2 -1
- package/types/exported.d.ts +5 -0
- package/web/file-uploader.iife.min.js +4 -4
- package/web/file-uploader.min.js +4 -4
- package/web/uc-cloud-image-editor.min.js +4 -4
- package/web/uc-file-uploader-inline.min.js +4 -4
- package/web/uc-file-uploader-minimal.min.js +4 -4
- package/web/uc-file-uploader-regular.min.js +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["Config.js"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;GAaG;AACH,gCAXU,CACT,UAAc,EACd,0BAA8B,EAC9B,gCAAoC,EACpC,gCAAoC,EACpC,kBAAsB,EACtB,gBAAoB,EACpB,sBAA0B,EAC1B,sBAA0B,CACvB,CAWF;
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["Config.js"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;GAaG;AACH,gCAXU,CACT,UAAc,EACd,0BAA8B,EAC9B,gCAAoC,EACpC,gCAAoC,EACpC,kBAAsB,EACtB,gBAAoB,EACpB,sBAA0B,EAC1B,sBAA0B,CACvB,CAWF;qBA8NY,OAAO,2BAA2B,EAAE,UAAU,CAAC,OAAO,WAAW,EAAE,OAAO,aAAa,EAAE,UAAU,CAAC;AAAlH,6HAA6H;AAG7H,qBAAiC,MAAM,CAA4C;AApMnF;IAkBE;;;;OAIG;IACH,+BAYC;IAED;;;;OAIG;IACH,2BAQC;IAED;;;;OAIG;IACH,kBAwBC;IAED;;;OAGG;IACH,kBAIC;IAED;;;;OAIG;IACH,wCAJW,MAAM,iBACN,OAAO,aACP,OAAO,QAoBjB;IAgDD;;;;OAIG;IACH,+BAJW,MAAM,OAAO,gBAAgB,UAC7B,MAAM,UACN,MAAM,QAahB;CACF;sBAtPqB,yBAAyB;AAwD/C,0CAA0C;AAC1C,gCAAoC,MAAM,CAAC,MAAM,OAAO,aAAa,EAAE,oBAAoB,EAAE,MAAM,CAAC,CAGjG"}
|
package/blocks/Config/Config.js
CHANGED
|
@@ -142,7 +142,6 @@ class ConfigClass extends Block {
|
|
|
142
142
|
runAssertions(this.cfg);
|
|
143
143
|
runSideEffects({
|
|
144
144
|
key,
|
|
145
|
-
value: normalizedValue ?? null,
|
|
146
145
|
setValue: this._setValue.bind(this),
|
|
147
146
|
getValue: this._getValue.bind(this),
|
|
148
147
|
});
|
|
@@ -220,6 +219,12 @@ class ConfigClass extends Block {
|
|
|
220
219
|
return this._getValue(key);
|
|
221
220
|
},
|
|
222
221
|
});
|
|
222
|
+
|
|
223
|
+
runSideEffects({
|
|
224
|
+
key,
|
|
225
|
+
setValue: this._setValue.bind(this),
|
|
226
|
+
getValue: this._getValue.bind(this),
|
|
227
|
+
});
|
|
223
228
|
}
|
|
224
229
|
}
|
|
225
230
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export const DEFAULT_CDN_CNAME: "https://ucarecdn.com";
|
|
2
2
|
export const DEFAULT_BASE_URL: "https://upload.uploadcare.com";
|
|
3
3
|
export const DEFAULT_SOCIAL_BASE_URL: "https://social.uploadcare.com";
|
|
4
|
+
export const DEFAULT_PREFIXED_CDN_BASE_DOMAIN: "https://ucarecd.net";
|
|
4
5
|
/** @type {import('../../types/exported').ConfigType} */
|
|
5
6
|
export const initialConfig: import("../../types/exported").ConfigType;
|
|
6
7
|
//# sourceMappingURL=initialConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initialConfig.d.ts","sourceRoot":"","sources":["initialConfig.js"],"names":[],"mappings":"AAKA,gCAAiC,sBAAsB,CAAC;AACxD,+BAAgC,+BAA+B,CAAC;AAChE,sCAAuC,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"initialConfig.d.ts","sourceRoot":"","sources":["initialConfig.js"],"names":[],"mappings":"AAKA,gCAAiC,sBAAsB,CAAC;AACxD,+BAAgC,+BAA+B,CAAC;AAChE,sCAAuC,+BAA+B,CAAC;AACvE,+CAAgD,qBAAqB,CAAC;AAEtE,wDAAwD;AACxD,4BADW,OAAO,sBAAsB,EAAE,UAAU,CA6ElD"}
|
|
@@ -6,6 +6,7 @@ import { serializeCsv } from '../utils/comma-separated.js';
|
|
|
6
6
|
export const DEFAULT_CDN_CNAME = 'https://ucarecdn.com';
|
|
7
7
|
export const DEFAULT_BASE_URL = 'https://upload.uploadcare.com';
|
|
8
8
|
export const DEFAULT_SOCIAL_BASE_URL = 'https://social.uploadcare.com';
|
|
9
|
+
export const DEFAULT_PREFIXED_CDN_BASE_DOMAIN = 'https://ucarecd.net';
|
|
9
10
|
|
|
10
11
|
/** @type {import('../../types/exported').ConfigType} */
|
|
11
12
|
export const initialConfig = {
|
|
@@ -41,6 +42,7 @@ export const initialConfig = {
|
|
|
41
42
|
|
|
42
43
|
remoteTabSessionKey: '',
|
|
43
44
|
cdnCname: DEFAULT_CDN_CNAME,
|
|
45
|
+
cdnCnamePrefixed: DEFAULT_PREFIXED_CDN_BASE_DOMAIN,
|
|
44
46
|
baseUrl: DEFAULT_BASE_URL,
|
|
45
47
|
socialBaseUrl: DEFAULT_SOCIAL_BASE_URL,
|
|
46
48
|
secureSignature: '',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeConfigValue.d.ts","sourceRoot":"","sources":["normalizeConfigValue.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"normalizeConfigValue.d.ts","sourceRoot":"","sources":["normalizeConfigValue.js"],"names":[],"mappings":"AAgHO,qCAL+C,CAAC,SAA1C,MAAO,OAAO,aAAa,EAAE,UAAW,OAC1C,CAAC,SACD,OAAO,GACL,OAAO,aAAa,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,SAAS,CAa3D"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export function runSideEffects<T extends keyof import("../../types").ConfigType>({ key,
|
|
1
|
+
export function runSideEffects<T extends keyof import("../../types").ConfigType>({ key, setValue, getValue }: {
|
|
2
2
|
key: T;
|
|
3
|
-
value: import("../../types").ConfigType[
|
|
4
|
-
|
|
5
|
-
getValue: (key: T) => import("../../types").ConfigType[T];
|
|
3
|
+
setValue: <TSetValue extends keyof import("../../types").ConfigType>(key: TSetValue, value: import("../../types").ConfigType[TSetValue]) => void;
|
|
4
|
+
getValue: <TGetValue extends keyof import("../../types").ConfigType>(key: TGetValue) => import("../../types").ConfigType[TGetValue];
|
|
6
5
|
}): void;
|
|
6
|
+
export type ComputedPropertyDeclaration<TKey extends keyof import("../../types").ConfigType, TDeps extends Exclude<keyof import("../../types").ConfigType, TKey>[]> = {
|
|
7
|
+
key: TKey;
|
|
8
|
+
deps: TDeps;
|
|
9
|
+
fn: (args: Record<TKey, import("../../types").ConfigType[TKey]> & { [K in TDeps[number]]: import("../../types").ConfigType[K]; }) => import("../../types").ConfigType[TKey] | Promise<import("../../types").ConfigType[TKey]>;
|
|
10
|
+
};
|
|
7
11
|
//# sourceMappingURL=side-effects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side-effects.d.ts","sourceRoot":"","sources":["side-effects.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"side-effects.d.ts","sourceRoot":"","sources":["side-effects.js"],"names":[],"mappings":"AAsFO,+BAZ+C,CAAC,SAA1C,MAAO,OAAO,aAAa,EAAE,UAAW,+BAC1C;IACN,GAAG,EAAE,CAAC,CAAC;IACP,QAAQ,EAAE,CAAC,SAAS,SAAS,MAAM,OAAO,aAAa,EAAE,UAAU,EACjE,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,OAAO,aAAa,EAAE,UAAU,CAAC,SAAS,CAAC,KAC/C,IAAI,CAAC;IACV,QAAQ,EAAE,CAAC,SAAS,SAAS,MAAM,OAAO,aAAa,EAAE,UAAU,EACjE,GAAG,EAAE,SAAS,KACX,OAAO,aAAa,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;CAClD,QAiCH;wCA9GqD,IAAI,SAA7C,MAAO,OAAO,aAAa,EAAE,UAAW,EACkB,KAAK,SAA9D,OAAO,CAAC,MAAM,OAAO,aAAa,EAAE,UAAU,EAAE,IAAI,CAAC,EAAG;SAExD,IAAI;UACJ,KAAK;QACL,CACT,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,aAAa,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,GAC1D,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,OAAO,aAAa,EAAE,UAAU,CAAC,CAAC,CAAC,GAC1D,KACE,OAAO,aAAa,EAAE,UAAU,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,OAAO,aAAa,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -1,32 +1,118 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
|
|
3
|
+
import { getPrefixedCdnBase } from '@uploadcare/cname-prefix';
|
|
1
4
|
import { deserializeCsv, serializeCsv } from '../utils/comma-separated.js';
|
|
5
|
+
import { DEFAULT_CDN_CNAME } from './initialConfig.js';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @template {keyof import('../../types').ConfigType} TKey
|
|
9
|
+
* @template {Exclude<keyof import('../../types').ConfigType, TKey>[]} TDeps
|
|
10
|
+
* @typedef {Object} ComputedPropertyDeclaration
|
|
11
|
+
* @property {TKey} key
|
|
12
|
+
* @property {TDeps} deps
|
|
13
|
+
* @property {(
|
|
14
|
+
* args: Record<TKey, import('../../types').ConfigType[TKey]> & {
|
|
15
|
+
* [K in TDeps[number]]: import('../../types').ConfigType[K];
|
|
16
|
+
* },
|
|
17
|
+
* ) => import('../../types').ConfigType[TKey] | Promise<import('../../types').ConfigType[TKey]>} fn
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @template {keyof import('../../types').ConfigType} TKey
|
|
22
|
+
* @template {Exclude<keyof import('../../types').ConfigType, TKey>[]} TDeps
|
|
23
|
+
* @param {ComputedPropertyDeclaration<TKey, TDeps>} declaration
|
|
24
|
+
*/
|
|
25
|
+
function defineComputedProperty(declaration) {
|
|
26
|
+
return declaration;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const COMPUTED_PROPERTIES = [
|
|
30
|
+
defineComputedProperty({
|
|
31
|
+
key: 'cameraModes',
|
|
32
|
+
deps: ['enableVideoRecording'],
|
|
33
|
+
fn: ({ cameraModes, enableVideoRecording }) => {
|
|
34
|
+
if (enableVideoRecording === null) {
|
|
35
|
+
return cameraModes;
|
|
36
|
+
}
|
|
37
|
+
let cameraModesCsv = deserializeCsv(cameraModes);
|
|
38
|
+
if (enableVideoRecording && !cameraModesCsv.includes('video')) {
|
|
39
|
+
cameraModesCsv = cameraModesCsv.concat('video');
|
|
40
|
+
} else if (!enableVideoRecording) {
|
|
41
|
+
cameraModesCsv = cameraModesCsv.filter((mode) => mode !== 'video');
|
|
42
|
+
}
|
|
43
|
+
return serializeCsv(cameraModesCsv);
|
|
44
|
+
},
|
|
45
|
+
}),
|
|
46
|
+
defineComputedProperty({
|
|
47
|
+
key: 'cameraModes',
|
|
48
|
+
deps: ['defaultCameraMode'],
|
|
49
|
+
fn: ({ cameraModes, defaultCameraMode }) => {
|
|
50
|
+
if (defaultCameraMode === null) {
|
|
51
|
+
return cameraModes;
|
|
52
|
+
}
|
|
53
|
+
let cameraModesCsv = deserializeCsv(cameraModes);
|
|
54
|
+
cameraModesCsv = cameraModesCsv.sort((a, b) => {
|
|
55
|
+
if (a === defaultCameraMode) return -1;
|
|
56
|
+
if (b === defaultCameraMode) return 1;
|
|
57
|
+
return 0;
|
|
58
|
+
});
|
|
59
|
+
return serializeCsv(cameraModesCsv);
|
|
60
|
+
},
|
|
61
|
+
}),
|
|
62
|
+
defineComputedProperty({
|
|
63
|
+
key: 'cdnCname',
|
|
64
|
+
deps: ['pubkey', 'cdnCnamePrefixed'],
|
|
65
|
+
fn: ({ pubkey, cdnCname, cdnCnamePrefixed }) => {
|
|
66
|
+
if (cdnCname !== DEFAULT_CDN_CNAME) {
|
|
67
|
+
return cdnCname;
|
|
68
|
+
}
|
|
69
|
+
return getPrefixedCdnBase(pubkey, cdnCnamePrefixed);
|
|
70
|
+
},
|
|
71
|
+
}),
|
|
72
|
+
];
|
|
2
73
|
|
|
3
74
|
/**
|
|
4
75
|
* @template {keyof import('../../types').ConfigType} T
|
|
5
76
|
* @param {{
|
|
6
77
|
* key: T;
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
78
|
+
* setValue: <TSetValue extends keyof import('../../types').ConfigType>(
|
|
79
|
+
* key: TSetValue,
|
|
80
|
+
* value: import('../../types').ConfigType[TSetValue],
|
|
81
|
+
* ) => void;
|
|
82
|
+
* getValue: <TGetValue extends keyof import('../../types').ConfigType>(
|
|
83
|
+
* key: TGetValue,
|
|
84
|
+
* ) => import('../../types').ConfigType[TGetValue];
|
|
10
85
|
* }} options
|
|
11
86
|
*/
|
|
12
|
-
export const runSideEffects = ({ key,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
87
|
+
export const runSideEffects = ({ key, setValue, getValue }) => {
|
|
88
|
+
for (const computed of COMPUTED_PROPERTIES) {
|
|
89
|
+
if (computed.deps.includes(key)) {
|
|
90
|
+
const args = {
|
|
91
|
+
[computed.key]: getValue(computed.key),
|
|
92
|
+
...computed.deps.reduce(
|
|
93
|
+
(acc, dep) => ({
|
|
94
|
+
...acc,
|
|
95
|
+
[dep]: getValue(dep),
|
|
96
|
+
}),
|
|
97
|
+
/**
|
|
98
|
+
* @type {Record<typeof computed.key, import('../../types').ConfigType[typeof computed.key]> & {
|
|
99
|
+
* [K in (typeof computed.deps)[number]]: import('../../types').ConfigType[K];
|
|
100
|
+
* }}
|
|
101
|
+
*/ ({}),
|
|
102
|
+
),
|
|
103
|
+
};
|
|
104
|
+
const result = computed.fn(args);
|
|
105
|
+
if (result instanceof Promise) {
|
|
106
|
+
// There could be a race condition here if the value is changed too frequently,
|
|
107
|
+
// but we assume that the async computed properties are not expected to change often
|
|
108
|
+
result
|
|
109
|
+
.then((resolvedValue) => setValue(computed.key, resolvedValue))
|
|
110
|
+
.catch((error) => {
|
|
111
|
+
console.error(`Failed to compute value for "${computed.key}"`, error);
|
|
112
|
+
});
|
|
113
|
+
} else {
|
|
114
|
+
setValue(computed.key, result);
|
|
115
|
+
}
|
|
19
116
|
}
|
|
20
|
-
setValue('cameraModes', serializeCsv(cameraModes));
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
if (key === 'defaultCameraMode' && value !== null) {
|
|
24
|
-
let cameraModes = deserializeCsv(getValue('cameraModes'));
|
|
25
|
-
cameraModes = cameraModes.sort((a, b) => {
|
|
26
|
-
if (a === value) return -1;
|
|
27
|
-
if (b === value) return 1;
|
|
28
|
-
return 0;
|
|
29
|
-
});
|
|
30
|
-
setValue('cameraModes', serializeCsv(cameraModes));
|
|
31
117
|
}
|
|
32
118
|
};
|
package/index.ssr.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.ssr.d.ts","sourceRoot":"","sources":["index.ssr.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;EAcE;AACF;;;;;;;;;;;;;;;EAcE;AACF;;;;;EAIE;AACF;;;;;;EAKE;AACF;;;;;;;;EAgBE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6IE;AACF;;;;;;;;EAuCE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;EAuCE;AACF;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.ssr.d.ts","sourceRoot":"","sources":["index.ssr.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;EAcE;AACF;;;;;;;;;;;;;;;EAcE;AACF;;;;;EAIE;AACF;;;;;;EAKE;AACF;;;;;;;;EAgBE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6IE;AACF;;;;;;;;EAuCE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;EAuCE;AACF;;;;;;;EAoHE;AACF;;;;;;;EAaE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;EAeE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEE;AACF;;;;;;;EAWE;AACF;;;;;;;EAWE;AACF;;;;;;;EASE;AACF;;;;;;EAKE;AACF;;;;;;;EAWE;AACF;;;;;;;EAME;AACF;;;;;;;EAWE;AACF;;;;;;;EA2IE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0EE;;;;;;;;;;;;;AAaF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqFE;AACF;;;;;;EAKE;AACF;;;;;;EAKE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;EAWE;AACF;;;;;;EAwBE;AACF;;;;;;;EAUE;AACF;;;;;;;;EAWE;;;;;;;;;AASF,oCAAqC;AACrC,uCAAwC;AACxC;;;;;;;EAME;AACF;;;;;;;EASE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDE;AACF;;;;;;;EAME;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DE;AACF;;;;;;;EAeE;AACF;;;;;;EAKE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDE;AACF;;;;;;EAKE;AACF;;;;;;EAKE;AACF;;;;;;;;;;;;;;;;EAeE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDE;AACF;;;;;;;;;;;;EAWE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuGE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2EE;AACK,yCAAiC;AACjC,qCAA6B;AAC7B,6CAAqC;AACrC,oCAA4B"}
|
package/index.ssr.js
CHANGED
|
@@ -357,6 +357,7 @@ export const Config = class {
|
|
|
357
357
|
"source-list-wrap",
|
|
358
358
|
"remote-tab-session-key",
|
|
359
359
|
"cdn-cname",
|
|
360
|
+
"cdn-cname-prefixed",
|
|
360
361
|
"base-url",
|
|
361
362
|
"social-base-url",
|
|
362
363
|
"secure-signature",
|
|
@@ -408,6 +409,7 @@ export const Config = class {
|
|
|
408
409
|
"sourcelistwrap",
|
|
409
410
|
"remotetabsessionkey",
|
|
410
411
|
"cdncname",
|
|
412
|
+
"cdncnameprefixed",
|
|
411
413
|
"baseurl",
|
|
412
414
|
"socialbaseurl",
|
|
413
415
|
"securesignature",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadcare/file-uploader",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.3-alpha.1",
|
|
4
4
|
"description": "Building blocks for Uploadcare products integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web components",
|
|
@@ -141,6 +141,7 @@
|
|
|
141
141
|
"license": "MIT",
|
|
142
142
|
"dependencies": {
|
|
143
143
|
"@symbiotejs/symbiote": "^1.11.7",
|
|
144
|
+
"@uploadcare/cname-prefix": "^6.15.2",
|
|
144
145
|
"@uploadcare/image-shrink": "^6.14.1",
|
|
145
146
|
"@uploadcare/upload-client": "^6.14.1",
|
|
146
147
|
"keyux": "^0.7.1"
|
package/types/exported.d.ts
CHANGED