Socket
Socket
Sign inDemoInstall

node-vk-bot-api

Package Overview
Dependencies
1
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.7 to 2.4.8

23

lib/index.js

@@ -13,3 +13,2 @@ const methods = require('./methods');

this.longPollParams = null;
this.middlewares = [];

@@ -29,13 +28,5 @@ this.methods = [];

this.methods = [];
}, settings.execute_timeout || 50);
}, settings.execute_timeout);
}
use(middleware) {
this.use(middleware);
}
command(triggers, ...middlewares) {
this.command(triggers, ...middlewares);
}
event(triggers, ...middlewares) {

@@ -48,16 +39,4 @@ this.command(triggers, ...middlewares);

}
next(ctx, idx) {
return this.next(ctx, idx);
}
sendMessage(userId, ...args) {
this.sendMessage(userId, ...args);
}
startPolling(callback) {
return this.startPolling(callback);
}
}
module.exports = VkBot;

2

package.json
{
"name": "node-vk-bot-api",
"version": "2.4.7",
"version": "2.4.8",
"description": "🤖 VK bot framework for Node.js, based on Bots Long Poll API and Callback API",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc