Skip to content

PostMessageChannelOptions

Defined in: src/web/postMessageChannel.ts:10

Options for creating a PostMessageChannel.

optional manageFocus?: boolean

Defined in: src/web/postMessageChannel.ts:30

Manage focus between the relying party and signer windows.

true

signerOrigin: string

Defined in: src/web/postMessageChannel.ts:14

The verified origin of the signer window.


optional signerStatus?: "pending" | "ready"

Defined in: src/web/postMessageChannel.ts:20

Initial status of the signer. When "pending", messages are queued until the status changes to "ready".

"ready"

signerWindow: Window

Defined in: src/web/postMessageChannel.ts:12

The signer window that this channel communicates with.


optional window?: Window

Defined in: src/web/postMessageChannel.ts:25

The relying party window, used to listen for incoming postMessage events.

globalThis.window