new exports(dock)
Parameters:
Name | Type | Description |
---|---|---|
dock |
any | An initialized connection to a dock full-node. |
- Source:
Name | Type | Description |
---|---|---|
dock |
any | An initialized connection to a dock full-node. |
Name | Type | Attributes | Description |
---|---|---|---|
id |
string |
<optional> |
optional schema ID, if not given, generate a random id |
Name | Type | Description |
---|---|---|
resolvers |
object | A map from DID method name to a Resolver. The resolvers must either inherit from DIDResolver, or be an async function from DID string to DIDDocument which throws NoDIDError when and only when the did in question does not exist. |
catchAll |
DIDResolver | null | An optional fallback to use when index does not specify an implementation for the requested method. |
Name | Type | Description |
---|---|---|
publicKey |
PublicKey | |
verRels |
VerificationRelationship |
Name | Type | Description |
---|---|---|
url |
string | address of an instance of universal-resolver. |
Name | Type | Attributes | Description |
---|---|---|---|
controllers |
any |
<optional> |
Controller set |
Name | Type | Description |
---|---|---|
config |
object | Configuration options |
Name | Type | Description |
---|---|---|
config |
object | Configuration options |
Name | Type | Description |
---|---|---|
config |
object | Configuration options |
Name | Type | Description |
---|---|---|
config |
object | Configuration options |
Name | Type | Description |
---|---|---|
config |
object | Configuration options |