Protected_isThe status of the transport
ProtectedclientThe client handling the encryption/decryption of messages
ProtectedisProtected ReadonlynameThe name of the app
Protected OptionalnewThe listener that will be invoked when a new peer is connected
Protected ReadonlypeerReadonlytypeThe type of the transport
Return the status of the connection
Add a listener to be called when a new message is received
The listener that will be registered
Optional_sendPairingResponse: booleanConnect the transport
Disconnect the transport
Forcefully updates any DApps running on the same session Typical use case: localStorage changes to reflect to indexDB
the message type
ProtectednotifyNotify the listeners when a new message comes in
Message
Context info about the connection
Remove a listener
Send a message through the transport
The message to send
Optionalpeer: PeerInfoReturns a promise that blocks the execution flow when awaited if the transport hasn't resolved yet; otherwise, it returns true.
StaticisReturns a promise that resolves to true if the transport is available, false if it is not
Internalapi