@sd-jwt/jwt-status-list 0.15.2-next.4 → 0.15.2-next.9
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 +13 -13
- package/README.md +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -10
- package/src/status-list-jwt.ts +2 -2
- package/src/status-list.ts +1 -1
- package/src/test/status-list-jwt.spec.ts +6 -6
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
|
|
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/jwt-status-list
|
|
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
|
|
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/jwt-status-list
|
|
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
|
|
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/jwt-status-list
|
|
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
|
|
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/jwt-status-list
|
|
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
|
|
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/jwt-status-list
|
|
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
|
|
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/jwt-status-list
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
## [0.9.2](https://github.com/openwallet-foundation
|
|
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
|
**Note:** Version bump only for package @sd-jwt/jwt-status-list
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
## [0.9.1](https://github.com/openwallet-foundation
|
|
62
|
+
## [0.9.1](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.9.0...v0.9.1) (2024-12-13)
|
|
63
63
|
|
|
64
64
|
**Note:** Version bump only for package @sd-jwt/jwt-status-list
|
|
65
65
|
|
|
@@ -67,7 +67,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
# [0.9.0](https://github.com/openwallet-foundation
|
|
70
|
+
# [0.9.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.8.0...v0.9.0) (2024-12-10)
|
|
71
71
|
|
|
72
72
|
**Note:** Version bump only for package @sd-jwt/jwt-status-list
|
|
73
73
|
|
|
@@ -75,7 +75,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
# [0.8.0](https://github.com/openwallet-foundation
|
|
78
|
+
# [0.8.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.7.2...v0.8.0) (2024-11-26)
|
|
79
79
|
|
|
80
80
|
**Note:** Version bump only for package @sd-jwt/jwt-status-list
|
|
81
81
|
|
|
@@ -83,7 +83,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
## [0.7.2](https://github.com/openwallet-foundation
|
|
86
|
+
## [0.7.2](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.7.1...v0.7.2) (2024-07-19)
|
|
87
87
|
|
|
88
88
|
**Note:** Version bump only for package @sd-jwt/jwt-status-list
|
|
89
89
|
|
|
@@ -91,7 +91,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
## [0.7.1](https://github.com/openwallet-foundation
|
|
94
|
+
## [0.7.1](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.7.0...v0.7.1) (2024-05-21)
|
|
95
95
|
|
|
96
96
|
**Note:** Version bump only for package @sd-jwt/jwt-status-list
|
|
97
97
|
|
|
@@ -99,6 +99,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
# [0.7.0](https://github.com/openwallet-foundation
|
|
102
|
+
# [0.7.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.6.1...v0.7.0) (2024-05-13)
|
|
103
103
|
|
|
104
104
|
**Note:** Version bump only for package @sd-jwt/jwt-status-list
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-

|
|
2
2
|

|
|
3
|
-

|
|
4
|
+

|
|
5
5
|
|
|
6
6
|
# SD-JWT Implementation in JavaScript (TypeScript)
|
|
7
7
|
|
package/dist/index.js
CHANGED
|
@@ -38,8 +38,8 @@ __export(index_exports, {
|
|
|
38
38
|
module.exports = __toCommonJS(index_exports);
|
|
39
39
|
|
|
40
40
|
// src/status-list.ts
|
|
41
|
-
var import_pako = require("pako");
|
|
42
41
|
var import_base64url = __toESM(require("base64url"));
|
|
42
|
+
var import_pako = require("pako");
|
|
43
43
|
var StatusList = class _StatusList {
|
|
44
44
|
/**
|
|
45
45
|
* Create a new StatusListManager instance.
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sd-jwt/jwt-status-list",
|
|
3
|
-
"version": "0.15.2-next.
|
|
3
|
+
"version": "0.15.2-next.9+75d5780",
|
|
4
4
|
"description": "Implementation based on https://datatracker.ietf.org/doc/draft-ietf-oauth-status-list/",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -25,24 +25,23 @@
|
|
|
25
25
|
"sd-jwt"
|
|
26
26
|
],
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=20"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
31
|
-
"
|
|
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": "Mirko Mollik <mirkomollik@gmail.com>",
|
|
35
|
-
"homepage": "https://github.com/openwallet-foundation
|
|
34
|
+
"homepage": "https://github.com/openwallet-foundation/sd-jwt-js/wiki",
|
|
36
35
|
"bugs": {
|
|
37
|
-
"url": "https://github.com/openwallet-foundation
|
|
36
|
+
"url": "https://github.com/openwallet-foundation/sd-jwt-js/issues"
|
|
38
37
|
},
|
|
39
38
|
"license": "Apache-2.0",
|
|
40
39
|
"devDependencies": {
|
|
41
|
-
"@types/pako": "^2.0.
|
|
42
|
-
"jose": "^
|
|
40
|
+
"@types/pako": "^2.0.4",
|
|
41
|
+
"jose": "^6.1.0"
|
|
43
42
|
},
|
|
44
43
|
"dependencies": {
|
|
45
|
-
"@sd-jwt/types": "0.15.2-next.
|
|
44
|
+
"@sd-jwt/types": "0.15.2-next.9+75d5780",
|
|
46
45
|
"base64url": "^3.0.1",
|
|
47
46
|
"pako": "^2.1.0"
|
|
48
47
|
},
|
|
@@ -62,5 +61,5 @@
|
|
|
62
61
|
"esm"
|
|
63
62
|
]
|
|
64
63
|
},
|
|
65
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "75d5780fb53c5e2c886537b283503fc6fb088a4a"
|
|
66
65
|
}
|
package/src/status-list-jwt.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { JwtPayload } from '@sd-jwt/types';
|
|
2
|
+
import base64Url from 'base64url';
|
|
2
3
|
import { StatusList } from './status-list';
|
|
3
4
|
import type {
|
|
4
5
|
JWTwithStatusListPayload,
|
|
5
|
-
StatusListJWTHeaderParameters,
|
|
6
6
|
StatusListEntry,
|
|
7
|
+
StatusListJWTHeaderParameters,
|
|
7
8
|
StatusListJWTPayload,
|
|
8
9
|
} from './types';
|
|
9
|
-
import base64Url from 'base64url';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Decode a JWT and return the payload.
|
package/src/status-list.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { generateKeyPairSync } from 'node:crypto';
|
|
2
|
+
import type { JwtPayload } from '@sd-jwt/types';
|
|
3
|
+
import { jwtVerify, type KeyLike, SignJWT } from 'jose';
|
|
4
|
+
import { beforeAll, describe, expect, it } from 'vitest';
|
|
5
|
+
import { StatusList } from '../status-list';
|
|
1
6
|
import {
|
|
2
7
|
createHeaderAndPayload,
|
|
3
8
|
getListFromStatusListJWT,
|
|
4
9
|
getStatusListFromJWT,
|
|
5
10
|
} from '../status-list-jwt';
|
|
6
11
|
import type {
|
|
7
|
-
StatusListJWTHeaderParameters,
|
|
8
12
|
JWTwithStatusListPayload,
|
|
13
|
+
StatusListJWTHeaderParameters,
|
|
9
14
|
} from '../types';
|
|
10
|
-
import { StatusList } from '../status-list';
|
|
11
|
-
import { jwtVerify, type KeyLike, SignJWT } from 'jose';
|
|
12
|
-
import { beforeAll, describe, expect, it } from 'vitest';
|
|
13
|
-
import { generateKeyPairSync } from 'node:crypto';
|
|
14
|
-
import type { JwtPayload } from '@sd-jwt/types';
|
|
15
15
|
|
|
16
16
|
describe('JWTStatusList', () => {
|
|
17
17
|
let publicKey: KeyLike;
|