Skip to content

Releases: VKCOM/vk-bridge

v2.1.0

11 Mar 10:57
Compare
Choose a tag to compare
  • Upgraded VKBridgeEvent type for valid checking a type of event inside a subscribe handler
bridge.subscribe(event => {
  if (event.detail.type === 'VKWebAppGetEmailResult') {
    event.detail.data; // { email: string; sign: string; } & RequestIdProp
  }
});
  • Deprecated types:
    • RequestMethodName in favor AnyRequestMethodName
    • ReceiveMethodName in favor AnyReceiveMethodName
    • RequestOnlyMethodName in favor AnyRequestOnlyMethodName
    • ReceiveOnlyMethodName in favor AnyReceiveOnlyMethodName
    • RequestMethodNameWithProps in favor AnyRequestMethodNameWithProps
    • RequestMethodNameWithoutProps in favor AnyRequestMethodNameWithoutProps
    • MethodName in favor AnyMethodName
    • IOMethodName in favor AnyIOMethodName

v2.0.8

04 Mar 09:17
Compare
Choose a tag to compare
  • Custom request_id fix (#66)

v2.0.7

02 Mar 13:09
Compare
Choose a tag to compare
  • Fix: added separated version of VKWebAppUpdateConfig data types for mvk (#62)

v2.0.5

28 Feb 16:23
Compare
Choose a tag to compare
  • Added event names for successful and failed requests (#54)

v2.0.0: Rename VK Connect to VK Bridge

26 Feb 14:26
Compare
Choose a tag to compare

v1.9.0

25 Feb 08:51
Compare
Choose a tag to compare
  • Fix UMD and CommonJS exports
  • Fix using VK Connect with SSR

v1.8.5

22 Jan 14:16
Compare
Choose a tag to compare
  • Fix of custom request_id

v1.8.4

21 Jan 13:02
Compare
Choose a tag to compare
  • Added VKWebAppLocationChanged result type
  • Added VKWebAppSubscribeStoryApp types
  • Bug fixes

v1.8.0

16 Jan 15:08
Compare
Choose a tag to compare
  • Deprecated sendPromise, now send returns a promise
  • Released Middleware API

v1.7.3

01 Jan 16:18
Compare
Choose a tag to compare
  • Update result types of VKWebAppAllowNotifications and VKWebAppDenyNotifications