@credo-ts/core 0.6.0 → 0.6.1-alpha-20251205023109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,7 @@ import { CREDENTIALS_V1 } from "./credentials_v1.mjs";
4
4
  import { DATA_INTEGRITY_V2 } from "./dataIntegrity_v2.mjs";
5
5
  import { DID_V1 } from "./did_v1.mjs";
6
6
  import { ED25519_V1 } from "./ed25519_v1.mjs";
7
+ import { LINKED_VP_V1 } from "./linkedvp_v1.mjs";
7
8
  import { ODRL } from "./odrl.mjs";
8
9
  import { PURL_OB_V3P0 } from "./purl_ob_v3po.mjs";
9
10
  import { SCHEMA_ORG } from "./schema_org.mjs";
@@ -30,7 +31,8 @@ const DEFAULT_CONTEXTS = {
30
31
  "https://identity.foundation/presentation-exchange/submission/v1": PRESENTATION_SUBMISSION,
31
32
  "https://purl.imsglobal.org/spec/ob/v3p0/context.json": PURL_OB_V3P0,
32
33
  "https://w3c-ccg.github.io/vc-status-rl-2020/contexts/vc-revocation-list-2020/v1.jsonld": VC_REVOCATION_LIST_2020,
33
- "https://w3id.org/security/data-integrity/v2": DATA_INTEGRITY_V2
34
+ "https://w3id.org/security/data-integrity/v2": DATA_INTEGRITY_V2,
35
+ "https://identity.foundation/linked-vp/contexts/v1": LINKED_VP_V1
34
36
  };
35
37
 
36
38
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"defaultContexts.mjs","names":[],"sources":["../../../../../../src/modules/vc/data-integrity/libraries/contexts/defaultContexts.ts"],"sourcesContent":["import { CREDENTIALS_V1 } from './credentials_v1'\nimport { DATA_INTEGRITY_V2 } from './dataIntegrity_v2'\nimport { DID_V1 } from './did_v1'\nimport { ED25519_V1 } from './ed25519_v1'\nimport { ODRL } from './odrl'\nimport { PURL_OB_V3P0 } from './purl_ob_v3po'\nimport { SCHEMA_ORG } from './schema_org'\nimport { SECP256K1_V1 } from './secp256k1_v1'\nimport { SECURITY_V1 } from './security_v1'\nimport { SECURITY_V2 } from './security_v2'\nimport { PRESENTATION_SUBMISSION } from './submission'\nimport { VC_REVOCATION_LIST_2020 } from './vc_revocation_list_2020'\nimport { X25519_V1 } from './X25519_v1'\n\nexport const DEFAULT_CONTEXTS = {\n 'https://w3id.org/security/v1': SECURITY_V1,\n 'https://w3id.org/security/v2': SECURITY_V2,\n 'https://w3id.org/security/suites/x25519-2019/v1': X25519_V1,\n 'https://w3id.org/security/suites/ed25519-2018/v1': ED25519_V1,\n 'https://w3id.org/security/suites/secp256k1-2019/v1': SECP256K1_V1,\n 'https://www.w3.org/2018/credentials/v1': CREDENTIALS_V1,\n 'https://w3id.org/did/v1': DID_V1,\n 'https://www.w3.org/ns/did/v1': DID_V1,\n 'https://w3.org/ns/did/v1': DID_V1,\n 'https://www.w3.org/ns/odrl.jsonld': ODRL,\n 'http://schema.org/': SCHEMA_ORG,\n 'https://identity.foundation/presentation-exchange/submission/v1': PRESENTATION_SUBMISSION,\n 'https://purl.imsglobal.org/spec/ob/v3p0/context.json': PURL_OB_V3P0,\n 'https://w3c-ccg.github.io/vc-status-rl-2020/contexts/vc-revocation-list-2020/v1.jsonld': VC_REVOCATION_LIST_2020,\n 'https://w3id.org/security/data-integrity/v2': DATA_INTEGRITY_V2,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAcA,MAAa,mBAAmB;CAC9B,gCAAgC;CAChC,gCAAgC;CAChC,mDAAmD;CACnD,oDAAoD;CACpD,sDAAsD;CACtD,0CAA0C;CAC1C,2BAA2B;CAC3B,gCAAgC;CAChC,4BAA4B;CAC5B,qCAAqC;CACrC,sBAAsB;CACtB,mEAAmE;CACnE,wDAAwD;CACxD,0FAA0F;CAC1F,+CAA+C;CAChD"}
1
+ {"version":3,"file":"defaultContexts.mjs","names":[],"sources":["../../../../../../src/modules/vc/data-integrity/libraries/contexts/defaultContexts.ts"],"sourcesContent":["import { CREDENTIALS_V1 } from './credentials_v1'\nimport { DATA_INTEGRITY_V2 } from './dataIntegrity_v2'\nimport { DID_V1 } from './did_v1'\nimport { ED25519_V1 } from './ed25519_v1'\nimport { LINKED_VP_V1 } from './linkedvp_v1'\nimport { ODRL } from './odrl'\nimport { PURL_OB_V3P0 } from './purl_ob_v3po'\nimport { SCHEMA_ORG } from './schema_org'\nimport { SECP256K1_V1 } from './secp256k1_v1'\nimport { SECURITY_V1 } from './security_v1'\nimport { SECURITY_V2 } from './security_v2'\nimport { PRESENTATION_SUBMISSION } from './submission'\nimport { VC_REVOCATION_LIST_2020 } from './vc_revocation_list_2020'\nimport { X25519_V1 } from './X25519_v1'\n\nexport const DEFAULT_CONTEXTS = {\n 'https://w3id.org/security/v1': SECURITY_V1,\n 'https://w3id.org/security/v2': SECURITY_V2,\n 'https://w3id.org/security/suites/x25519-2019/v1': X25519_V1,\n 'https://w3id.org/security/suites/ed25519-2018/v1': ED25519_V1,\n 'https://w3id.org/security/suites/secp256k1-2019/v1': SECP256K1_V1,\n 'https://www.w3.org/2018/credentials/v1': CREDENTIALS_V1,\n 'https://w3id.org/did/v1': DID_V1,\n 'https://www.w3.org/ns/did/v1': DID_V1,\n 'https://w3.org/ns/did/v1': DID_V1,\n 'https://www.w3.org/ns/odrl.jsonld': ODRL,\n 'http://schema.org/': SCHEMA_ORG,\n 'https://identity.foundation/presentation-exchange/submission/v1': PRESENTATION_SUBMISSION,\n 'https://purl.imsglobal.org/spec/ob/v3p0/context.json': PURL_OB_V3P0,\n 'https://w3c-ccg.github.io/vc-status-rl-2020/contexts/vc-revocation-list-2020/v1.jsonld': VC_REVOCATION_LIST_2020,\n 'https://w3id.org/security/data-integrity/v2': DATA_INTEGRITY_V2,\n 'https://identity.foundation/linked-vp/contexts/v1': LINKED_VP_V1,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAeA,MAAa,mBAAmB;CAC9B,gCAAgC;CAChC,gCAAgC;CAChC,mDAAmD;CACnD,oDAAoD;CACpD,sDAAsD;CACtD,0CAA0C;CAC1C,2BAA2B;CAC3B,gCAAgC;CAChC,4BAA4B;CAC5B,qCAAqC;CACrC,sBAAsB;CACtB,mEAAmE;CACnE,wDAAwD;CACxD,0FAA0F;CAC1F,+CAA+C;CAC/C,qDAAqD;CACtD"}
@@ -0,0 +1,12 @@
1
+
2
+
3
+ //#region src/modules/vc/data-integrity/libraries/contexts/linkedvp_v1.ts
4
+ const LINKED_VP_V1 = { "@context": [{
5
+ "@version": 1.1,
6
+ "@protected": true,
7
+ LinkedVerifiablePresentation: "https://identity.foundation/linked-vp/contexts/v1#LinkedVerifiablePresentation"
8
+ }] };
9
+
10
+ //#endregion
11
+ export { LINKED_VP_V1 };
12
+ //# sourceMappingURL=linkedvp_v1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkedvp_v1.mjs","names":[],"sources":["../../../../../../src/modules/vc/data-integrity/libraries/contexts/linkedvp_v1.ts"],"sourcesContent":["export const LINKED_VP_V1 = {\n '@context': [\n {\n '@version': 1.1,\n '@protected': true,\n LinkedVerifiablePresentation: 'https://identity.foundation/linked-vp/contexts/v1#LinkedVerifiablePresentation',\n },\n ],\n}\n"],"mappings":";;;AAAA,MAAa,eAAe,EAC1B,YAAY,CACV;CACE,YAAY;CACZ,cAAc;CACd,8BAA8B;CAC/B,CACF,EACF"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./build/index.mjs",
5
5
  "./package.json": "./package.json"
6
6
  },
7
- "version": "0.6.0",
7
+ "version": "0.6.1-alpha-20251205023109",
8
8
  "files": [
9
9
  "build"
10
10
  ],