Comparing version 3.1.1 to 3.1.2
{ | ||
"name": "ksoft.js", | ||
"description": "Official Node.js Wrapper for the KSoft.Si API.", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"main": "src/index.js", | ||
@@ -6,0 +6,0 @@ "types": "typings/index.d.ts", |
@@ -25,3 +25,3 @@ declare module 'ksoft.js' { | ||
interface Ban { | ||
export class Ban { | ||
user: BannedUser; | ||
@@ -35,3 +35,2 @@ moderator: string; | ||
setUser(id: string, name: string, discriminator: string): Ban; | ||
setUser(user: Discord.User): Ban; | ||
setModerator(id: string): Ban; | ||
@@ -78,3 +77,3 @@ setReason(reason: string, proof: string): Ban; | ||
interface ReditPost { | ||
interface RedditPost { | ||
title: string; | ||
@@ -210,3 +209,3 @@ subreddit: string; | ||
interface KumoRoute { | ||
convert(value: integer, from: string, to: string): Promise<Conversion>; | ||
convert(value: number, from: string, to: string): Promise<Conversion>; | ||
geoip(ip: string): Promise<IPReport>; | ||
@@ -228,10 +227,11 @@ weather(query: string, options: WeatherKumoPathOptions): Promise<WeatherReport>; | ||
export class KSoftAPIClient { | ||
bans: BansRoute; | ||
images: ImagesRoute; | ||
kumo: KumoRoute; | ||
lyrics: LyricsRoute; | ||
music: MusicRoute; | ||
export class KSoftClient { | ||
constructor(token: string); | ||
public bans: BansRoute; | ||
public images: ImagesRoute; | ||
public kumo: KumoRoute; | ||
public lyrics: LyricsRoute; | ||
public music: MusicRoute; | ||
} | ||
} |
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
27453