Socket
Socket
Sign inDemoInstall

ksoft.js

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ksoft.js - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

2

package.json
{
"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;
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc