Skip to content

Commit

Permalink
Addressed review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thehenrytsai committed May 23, 2024
1 parent 58d6b65 commit b3cca34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dids/src/methods/did-dht.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,13 +402,13 @@ export enum DidDhtVerificationRelationship {
* {@link DidDhtRegisteredKeyType | registered key type}.
*/
const AlgorithmToKeyTypeMap = {
X25519 : DidDhtRegisteredKeyType.X25519,
Ed25519 : DidDhtRegisteredKeyType.Ed25519,
ES256K : DidDhtRegisteredKeyType.secp256k1,
ES256 : DidDhtRegisteredKeyType.secp256r1,
'P-256' : DidDhtRegisteredKeyType.secp256r1,
secp256k1 : DidDhtRegisteredKeyType.secp256k1,
secp256r1 : DidDhtRegisteredKeyType.secp256r1
secp256r1 : DidDhtRegisteredKeyType.secp256r1,
X25519 : DidDhtRegisteredKeyType.X25519,
} as const;

/**
Expand Down

0 comments on commit b3cca34

Please sign in to comment.