Skip to content

Commit

Permalink
Fix typo and create version 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
na2na-p authored and tkhduracell committed Jan 13, 2024
1 parent b2fef52 commit 4503d71
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3,230 deletions.
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spotify-web-playback-ts",
"version": "0.0.1",
"version": "0.0.3",
"description": "TypeScript Wrapper of Spotify Playback SDK",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type SpotifyPlayerError = 'initialization_error' | 'authentication_error'
export type SpotifyPlayerTrack = {
uri: string, // Spotify URI
id?: string, // Spotify ID from URI (can be null)
type: 'track' | 'episode' | 'add', // Content type: can be "track", "episode" or "ad"
type: 'track' | 'episode' | 'ad', // Content type: can be "track", "episode" or "ad"
media_type: 'audio' | 'video', // Type of file: can be "audio" or "video"
name: string, // Name of content
is_playable: boolean, // Flag indicating whether it can be played
Expand Down
Loading

0 comments on commit 4503d71

Please sign in to comment.