@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 • 3.63 kB
Source Map (JSON)
{"version":3,"file":"dataIntegrity_v2.mjs","names":[],"sources":["../../../../../../src/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.ts"],"sourcesContent":["export const DATA_INTEGRITY_V2 = {\n '@context': {\n id: '@id',\n type: '@type',\n '@protected': true,\n proof: {\n '@id': 'https://w3id.org/security#proof',\n '@type': '@id',\n '@container': '@graph',\n },\n DataIntegrityProof: {\n '@id': 'https://w3id.org/security#DataIntegrityProof',\n '@context': {\n '@protected': true,\n id: '@id',\n type: '@type',\n challenge: 'https://w3id.org/security#challenge',\n created: {\n '@id': 'http://purl.org/dc/terms/created',\n '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n },\n domain: 'https://w3id.org/security#domain',\n expires: {\n '@id': 'https://w3id.org/security#expiration',\n '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n },\n nonce: 'https://w3id.org/security#nonce',\n previousProof: {\n '@id': 'https://w3id.org/security#previousProof',\n '@type': '@id',\n },\n proofPurpose: {\n '@id': 'https://w3id.org/security#proofPurpose',\n '@type': '@vocab',\n '@context': {\n '@protected': true,\n id: '@id',\n type: '@type',\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 capabilityInvocation: {\n '@id': 'https://w3id.org/security#capabilityInvocationMethod',\n '@type': '@id',\n '@container': '@set',\n },\n capabilityDelegation: {\n '@id': 'https://w3id.org/security#capabilityDelegationMethod',\n '@type': '@id',\n '@container': '@set',\n },\n keyAgreement: {\n '@id': 'https://w3id.org/security#keyAgreementMethod',\n '@type': '@id',\n '@container': '@set',\n },\n },\n },\n cryptosuite: {\n '@id': 'https://w3id.org/security#cryptosuite',\n '@type': 'https://w3id.org/security#cryptosuiteString',\n },\n proofValue: {\n '@id': 'https://w3id.org/security#proofValue',\n '@type': 'https://w3id.org/security#multibase',\n },\n verificationMethod: {\n '@id': 'https://w3id.org/security#verificationMethod',\n '@type': '@id',\n },\n },\n },\n },\n}\n"],"mappings":";;;AAAA,MAAa,oBAAoB,EAC/B,YAAY;CACV,IAAI;CACJ,MAAM;CACN,cAAc;CACd,OAAO;EACL,OAAO;EACP,SAAS;EACT,cAAc;EACf;CACD,oBAAoB;EAClB,OAAO;EACP,YAAY;GACV,cAAc;GACd,IAAI;GACJ,MAAM;GACN,WAAW;GACX,SAAS;IACP,OAAO;IACP,SAAS;IACV;GACD,QAAQ;GACR,SAAS;IACP,OAAO;IACP,SAAS;IACV;GACD,OAAO;GACP,eAAe;IACb,OAAO;IACP,SAAS;IACV;GACD,cAAc;IACZ,OAAO;IACP,SAAS;IACT,YAAY;KACV,cAAc;KACd,IAAI;KACJ,MAAM;KACN,iBAAiB;MACf,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACD,gBAAgB;MACd,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACD,sBAAsB;MACpB,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACD,sBAAsB;MACpB,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACD,cAAc;MACZ,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACF;IACF;GACD,aAAa;IACX,OAAO;IACP,SAAS;IACV;GACD,YAAY;IACV,OAAO;IACP,SAAS;IACV;GACD,oBAAoB;IAClB,OAAO;IACP,SAAS;IACV;GACF;EACF;CACF,EACF"}