@uploadcare/upload-client 5.1.0 → 5.1.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/dist/index.browser.js
CHANGED
|
@@ -355,7 +355,7 @@ const defaultSettings = {
|
|
|
355
355
|
const defaultContentType = 'application/octet-stream';
|
|
356
356
|
const defaultFilename = 'original';
|
|
357
357
|
|
|
358
|
-
var version = '5.1.
|
|
358
|
+
var version = '5.1.1';
|
|
359
359
|
|
|
360
360
|
const LIBRARY_NAME = 'UploadcareUploadClient';
|
|
361
361
|
const LIBRARY_VERSION = version;
|
|
File without changes
|
package/dist/index.node.js
CHANGED
|
@@ -282,7 +282,7 @@ const defaultSettings = {
|
|
|
282
282
|
const defaultContentType = 'application/octet-stream';
|
|
283
283
|
const defaultFilename = 'original';
|
|
284
284
|
|
|
285
|
-
var version = '5.1.
|
|
285
|
+
var version = '5.1.1';
|
|
286
286
|
|
|
287
287
|
function isObject(o) {
|
|
288
288
|
return Object.prototype.toString.call(o) === '[object Object]';
|
|
@@ -358,7 +358,7 @@ const defaultSettings = {
|
|
|
358
358
|
const defaultContentType = 'application/octet-stream';
|
|
359
359
|
const defaultFilename = 'original';
|
|
360
360
|
|
|
361
|
-
var version = '5.1.
|
|
361
|
+
var version = '5.1.1';
|
|
362
362
|
|
|
363
363
|
const LIBRARY_NAME = 'UploadcareUploadClient';
|
|
364
364
|
const LIBRARY_VERSION = version;
|
package/package.json
CHANGED
|
@@ -1,17 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadcare/upload-client",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "Library for work with Uploadcare Upload API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.node.js",
|
|
7
7
|
"browser": "./dist/index.browser.js",
|
|
8
8
|
"react-native": "./dist/index.react-native.js",
|
|
9
|
-
"types": "./dist/
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
12
13
|
"node": "./dist/index.node.js",
|
|
13
14
|
"browser": "./dist/index.browser.js",
|
|
14
15
|
"default": "./dist/index.browser.js"
|
|
16
|
+
},
|
|
17
|
+
"./browser": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"default": "./dist/index.browser.js"
|
|
20
|
+
},
|
|
21
|
+
"./node": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.node.js"
|
|
24
|
+
},
|
|
25
|
+
"./react-native": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"default": "./dist/index.react-native.js"
|
|
15
28
|
}
|
|
16
29
|
},
|
|
17
30
|
"sideEffects": false,
|
|
@@ -28,7 +41,7 @@
|
|
|
28
41
|
"test:jest": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js",
|
|
29
42
|
"prebuild": "npm run clean",
|
|
30
43
|
"build": "npm run build:types && npm run build:compile",
|
|
31
|
-
"build:types": "dts-bundle-generator --project tsconfig.dts.json -o dist/
|
|
44
|
+
"build:types": "dts-bundle-generator --project tsconfig.dts.json -o dist/index.d.ts src/index.ts",
|
|
32
45
|
"build:compile": "rollup -c"
|
|
33
46
|
},
|
|
34
47
|
"repository": {
|
|
@@ -65,7 +78,7 @@
|
|
|
65
78
|
"koa-body": "5.0.0",
|
|
66
79
|
"mock-socket": "9.0.3",
|
|
67
80
|
"start-server-and-test": "1.14.0",
|
|
68
|
-
"@uploadcare/api-client-utils": "^5.1.
|
|
81
|
+
"@uploadcare/api-client-utils": "^5.1.1",
|
|
69
82
|
"chalk": "^4.1.2"
|
|
70
83
|
},
|
|
71
84
|
"dependencies": {
|