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 2.4.1 to 2.4.2

7

CHANGELOG.md

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

### [2.4.2](https://github.com/wolframdeus/vk-api/compare/v2.4.1...v2.4.2) (2021-05-20)
### Bug Fixes
* **storage.get:** fix return type of "get single key" ([c7c7ea3](https://github.com/wolframdeus/vk-api/commit/c7c7ea382866a2124855ce009f4694f4239f96f7))
### [2.4.1](https://github.com/wolframdeus/vk-api/compare/v2.4.0...v2.4.1) (2021-02-11)

@@ -7,0 +14,0 @@

2

dist/repositories/StorageRepository/StorageRepository.d.ts

@@ -10,3 +10,3 @@ import { Repository } from '../Repository';

*/
get: <P extends TGetParams>(params: P) => Promise<P extends IGetSingleKeyParams ? string : TGetMultipleKeysResult>;
get: <P extends TGetParams>(params: P) => Promise<P extends IGetSingleKeyParams ? TGetSingleKeyResult : TGetMultipleKeysResult>;
/**

@@ -13,0 +13,0 @@ * @see https://vk.com/dev/storage.getKeys

@@ -14,7 +14,7 @@ /**

export declare type TGetParams = IGetSingleKeyParams | IGetMultipleKeysParams;
export declare type TGetSingleKeyResult = string;
export declare type TGetMultipleKeysResult = {
export declare type TGetSingleKeyResult = {
key: string;
value: string;
}[];
};
export declare type TGetMultipleKeysResult = TGetSingleKeyResult[];
/**

@@ -21,0 +21,0 @@ * @see https://vk.com/dev/storage.getKeys

{
"name": "vkontakte-api",
"version": "2.4.1",
"version": "2.4.2",
"description": "TypeScript library to make requests performing to VK API simple",

@@ -22,3 +22,3 @@ "homepage": "https://github.com/wolframdeus/vk-api",

"scripts": {
"dev:browser": "webpack-dev-server",
"dev:browser": "webpack serve",
"build": "gulp",

@@ -25,0 +25,0 @@ "test": "tsc --noEmit",

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