Socket
Socket
Sign inDemoInstall

node-vk-bot-api

Package Overview
Dependencies
3
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.0 to 3.1.1

3

lib/methods/sendMessage.js
const toArray = require('../utils/toArray');
module.exports = function (userId, ...args) {
const [message, attachment, keyboard, sticker] = args;
const [message, attachment, keyboard, sticker, randomId] = args;

@@ -23,2 +23,3 @@ if (Array.isArray(userId) && userId.length > 100) {

keyboard: keyboard ? keyboard.toJSON() : undefined,
random_id: randomId || Date.now(),
},

@@ -25,0 +26,0 @@ ),

{
"name": "node-vk-bot-api",
"version": "3.1.0",
"version": "3.1.1",
"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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc