UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

12 lines • 568 B
//#region src/utils/did.d.ts export declare function indyDidFromPublicKeyBase58(publicKeyBase58: string): string; /** * Checks whether `potentialDid` is a valid DID. You can optionally provide a `method` to * check whether the did is for that specific method. * * Note: the check in this method is very simple and just check whether the did starts with * `did:` or `did:<method>:`. It does not do an advanced regex check on the did. */ export declare function isDid(potentialDid: string, method?: string): boolean; //#endregion //# sourceMappingURL=did.d.mts.map