Socket
Socket
Sign inDemoInstall

spotify-client

Package Overview
Dependencies
0
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.3.0

3

lib/classes/Browser.js

@@ -65,2 +65,5 @@ "use strict";

break;
case 'artist-artists':
url = this._getRelatedArtistsUrl();
break;
case 'entity':

@@ -67,0 +70,0 @@ url = this._getEntityUrl();

@@ -118,2 +118,9 @@ "use strict";

}
}, {
key: '_getRelatedArtistsUrl',
value: function _getRelatedArtistsUrl() {
var url = '/' + this.type + '/' + this.id + '/related-artists';
this.selector = 'response.artists';
return url;
}

@@ -120,0 +127,0 @@ /**

@@ -151,2 +151,13 @@ "use strict";

}, {
key: 'getRelatedArtists',
value: function getRelatedArtists() {
var browser = new _classesBrowser2['default']({
id: this.id,
type: this.constructor._getType(),
query_type: 'artist-artists',
factory: Artist
});
return browser.all();
}
}, {
key: 'topTracks',

@@ -153,0 +164,0 @@ get: function get() {

2

package.json
{
"name": "spotify-client",
"version": "0.2.0",
"version": "0.3.0",
"repository": "Cosmitar/spotify-client",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc