Skip to content

Home > @theweave/api > WeaveClient

WeaveClient class

Signature:

typescript
export declare class WeaveClient implements WeaveServices

Implements: WeaveServices

Properties

Property

Modifiers

Type

Description

appletInfo

(appletHash: any) => Promise<AppletInfo | undefined>

appletParticipants

() => Promise<Uint8Array[]>

assetInfo

(wal: WAL) => Promise<AssetLocationAndInfo | undefined>

dragWal

(wal: WAL) => Promise<void>

groupProfile

(groupHash: any) => Promise<any>

mossVersion

() => string

myGroupPermissionType

() => Promise<GroupPermissionType>

notifyFrame

(notifications: Array<FrameNotification>) => Promise<any>

onBeforeUnload

(callback: () => any) => UnsubscribeFunction

onPeerStatusUpdate

(callback: (payload: PeerStatusUpdate) => any) => UnsubscribeFunction

openAppletBlock

(appletHash: any, block: string, context: any) => Promise<void>

openAppletMain

(appletHash: EntryHash) => Promise<void>

openCrossAppletBlock

(appletBundleId: ActionHash, block: string, context: any) => Promise<void>

openCrossAppletMain

(appletBundleId: ActionHash) => Promise<void>

openWal

(wal: WAL, mode?: OpenWalMode) => Promise<void>

renderInfo

readonly

RenderInfo

requestBind

(srcWal: WAL, dstWal: WAL) => Promise<void>

requestClose

() => Promise<void>

userSelectScreen

() => Promise<string>

userSelectWal

() => Promise<WAL | undefined>

walToPocket

(wal: WAL) => Promise<void>

Methods

Method

Modifiers

Description

connect(appletServices)

static