New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

icq-bot

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icq-bot - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

dist/class/Bot.d.ts

4

package.json
{
"name": "icq-bot",
"version": "1.0.2",
"version": "1.0.3",
"description": "ICQ-BOT",
"main": "index.js",
"main": "/dist/index.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

@@ -37,3 +37,3 @@ import { HttpClient, FormDataICQ, ICQHttpClient } from "./ICQHttpClient";

constructor(private token: string, apiUrlBase = "", name = "", version = "", timeoutS = 20, pollTimeS = 60) {
this.apiBaseUrl = "https://api.icq.net/bot/v1" + (apiUrlBase ? apiUrlBase : '');
this.apiBaseUrl = (apiUrlBase ? apiUrlBase : "https://api.icq.net/bot/v1");
this.name = name

@@ -40,0 +40,0 @@ this.version = version

@@ -199,31 +199,1 @@ import { Filter } from "./Filter";

}
// class Event(object):
// def __init__(self, type_, data):
// super(Event, self).__init__()
// self.type = type_
// self.data = data
// if type_ == EventType.NEW_MESSAGE:
// self.text = data['text']
// self.from_chat = data['chat']['chatId']
// self.message_author = data['from']
// def __repr__(self):
// return "Event(type='{self.type}', data='{self.data}')".format(self=self)
// export class MessageHandler implements Handler {
// constructor(callback: (response: Response) => void) {
// this.filter = new MessageFilter();
// }
// check(event: Event, dispatcher: Dispatcher) {
// };
// handler(event: Event, dispatcher: Dispatcher) {
// };
// }
{
"compilerOptions": {
"outDir": "./dist/",
"noImplicitAny": false,
"preserveConstEnums": true,
"moduleResolution": "node",
"sourceMap": true,

@@ -8,10 +11,12 @@ "module": "commonjs",

"allowJs": true,
"rootDir": "src"
"rootDir": "src",
"declaration": true
},
"include": [
"src/**/*"
"src/**/*",
],
"exclude": [
"old/*"
"old/*",
"example/*"
]
}
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