@uppy/provider-views
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -481,3 +481,5 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var authState = btoa(JSON.stringify({ origin: location.origin })); | ||
var link = this.provider.authUrl() + '?state=' + authState; | ||
// @todo remove this hardcoded version | ||
var clientVersion = 'companion-client:1.0.2'; | ||
var link = this.provider.authUrl() + '?state=' + authState + '&uppyVersions=' + clientVersion; | ||
@@ -484,0 +486,0 @@ var authWindow = window.open(link, '_blank'); |
{ | ||
"name": "@uppy/provider-views", | ||
"description": "View library for Uppy remote provider plugins.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "0.30.6", | ||
"@uppy/utils": "1.0.2", | ||
"classnames": "^2.2.6", | ||
@@ -28,3 +28,3 @@ "preact": "8.2.9" | ||
"devDependencies": { | ||
"@uppy/core": "1.0.1" | ||
"@uppy/core": "1.0.2" | ||
}, | ||
@@ -34,3 +34,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "1ad322497ff694f06f328c3cccbe5cf0922c5bed" | ||
"gitHead": "5c9e1a836df858254657a59ab8bd4b90035cf8b4" | ||
} |
@@ -414,3 +414,5 @@ const { h, Component } = require('preact') | ||
const authState = btoa(JSON.stringify({ origin: location.origin })) | ||
const link = `${this.provider.authUrl()}?state=${authState}` | ||
// @todo remove this hardcoded version | ||
const clientVersion = 'companion-client:1.0.2' | ||
const link = `${this.provider.authUrl()}?state=${authState}&uppyVersions=${clientVersion}` | ||
@@ -417,0 +419,0 @@ const authWindow = window.open(link, '_blank') |
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
99087
2133
+ Added@uppy/utils@1.0.2(transitive)
- Removed@uppy/utils@0.30.6(transitive)
Updated@uppy/utils@1.0.2