Releases: VKCOM/vk-bridge
Releases · VKCOM/vk-bridge
v2.1.0
- 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 favorAnyRequestMethodName
ReceiveMethodName
in favorAnyReceiveMethodName
RequestOnlyMethodName
in favorAnyRequestOnlyMethodName
ReceiveOnlyMethodName
in favorAnyReceiveOnlyMethodName
RequestMethodNameWithProps
in favorAnyRequestMethodNameWithProps
RequestMethodNameWithoutProps
in favorAnyRequestMethodNameWithoutProps
MethodName
in favorAnyMethodName
IOMethodName
in favorAnyIOMethodName
v2.0.8
v2.0.7
v2.0.5
v2.0.0: Rename VK Connect to VK Bridge
v1.9.0
v1.8.5
v1.8.4
v1.8.0
- Deprecated
sendPromise
, nowsend
returns a promise - Released Middleware API