PluginApi

@justweb3/widgetDocs


@justweb3/widget / PluginApi

Interface: PluginApi

Properties

chainId

chainId: undefined | number

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:10


connectedEns

connectedEns: undefined | null | object

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:7


eventEmitter

eventEmitter: EventEmitter

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:16


getState()

getState: <T>(key) => undefined | T

Type Parameters

T

Parameters

key: string

Returns

undefined | T

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:14


handleOpenAuthorizeMAppDialog()

handleOpenAuthorizeMAppDialog: (mApp, open) => void

Parameters

mApp: string

open: boolean

Returns

void

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:18


handleOpenRevokeMAppDialog()

handleOpenRevokeMAppDialog: (mApp, open) => void

Parameters

mApp: string

open: boolean

Returns

void

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:19


handleOpenSignInDialog()

handleOpenSignInDialog: (open) => void

Parameters

open: boolean

Returns

void

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:20


isEnsAuthPending

isEnsAuthPending: boolean

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:8


isLoggedIn

isLoggedIn: boolean

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:9


mApps

mApps: string[]

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:12


records

records: undefined | Records

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:11


setState()

setState: <T>(key, value) => void

Type Parameters

T

Parameters

key: string

value: T

Returns

void

Defined in

packages/@justweb3/widget/src/lib/plugins/index.ts:13

Last updated