Skip to content

Latest commit

 

History

History
70 lines (39 loc) · 1.46 KB

walletconnect_ControllableWalletConnect.ControllableWalletConnect.md

File metadata and controls

70 lines (39 loc) · 1.46 KB

Class: ControllableWalletConnect

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

Hierarchy

  • WalletConnect

    ControllableWalletConnect

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ControllableWalletConnect(connectorOpts, pushServerOpts?)

Parameters

Name Type
connectorOpts IWalletConnectOptions
pushServerOpts? IPushServerOptions

Inherited from

WalletConnect.constructor

Properties

canCreateSession

canCreateSession: boolean = true

Methods

createSession

createSession(opts?): Promise<void>

Parameters

Name Type
opts? ICreateSessionOptions

Returns

Promise<void>

Overrides

WalletConnect.createSession