@learncard/credential-library 1.0.14 → 1.0.15

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.
@@ -923,7 +923,8 @@ var obv3ProfessionalCert = {
923
923
  credential: {
924
924
  "@context": [
925
925
  "https://www.w3.org/ns/credentials/v2",
926
- "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
926
+ "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json",
927
+ "https://purl.imsglobal.org/spec/ob/v3p0/extensions.json"
927
928
  ],
928
929
  id: "urn:uuid:b34ca6cd-29d7-4b2f-9e99-4902fd84c5a1",
929
930
  type: ["VerifiableCredential", "OpenBadgeCredential"],
@@ -1343,7 +1344,8 @@ var obv3EndorsementCredential = {
1343
1344
  credential: {
1344
1345
  "@context": [
1345
1346
  "https://www.w3.org/ns/credentials/v2",
1346
- "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
1347
+ "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json",
1348
+ "https://purl.imsglobal.org/spec/ob/v3p0/extensions.json"
1347
1349
  ],
1348
1350
  id: "urn:uuid:a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
1349
1351
  type: ["VerifiableCredential", "EndorsementCredential"],
@@ -2071,7 +2073,8 @@ var boostCommunityAward = {
2071
2073
  credential: {
2072
2074
  "@context": [
2073
2075
  "https://www.w3.org/ns/credentials/v2",
2074
- "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
2076
+ "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json",
2077
+ "https://ctx.learncard.com/boosts/1.0.3.json"
2075
2078
  ],
2076
2079
  id: "urn:uuid:d8c4f2a1-3b67-4e89-a1d0-5f9e7c2b8a43",
2077
2080
  type: ["VerifiableCredential", "OpenBadgeCredential", "BoostCredential"],
@@ -2160,7 +2163,8 @@ var boostDelegate = {
2160
2163
  credential: {
2161
2164
  "@context": [
2162
2165
  "https://www.w3.org/ns/credentials/v2",
2163
- "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
2166
+ "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json",
2167
+ "https://ctx.learncard.com/boosts/1.0.3.json"
2164
2168
  ],
2165
2169
  id: "urn:uuid:e7b3d1f4-9a26-4c58-b0d3-8f1e2c7a9b56",
2166
2170
  type: ["VerifiableCredential", "OpenBadgeCredential", "BoostCredential"],
@@ -10922,7 +10926,9 @@ var clrWestbridgeFull = {
10922
10926
  "@context": [
10923
10927
  "https://www.w3.org/ns/credentials/v2",
10924
10928
  "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json",
10925
- "https://purl.imsglobal.org/spec/clr/v2p0/context-2.0.1.json"
10929
+ "https://purl.imsglobal.org/spec/clr/v2p0/context.json",
10930
+ "https://purl.imsglobal.org/spec/ob/v3p0/extensions.json",
10931
+ { IssuerPolicy: "https://westbridge.edu/credentials#IssuerPolicy" }
10926
10932
  ],
10927
10933
  id: "urn:uuid:wb-clr-2025-jordan-reyes-001",
10928
10934
  type: ["VerifiableCredential", "ClrCredential"],
@@ -10993,6 +10999,13 @@ var clrWestbridgeFull = {
10993
10999
  }
10994
11000
  ],
10995
11001
  credentialSubject: {
11002
+ // CLR v2's ClrSubject scoped context omits the Open Badges identifier term.
11003
+ "@context": {
11004
+ identifier: {
11005
+ "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identifier",
11006
+ "@container": "@set"
11007
+ }
11008
+ },
10996
11009
  id: "did:example:wb-student-2025-001",
10997
11010
  type: ["ClrSubject"],
10998
11011
  identifier: [