Comparing version 1.0.0 to 1.0.1
@@ -5,5 +5,5 @@ /// <reference types="node" /> | ||
provider: IProvider; | ||
lyrics: string; | ||
lyrics: string | null; | ||
albumCover?: string | Buffer; | ||
title: string; | ||
} |
@@ -73,3 +73,3 @@ "use strict"; | ||
?.replace(/\/melon\/resize\/\d+\/quality\/\d+\/optimize/g, ""); // remove resize option | ||
return new structures_1.Lyrics(this, title, artist, lyrics ? lyrics : "", albumCover ? albumCover : ""); | ||
return new structures_1.Lyrics(this, title, artist, lyrics ? lyrics : null, albumCover ? albumCover : ""); | ||
}; | ||
@@ -76,0 +76,0 @@ } |
@@ -6,7 +6,7 @@ /// <reference types="node" /> | ||
provider: BaseProvider; | ||
lyrics: string; | ||
lyrics: string | null; | ||
title: string; | ||
artist: string; | ||
albumCover?: string | Buffer; | ||
constructor(provider: BaseProvider, title: string, artist: string, lyrics: string, albumCover?: string | Buffer); | ||
constructor(provider: BaseProvider, title: string, artist: string, lyrics: string | null, albumCover?: string | Buffer); | ||
} |
{ | ||
"name": "slyrics", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Scrape Lyrics without API Key", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -13,2 +13,5 @@ # slyrics - Fetch Lyrics Without Api Key | ||
## Documentation | ||
[Typedoc](https://sirubot.github.io/slyrics/) | ||
## Typescript Example | ||
@@ -15,0 +18,0 @@ ```ts |
Sorry, the diff of this file is not supported yet
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
26981
42