chatadelic-api
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -36,3 +36,2 @@ 'use strict'; | ||
const methods = new Methods(ws, conf); | ||
const online = new Online(); | ||
@@ -39,0 +38,0 @@ const queue = new Queue(methods, conf.interval); |
@@ -5,2 +5,3 @@ const http = require('http'); | ||
let sid = ''; | ||
let needState = true; | ||
@@ -37,5 +38,6 @@ this.auth = (data, callback)=> { | ||
chat: conf.chat, | ||
need: 'state', | ||
need: needState ? 'state' : '', | ||
sid | ||
})); | ||
needState = false; | ||
callback(null, {}); | ||
@@ -42,0 +44,0 @@ }; |
{ | ||
"name": "chatadelic-api", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "chatadelic.net api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,2 +5,2 @@ api = require("./index.js"); | ||
cirno.on('message',(e)=>console.log(e)); | ||
cirno.login().message("vyf\nawoooo"); | ||
cirno.login().message("vyyf").logout().login().message("vyyf").logout().login().message("vyyf").logout() |
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
17899
264