@uppy/xhr-upload
Advanced tools
Comparing version 3.0.0-beta.2 to 3.0.0-beta.3
@@ -1,2 +0,2 @@ | ||
import BasePlugin from '@uppy/core/lib/BasePlugin'; | ||
import BasePlugin from '@uppy/core/lib/BasePlugin.js'; | ||
import { nanoid } from 'nanoid/non-secure'; | ||
@@ -13,3 +13,3 @@ import { Provider, RequestClient, Socket } from '@uppy/companion-client'; | ||
const packageJson = { | ||
"version": "3.0.0-beta.2" | ||
"version": "3.0.0-beta.3" | ||
}; | ||
@@ -352,2 +352,3 @@ import locale from './locale.js'; | ||
client.post(file.remote.url, { ...file.remote.body, | ||
protocol: 'multipart', | ||
endpoint: opts.endpoint, | ||
@@ -354,0 +355,0 @@ size: file.data.size, |
{ | ||
"name": "@uppy/xhr-upload", | ||
"description": "Plain and simple classic HTML multipart form uploads with Uppy, as well as uploads using the HTTP PUT method.", | ||
"version": "3.0.0-beta.2", | ||
"version": "3.0.0-beta.3", | ||
"license": "MIT", | ||
@@ -28,14 +28,13 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/companion-client": "^3.0.0-beta.1", | ||
"@uppy/utils": "^5.0.0-beta", | ||
"@uppy/companion-client": "^3.0.0-beta.2", | ||
"@uppy/utils": "^5.0.0-beta.1", | ||
"nanoid": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^27.4.2", | ||
"@jest/globals": "^28.0.0", | ||
"nock": "^13.1.0" | ||
}, | ||
"peerDependencies": { | ||
"@uppy/core": "^3.0.0-beta.2" | ||
}, | ||
"stableVersion": "2.1.1" | ||
"@uppy/core": "^3.0.0-beta.4" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import BasePlugin from '@uppy/core/lib/BasePlugin' | ||
import BasePlugin from '@uppy/core/lib/BasePlugin.js' | ||
import { nanoid } from 'nanoid/non-secure' | ||
@@ -369,2 +369,3 @@ import { Provider, RequestClient, Socket } from '@uppy/companion-client' | ||
...file.remote.body, | ||
protocol: 'multipart', | ||
endpoint: opts.endpoint, | ||
@@ -371,0 +372,0 @@ size: file.data.size, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1271
93052