@sd-jwt/jwt-status-list 0.15.2-next.8 → 0.16.0
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 +17 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
- 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,6 +3,23 @@
|
|
|
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.16.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.15.1...v0.16.0) (2025-10-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* change repo url from labs to other one ([#323](https://github.com/openwallet-foundation/sd-jwt-js/issues/323)) ([f68c847](https://github.com/openwallet-foundation/sd-jwt-js/commit/f68c8476c2f04bb9d53acd4059b59caf271df015))
|
|
12
|
+
* set correct url in package json ([#321](https://github.com/openwallet-foundation/sd-jwt-js/issues/321)) ([554152c](https://github.com/openwallet-foundation/sd-jwt-js/commit/554152cc819bbc3afb504b25f4a2018a92fb72f1))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* updates all dependencies to latest versions + biome updates ([#324](https://github.com/openwallet-foundation/sd-jwt-js/issues/324)) ([75d5780](https://github.com/openwallet-foundation/sd-jwt-js/commit/75d5780fb53c5e2c886537b283503fc6fb088a4a))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
# [0.15.0](https://github.com/openwallet-foundation/sd-jwt-js/compare/v0.14.1...v0.15.0) (2025-08-20)
|
|
7
24
|
|
|
8
25
|
**Note:** Version bump only for package @sd-jwt/jwt-status-list
|
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.
|
|
3
|
+
"version": "0.16.0",
|
|
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,7 +25,7 @@
|
|
|
25
25
|
"sd-jwt"
|
|
26
26
|
],
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=20"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
31
31
|
"url": "https://github.com/openwallet-foundation/sd-jwt-js"
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
},
|
|
38
38
|
"license": "Apache-2.0",
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@types/pako": "^2.0.
|
|
41
|
-
"jose": "^
|
|
40
|
+
"@types/pako": "^2.0.4",
|
|
41
|
+
"jose": "^6.1.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@sd-jwt/types": "0.
|
|
44
|
+
"@sd-jwt/types": "0.16.0",
|
|
45
45
|
"base64url": "^3.0.1",
|
|
46
46
|
"pako": "^2.1.0"
|
|
47
47
|
},
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"esm"
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "910c79c1607e91ae61e048a0c1b81c9ba0886684"
|
|
65
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;
|