spotify-web-api-js
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "spotify-web-api-js", | ||
"description": "A client-side JS wrapper for the Spotify Web API", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"homepage": "https://github.com/JMPerez/spotify-web-api-js", | ||
@@ -18,3 +18,3 @@ "author": { | ||
"coveralls": "^3.0.2", | ||
"eslint": "^5.4.0", | ||
"eslint": "^5.5.0", | ||
"jest": "^22.4.4", | ||
@@ -21,0 +21,0 @@ "q": "^1.4.1", |
@@ -87,5 +87,5 @@ // Type definitions for The Spotify Web API (including changes March 29th 2016) | ||
min_valence?: number, | ||
seed_artists?: string, // Comma separated string | ||
seed_genres?: string, // Comma separated string | ||
seed_tracks?: string, // Comma separated string | ||
seed_artists?: string[] | string, // Array of strings or Comma separated string | ||
seed_genres?: string[] | string, // Array of strings or Comma separated string | ||
seed_tracks?: string[] | string, // Array of strings or Comma separated string | ||
target_acousticness?: number | ||
@@ -123,2 +123,6 @@ target_danceability?: number | ||
device_id?: string; | ||
context_uri?: string; | ||
position_ms?: number; | ||
uris?: string[]; | ||
offset?: Object; | ||
} | ||
@@ -503,2 +507,12 @@ | ||
/** | ||
* Search for artists/albums/tracks/playlists | ||
* | ||
* GET /v1/search?type=album | ||
* https://developer.spotify.com/web-api/search-item/ | ||
*/ | ||
interface SearchResponse extends Partial<ArtistSearchResponse>, Partial<AlbumSearchResponse>, Partial<TrackSearchResponse>, Partial<PlaylistSearchResponse> { | ||
} | ||
/** | ||
* Get a track | ||
@@ -505,0 +519,0 @@ * |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3567
204531