From b3cca3445b20082bb135c9c56a3aa61bbf17fe7e Mon Sep 17 00:00:00 2001 From: Henry Tsai Date: Thu, 23 May 2024 13:37:04 -0700 Subject: [PATCH] Addressed review comment --- packages/dids/src/methods/did-dht.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dids/src/methods/did-dht.ts b/packages/dids/src/methods/did-dht.ts index 0b2134eee..66ec17135 100644 --- a/packages/dids/src/methods/did-dht.ts +++ b/packages/dids/src/methods/did-dht.ts @@ -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; /**