spotify-url-info
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/microlinkhq/spotify-url-info", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"main": "src/index.js", | ||
@@ -8,0 +8,0 @@ "author": { |
@@ -1,6 +0,8 @@ | ||
declare module 'spotify-url-info' { | ||
export function getData(url: string, options?: object): any; | ||
declare module "spotify-url-info" { | ||
interface Spotify { | ||
getData(url: string, options?: object): any; | ||
getPreview(url: string, options?: object): Promise<Preview>; | ||
getTracks(url: string, options?: object): Promise<Tracks[]>; | ||
} | ||
export function getPreview(url: string, options?: object): Promise<Preview>; | ||
export interface Preview { | ||
@@ -19,4 +21,2 @@ title: string; | ||
export function getTracks(url: string, options?: object): Promise<Tracks[]>; | ||
export interface Tracks { | ||
@@ -47,2 +47,4 @@ artists?: ArtistsEntity[] | null; | ||
} | ||
export default function spotify(fetch: any): Spotify; | ||
} |
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
12635
216