Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@c-shell/spotify-api-hook

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@c-shell/spotify-api-hook - npm Package Compare versions

Comparing version 1.2.2 to 1.3.0

4

cjs/index.js

@@ -150,2 +150,3 @@ "use strict";

var method = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'GET';
var body = arguments.length > 2 ? arguments[2] : undefined;
return fetch("https://api.spotify.com/v1/".concat(url), {

@@ -155,3 +156,4 @@ method: method,

Authorization: "Bearer ".concat(userAccessToken)
}
},
body: body
}).then(function (response) {

@@ -158,0 +160,0 @@ return response.json();

@@ -125,2 +125,3 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

var method = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'GET';
var body = arguments.length > 2 ? arguments[2] : undefined;
return fetch("https://api.spotify.com/v1/".concat(url), {

@@ -130,3 +131,4 @@ method: method,

Authorization: "Bearer ".concat(userAccessToken)
}
},
body: body
}).then(function (response) {

@@ -133,0 +135,0 @@ return response.json();

{
"name": "@c-shell/spotify-api-hook",
"version": "1.2.2",
"version": "1.3.0",
"description": "A hook for easily setup and use of the spotify API",

@@ -5,0 +5,0 @@ "main": "cjs/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc