UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

9 lines (8 loc) 480 B
import { PostMessageAction, PostMessagesOptions } from '../types/types'; /** * All post messages from inside our iframes and modals should use this function * to post messages to the parent window. It strongly types the data and makes * sure we're only listening to events that have the iframeUid */ export declare function postMessageFromIframe(action: PostMessageAction): void; export declare function postVerificationSizeUpdates(options?: PostMessagesOptions): () => void;