@uppy/tus
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -14,3 +14,3 @@ function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } | ||
const packageJson = { | ||
"version": "3.4.0" | ||
"version": "3.5.0" | ||
}; | ||
@@ -535,3 +535,3 @@ /** @typedef {import('..').TusOptions} TusOptions */ | ||
this.uppy.on('file-removed', removedHandler); | ||
const uploadPromise = file.remote.requestClient.uploadRemoteFile(file, _classPrivateFieldLooseBase(this, _getCompanionClientArgs)[_getCompanionClientArgs](file), { | ||
const uploadPromise = this.uppy.getRequestClientForFile(file).uploadRemoteFile(file, _classPrivateFieldLooseBase(this, _getCompanionClientArgs)[_getCompanionClientArgs](file), { | ||
signal: controller.signal, | ||
@@ -538,0 +538,0 @@ getQueue |
{ | ||
"name": "@uppy/tus", | ||
"description": "Resumable uploads for Uppy using Tus.io", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"license": "MIT", | ||
@@ -26,4 +26,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/companion-client": "^3.6.0", | ||
"@uppy/utils": "^5.6.0", | ||
"@uppy/companion-client": "^3.7.0", | ||
"@uppy/utils": "^5.7.0", | ||
"tus-js-client": "^3.0.0" | ||
@@ -35,4 +35,4 @@ }, | ||
"peerDependencies": { | ||
"@uppy/core": "^3.7.0" | ||
"@uppy/core": "^3.8.0" | ||
} | ||
} |
@@ -492,3 +492,3 @@ import BasePlugin from '@uppy/core/lib/BasePlugin.js' | ||
const uploadPromise = file.remote.requestClient.uploadRemoteFile( | ||
const uploadPromise = this.uppy.getRequestClientForFile(file).uploadRemoteFile( | ||
file, | ||
@@ -495,0 +495,0 @@ this.#getCompanionClientArgs(file), |
Sorry, the diff of this file is not supported yet
91121
Updated@uppy/utils@^5.7.0