UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

1 lines • 2.19 kB
{"version":3,"file":"did_v1.mjs","names":[],"sources":["../../../../../src/modules/vc/jsonld/contexts/did_v1.ts"],"sourcesContent":["export const DID_V1 = {\n '@context': {\n '@protected': true,\n id: '@id',\n type: '@type',\n alsoKnownAs: {\n '@id': 'https://www.w3.org/ns/activitystreams#alsoKnownAs',\n '@type': '@id',\n },\n assertionMethod: {\n '@id': 'https://w3id.org/security#assertionMethod',\n '@type': '@id',\n '@container': '@set',\n },\n authentication: {\n '@id': 'https://w3id.org/security#authenticationMethod',\n '@type': '@id',\n '@container': '@set',\n },\n capabilityDelegation: {\n '@id': 'https://w3id.org/security#capabilityDelegationMethod',\n '@type': '@id',\n '@container': '@set',\n },\n capabilityInvocation: {\n '@id': 'https://w3id.org/security#capabilityInvocationMethod',\n '@type': '@id',\n '@container': '@set',\n },\n controller: {\n '@id': 'https://w3id.org/security#controller',\n '@type': '@id',\n },\n keyAgreement: {\n '@id': 'https://w3id.org/security#keyAgreementMethod',\n '@type': '@id',\n '@container': '@set',\n },\n service: {\n '@id': 'https://www.w3.org/ns/did#service',\n '@type': '@id',\n '@context': {\n '@protected': true,\n id: '@id',\n type: '@type',\n serviceEndpoint: {\n '@id': 'https://www.w3.org/ns/did#serviceEndpoint',\n '@type': '@id',\n },\n },\n },\n verificationMethod: {\n '@id': 'https://w3id.org/security#verificationMethod',\n },\n },\n}\n"],"mappings":";AAAA,MAAa,SAAS,EACpB,YAAY;CACV,cAAc;CACd,IAAI;CACJ,MAAM;CACN,aAAa;EACX,OAAO;EACP,SAAS;CACX;CACA,iBAAiB;EACf,OAAO;EACP,SAAS;EACT,cAAc;CAChB;CACA,gBAAgB;EACd,OAAO;EACP,SAAS;EACT,cAAc;CAChB;CACA,sBAAsB;EACpB,OAAO;EACP,SAAS;EACT,cAAc;CAChB;CACA,sBAAsB;EACpB,OAAO;EACP,SAAS;EACT,cAAc;CAChB;CACA,YAAY;EACV,OAAO;EACP,SAAS;CACX;CACA,cAAc;EACZ,OAAO;EACP,SAAS;EACT,cAAc;CAChB;CACA,SAAS;EACP,OAAO;EACP,SAAS;EACT,YAAY;GACV,cAAc;GACd,IAAI;GACJ,MAAM;GACN,iBAAiB;IACf,OAAO;IACP,SAAS;GACX;EACF;CACF;CACA,oBAAoB,EAClB,OAAO,+CACT;AACF,EACF"}