Socket
Socket
Sign inDemoInstall

node-vk-bot-api

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-vk-bot-api - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

0

.eslintrc.js

@@ -0,0 +0,0 @@ module.exports = {

module.exports = require('./lib/index')

20

lib/methods/listen.js

@@ -21,3 +21,6 @@ const rp = require('request-promise')

})
.catch(console.error)
.catch((err) => {
self.longPollParams = null
return self.listen()
})
}

@@ -54,5 +57,9 @@

date: update[4],
message_id: update[1]
message_id: update[1],
}
if (update[6].from) {
ctx.from = +update[6].from
}
const getForward = (ctx) => {

@@ -132,3 +139,6 @@ return new Promise((resolve) => {

})
.catch(console.error)
.catch((err) => {
self.longPollParams = null
return self.listen()
})
}

@@ -138,3 +148,7 @@ })

})
.catch((err) => {
self.longPollParams = null
return self.listen()
})
}
}

2

package.json
{
"name": "node-vk-bot-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "API for VK bots based on long poll with multi-dispatch send messages (75 per second).",

@@ -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