From 1b2c21fd55aead11cd3e34b84aff7f63c8d1f27d Mon Sep 17 00:00:00 2001 From: Ankur Banerjee Date: Tue, 10 Sep 2024 16:05:47 +0200 Subject: [PATCH] Update did.ts --- src/modules/did.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/did.ts b/src/modules/did.ts index e201271..9f35c75 100644 --- a/src/modules/did.ts +++ b/src/modules/did.ts @@ -46,7 +46,7 @@ export const contexts = { W3CSuiteEd255192020: 'https://w3id.org/security/suites/ed25519-2020/v1', W3CSuiteEd255192018: 'https://w3id.org/security/suites/ed25519-2018/v1', W3CSuiteJws2020: 'https://w3id.org/security/suites/jws-2020/v1', - DIFDIDConfiguration: 'https://identity.foundation/.well-known/did-configuration/v1', + LinkedDomainsContext: 'https://identity.foundation/.well-known/did-configuration/v1', } as const; export const protobufLiterals = { @@ -552,7 +552,7 @@ export class DIDModule extends AbstractCheqdSDKModule { const service = protobufDidDocument.service.map((s) => { if (s.serviceType === ServiceType.LinkedDomains) - protobufDidDocument.context = [...protobufDidDocument.context, contexts.DIFDIDConfiguration]; + protobufDidDocument.context = [...protobufDidDocument.context, contexts.LinkedDomainsContext]; return { id: s.id,