Skip to content

Commit

Permalink
Merge pull request #303 from VKCOM/dtereshchenko/mark-vkwebappshowsub…
Browse files Browse the repository at this point in the history
…scription-box-as-supported

marked VKWebAppShowSubscriptionBox as supported in mvk
  • Loading branch information
terdenan authored Jun 8, 2022
2 parents 95b1f8a + 09b7761 commit 770d4cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vkontakte/vk-bridge",
"version": "2.6.1",
"version": "2.6.2",
"description": "Connects a Mini App with VK client",
"license": "MIT",
"main": "dist/index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ export const DESKTOP_METHODS = [
'VKWebAppShowNativeAds',
'VKWebAppRetargetingPixel',
'VKWebAppConversionHit',
'VKWebAppShowSubscriptionBox',

// Desktop web specific events
...(IS_DESKTOP_VK ? ['VKWebAppResizeWindow', 'VKWebAppAddToMenu', 'VKWebAppShowSubscriptionBox', 'VKWebAppShowInstallPushBox', 'VKWebAppGetFriends'] : ['VKWebAppShowImages']),
...(IS_DESKTOP_VK ? ['VKWebAppResizeWindow', 'VKWebAppAddToMenu', 'VKWebAppShowInstallPushBox', 'VKWebAppGetFriends'] : ['VKWebAppShowImages']),
];

/** Android VK Bridge interface. */
Expand Down

0 comments on commit 770d4cd

Please sign in to comment.