@uppy/zoom
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -59,2 +59,4 @@ var _class, _temp; | ||
companionHeaders: _this.opts.companionHeaders || _this.opts.serverHeaders, | ||
companionKeysParams: _this.opts.companionKeysParams, | ||
companionCookiesRule: _this.opts.companionCookiesRule, | ||
provider: 'zoom', | ||
@@ -87,3 +89,3 @@ pluginId: _this.id | ||
_proto.onFirstRender = function onFirstRender() { | ||
return this.view.getFolder(); | ||
return Promise.all([this.provider.fetchPreAuthToken(), this.view.getFolder()]); | ||
}; | ||
@@ -96,2 +98,2 @@ | ||
return Zoom; | ||
}(Plugin), _class.VERSION = "0.1.9", _temp); | ||
}(Plugin), _class.VERSION = "0.1.10", _temp); |
{ | ||
"name": "@uppy/zoom", | ||
"description": "Import files from zoom, into Uppy.", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"license": "MIT", | ||
@@ -23,5 +23,5 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/companion-client": "^1.7.0", | ||
"@uppy/provider-views": "^1.9.2", | ||
"@uppy/utils": "^3.3.0", | ||
"@uppy/companion-client": "^1.8.0", | ||
"@uppy/provider-views": "^1.10.0", | ||
"@uppy/utils": "^3.3.1", | ||
"preact": "8.2.9" | ||
@@ -35,3 +35,3 @@ }, | ||
}, | ||
"gitHead": "1493a807fe83f7b465a8f7562bfb5631b1945e5b" | ||
"gitHead": "e1efe07927e7c47b94bba5540d9c0f6fd1c4c514" | ||
} |
@@ -6,3 +6,3 @@ # @uppy/zoom | ||
<a href="https://www.npmjs.com/package/@uppy/zoom"><img src="https://img.shields.io/npm/v/@uppy/zoom.svg?style=flat-square"></a> | ||
<a href="https://travis-ci.org/transloadit/uppy"><img src="https://img.shields.io/travis/transloadit/uppy/master.svg?style=flat-square" alt="Build Status"></a> | ||
<img src="https://github.com/transloadit/uppy/workflows/Tests/badge.svg" alt="CI status for Uppy tests"> <img src="https://github.com/transloadit/uppy/workflows/Companion/badge.svg" alt="CI status for Companion tests"> <img src="https://github.com/transloadit/uppy/workflows/End-to-end%20tests/badge.svg" alt="CI status for browser tests"> | ||
@@ -9,0 +9,0 @@ The Zoom plugin for Uppy lets users import recordings and related files from their Zoom account. |
@@ -27,2 +27,4 @@ const { Plugin } = require('@uppy/core') | ||
companionHeaders: this.opts.companionHeaders || this.opts.serverHeaders, | ||
companionKeysParams: this.opts.companionKeysParams, | ||
companionCookiesRule: this.opts.companionCookiesRule, | ||
provider: 'zoom', | ||
@@ -53,3 +55,6 @@ pluginId: this.id | ||
onFirstRender () { | ||
return this.view.getFolder() | ||
return Promise.all([ | ||
this.provider.fetchPreAuthToken(), | ||
this.view.getFolder() | ||
]) | ||
} | ||
@@ -56,0 +61,0 @@ |
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
13526
147
Updated@uppy/provider-views@^1.10.0
Updated@uppy/utils@^3.3.1