ksoft.js
Advanced tools
Comparing version 2.4.0 to 3.0.0
{ | ||
"name": "ksoft.js", | ||
"version": "2.4.0", | ||
"version": "3.0.0", | ||
"description": "Official Node.js Wrapper for the KSoft.Si API.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -8,5 +8,5 @@ const Endpoint = require('../../../lib/Endpoint'); | ||
if (!query) throw new SyntaxError('No query'); | ||
const limit = options.limit || 1; | ||
const limit = options.limit || 10; | ||
const text_only = options.textOnly || false; | ||
return this.client.api.lyrics.search({ q: query, limit, text_only }); | ||
return this.client.api.lyrics.search({ q: query, limit, text_only, offline: 'yes' }); | ||
} | ||
@@ -13,0 +13,0 @@ |
22598
50
598