Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ksoft.js

Package Overview
Dependencies
Maintainers
1
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 1.2.8 to 1.2.9

14

lib/apis/bans.js

@@ -81,3 +81,3 @@ /**

timeout: 2000,
headers: { Authorization: `NANI ${this.token}` },
headers: { Authorization: `NANI ${this.token}` }
});

@@ -91,4 +91,4 @@ }

if (!banData) throw new Error('[Ksoft API] Please specify the banData');
if (banData.data) {
const jsonBanData = banData.data;
if (banData._data) {
const jsonBanData = banData._data;

@@ -108,3 +108,3 @@ if (!jsonBanData.user || !jsonBanData.proof || !jsonBanData.reason)

const { data } = await this.http.post('/bans/add', form, {
headers: form.getHeaders(),
headers: form.getHeaders()
});

@@ -125,3 +125,3 @@ return data;

const { data } = await this.http.post('/bans/add', form, {
headers: form.getHeaders(),
headers: form.getHeaders()
});

@@ -254,3 +254,3 @@ return data;

const result = await this.bulkCheck(members, {
moreInfo: moreInfo,
moreInfo: moreInfo
});

@@ -263,3 +263,3 @@

module.exports = {
bans,
bans
};

@@ -81,3 +81,3 @@ /**

timeout: 2000,
headers: { Authorization: `NANI ${this.token}` },
headers: { Authorization: `NANI ${this.token}` }
});

@@ -99,2 +99,3 @@ this.cache = new Map();

const { data } = await this.http.get(`/lyrics/search?q="${query}"`);
this.cache.set(q, data);
return data;

@@ -177,3 +178,3 @@ }

const songInfo = await this.search(youtubeResult[0].title, {
cleanUp: true,
cleanUp: true
});

@@ -188,3 +189,3 @@ if (voiceChannelConnection) {

youtubeResult: youtubeResult[0],
apiResponse: songInfo.data[0],
apiResponse: songInfo.data[0]
};

@@ -196,3 +197,3 @@

module.exports = {
lyrics,
lyrics
};
module.exports = class Ban {
constructor() {
this.data = {};
this._data = {};
}

@@ -5,0 +5,0 @@

{
"name": "ksoft.js",
"version": "1.2.8",
"version": "1.2.9",
"description": "Official API Wrapper for KSoft.Si API, written in Node.js",

@@ -5,0 +5,0 @@ "main": "index.js",

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