@uploadcare/upload-client 6.14.1 → 6.14.2
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/cjs/index.browser.cjs +14 -14
- package/dist/cjs/index.browser.d.cts +13 -13
- package/dist/cjs/index.node.cjs +14 -14
- package/dist/cjs/index.node.d.cts +13 -13
- package/dist/cjs/index.react-native.cjs +14 -14
- package/dist/cjs/index.react-native.d.cts +13 -13
- package/dist/esm/index.browser.d.mts +13 -13
- package/dist/esm/index.browser.mjs +14 -14
- package/dist/esm/index.node.d.mts +13 -13
- package/dist/esm/index.node.mjs +14 -14
- package/dist/esm/index.react-native.d.mts +13 -13
- package/dist/esm/index.react-native.mjs +14 -14
- package/dist/index.d.ts +13 -13
- package/package.json +2 -2
|
@@ -405,7 +405,7 @@ const getUrl = (base, path, query) => {
|
|
|
405
405
|
return url.toString();
|
|
406
406
|
};
|
|
407
407
|
|
|
408
|
-
var version = '6.14.
|
|
408
|
+
var version = '6.14.2';
|
|
409
409
|
|
|
410
410
|
const LIBRARY_NAME = 'UploadcareUploadClient';
|
|
411
411
|
const LIBRARY_VERSION = version;
|
|
@@ -786,19 +786,19 @@ function isGroupFileInfo(fileInfo) {
|
|
|
786
786
|
}
|
|
787
787
|
class UploadcareFile {
|
|
788
788
|
uuid;
|
|
789
|
-
name
|
|
790
|
-
size
|
|
791
|
-
isStored
|
|
792
|
-
isImage
|
|
793
|
-
mimeType
|
|
794
|
-
cdnUrl
|
|
795
|
-
s3Url
|
|
796
|
-
originalFilename
|
|
797
|
-
imageInfo
|
|
798
|
-
videoInfo
|
|
799
|
-
contentInfo
|
|
800
|
-
metadata
|
|
801
|
-
s3Bucket
|
|
789
|
+
name;
|
|
790
|
+
size;
|
|
791
|
+
isStored;
|
|
792
|
+
isImage;
|
|
793
|
+
mimeType;
|
|
794
|
+
cdnUrl;
|
|
795
|
+
s3Url;
|
|
796
|
+
originalFilename;
|
|
797
|
+
imageInfo;
|
|
798
|
+
videoInfo;
|
|
799
|
+
contentInfo;
|
|
800
|
+
metadata;
|
|
801
|
+
s3Bucket;
|
|
802
802
|
defaultEffects = null;
|
|
803
803
|
constructor(fileInfo, { baseCDN = defaultSettings.baseCDN, fileName } = {}) {
|
|
804
804
|
const { uuid, s3Bucket } = fileInfo;
|
|
@@ -345,19 +345,19 @@ export type MultipartCompleteOptions = {
|
|
|
345
345
|
export function multipartComplete(uuid: Uuid, { publicKey, baseURL, source, signal, integration, userAgent, retryThrottledRequestMaxTimes, retryNetworkErrorMaxTimes }: MultipartCompleteOptions): Promise<FileInfo>;
|
|
346
346
|
export declare class UploadcareFile {
|
|
347
347
|
readonly uuid: Uuid;
|
|
348
|
-
readonly name:
|
|
349
|
-
readonly size:
|
|
350
|
-
readonly isStored:
|
|
351
|
-
readonly isImage:
|
|
352
|
-
readonly mimeType:
|
|
353
|
-
readonly cdnUrl:
|
|
354
|
-
readonly s3Url:
|
|
355
|
-
readonly originalFilename:
|
|
356
|
-
readonly imageInfo:
|
|
357
|
-
readonly videoInfo:
|
|
358
|
-
readonly contentInfo:
|
|
359
|
-
readonly metadata:
|
|
360
|
-
readonly s3Bucket:
|
|
348
|
+
readonly name: string;
|
|
349
|
+
readonly size: number;
|
|
350
|
+
readonly isStored: boolean;
|
|
351
|
+
readonly isImage: boolean;
|
|
352
|
+
readonly mimeType: string;
|
|
353
|
+
readonly cdnUrl: string;
|
|
354
|
+
readonly s3Url: string | null;
|
|
355
|
+
readonly originalFilename: string;
|
|
356
|
+
readonly imageInfo: ImageInfo | null;
|
|
357
|
+
readonly videoInfo: VideoInfo | null;
|
|
358
|
+
readonly contentInfo: ContentInfo | null;
|
|
359
|
+
readonly metadata: Metadata | null;
|
|
360
|
+
readonly s3Bucket: string | null;
|
|
361
361
|
readonly defaultEffects: null | string;
|
|
362
362
|
constructor(fileInfo: FileInfo | GroupFileInfo, { baseCDN, fileName }?: {
|
|
363
363
|
baseCDN?: string;
|
package/dist/cjs/index.node.cjs
CHANGED
|
@@ -435,7 +435,7 @@ const getUrl = (base, path, query) => {
|
|
|
435
435
|
return url.toString();
|
|
436
436
|
};
|
|
437
437
|
|
|
438
|
-
var version = '6.14.
|
|
438
|
+
var version = '6.14.2';
|
|
439
439
|
|
|
440
440
|
const LIBRARY_NAME = 'UploadcareUploadClient';
|
|
441
441
|
const LIBRARY_VERSION = version;
|
|
@@ -816,19 +816,19 @@ function isGroupFileInfo(fileInfo) {
|
|
|
816
816
|
}
|
|
817
817
|
class UploadcareFile {
|
|
818
818
|
uuid;
|
|
819
|
-
name
|
|
820
|
-
size
|
|
821
|
-
isStored
|
|
822
|
-
isImage
|
|
823
|
-
mimeType
|
|
824
|
-
cdnUrl
|
|
825
|
-
s3Url
|
|
826
|
-
originalFilename
|
|
827
|
-
imageInfo
|
|
828
|
-
videoInfo
|
|
829
|
-
contentInfo
|
|
830
|
-
metadata
|
|
831
|
-
s3Bucket
|
|
819
|
+
name;
|
|
820
|
+
size;
|
|
821
|
+
isStored;
|
|
822
|
+
isImage;
|
|
823
|
+
mimeType;
|
|
824
|
+
cdnUrl;
|
|
825
|
+
s3Url;
|
|
826
|
+
originalFilename;
|
|
827
|
+
imageInfo;
|
|
828
|
+
videoInfo;
|
|
829
|
+
contentInfo;
|
|
830
|
+
metadata;
|
|
831
|
+
s3Bucket;
|
|
832
832
|
defaultEffects = null;
|
|
833
833
|
constructor(fileInfo, { baseCDN = defaultSettings.baseCDN, fileName } = {}) {
|
|
834
834
|
const { uuid, s3Bucket } = fileInfo;
|
|
@@ -345,19 +345,19 @@ export type MultipartCompleteOptions = {
|
|
|
345
345
|
export function multipartComplete(uuid: Uuid, { publicKey, baseURL, source, signal, integration, userAgent, retryThrottledRequestMaxTimes, retryNetworkErrorMaxTimes }: MultipartCompleteOptions): Promise<FileInfo>;
|
|
346
346
|
export declare class UploadcareFile {
|
|
347
347
|
readonly uuid: Uuid;
|
|
348
|
-
readonly name:
|
|
349
|
-
readonly size:
|
|
350
|
-
readonly isStored:
|
|
351
|
-
readonly isImage:
|
|
352
|
-
readonly mimeType:
|
|
353
|
-
readonly cdnUrl:
|
|
354
|
-
readonly s3Url:
|
|
355
|
-
readonly originalFilename:
|
|
356
|
-
readonly imageInfo:
|
|
357
|
-
readonly videoInfo:
|
|
358
|
-
readonly contentInfo:
|
|
359
|
-
readonly metadata:
|
|
360
|
-
readonly s3Bucket:
|
|
348
|
+
readonly name: string;
|
|
349
|
+
readonly size: number;
|
|
350
|
+
readonly isStored: boolean;
|
|
351
|
+
readonly isImage: boolean;
|
|
352
|
+
readonly mimeType: string;
|
|
353
|
+
readonly cdnUrl: string;
|
|
354
|
+
readonly s3Url: string | null;
|
|
355
|
+
readonly originalFilename: string;
|
|
356
|
+
readonly imageInfo: ImageInfo | null;
|
|
357
|
+
readonly videoInfo: VideoInfo | null;
|
|
358
|
+
readonly contentInfo: ContentInfo | null;
|
|
359
|
+
readonly metadata: Metadata | null;
|
|
360
|
+
readonly s3Bucket: string | null;
|
|
361
361
|
readonly defaultEffects: null | string;
|
|
362
362
|
constructor(fileInfo: FileInfo | GroupFileInfo, { baseCDN, fileName }?: {
|
|
363
363
|
baseCDN?: string;
|
|
@@ -413,7 +413,7 @@ const getUrl = (base, path, query) => {
|
|
|
413
413
|
return url.toString();
|
|
414
414
|
};
|
|
415
415
|
|
|
416
|
-
var version = '6.14.
|
|
416
|
+
var version = '6.14.2';
|
|
417
417
|
|
|
418
418
|
const LIBRARY_NAME = 'UploadcareUploadClient';
|
|
419
419
|
const LIBRARY_VERSION = version;
|
|
@@ -794,19 +794,19 @@ function isGroupFileInfo(fileInfo) {
|
|
|
794
794
|
}
|
|
795
795
|
class UploadcareFile {
|
|
796
796
|
uuid;
|
|
797
|
-
name
|
|
798
|
-
size
|
|
799
|
-
isStored
|
|
800
|
-
isImage
|
|
801
|
-
mimeType
|
|
802
|
-
cdnUrl
|
|
803
|
-
s3Url
|
|
804
|
-
originalFilename
|
|
805
|
-
imageInfo
|
|
806
|
-
videoInfo
|
|
807
|
-
contentInfo
|
|
808
|
-
metadata
|
|
809
|
-
s3Bucket
|
|
797
|
+
name;
|
|
798
|
+
size;
|
|
799
|
+
isStored;
|
|
800
|
+
isImage;
|
|
801
|
+
mimeType;
|
|
802
|
+
cdnUrl;
|
|
803
|
+
s3Url;
|
|
804
|
+
originalFilename;
|
|
805
|
+
imageInfo;
|
|
806
|
+
videoInfo;
|
|
807
|
+
contentInfo;
|
|
808
|
+
metadata;
|
|
809
|
+
s3Bucket;
|
|
810
810
|
defaultEffects = null;
|
|
811
811
|
constructor(fileInfo, { baseCDN = defaultSettings.baseCDN, fileName } = {}) {
|
|
812
812
|
const { uuid, s3Bucket } = fileInfo;
|
|
@@ -345,19 +345,19 @@ export type MultipartCompleteOptions = {
|
|
|
345
345
|
export function multipartComplete(uuid: Uuid, { publicKey, baseURL, source, signal, integration, userAgent, retryThrottledRequestMaxTimes, retryNetworkErrorMaxTimes }: MultipartCompleteOptions): Promise<FileInfo>;
|
|
346
346
|
export declare class UploadcareFile {
|
|
347
347
|
readonly uuid: Uuid;
|
|
348
|
-
readonly name:
|
|
349
|
-
readonly size:
|
|
350
|
-
readonly isStored:
|
|
351
|
-
readonly isImage:
|
|
352
|
-
readonly mimeType:
|
|
353
|
-
readonly cdnUrl:
|
|
354
|
-
readonly s3Url:
|
|
355
|
-
readonly originalFilename:
|
|
356
|
-
readonly imageInfo:
|
|
357
|
-
readonly videoInfo:
|
|
358
|
-
readonly contentInfo:
|
|
359
|
-
readonly metadata:
|
|
360
|
-
readonly s3Bucket:
|
|
348
|
+
readonly name: string;
|
|
349
|
+
readonly size: number;
|
|
350
|
+
readonly isStored: boolean;
|
|
351
|
+
readonly isImage: boolean;
|
|
352
|
+
readonly mimeType: string;
|
|
353
|
+
readonly cdnUrl: string;
|
|
354
|
+
readonly s3Url: string | null;
|
|
355
|
+
readonly originalFilename: string;
|
|
356
|
+
readonly imageInfo: ImageInfo | null;
|
|
357
|
+
readonly videoInfo: VideoInfo | null;
|
|
358
|
+
readonly contentInfo: ContentInfo | null;
|
|
359
|
+
readonly metadata: Metadata | null;
|
|
360
|
+
readonly s3Bucket: string | null;
|
|
361
361
|
readonly defaultEffects: null | string;
|
|
362
362
|
constructor(fileInfo: FileInfo | GroupFileInfo, { baseCDN, fileName }?: {
|
|
363
363
|
baseCDN?: string;
|
|
@@ -345,19 +345,19 @@ export type MultipartCompleteOptions = {
|
|
|
345
345
|
export function multipartComplete(uuid: Uuid, { publicKey, baseURL, source, signal, integration, userAgent, retryThrottledRequestMaxTimes, retryNetworkErrorMaxTimes }: MultipartCompleteOptions): Promise<FileInfo>;
|
|
346
346
|
export declare class UploadcareFile {
|
|
347
347
|
readonly uuid: Uuid;
|
|
348
|
-
readonly name:
|
|
349
|
-
readonly size:
|
|
350
|
-
readonly isStored:
|
|
351
|
-
readonly isImage:
|
|
352
|
-
readonly mimeType:
|
|
353
|
-
readonly cdnUrl:
|
|
354
|
-
readonly s3Url:
|
|
355
|
-
readonly originalFilename:
|
|
356
|
-
readonly imageInfo:
|
|
357
|
-
readonly videoInfo:
|
|
358
|
-
readonly contentInfo:
|
|
359
|
-
readonly metadata:
|
|
360
|
-
readonly s3Bucket:
|
|
348
|
+
readonly name: string;
|
|
349
|
+
readonly size: number;
|
|
350
|
+
readonly isStored: boolean;
|
|
351
|
+
readonly isImage: boolean;
|
|
352
|
+
readonly mimeType: string;
|
|
353
|
+
readonly cdnUrl: string;
|
|
354
|
+
readonly s3Url: string | null;
|
|
355
|
+
readonly originalFilename: string;
|
|
356
|
+
readonly imageInfo: ImageInfo | null;
|
|
357
|
+
readonly videoInfo: VideoInfo | null;
|
|
358
|
+
readonly contentInfo: ContentInfo | null;
|
|
359
|
+
readonly metadata: Metadata | null;
|
|
360
|
+
readonly s3Bucket: string | null;
|
|
361
361
|
readonly defaultEffects: null | string;
|
|
362
362
|
constructor(fileInfo: FileInfo | GroupFileInfo, { baseCDN, fileName }?: {
|
|
363
363
|
baseCDN?: string;
|
|
@@ -403,7 +403,7 @@ const getUrl = (base, path, query) => {
|
|
|
403
403
|
return url.toString();
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
-
var version = '6.14.
|
|
406
|
+
var version = '6.14.2';
|
|
407
407
|
|
|
408
408
|
const LIBRARY_NAME = 'UploadcareUploadClient';
|
|
409
409
|
const LIBRARY_VERSION = version;
|
|
@@ -784,19 +784,19 @@ function isGroupFileInfo(fileInfo) {
|
|
|
784
784
|
}
|
|
785
785
|
class UploadcareFile {
|
|
786
786
|
uuid;
|
|
787
|
-
name
|
|
788
|
-
size
|
|
789
|
-
isStored
|
|
790
|
-
isImage
|
|
791
|
-
mimeType
|
|
792
|
-
cdnUrl
|
|
793
|
-
s3Url
|
|
794
|
-
originalFilename
|
|
795
|
-
imageInfo
|
|
796
|
-
videoInfo
|
|
797
|
-
contentInfo
|
|
798
|
-
metadata
|
|
799
|
-
s3Bucket
|
|
787
|
+
name;
|
|
788
|
+
size;
|
|
789
|
+
isStored;
|
|
790
|
+
isImage;
|
|
791
|
+
mimeType;
|
|
792
|
+
cdnUrl;
|
|
793
|
+
s3Url;
|
|
794
|
+
originalFilename;
|
|
795
|
+
imageInfo;
|
|
796
|
+
videoInfo;
|
|
797
|
+
contentInfo;
|
|
798
|
+
metadata;
|
|
799
|
+
s3Bucket;
|
|
800
800
|
defaultEffects = null;
|
|
801
801
|
constructor(fileInfo, { baseCDN = defaultSettings.baseCDN, fileName } = {}) {
|
|
802
802
|
const { uuid, s3Bucket } = fileInfo;
|
|
@@ -345,19 +345,19 @@ export type MultipartCompleteOptions = {
|
|
|
345
345
|
export function multipartComplete(uuid: Uuid, { publicKey, baseURL, source, signal, integration, userAgent, retryThrottledRequestMaxTimes, retryNetworkErrorMaxTimes }: MultipartCompleteOptions): Promise<FileInfo>;
|
|
346
346
|
export declare class UploadcareFile {
|
|
347
347
|
readonly uuid: Uuid;
|
|
348
|
-
readonly name:
|
|
349
|
-
readonly size:
|
|
350
|
-
readonly isStored:
|
|
351
|
-
readonly isImage:
|
|
352
|
-
readonly mimeType:
|
|
353
|
-
readonly cdnUrl:
|
|
354
|
-
readonly s3Url:
|
|
355
|
-
readonly originalFilename:
|
|
356
|
-
readonly imageInfo:
|
|
357
|
-
readonly videoInfo:
|
|
358
|
-
readonly contentInfo:
|
|
359
|
-
readonly metadata:
|
|
360
|
-
readonly s3Bucket:
|
|
348
|
+
readonly name: string;
|
|
349
|
+
readonly size: number;
|
|
350
|
+
readonly isStored: boolean;
|
|
351
|
+
readonly isImage: boolean;
|
|
352
|
+
readonly mimeType: string;
|
|
353
|
+
readonly cdnUrl: string;
|
|
354
|
+
readonly s3Url: string | null;
|
|
355
|
+
readonly originalFilename: string;
|
|
356
|
+
readonly imageInfo: ImageInfo | null;
|
|
357
|
+
readonly videoInfo: VideoInfo | null;
|
|
358
|
+
readonly contentInfo: ContentInfo | null;
|
|
359
|
+
readonly metadata: Metadata | null;
|
|
360
|
+
readonly s3Bucket: string | null;
|
|
361
361
|
readonly defaultEffects: null | string;
|
|
362
362
|
constructor(fileInfo: FileInfo | GroupFileInfo, { baseCDN, fileName }?: {
|
|
363
363
|
baseCDN?: string;
|
package/dist/esm/index.node.mjs
CHANGED
|
@@ -433,7 +433,7 @@ const getUrl = (base, path, query) => {
|
|
|
433
433
|
return url.toString();
|
|
434
434
|
};
|
|
435
435
|
|
|
436
|
-
var version = '6.14.
|
|
436
|
+
var version = '6.14.2';
|
|
437
437
|
|
|
438
438
|
const LIBRARY_NAME = 'UploadcareUploadClient';
|
|
439
439
|
const LIBRARY_VERSION = version;
|
|
@@ -814,19 +814,19 @@ function isGroupFileInfo(fileInfo) {
|
|
|
814
814
|
}
|
|
815
815
|
class UploadcareFile {
|
|
816
816
|
uuid;
|
|
817
|
-
name
|
|
818
|
-
size
|
|
819
|
-
isStored
|
|
820
|
-
isImage
|
|
821
|
-
mimeType
|
|
822
|
-
cdnUrl
|
|
823
|
-
s3Url
|
|
824
|
-
originalFilename
|
|
825
|
-
imageInfo
|
|
826
|
-
videoInfo
|
|
827
|
-
contentInfo
|
|
828
|
-
metadata
|
|
829
|
-
s3Bucket
|
|
817
|
+
name;
|
|
818
|
+
size;
|
|
819
|
+
isStored;
|
|
820
|
+
isImage;
|
|
821
|
+
mimeType;
|
|
822
|
+
cdnUrl;
|
|
823
|
+
s3Url;
|
|
824
|
+
originalFilename;
|
|
825
|
+
imageInfo;
|
|
826
|
+
videoInfo;
|
|
827
|
+
contentInfo;
|
|
828
|
+
metadata;
|
|
829
|
+
s3Bucket;
|
|
830
830
|
defaultEffects = null;
|
|
831
831
|
constructor(fileInfo, { baseCDN = defaultSettings.baseCDN, fileName } = {}) {
|
|
832
832
|
const { uuid, s3Bucket } = fileInfo;
|
|
@@ -345,19 +345,19 @@ export type MultipartCompleteOptions = {
|
|
|
345
345
|
export function multipartComplete(uuid: Uuid, { publicKey, baseURL, source, signal, integration, userAgent, retryThrottledRequestMaxTimes, retryNetworkErrorMaxTimes }: MultipartCompleteOptions): Promise<FileInfo>;
|
|
346
346
|
export declare class UploadcareFile {
|
|
347
347
|
readonly uuid: Uuid;
|
|
348
|
-
readonly name:
|
|
349
|
-
readonly size:
|
|
350
|
-
readonly isStored:
|
|
351
|
-
readonly isImage:
|
|
352
|
-
readonly mimeType:
|
|
353
|
-
readonly cdnUrl:
|
|
354
|
-
readonly s3Url:
|
|
355
|
-
readonly originalFilename:
|
|
356
|
-
readonly imageInfo:
|
|
357
|
-
readonly videoInfo:
|
|
358
|
-
readonly contentInfo:
|
|
359
|
-
readonly metadata:
|
|
360
|
-
readonly s3Bucket:
|
|
348
|
+
readonly name: string;
|
|
349
|
+
readonly size: number;
|
|
350
|
+
readonly isStored: boolean;
|
|
351
|
+
readonly isImage: boolean;
|
|
352
|
+
readonly mimeType: string;
|
|
353
|
+
readonly cdnUrl: string;
|
|
354
|
+
readonly s3Url: string | null;
|
|
355
|
+
readonly originalFilename: string;
|
|
356
|
+
readonly imageInfo: ImageInfo | null;
|
|
357
|
+
readonly videoInfo: VideoInfo | null;
|
|
358
|
+
readonly contentInfo: ContentInfo | null;
|
|
359
|
+
readonly metadata: Metadata | null;
|
|
360
|
+
readonly s3Bucket: string | null;
|
|
361
361
|
readonly defaultEffects: null | string;
|
|
362
362
|
constructor(fileInfo: FileInfo | GroupFileInfo, { baseCDN, fileName }?: {
|
|
363
363
|
baseCDN?: string;
|
|
@@ -411,7 +411,7 @@ const getUrl = (base, path, query) => {
|
|
|
411
411
|
return url.toString();
|
|
412
412
|
};
|
|
413
413
|
|
|
414
|
-
var version = '6.14.
|
|
414
|
+
var version = '6.14.2';
|
|
415
415
|
|
|
416
416
|
const LIBRARY_NAME = 'UploadcareUploadClient';
|
|
417
417
|
const LIBRARY_VERSION = version;
|
|
@@ -792,19 +792,19 @@ function isGroupFileInfo(fileInfo) {
|
|
|
792
792
|
}
|
|
793
793
|
class UploadcareFile {
|
|
794
794
|
uuid;
|
|
795
|
-
name
|
|
796
|
-
size
|
|
797
|
-
isStored
|
|
798
|
-
isImage
|
|
799
|
-
mimeType
|
|
800
|
-
cdnUrl
|
|
801
|
-
s3Url
|
|
802
|
-
originalFilename
|
|
803
|
-
imageInfo
|
|
804
|
-
videoInfo
|
|
805
|
-
contentInfo
|
|
806
|
-
metadata
|
|
807
|
-
s3Bucket
|
|
795
|
+
name;
|
|
796
|
+
size;
|
|
797
|
+
isStored;
|
|
798
|
+
isImage;
|
|
799
|
+
mimeType;
|
|
800
|
+
cdnUrl;
|
|
801
|
+
s3Url;
|
|
802
|
+
originalFilename;
|
|
803
|
+
imageInfo;
|
|
804
|
+
videoInfo;
|
|
805
|
+
contentInfo;
|
|
806
|
+
metadata;
|
|
807
|
+
s3Bucket;
|
|
808
808
|
defaultEffects = null;
|
|
809
809
|
constructor(fileInfo, { baseCDN = defaultSettings.baseCDN, fileName } = {}) {
|
|
810
810
|
const { uuid, s3Bucket } = fileInfo;
|
package/dist/index.d.ts
CHANGED
|
@@ -345,19 +345,19 @@ export type MultipartCompleteOptions = {
|
|
|
345
345
|
export function multipartComplete(uuid: Uuid, { publicKey, baseURL, source, signal, integration, userAgent, retryThrottledRequestMaxTimes, retryNetworkErrorMaxTimes }: MultipartCompleteOptions): Promise<FileInfo>;
|
|
346
346
|
export declare class UploadcareFile {
|
|
347
347
|
readonly uuid: Uuid;
|
|
348
|
-
readonly name:
|
|
349
|
-
readonly size:
|
|
350
|
-
readonly isStored:
|
|
351
|
-
readonly isImage:
|
|
352
|
-
readonly mimeType:
|
|
353
|
-
readonly cdnUrl:
|
|
354
|
-
readonly s3Url:
|
|
355
|
-
readonly originalFilename:
|
|
356
|
-
readonly imageInfo:
|
|
357
|
-
readonly videoInfo:
|
|
358
|
-
readonly contentInfo:
|
|
359
|
-
readonly metadata:
|
|
360
|
-
readonly s3Bucket:
|
|
348
|
+
readonly name: string;
|
|
349
|
+
readonly size: number;
|
|
350
|
+
readonly isStored: boolean;
|
|
351
|
+
readonly isImage: boolean;
|
|
352
|
+
readonly mimeType: string;
|
|
353
|
+
readonly cdnUrl: string;
|
|
354
|
+
readonly s3Url: string | null;
|
|
355
|
+
readonly originalFilename: string;
|
|
356
|
+
readonly imageInfo: ImageInfo | null;
|
|
357
|
+
readonly videoInfo: VideoInfo | null;
|
|
358
|
+
readonly contentInfo: ContentInfo | null;
|
|
359
|
+
readonly metadata: Metadata | null;
|
|
360
|
+
readonly s3Bucket: string | null;
|
|
361
361
|
readonly defaultEffects: null | string;
|
|
362
362
|
constructor(fileInfo: FileInfo | GroupFileInfo, { baseCDN, fileName }?: {
|
|
363
363
|
baseCDN?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadcare/upload-client",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.2",
|
|
4
4
|
"description": "Library for work with Uploadcare Upload API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/esm/index.node.mjs",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@types/koa__cors": "^5.0.0",
|
|
84
84
|
"@types/koa__router": "^12.0.4",
|
|
85
85
|
"@types/ws": "8.5.3",
|
|
86
|
-
"@uploadcare/api-client-utils": "^6.14.
|
|
86
|
+
"@uploadcare/api-client-utils": "^6.14.2",
|
|
87
87
|
"chalk": "^4.1.2",
|
|
88
88
|
"data-uri-to-buffer": "3.0.1",
|
|
89
89
|
"dataurl-to-blob": "0.0.1",
|