walletconnect/ControllableWalletConnect.ControllableWalletConnect
Extension of WalletConnect client that allows session creation to be disabled This is helpful to be sure that session creation won't be attempted after closing the connection. See MYEN-625
-
WalletConnect
↳
ControllableWalletConnect
• new ControllableWalletConnect(connectorOpts
, pushServerOpts?
)
Name | Type |
---|---|
connectorOpts |
IWalletConnectOptions |
pushServerOpts? |
IPushServerOptions |
WalletConnect.constructor
• canCreateSession: boolean
= true
▸ createSession(opts?
): Promise
<void
>
Name | Type |
---|---|
opts? |
ICreateSessionOptions |
Promise
<void
>
WalletConnect.createSession