@uppy/tus
Advanced tools
Comparing version 3.0.3 to 3.0.4
# @uppy/tus | ||
## 3.0.4 | ||
Released: 2022-10-24 | ||
Included in: Uppy v3.2.2 | ||
- @uppy/aws-s3,@uppy/tus,@uppy/xhr-upload: replace `this.getState().files` with `this.uppy.getState().files` (Artur Paikin / #4167) | ||
## 3.0.2 | ||
@@ -4,0 +11,0 @@ |
@@ -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.3" | ||
"version": "3.0.4" | ||
}; | ||
@@ -529,3 +529,3 @@ /** @typedef {import('..').TusOptions} TusOptions */ | ||
const serverToken = await _classPrivateFieldLooseBase(this, _queueRequestSocketToken)[_queueRequestSocketToken](file); | ||
if (this.getState().files[file.id]) return undefined; | ||
if (!this.uppy.getState().files[file.id]) return undefined; | ||
this.uppy.setFileState(file.id, { | ||
@@ -532,0 +532,0 @@ serverToken |
{ | ||
"name": "@uppy/tus", | ||
"description": "Resumable uploads for Uppy using Tus.io", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"license": "MIT", | ||
@@ -34,4 +34,4 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"@uppy/core": "^3.0.3" | ||
"@uppy/core": "^3.0.4" | ||
} | ||
} |
@@ -477,3 +477,3 @@ import BasePlugin from '@uppy/core/lib/BasePlugin.js' | ||
if (this.getState().files[file.id]) return undefined | ||
if (!this.uppy.getState().files[file.id]) return undefined | ||
@@ -480,0 +480,0 @@ this.uppy.setFileState(file.id, { serverToken }) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116402