Skip to content

Commit

Permalink
Merge pull request #578 from VKCOM/pavelnikitin/fix/VKWebAppGetUserIn…
Browse files Browse the repository at this point in the history
…fo-request-props-types

Add user_ids props
  • Loading branch information
pasha-nikitin-2003 authored Oct 25, 2024
2 parents a37898d + 3bebbee commit 69f011f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v2.15.2

- Добавили недостающее поле `user_ids` в параметры метода `VKWebAppGetUserInfo`

## v2.15.1

- Добавлены новые параметры вызова метода `VKWebAppShowBannerAd`
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vkontakte/vk-bridge",
"version": "2.15.1",
"version": "2.15.2",
"description": "Connects a Mini App with VK client",
"license": "MIT",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ export type RequestPropsMap = {
VKWebAppGetGrantedPermissions: {};
VKWebAppGetPersonalCard: { type: PersonalCardType[] };
VKWebAppGetPhoneNumber: {};
VKWebAppGetUserInfo: { user_id?: number };
VKWebAppGetUserInfo: { user_id?: number; user_ids?: string };
VKWebAppJoinGroup: { group_id: number };
VKWebAppLeaveGroup: { group_id: number };
VKWebAppAddToMenu: {};
Expand Down

0 comments on commit 69f011f

Please sign in to comment.