@sd-jwt/sd-jwt-vc 0.6.1 → 0.6.2-next.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-jwt/sd-jwt-vc",
3
- "version": "0.6.1",
3
+ "version": "0.6.2-next.2+2e92cb3",
4
4
  "description": "sd-jwt draft 7 implementation in typescript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -39,11 +39,11 @@
39
39
  },
40
40
  "license": "Apache-2.0",
41
41
  "dependencies": {
42
- "@sd-jwt/core": "0.6.1"
42
+ "@sd-jwt/core": "0.6.2-next.2+2e92cb3"
43
43
  },
44
44
  "devDependencies": {
45
- "@sd-jwt/crypto-nodejs": "0.6.1",
46
- "@sd-jwt/types": "0.6.1"
45
+ "@sd-jwt/crypto-nodejs": "0.6.2-next.2+2e92cb3",
46
+ "@sd-jwt/types": "0.6.2-next.2+2e92cb3"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -61,5 +61,5 @@
61
61
  "esm"
62
62
  ]
63
63
  },
64
- "gitHead": "f19b76c7c3a66c539a5eac06ff20ad2ac17dcf47"
64
+ "gitHead": "2e92cb3abc27f6dbde19c7c016bc1f8ba60f9ff6"
65
65
  }
@@ -125,7 +125,10 @@ describe('App', () => {
125
125
  firstname: true,
126
126
  id: true,
127
127
  };
128
- const presentedSDJwt = await sdjwt.present(encodedSdjwt, presentationFrame);
128
+ const presentedSDJwt = await sdjwt.present<typeof claims>(
129
+ encodedSdjwt,
130
+ presentationFrame,
131
+ );
129
132
  expect(presentedSDJwt).toBeDefined();
130
133
 
131
134
  const presentationClaims = await sdjwt.getClaims(presentedSDJwt);
@@ -236,7 +239,7 @@ async function JSONtest(filename: string) {
236
239
  payload,
237
240
  });
238
241
 
239
- const presentedSDJwt = await sdjwt.present(
242
+ const presentedSDJwt = await sdjwt.present<typeof claims>(
240
243
  encodedSdjwt,
241
244
  test.presentationFrames,
242
245
  );