Skip to content

@checkout-kit/webview-bridge / parseBridgeCommand

Variable: parseBridgeCommand ​

ts
const parseBridgeCommand: (raw) => ParseResult<BridgeCommand>;

Web side: validate the envelope, command type and command-specific payload.

Parameters ​

ParameterType
rawunknown

Returns ​

ParseResult<BridgeCommand>

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