cordova-spotify
Advanced tools
Comparing version 0.3.1 to 0.4.0
{ | ||
"name": "cordova-spotify", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "Spotify SDK bindings for Cordova Applications", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -36,3 +36,3 @@ require('isomorphic-fetch'); | ||
authenticate: function (options) { | ||
if (!options.urlScheme || !options.clientId || !options.scopes || | ||
if (!options.redirectUrl || !options.clientId || !options.scopes || | ||
!options.tokenSwapUrl || !options.tokenRefreshUrl) { | ||
@@ -43,3 +43,3 @@ return Promise.reject(conf.MISSING_PARAMETERS_ERROR); | ||
return exec('authenticate', [ | ||
options.urlScheme, | ||
options.redirectUrl, | ||
options.clientId, | ||
@@ -46,0 +46,0 @@ options.scopes |
@@ -6,3 +6,3 @@ const conf = require('../lib/const.js'); | ||
authenticate: function (options) { | ||
if (!options.urlScheme || !options.clientId || !options.scopes || | ||
if (!options.redirectUrl || !options.clientId || !options.scopes || | ||
!options.tokenSwapUrl || !options.tokenRefreshUrl) { | ||
@@ -13,3 +13,3 @@ return Promise.reject(conf.MISSING_PARAMETERS_ERROR); | ||
return exec('authenticate', [ | ||
options.urlScheme, | ||
options.redirectUrl, | ||
options.clientId, | ||
@@ -16,0 +16,0 @@ options.scopes, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
91935