@sd-jwt/types 0.15.2-next.1 → 0.15.2-next.10

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 CHANGED
@@ -3,7 +3,7 @@
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.15.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.14.1...v0.15.0) (2025-08-20)
6
+ # [0.15.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.14.1...v0.15.0) (2025-08-20)
7
7
 
8
8
  **Note:** Version bump only for package @sd-jwt/types
9
9
 
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- # [0.14.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.13.0...v0.14.0) (2025-06-30)
14
+ # [0.14.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.13.0...v0.14.0) (2025-06-30)
15
15
 
16
16
  **Note:** Version bump only for package @sd-jwt/types
17
17
 
@@ -19,7 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
19
 
20
20
 
21
21
 
22
- # [0.13.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.12.0...v0.13.0) (2025-06-25)
22
+ # [0.13.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.12.0...v0.13.0) (2025-06-25)
23
23
 
24
24
  **Note:** Version bump only for package @sd-jwt/types
25
25
 
@@ -27,7 +27,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
27
 
28
28
 
29
29
 
30
- # [0.12.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.11.0...v0.12.0) (2025-06-21)
30
+ # [0.12.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.11.0...v0.12.0) (2025-06-21)
31
31
 
32
32
  **Note:** Version bump only for package @sd-jwt/types
33
33
 
@@ -35,7 +35,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
35
35
 
36
36
 
37
37
 
38
- # [0.11.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.10.0...v0.11.0) (2025-06-17)
38
+ # [0.11.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.10.0...v0.11.0) (2025-06-17)
39
39
 
40
40
  **Note:** Version bump only for package @sd-jwt/types
41
41
 
@@ -43,7 +43,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
43
43
 
44
44
 
45
45
 
46
- # [0.10.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.9.2...v0.10.0) (2025-03-24)
46
+ # [0.10.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.9.2...v0.10.0) (2025-03-24)
47
47
 
48
48
  **Note:** Version bump only for package @sd-jwt/types
49
49
 
@@ -51,18 +51,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
51
51
 
52
52
 
53
53
 
54
- ## [0.9.2](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.9.1...v0.9.2) (2025-01-29)
54
+ ## [0.9.2](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.9.1...v0.9.2) (2025-01-29)
55
55
 
56
56
 
57
57
  ### Bug Fixes
58
58
 
59
- * Frame fails when a type with an optional or nullable field is used ([#272](https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/272)) ([ed907e3](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/ed907e33c79f140268a03098af1e8c5cc1003ce9))
59
+ * Frame fails when a type with an optional or nullable field is used ([#272](https://github.com/openwallet-foundation/sd-jwt-js/issues/272)) ([ed907e3](https://github.com/openwallet-foundation/sd-jwt-js/commit/ed907e33c79f140268a03098af1e8c5cc1003ce9))
60
60
 
61
61
 
62
62
 
63
63
 
64
64
 
65
- ## [0.9.1](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.9.0...v0.9.1) (2024-12-13)
65
+ ## [0.9.1](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.9.0...v0.9.1) (2024-12-13)
66
66
 
67
67
  **Note:** Version bump only for package @sd-jwt/types
68
68
 
@@ -70,7 +70,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
70
70
 
71
71
 
72
72
 
73
- # [0.9.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.8.0...v0.9.0) (2024-12-10)
73
+ # [0.9.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.8.0...v0.9.0) (2024-12-10)
74
74
 
75
75
  **Note:** Version bump only for package @sd-jwt/types
76
76
 
@@ -78,7 +78,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
78
78
 
79
79
 
80
80
 
81
- # [0.8.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.7.2...v0.8.0) (2024-11-26)
81
+ # [0.8.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.7.2...v0.8.0) (2024-11-26)
82
82
 
83
83
  **Note:** Version bump only for package @sd-jwt/types
84
84
 
@@ -86,7 +86,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
86
86
 
87
87
 
88
88
 
89
- ## [0.7.2](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.7.1...v0.7.2) (2024-07-19)
89
+ ## [0.7.2](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.7.1...v0.7.2) (2024-07-19)
90
90
 
91
91
  **Note:** Version bump only for package @sd-jwt/types
92
92
 
@@ -94,7 +94,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
94
94
 
95
95
 
96
96
 
97
- ## [0.7.1](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.7.0...v0.7.1) (2024-05-21)
97
+ ## [0.7.1](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.7.0...v0.7.1) (2024-05-21)
98
98
 
99
99
  **Note:** Version bump only for package @sd-jwt/types
100
100
 
@@ -102,7 +102,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
102
102
 
103
103
 
104
104
 
105
- # [0.7.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.6.1...v0.7.0) (2024-05-13)
105
+ # [0.7.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.6.1...v0.7.0) (2024-05-13)
106
106
 
107
107
  **Note:** Version bump only for package @sd-jwt/types
108
108
 
@@ -110,7 +110,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
110
110
 
111
111
 
112
112
 
113
- ## [0.6.1](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.6.0...v0.6.1) (2024-03-18)
113
+ ## [0.6.1](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.6.0...v0.6.1) (2024-03-18)
114
114
 
115
115
  **Note:** Version bump only for package @sd-jwt/types
116
116
 
@@ -118,7 +118,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
118
118
 
119
119
 
120
120
 
121
- # [0.6.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.5.0...v0.6.0) (2024-03-12)
121
+ # [0.6.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.5.0...v0.6.0) (2024-03-12)
122
122
 
123
123
  **Note:** Version bump only for package @sd-jwt/types
124
124
 
@@ -126,12 +126,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
126
126
 
127
127
 
128
128
 
129
- # [0.5.0](https://github.com/openwallet-foundation-labs/sd-jwt-js/compare/v0.4.0...v0.5.0) (2024-03-11)
129
+ # [0.5.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.4.0...v0.5.0) (2024-03-11)
130
130
 
131
131
 
132
132
  ### Features
133
133
 
134
- * make _digest value public in disclosure ([#151](https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/151)) ([7a3fbd7](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/7a3fbd7db19b6501978340c972b171743d287285))
134
+ * make _digest value public in disclosure ([#151](https://github.com/openwallet-foundation/sd-jwt-js/issues/151)) ([7a3fbd7](https://github.com/openwallet-foundation/sd-jwt-js/commit/7a3fbd7db19b6501978340c972b171743d287285))
135
135
 
136
136
 
137
137
 
@@ -142,15 +142,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
142
142
 
143
143
  ### Bug Fixes
144
144
 
145
- * add publish config ([#93](https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/93)) ([2e4c5c1](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/2e4c5c176dc88e58e49d06783b7658d8ad872313))
146
- * format file ([28202b2](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/28202b20daf80225cea0f5415a14b623276c6188))
147
- * implement kbverify function ([#127](https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/127)) ([e5609f2](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/e5609f26fab8c4991d3bd6c36066a95a30cfb972))
148
- * update type of credential ([63d5ebb](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/63d5ebb4e3e5dd34ae8f82b2ef890a9b2647654f))
145
+ * add publish config ([#93](https://github.com/openwallet-foundation/sd-jwt-js/issues/93)) ([2e4c5c1](https://github.com/openwallet-foundation/sd-jwt-js/commit/2e4c5c176dc88e58e49d06783b7658d8ad872313))
146
+ * format file ([28202b2](https://github.com/openwallet-foundation/sd-jwt-js/commit/28202b20daf80225cea0f5415a14b623276c6188))
147
+ * implement kbverify function ([#127](https://github.com/openwallet-foundation/sd-jwt-js/issues/127)) ([e5609f2](https://github.com/openwallet-foundation/sd-jwt-js/commit/e5609f26fab8c4991d3bd6c36066a95a30cfb972))
148
+ * update type of credential ([63d5ebb](https://github.com/openwallet-foundation/sd-jwt-js/commit/63d5ebb4e3e5dd34ae8f82b2ef890a9b2647654f))
149
149
 
150
150
 
151
151
  ### Features
152
152
 
153
- * add jwk type ([#130](https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/130)) ([8ce255a](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/8ce255a64b0940e92e647aa544bf5990b48279b7))
154
- * add new package for sd-jwt-vc ([ed99188](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/ed99188f13184d58db64b4211e39fb67f3f78cb5))
155
- * calcuate sd_hash in kb JWT ([#117](https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/117)) ([3415550](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/3415550fbcd99f97babff442a4928cc827c5c9cc))
156
- * restore rsa type in JWK ([#137](https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/137)) ([fe0d8f6](https://github.com/openwallet-foundation-labs/sd-jwt-js/commit/fe0d8f6a3249dfea27b08f82165555de389efe1d))
153
+ * add jwk type ([#130](https://github.com/openwallet-foundation/sd-jwt-js/issues/130)) ([8ce255a](https://github.com/openwallet-foundation/sd-jwt-js/commit/8ce255a64b0940e92e647aa544bf5990b48279b7))
154
+ * add new package for sd-jwt-vc ([ed99188](https://github.com/openwallet-foundation/sd-jwt-js/commit/ed99188f13184d58db64b4211e39fb67f3f78cb5))
155
+ * calcuate sd_hash in kb JWT ([#117](https://github.com/openwallet-foundation/sd-jwt-js/issues/117)) ([3415550](https://github.com/openwallet-foundation/sd-jwt-js/commit/3415550fbcd99f97babff442a4928cc827c5c9cc))
156
+ * restore rsa type in JWK ([#137](https://github.com/openwallet-foundation/sd-jwt-js/issues/137)) ([fe0d8f6](https://github.com/openwallet-foundation/sd-jwt-js/commit/fe0d8f6a3249dfea27b08f82165555de389efe1d))
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- ![License](https://img.shields.io/github/license/openwallet-foundation-labs/sd-jwt-js.svg)
1
+ ![License](https://img.shields.io/github/license/openwallet-foundation/sd-jwt-js.svg)
2
2
  ![NPM](https://img.shields.io/npm/v/%40sd-jwt%2Ftypes)
3
- ![Release](https://img.shields.io/github/v/release/openwallet-foundation-labs/sd-jwt-js)
4
- ![Stars](https://img.shields.io/github/stars/openwallet-foundation-labs/sd-jwt-js)
3
+ ![Release](https://img.shields.io/github/v/release/openwallet-foundation/sd-jwt-js)
4
+ ![Stars](https://img.shields.io/github/stars/openwallet-foundation/sd-jwt-js)
5
5
 
6
6
  # SD-JWT Implementation in JavaScript (TypeScript)
7
7
 
@@ -11,7 +11,7 @@
11
11
 
12
12
  Types for SD JWT
13
13
 
14
- Check the detail description in our github [repo](https://github.com/openwallet-foundation-labs/sd-jwt-js).
14
+ Check the detail description in our github [repo](https://github.com/openwallet-foundation/sd-jwt-js).
15
15
 
16
16
  ### Installation
17
17
 
@@ -32,7 +32,7 @@ Ensure you have Node.js installed as a prerequisite.
32
32
 
33
33
  ### Usage
34
34
 
35
- Check out more details in our [documentation](https://github.com/openwallet-foundation-labs/sd-jwt-js/tree/main/docs) or [examples](https://github.com/openwallet-foundation-labs/sd-jwt-js/tree/main/examples)
35
+ Check out more details in our [documentation](https://github.com/openwallet-foundation/sd-jwt-js/tree/main/docs) or [examples](https://github.com/openwallet-foundation/sd-jwt-js/tree/main/examples)
36
36
 
37
37
  ### Dependencies
38
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-jwt/types",
3
- "version": "0.15.2-next.1+650bde5",
3
+ "version": "0.15.2-next.10+aa121b1",
4
4
  "description": "sd-jwt draft 7 implementation in typescript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -25,16 +25,15 @@
25
25
  "sd-jwt-vc"
26
26
  ],
27
27
  "engines": {
28
- "node": ">=18"
28
+ "node": ">=20"
29
29
  },
30
30
  "repository": {
31
- "type": "git",
32
- "url": "https://github.com/openwallet-foundation-labs/sd-jwt-js"
31
+ "url": "https://github.com/openwallet-foundation/sd-jwt-js"
33
32
  },
34
33
  "author": "Lukas.J.Han <lukas.j.han@gmail.com>",
35
- "homepage": "https://github.com/openwallet-foundation-labs/sd-jwt-js/wiki",
34
+ "homepage": "https://github.com/openwallet-foundation/sd-jwt-js/wiki",
36
35
  "bugs": {
37
- "url": "https://github.com/openwallet-foundation-labs/sd-jwt-js/issues"
36
+ "url": "https://github.com/openwallet-foundation/sd-jwt-js/issues"
38
37
  },
39
38
  "license": "Apache-2.0",
40
39
  "publishConfig": {
@@ -53,5 +52,5 @@
53
52
  "esm"
54
53
  ]
55
54
  },
56
- "gitHead": "650bde5a066e4f67aa9a6cdecacd49f9344a1f32"
55
+ "gitHead": "aa121b187ecfa287bd5b104666b876ce3d18b3f4"
57
56
  }
@@ -1,12 +1,12 @@
1
1
  import { describe, expect, test } from 'vitest';
2
2
  import {
3
- SD_SEPARATOR,
4
- SD_LIST_KEY,
5
- SD_DIGEST,
6
- SD_DECOY,
7
- KB_JWT_TYP,
8
3
  type DisclosureFrame,
4
+ KB_JWT_TYP,
9
5
  type PresentationFrame,
6
+ SD_DECOY,
7
+ SD_DIGEST,
8
+ SD_LIST_KEY,
9
+ SD_SEPARATOR,
10
10
  } from '../index';
11
11
 
12
12
  const claims = {