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 • 4.52 kB
{"version":3,"file":"cid_v1.mjs","names":[],"sources":["../../../../../src/modules/vc/jsonld/contexts/cid_v1.ts"],"sourcesContent":["export const CID_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 '@type': '@id',\n },\n Multikey: {\n '@id': 'https://w3id.org/security#Multikey',\n '@context': {\n '@protected': true,\n id: '@id',\n type: '@type',\n controller: {\n '@id': 'https://w3id.org/security#controller',\n '@type': '@id',\n },\n revoked: {\n '@id': 'https://w3id.org/security#revoked',\n '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n },\n expires: {\n '@id': 'https://w3id.org/security#expiration',\n '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n },\n publicKeyMultibase: {\n '@id': 'https://w3id.org/security#publicKeyMultibase',\n '@type': 'https://w3id.org/security#multibase',\n },\n secretKeyMultibase: {\n '@id': 'https://w3id.org/security#secretKeyMultibase',\n '@type': 'https://w3id.org/security#multibase',\n },\n },\n },\n JsonWebKey: {\n '@id': 'https://w3id.org/security#JsonWebKey',\n '@context': {\n '@protected': true,\n id: '@id',\n type: '@type',\n controller: {\n '@id': 'https://w3id.org/security#controller',\n '@type': '@id',\n },\n revoked: {\n '@id': 'https://w3id.org/security#revoked',\n '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n },\n expires: {\n '@id': 'https://w3id.org/security#expiration',\n '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n },\n publicKeyJwk: {\n '@id': 'https://w3id.org/security#publicKeyJwk',\n '@type': '@json',\n },\n secretKeyJwk: {\n '@id': 'https://w3id.org/security#secretKeyJwk',\n '@type': '@json',\n },\n },\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;EACP,SAAS;CACX;CACA,UAAU;EACR,OAAO;EACP,YAAY;GACV,cAAc;GACd,IAAI;GACJ,MAAM;GACN,YAAY;IACV,OAAO;IACP,SAAS;GACX;GACA,SAAS;IACP,OAAO;IACP,SAAS;GACX;GACA,SAAS;IACP,OAAO;IACP,SAAS;GACX;GACA,oBAAoB;IAClB,OAAO;IACP,SAAS;GACX;GACA,oBAAoB;IAClB,OAAO;IACP,SAAS;GACX;EACF;CACF;CACA,YAAY;EACV,OAAO;EACP,YAAY;GACV,cAAc;GACd,IAAI;GACJ,MAAM;GACN,YAAY;IACV,OAAO;IACP,SAAS;GACX;GACA,SAAS;IACP,OAAO;IACP,SAAS;GACX;GACA,SAAS;IACP,OAAO;IACP,SAAS;GACX;GACA,cAAc;IACZ,OAAO;IACP,SAAS;GACX;GACA,cAAc;IACZ,OAAO;IACP,SAAS;GACX;EACF;CACF;AACF,EACF"}