Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc