UNPKG

@shopify/app-bridge

Version:

**Shopify is doubling our engineering staff in 2021! [Join our team and work on libraries like this one.](https://smrtr.io/5GGrc)**

13 lines (12 loc) 339 B
import { TransportDispatch } from '..'; interface Payload { id: string; origin: string; data: TransportDispatch; } /** * Adds context to the MessageTransport payload to distinguish whether an action * is dispatched from Main or Modal. */ export declare function parsePayloadWithContext(payload: Payload): string; export {};