Skip to content

v6.5.0

Latest

Choose a tag to compare

@dmitrizagidulin dmitrizagidulin released this 12 Oct 23:14

Added

  • fetchDocument constructor option (type FetchDocument): fetches a DID
    document by URL and returns the parsed body, so a consumer can route the
    fetch through its own HTTP stack. Defaults to defaultFetchDocument, which
    wraps @interop/http-client get() as before. DidWebResolverOptions
    names the constructor options.
  • get() rejects a fetched document without a string id with a distinct
    notFound message, instead of reporting it as an id mismatch.