@uppy/google-drive
Advanced tools
Comparing version 0.28.0 to 0.29.0
@@ -44,3 +44,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
_this[_this.id] = new Provider(uppy, { | ||
_this.provider = new Provider(uppy, { | ||
serverUrl: _this.opts.serverUrl, | ||
@@ -58,3 +58,5 @@ serverHeaders: _this.opts.serverHeaders, | ||
GoogleDrive.prototype.install = function install() { | ||
this.view = new DriveProviderViews(this); | ||
this.view = new DriveProviderViews(this, { | ||
provider: this.provider | ||
}); | ||
// Set default state for Google Drive | ||
@@ -61,0 +63,0 @@ this.setPluginState({ |
{ | ||
"name": "@uppy/google-drive", | ||
"description": "The Google Drive plugin for Uppy lets users import files from their Google Drive account", | ||
"version": "0.28.0", | ||
"version": "0.29.0", | ||
"license": "MIT", | ||
@@ -26,13 +26,13 @@ "main": "lib/index.js", | ||
"@uppy/companion-client": "0.27.2", | ||
"@uppy/provider-views": "0.28.0", | ||
"@uppy/utils": "0.28.0", | ||
"@uppy/provider-views": "0.29.0", | ||
"@uppy/utils": "0.29.0", | ||
"preact": "^8.2.9" | ||
}, | ||
"devDependencies": { | ||
"@uppy/core": "0.28.0" | ||
"@uppy/core": "0.29.0" | ||
}, | ||
"peerDependencies": { | ||
"@uppy/core": "^0.28.0" | ||
"@uppy/core": "^0.29.0" | ||
}, | ||
"gitHead": "47a68a6148a41c7b8a1e10e78b6cd6794a53f7e5" | ||
"gitHead": "c68f2c7e68d2c12f8a8fb7119f1dae4ca08e4174" | ||
} |
@@ -23,3 +23,3 @@ const { Plugin } = require('@uppy/core') | ||
this[this.id] = new Provider(uppy, { | ||
this.provider = new Provider(uppy, { | ||
serverUrl: this.opts.serverUrl, | ||
@@ -36,3 +36,5 @@ serverHeaders: this.opts.serverHeaders, | ||
install () { | ||
this.view = new DriveProviderViews(this) | ||
this.view = new DriveProviderViews(this, { | ||
provider: this.provider | ||
}) | ||
// Set default state for Google Drive | ||
@@ -39,0 +41,0 @@ this.setPluginState({ |
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
11895
189
+ Added@uppy/core@0.29.1(transitive)
+ Added@uppy/provider-views@0.29.0(transitive)
+ Added@uppy/store-default@0.27.1(transitive)
+ Added@uppy/utils@0.29.00.29.1(transitive)
- Removed@uppy/core@0.28.0(transitive)
- Removed@uppy/provider-views@0.28.0(transitive)
- Removed@uppy/store-default@0.27.0(transitive)
- Removed@uppy/utils@0.28.0(transitive)
Updated@uppy/provider-views@0.29.0
Updated@uppy/utils@0.29.0