@sd-jwt/sd-jwt-vc 0.6.1-next.7 → 0.6.2-next.1
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/CHANGELOG.md +11 -0
- package/package.json +5 -5
- package/test/app-e2e.spec.ts +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.6.1](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.6.0...v0.6.1) (2024-03-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **sd-jwt-vc:** improve alignment with draft-03 ([#175](https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/175)) ([bcd7d6e](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/bcd7d6e40fff938d06425d69297274400ab9e8a6))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [0.6.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.5.0...v0.6.0) (2024-03-12)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @sd-jwt/sd-jwt-vc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sd-jwt/sd-jwt-vc",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2-next.1+9356aee",
|
|
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.
|
|
42
|
+
"@sd-jwt/core": "0.6.2-next.1+9356aee"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@sd-jwt/crypto-nodejs": "0.6.
|
|
46
|
-
"@sd-jwt/types": "0.6.
|
|
45
|
+
"@sd-jwt/crypto-nodejs": "0.6.2-next.1+9356aee",
|
|
46
|
+
"@sd-jwt/types": "0.6.2-next.1+9356aee"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"esm"
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "9356aee736425adf4b3f0af2123d2bcfb82a28ea"
|
|
65
65
|
}
|
package/test/app-e2e.spec.ts
CHANGED
|
@@ -125,7 +125,10 @@ describe('App', () => {
|
|
|
125
125
|
firstname: true,
|
|
126
126
|
id: true,
|
|
127
127
|
};
|
|
128
|
-
const presentedSDJwt = await sdjwt.present(
|
|
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
|
);
|