Options
Optionaldebug?: booleanOptionalorigin?: stringOrigin of receiver
OptionalreceiveDirection?: MESSAGE_DIRECTIONUnwrapping messages from additional struct
Optionalself?: ImplPostMessageHost window for message
OptionalsendDirection?: MESSAGE_DIRECTIONWrapping messages into additional struct
({ type: 'to_aepp' || 'to_waellet', data })
Used for handling messages between content script and page
Optionaltarget?: ImplPostMessageTarget window for message
OptionallistenerOptionaloriginOptionalsendConnect
Message handler
trigger when runtime connection in closed
Disconnect
Check if connected
Is connected
ProtectedreceiveReceive message
Send message
Browser window Post Message connector module