@sd-jwt/sd-jwt-vc 0.7.2-next.10 → 0.7.2-next.11

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.
package/dist/index.js CHANGED
@@ -68,7 +68,7 @@ var SDJwtVcInstance = class _SDJwtVcInstance extends import_core.SDJwtInstance {
68
68
  /**
69
69
  * The type of the SD-JWT-VC set in the header.typ field.
70
70
  */
71
- this.type = "vc+sd-jwt";
71
+ this.type = "dc+sd-jwt";
72
72
  this.userConfig = {};
73
73
  if (userConfig) {
74
74
  this.userConfig = userConfig;
package/dist/index.mjs CHANGED
@@ -36,7 +36,7 @@ var SDJwtVcInstance = class _SDJwtVcInstance extends SDJwtInstance {
36
36
  /**
37
37
  * The type of the SD-JWT-VC set in the header.typ field.
38
38
  */
39
- this.type = "vc+sd-jwt";
39
+ this.type = "dc+sd-jwt";
40
40
  this.userConfig = {};
41
41
  if (userConfig) {
42
42
  this.userConfig = userConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-jwt/sd-jwt-vc",
3
- "version": "0.7.2-next.10+a1474fd",
3
+ "version": "0.7.2-next.11+1aa3aea",
4
4
  "description": "sd-jwt draft 7 implementation in typescript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -39,15 +39,15 @@
39
39
  },
40
40
  "license": "Apache-2.0",
41
41
  "dependencies": {
42
- "@sd-jwt/core": "0.7.2-next.10+a1474fd",
43
- "@sd-jwt/jwt-status-list": "0.7.2-next.10+a1474fd",
44
- "@sd-jwt/utils": "0.7.2-next.10+a1474fd",
42
+ "@sd-jwt/core": "0.7.2-next.11+1aa3aea",
43
+ "@sd-jwt/jwt-status-list": "0.7.2-next.11+1aa3aea",
44
+ "@sd-jwt/utils": "0.7.2-next.11+1aa3aea",
45
45
  "ajv": "^8.17.1",
46
46
  "ajv-formats": "^3.0.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@sd-jwt/crypto-nodejs": "0.7.2-next.10+a1474fd",
50
- "@sd-jwt/types": "0.7.2-next.10+a1474fd",
49
+ "@sd-jwt/crypto-nodejs": "0.7.2-next.11+1aa3aea",
50
+ "@sd-jwt/types": "0.7.2-next.11+1aa3aea",
51
51
  "jose": "^5.2.2",
52
52
  "msw": "^2.3.5"
53
53
  },
@@ -67,5 +67,5 @@
67
67
  "esm"
68
68
  ]
69
69
  },
70
- "gitHead": "a1474fde96ce566138c08dd548a0d7a4a0984158"
70
+ "gitHead": "1aa3aea86213e75328975e34d9bf71410fc7a12a"
71
71
  }
@@ -22,7 +22,7 @@ export class SDJwtVcInstance extends SDJwtInstance<SdJwtVcPayload> {
22
22
  /**
23
23
  * The type of the SD-JWT-VC set in the header.typ field.
24
24
  */
25
- protected type = 'vc+sd-jwt';
25
+ protected type = 'dc+sd-jwt';
26
26
 
27
27
  protected userConfig: SDJWTVCConfig = {};
28
28
 
@@ -235,7 +235,7 @@ async function JSONtest(filename: string) {
235
235
 
236
236
  expect(validated).toBeDefined();
237
237
  expect(validated).toStrictEqual({
238
- header: { alg: 'EdDSA', typ: 'vc+sd-jwt' },
238
+ header: { alg: 'EdDSA', typ: 'dc+sd-jwt' },
239
239
  payload,
240
240
  });
241
241
 
@@ -259,7 +259,7 @@ async function JSONtest(filename: string) {
259
259
 
260
260
  expect(verified).toBeDefined();
261
261
  expect(verified).toStrictEqual({
262
- header: { alg: 'EdDSA', typ: 'vc+sd-jwt' },
262
+ header: { alg: 'EdDSA', typ: 'dc+sd-jwt' },
263
263
  kb: undefined,
264
264
  payload,
265
265
  });