spotify-uri
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -97,4 +97,13 @@ declare abstract class SpotifyUri { | ||
declare type ParsedSpotifyUri = Search | Episode | Local | Playlist | Track | Artist | Album | User; | ||
declare class Show extends SpotifyUri { | ||
type: string; | ||
id: string; | ||
constructor(uri: string, id: string); | ||
static is(v: any): v is Show; | ||
toURI(): string; | ||
toURL(): string; | ||
} | ||
type ParsedSpotifyUri = Search | Episode | Local | Playlist | Track | Artist | Album | User | Show; | ||
declare function formatURI(input: string | SpotifyUri): string; | ||
@@ -105,2 +114,2 @@ declare function formatEmbedURL(input: string | SpotifyUri): string; | ||
export { Album, Artist, Episode, Local, ParsedSpotifyUri, Playlist, Search, Track, User, formatEmbedURL, formatOpenURL, formatPlayURL, formatURI, parse }; | ||
export { Album, Artist, Episode, Local, ParsedSpotifyUri, Playlist, Search, Show, Track, User, formatEmbedURL, formatOpenURL, formatPlayURL, formatURI, parse }; |
@@ -29,2 +29,3 @@ "use strict"; | ||
Search: () => Search, | ||
Show: () => Show, | ||
Track: () => Track, | ||
@@ -346,2 +347,3 @@ User: () => User, | ||
Search, | ||
Show, | ||
Track, | ||
@@ -348,0 +350,0 @@ User, |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/TooTallNate/spotify-uri#readme", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"main": "./dist/index.js", | ||
@@ -62,3 +62,3 @@ "module": "./dist/index.mjs", | ||
"devDependencies": { | ||
"@types/node": "12", | ||
"@types/node": "16", | ||
"mocha": "latest", | ||
@@ -71,3 +71,3 @@ "standard-version": "latest", | ||
"engines": { | ||
"node": ">= 12" | ||
"node": ">= 16" | ||
}, | ||
@@ -74,0 +74,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
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
34079
7
1079