Comparing version 3.0.0 to 3.1.0
@@ -12,3 +12,3 @@ import * as t from './types'; | ||
*/ | ||
deezer(query: string, count: number): Promise<t.DeezerResult>; | ||
deezer(query: string, count?: number, format?: number): Promise<t.DeezerResult>; | ||
/** | ||
@@ -25,3 +25,3 @@ * Search for Torrents across various websites. | ||
*/ | ||
saavnPlaylist(query: string): Promise<any>; | ||
saavnPlaylist(url: string): Promise<any>; | ||
/** | ||
@@ -28,0 +28,0 @@ * Search for YouTube videos. |
@@ -46,3 +46,3 @@ "use strict"; | ||
*/ | ||
async deezer(query, count) { | ||
async deezer(query, count = 1, format = 3) { | ||
return await this.fetch('deezer', { query, count }); | ||
@@ -65,4 +65,4 @@ } | ||
*/ | ||
async saavnPlaylist(query) { | ||
return await this.fetch('saavnPlaylist', { query }); | ||
async saavnPlaylist(url) { | ||
return await this.fetch('saavnPlaylist', { url }); | ||
} | ||
@@ -69,0 +69,0 @@ /** |
{ | ||
"name": "arq-js", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
13096