standard-replicator
    Preparing search index...

    Class Resolver

    Yet to be documented.

    Index

    Constructors

    Methods

    • Parameters

      • handle: string

        The account's handle.

      Returns Promise<
          {
              "@context"?: string[]
              | "https://www.w3.org/ns/did/v1";
              alsoKnownAs?: string[];
              authentication?: (
                  | string
                  | {
                      controller: string;
                      id: string;
                      publicKeyJwk?: Record<string, unknown>;
                      publicKeyMultibase?: string;
                      type: string;
                  }
              )[];
              id: string;
              service?: {
                  id: string;
                  serviceEndpoint: string
                  | Record<string, unknown>;
                  type: string;
              }[];
              verificationMethod?: {
                  controller: string;
                  id: string;
                  publicKeyJwk?: Record<string, unknown>;
                  publicKeyMultibase?: string;
                  type: string;
              }[];
          },
      >

      The DID document.

      Yet to be documented.

      If I am unable to find the specified handle's DID document.

    • Parameters

      • handle: string

        The account's handle.

      Returns Promise<string>

      The account's service endpoint.

      Yet to be documented.

      If I am unable to find the specified handle's PDS.