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

vkontakte-api

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vkontakte-api - npm Package Compare versions

Comparing version 1.8.1 to 1.8.2

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [1.8.2](https://github.com/wolframdeus/vk-api/compare/v1.8.1...v1.8.2) (2020-06-22)
### [1.8.1](https://github.com/wolframdeus/vk-api/compare/v1.8.0...v1.8.1) (2020-06-22)

@@ -7,0 +9,0 @@

2

package.json
{
"name": "vkontakte-api",
"version": "1.8.1",
"version": "1.8.2",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

@@ -207,11 +207,14 @@ [npm-badge]: https://img.shields.io/npm/v/vkontakte-api.svg

import {isMaster} from 'cluster';
import {VKAPIProvider, VKAPIConsumer} from 'vkontakte-api';
import {VKAPI, VKAPIProvider, VKAPIConsumer} from 'vkontakte-api';
if (isMaster) {
const groupApi = new VKAPI({accessToken: 'group access token'});
const appApi = new VKAPI({accessToken: 'application access token'});
// API provider for group API instance
const groupApiProvider = new VKAPIProvider({tunnelName: 'group'});
const groupApiProvider = new VKAPIProvider({tunnelName: 'group', instance: groupApi});
groupApiProvider.init();
// API provider for VK Mini Apps application API instance
const appApiProvider = new VKAPIProvider({tunnelName: 'app'});
const appApiProvider = new VKAPIProvider({tunnelName: 'app', instance: appApi});
appApiProvider.init();

@@ -218,0 +221,0 @@ } else {

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