Skip to content

Commit

Permalink
use github context
Browse files Browse the repository at this point in the history
Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
  • Loading branch information
F-Node-Karlsruhe committed Aug 5, 2024
1 parent fd8f421 commit 3006a62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export const epcisCredentialContext =
},
"EPCISEventCredential": {
"@id": "https://github.com/european-epc-competence-center/epcis-signing#epciseventcredential"
}
},
"name": "http://schema.org/name",
"image": "http://schema.org/image"
}
}
2 changes: 1 addition & 1 deletion package/src/signing/json-ld-signatures/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function createEPCISCredential(issuer: string, subject: EPCISDocument | E
return {
'@context': [
'https://www.w3.org/2018/credentials/v1',
'https://ssi.eecc.de/api/registry/context/epciscredentials'
'https://raw.githubusercontent.com/COPPA-CCP/epcis-signing/main/package/src/signing/json-ld-signatures/contexts/epcis-credentials-context.ts'
],
type: ['VerifiableCredential', subject.type == 'EPCISDocument' ? 'EPCISDocumentCredential' : 'EPCISEventCredential'],
...(credentialId && { id: credentialId }),
Expand Down

0 comments on commit 3006a62

Please sign in to comment.