Socket
Socket
Sign inDemoInstall

lib-vk

Package Overview
Dependencies
65
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "lib-vk",
"version": "1.1.1",
"version": "1.1.2",
"description": "Compact SDK with VK API for Node.js",

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

@@ -21,3 +21,14 @@ # lib-vk

*/
const vk = new (require('lib-vk').VK)({token: process.env.TOKEN, groupId: process.env.GROUPID, secret: process.env.SECRET, path: process.env.PATH})
const vk = new (require('lib-vk').VK)(
{
longPoll: {
token: process.env.TOKEN,
groupId: process.env.GROUPID
},
callback: {
secret: process.env.SECRET,
path: process.env.PATH
}
}
)

@@ -24,0 +35,0 @@ /** In the event location, you can specify an array of events that will be intercepted (For pages)

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