Package Exports
- unisot-did-resolver
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (unisot-did-resolver) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@unisot/unisot-did-resolver
This module encapsulates the logic required to resolve UNISOT DID identities. The exported interface is compatible with the DIF DID-Resolver module.
Please note that this module is not meant to be used directly, but rather through an integration with the DIF DID-Resolver module (as shown in the example below).
Usage examples
In combination with the DIF DID-Resolver:
import {Resolver} from "did-resolver";
import {getResolver} from "unisot-did-resolver";
const resolver = new Resolver(getResolver());
const didDocument = await resolver.resolve(did);
// didDocument now contains the corresponding Did Document in JSON form.