Comparing version 1.0.2 to 1.0.3
{ | ||
"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/*" | ||
] | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
279718
225
5268
3
3