Skip to content

Commit

Permalink
Update did.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb committed Sep 10, 2024
1 parent 2c35fdc commit 1b2c21f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/did.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 1b2c21f

Please sign in to comment.