@uppy/tus
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -20,3 +20,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.0.2" | ||
"version": "3.0.3" | ||
}; | ||
@@ -529,2 +529,3 @@ /** @typedef {import('..').TusOptions} TusOptions */ | ||
const serverToken = await _classPrivateFieldLooseBase(this, _queueRequestSocketToken)[_queueRequestSocketToken](file); | ||
if (this.getState().files[file.id]) return undefined; | ||
this.uppy.setFileState(file.id, { | ||
@@ -531,0 +532,0 @@ serverToken |
{ | ||
"name": "@uppy/tus", | ||
"description": "Resumable uploads for Uppy using Tus.io", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"license": "MIT", | ||
@@ -34,4 +34,4 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"@uppy/core": "^3.0.2" | ||
"@uppy/core": "^3.0.3" | ||
} | ||
} |
@@ -477,2 +477,4 @@ import BasePlugin from '@uppy/core/lib/BasePlugin.js' | ||
if (this.getState().files[file.id]) return undefined | ||
this.uppy.setFileState(file.id, { serverToken }) | ||
@@ -479,0 +481,0 @@ return this.connectToServerSocket(this.uppy.getFile(file.id)) |
Sorry, the diff of this file is not supported yet
116178
1516