sdk.default
Constructors
constructor
new default(db
, web3
, globalChannel
, log
, settings
, config
)
Parameters
Name | Type |
---|---|
db | DB |
web3 | Web3Connector |
globalChannel | EventBus |
log | Logging |
settings | Settings |
config | AWF_Config |
Defined in
Methods
connect
connect(): Promise
<DIDSession
>
Returns
Promise
<DIDSession
>
Defined in
disconnect
disconnect(): Promise
<void
>
Returns
Promise
<void
>
Defined in
geResourcesHash
geResourcesHash(): Promise
<{ hash
: string
= hash; resources
: string
[] }>
Returns
Promise
<{ hash
: string
= hash; resources
: string
[] }>
Defined in
getComposeClient
getComposeClient(): ComposeClient
Returns
ComposeClient
Defined in
getOptions
getOptions(): Object
Returns
Object
Name | Type |
---|---|
endpointURL | string |
Defined in
hasSession
hasSession(): boolean
Returns
boolean
Defined in
restoreSession
restoreSession(serialisedSession
): Promise
<DIDSession
>
Parameters
Name | Type |
---|---|
serialisedSession | string |
Returns
Promise
<DIDSession
>
Defined in
serialize
serialize(): undefined
| null
| string
Returns
undefined
| null
| string
Defined in
setCeramicEndpoint
setCeramicEndpoint(endPoint
): Promise
<void
>
Parameters
Name | Type |
---|---|
endPoint | string |
Returns
Promise
<void
>