Comparing version 1.0.1 to 1.0.2
@@ -1,1 +0,1 @@ | ||
export declare const fetch: (url: string) => Promise<object | string>; | ||
export declare const fetch: (url: string) => Promise<any>; |
@@ -9,3 +9,3 @@ declare class _ARQ { | ||
*/ | ||
deezer(query: string, count: number): Promise<string | object>; | ||
deezer(query: string, count: number): Promise<any>; | ||
/** | ||
@@ -15,3 +15,3 @@ * | ||
*/ | ||
torrent(query: string): Promise<string | object>; | ||
torrent(query: string): Promise<any>; | ||
/** | ||
@@ -21,3 +21,3 @@ * | ||
*/ | ||
saavn(query: string): Promise<string | object>; | ||
saavn(query: string): Promise<any>; | ||
/** | ||
@@ -27,3 +27,3 @@ * Search for YouTube videos. | ||
*/ | ||
youtube(query: string): Promise<string | object>; | ||
youtube(query: string): Promise<any>; | ||
/** | ||
@@ -33,3 +33,3 @@ * | ||
*/ | ||
wall(query: string): Promise<string | object>; | ||
wall(query: string): Promise<any>; | ||
/** | ||
@@ -39,3 +39,3 @@ * | ||
*/ | ||
reddit(query: string): Promise<string | object>; | ||
reddit(query: string): Promise<any>; | ||
/** | ||
@@ -45,3 +45,3 @@ * Search the Urban dictionary. | ||
*/ | ||
ud(query: string): Promise<string | object>; | ||
ud(query: string): Promise<any>; | ||
/** | ||
@@ -51,3 +51,3 @@ * | ||
*/ | ||
ph(query: string): Promise<string | object>; | ||
ph(query: string): Promise<any>; | ||
/** | ||
@@ -57,3 +57,3 @@ * | ||
*/ | ||
phdl(query: string): Promise<string | object>; | ||
phdl(query: string): Promise<any>; | ||
/** | ||
@@ -63,3 +63,3 @@ * | ||
*/ | ||
luna(query: string): Promise<string | object>; | ||
luna(query: string): Promise<any>; | ||
/** | ||
@@ -69,3 +69,3 @@ * | ||
*/ | ||
lyrics(query: string): Promise<string | object>; | ||
lyrics(query: string): Promise<any>; | ||
/** | ||
@@ -75,3 +75,3 @@ * | ||
*/ | ||
wiki(query: string): Promise<string | object>; | ||
wiki(query: string): Promise<any>; | ||
/** | ||
@@ -81,3 +81,3 @@ * | ||
*/ | ||
nsfwScan(url: string): Promise<string | object>; | ||
nsfwScan(url: string): Promise<any>; | ||
/** | ||
@@ -87,9 +87,9 @@ * | ||
*/ | ||
ocr(url: string): Promise<string | object>; | ||
ocr(url: string): Promise<any>; | ||
/** | ||
* | ||
*/ | ||
stats(): Promise<string | object>; | ||
stats(): Promise<any>; | ||
} | ||
export declare const ARQ: typeof _ARQ; | ||
export {}; |
{ | ||
"name": "arq-js", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import _fetch from 'node-fetch'; | ||
export const fetch = async (url: string): Promise<object | string> => { | ||
export const fetch = async (url: string): Promise<any> => { | ||
const response = await _fetch(url); | ||
@@ -5,0 +5,0 @@ |
20856