Skip to content

@checkout-kit/webview-bridge / parseBridgeEvent

Variable: parseBridgeEvent ​

ts
const parseBridgeEvent: (raw) => ParseResult<BridgeEvent>;

Host side: validate the envelope, event type and event-specific payload.

Parameters ​

ParameterType
rawunknown

Returns ​

ParseResult<BridgeEvent>

Apache-2.0 · Headless engine, provider adapters and runnable examples.