+0
-4
@@ -74,6 +74,2 @@ import * as t from './types'; | ||
| /** | ||
| * Generate a true random number using atmospheric noises. | ||
| */ | ||
| random(min: number, max: number): Promise<t.RandomResult>; | ||
| /** | ||
| * Get a sock5 proxy. | ||
@@ -80,0 +76,0 @@ */ |
+0
-13
@@ -306,15 +306,2 @@ "use strict"; | ||
| /** | ||
| * Generate a true random number using atmospheric noises. | ||
| */ | ||
| _ARQ.prototype.random = function (min, max) { | ||
| return __awaiter(this, void 0, void 0, function () { | ||
| return __generator(this, function (_a) { | ||
| switch (_a.label) { | ||
| case 0: return [4 /*yield*/, this.fetch('stats', { min: min, max: max })]; | ||
| case 1: return [2 /*return*/, _a.sent()]; | ||
| } | ||
| }); | ||
| }); | ||
| }; | ||
| /** | ||
| * Get a sock5 proxy. | ||
@@ -321,0 +308,0 @@ */ |
+31
-32
| export declare type LunaResult = string; | ||
| export declare type YouTubeResult = Array<{ | ||
| export declare type YouTubeResult = { | ||
| id: string; | ||
| thumbnails: Array<string>; | ||
| thumbnails: string[]; | ||
| title: string; | ||
@@ -12,4 +12,4 @@ long_desc: string; | ||
| url_suffix: string; | ||
| }>; | ||
| export declare type TorrentResult = Array<{ | ||
| }[]; | ||
| export declare type TorrentResult = { | ||
| name: string; | ||
@@ -21,4 +21,4 @@ uploaded: string; | ||
| magnet: string; | ||
| }>; | ||
| export declare type DeezerResult = Array<{ | ||
| }[]; | ||
| export declare type DeezerResult = { | ||
| id: number; | ||
@@ -31,4 +31,4 @@ title: string; | ||
| url: string; | ||
| }>; | ||
| export declare type SaavnResult = Array<{ | ||
| }[]; | ||
| export declare type SaavnResult = { | ||
| song: string; | ||
@@ -41,4 +41,4 @@ album: string; | ||
| media_url: string; | ||
| }>; | ||
| export declare type WallResult = Array<{ | ||
| }[]; | ||
| export declare type WallResult = { | ||
| id: string; | ||
@@ -51,3 +51,3 @@ width: string; | ||
| url_page: string; | ||
| }>; | ||
| }[]; | ||
| export interface RedditResult { | ||
@@ -62,9 +62,9 @@ postLink: string; | ||
| ups: number; | ||
| preview: Array<string>; | ||
| preview: string[]; | ||
| } | ||
| export declare type UdResult = Array<{ | ||
| export declare type UdResult = { | ||
| definition: string; | ||
| permalink: string; | ||
| thumbs_up: number; | ||
| sound_urls: Array<number>; | ||
| sound_urls: number[]; | ||
| autho: string; | ||
@@ -77,4 +77,4 @@ word: string; | ||
| thumbs_down: number; | ||
| }>; | ||
| export declare type PhResult = Array<{ | ||
| }[]; | ||
| export declare type PhResult = { | ||
| id: string; | ||
@@ -90,6 +90,6 @@ title: string; | ||
| mainThumb: string; | ||
| categories: Array<string>; | ||
| tags: Array<string>; | ||
| pornstars: Array<string>; | ||
| thumbnails: Array<{ | ||
| categories: string[]; | ||
| tags: string[]; | ||
| pornstars: string[]; | ||
| thumbnails: { | ||
| size: string; | ||
@@ -99,12 +99,12 @@ width: string; | ||
| src: string; | ||
| }>; | ||
| }>; | ||
| }[]; | ||
| }[]; | ||
| export interface PhDlResult { | ||
| title: string; | ||
| thumbnail: string; | ||
| video: Array<{ | ||
| video: { | ||
| quality: string; | ||
| url: string; | ||
| size: string; | ||
| }>; | ||
| }[]; | ||
| } | ||
@@ -137,8 +137,7 @@ export declare type LyricsResult = string; | ||
| } | ||
| export declare type RandomResult = number; | ||
| export interface ProxyResult { | ||
| export declare type ProxyResult = { | ||
| location: string; | ||
| proxy: string; | ||
| } | ||
| export declare type TmdbResult = Array<{ | ||
| }[]; | ||
| export declare type TmdbResult = { | ||
| id: number; | ||
@@ -149,7 +148,7 @@ title: string; | ||
| releaseDate: string; | ||
| genre: Array<string>; | ||
| genre: string[]; | ||
| type: string; | ||
| backdrop: string; | ||
| poster: string; | ||
| }>; | ||
| }[]; | ||
| export declare type QuotlyResult = string; | ||
@@ -166,3 +165,3 @@ export interface TranslateResult { | ||
| thumbnail: string; | ||
| video: Array<{ | ||
| video: { | ||
| size: string; | ||
@@ -172,3 +171,3 @@ format: string; | ||
| url: string; | ||
| }>; | ||
| }[]; | ||
| } | ||
@@ -175,0 +174,0 @@ export interface PyPiResult { |
+1
-1
| { | ||
| "name": "arq-js", | ||
| "version": "2.1.1", | ||
| "version": "2.1.2", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+0
-7
@@ -168,9 +168,2 @@ import { encode } from 'querystring'; | ||
| /** | ||
| * Generate a true random number using atmospheric noises. | ||
| */ | ||
| async random(min: number, max: number): Promise<t.RandomResult> { | ||
| return await this.fetch('stats', { min, max }); | ||
| } | ||
| /** | ||
| * Get a sock5 proxy. | ||
@@ -177,0 +170,0 @@ */ |
+31
-33
| export type LunaResult = string; | ||
| export type YouTubeResult = Array<{ | ||
| export type YouTubeResult = { | ||
| id: string; | ||
| thumbnails: Array<string>; | ||
| thumbnails: string[]; | ||
| title: string; | ||
@@ -13,5 +13,5 @@ long_desc: string; | ||
| url_suffix: string; | ||
| }>; | ||
| }[]; | ||
| export type TorrentResult = Array<{ | ||
| export type TorrentResult = { | ||
| name: string; | ||
@@ -23,5 +23,5 @@ uploaded: string; | ||
| magnet: string; | ||
| }>; | ||
| }[]; | ||
| export type DeezerResult = Array<{ | ||
| export type DeezerResult = { | ||
| id: number; | ||
@@ -34,5 +34,5 @@ title: string; | ||
| url: string; | ||
| }>; | ||
| }[]; | ||
| export type SaavnResult = Array<{ | ||
| export type SaavnResult = { | ||
| song: string; | ||
@@ -45,5 +45,5 @@ album: string; | ||
| media_url: string; | ||
| }>; | ||
| }[]; | ||
| export type WallResult = Array<{ | ||
| export type WallResult = { | ||
| id: string; | ||
@@ -56,3 +56,3 @@ width: string; | ||
| url_page: string; | ||
| }>; | ||
| }[]; | ||
@@ -68,10 +68,10 @@ export interface RedditResult { | ||
| ups: number; | ||
| preview: Array<string>; | ||
| preview: string[]; | ||
| } | ||
| export type UdResult = Array<{ | ||
| export type UdResult = { | ||
| definition: string; | ||
| permalink: string; | ||
| thumbs_up: number; | ||
| sound_urls: Array<number>; | ||
| sound_urls: number[]; | ||
| autho: string; | ||
@@ -84,5 +84,5 @@ word: string; | ||
| thumbs_down: number; | ||
| }>; | ||
| }[]; | ||
| export type PhResult = Array<{ | ||
| export type PhResult = { | ||
| id: string; | ||
@@ -98,6 +98,6 @@ title: string; | ||
| mainThumb: string; | ||
| categories: Array<string>; | ||
| tags: Array<string>; | ||
| pornstars: Array<string>; | ||
| thumbnails: Array<{ | ||
| categories: string[]; | ||
| tags: string[]; | ||
| pornstars: string[]; | ||
| thumbnails: { | ||
| size: string; | ||
@@ -107,4 +107,4 @@ width: string; | ||
| src: string; | ||
| }>; | ||
| }>; | ||
| }[]; | ||
| }[]; | ||
@@ -114,7 +114,7 @@ export interface PhDlResult { | ||
| thumbnail: string; | ||
| video: Array<{ | ||
| video: { | ||
| quality: string; | ||
| url: string; | ||
| size: string; | ||
| }>; | ||
| }[]; | ||
| } | ||
@@ -153,10 +153,8 @@ | ||
| export type RandomResult = number; | ||
| export interface ProxyResult { | ||
| export type ProxyResult = { | ||
| location: string; | ||
| proxy: string; | ||
| } | ||
| }[]; | ||
| export type TmdbResult = Array<{ | ||
| export type TmdbResult = { | ||
| id: number; | ||
@@ -167,7 +165,7 @@ title: string; | ||
| releaseDate: string; | ||
| genre: Array<string>; | ||
| genre: string[]; | ||
| type: string; | ||
| backdrop: string; | ||
| poster: string; | ||
| }>; | ||
| }[]; | ||
@@ -187,3 +185,3 @@ export type QuotlyResult = string; | ||
| thumbnail: string; | ||
| video: Array<{ | ||
| video: { | ||
| size: string; | ||
@@ -193,3 +191,3 @@ format: string; | ||
| url: string; | ||
| }>; | ||
| }[]; | ||
| } | ||
@@ -196,0 +194,0 @@ |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
52
-3.7%33203
-3.19%1031
-2.37%