@c-shell/spotify-api-hook
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -149,4 +149,5 @@ "use strict"; | ||
var fetchData = function fetchData(url) { | ||
var method = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'GET'; | ||
return fetch("https://api.spotify.com/v1/".concat(url), { | ||
method: 'GET', | ||
method: method, | ||
headers: { | ||
@@ -153,0 +154,0 @@ Authorization: "Bearer ".concat(userAccessToken) |
@@ -124,4 +124,5 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
var fetchData = function fetchData(url) { | ||
var method = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'GET'; | ||
return fetch("https://api.spotify.com/v1/".concat(url), { | ||
method: 'GET', | ||
method: method, | ||
headers: { | ||
@@ -128,0 +129,0 @@ Authorization: "Bearer ".concat(userAccessToken) |
{ | ||
"name": "@c-shell/spotify-api-hook", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A hook for easily setup and use of the spotify API", | ||
@@ -5,0 +5,0 @@ "main": "cjs/index.js", |
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
20802
326