New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vkapi-lite

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vkapi-lite - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "vkapi-lite",
"version": "1.0.3",
"version": "1.0.4",
"description": "Lite VK API wrapper for Node.JS",

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

@@ -24,3 +24,5 @@ # vkapi-lite

fields: 'verified'
}).then(console.log);
}).then((users) => {
console.log(users[0].first_name);
});
```

@@ -35,6 +37,20 @@ Or just...

//...
client.on('addANewMessage', console.log);
client.on('addANewMessage', (message) => {
console.log(message);
client.stopPolling();
});
client.startPolling();
```
### Debugging
```javascript
//...
client.logger = function log(action, methodOrServer, params) {
console.error(`[${new Date()}] ${action} ${methodOrServer} ${params}`);
};
client.debug = true;
```
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