Skip to main content

@atala/prism-wallet-sdk / Exports / ConnectionsManagerInterface

Interface: ConnectionsManagerInterface

Implemented by

Table of contents

Properties

Methods

Properties

agentCredentials

agentCredentials: AgentCredentials

Defined in

src/edge-agent/types/index.ts:145


cancellables

cancellables: CancellableTask<any>[]

Defined in

src/edge-agent/types/index.ts:149


castor

castor: Castor

Defined in

src/edge-agent/types/index.ts:142


mediationHandler

mediationHandler: MediatorHandler

Defined in

src/edge-agent/types/index.ts:146


mercury

mercury: Mercury

Defined in

src/edge-agent/types/index.ts:143


pairings

pairings: DIDPair[]

Defined in

src/edge-agent/types/index.ts:147


pluto

pluto: Pluto

Defined in

src/edge-agent/types/index.ts:144


withWebsocketsExperiment

withWebsocketsExperiment: boolean

Defined in

src/edge-agent/types/index.ts:150

Methods

addConnection

addConnection(paired): Promise<void>

Parameters

NameType
pairedDIDPair

Returns

Promise<void>

Defined in

src/edge-agent/types/index.ts:152


awaitMessageResponse

awaitMessageResponse(id): Promise<undefined | Message>

Parameters

NameType
idstring

Returns

Promise<undefined | Message>

Defined in

src/edge-agent/types/index.ts:154


processMessages

processMessages(messages): Promise<void>

Parameters

NameType
messages{ attachmentId: string ; message: Message }[]

Returns

Promise<void>

Defined in

src/edge-agent/types/index.ts:155


registerMediator

registerMediator(hostDID): Promise<void>

Parameters

NameType
hostDIDDID

Returns

Promise<void>

Defined in

src/edge-agent/types/index.ts:161


removeConnection

removeConnection(pair): Promise<void>

Parameters

NameType
pairDIDPair

Returns

Promise<void>

Defined in

src/edge-agent/types/index.ts:153


sendMessage

sendMessage(message): Promise<undefined | Message>

Parameters

NameType
messageMessage

Returns

Promise<undefined | Message>

Defined in

src/edge-agent/types/index.ts:159


startMediator

startMediator(): Promise<void>

Returns

Promise<void>

Defined in

src/edge-agent/types/index.ts:160


stopAllEvents

stopAllEvents(): void

Returns

void

Defined in

src/edge-agent/types/index.ts:151