@sd-jwt/jwt-status-list 0.17.1 → 0.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-jwt/jwt-status-list",
3
- "version": "0.17.1",
3
+ "version": "0.17.2-next.1+9e8110d",
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",
@@ -38,11 +38,11 @@
38
38
  "license": "Apache-2.0",
39
39
  "devDependencies": {
40
40
  "@types/pako": "^2.0.4",
41
- "jose": "^6.1.0"
41
+ "jose": "^6.1.2"
42
42
  },
43
43
  "dependencies": {
44
- "@sd-jwt/types": "0.17.0",
45
- "@sd-jwt/utils": "0.17.0",
44
+ "@sd-jwt/types": "0.17.2-next.1+9e8110d",
45
+ "@sd-jwt/utils": "0.17.2-next.1+9e8110d",
46
46
  "pako": "^2.1.0"
47
47
  },
48
48
  "publishConfig": {
@@ -61,5 +61,5 @@
61
61
  "esm"
62
62
  ]
63
63
  },
64
- "gitHead": "1301a03484b285711d7afd7448457348bad96569"
64
+ "gitHead": "9e8110d18a7af714d9eb4aa2c3bd66ce56bf18d9"
65
65
  }
@@ -200,28 +200,22 @@ describe('StatusList', () => {
200
200
  [7], // Invalid bitsPerStatus value
201
201
  [9], // Invalid bitsPerStatus value
202
202
  [10], // Invalid bitsPerStatus value
203
- ])(
204
- 'throws an error for invalid bitsPerStatus value (%i)',
205
- (bitsPerStatus) => {
206
- expect(() => {
207
- new StatusList([], bitsPerStatus as BitsPerStatus);
208
- }).toThrowError('bitsPerStatus must be 1, 2, 4, or 8');
209
- },
210
- );
203
+ ])('throws an error for invalid bitsPerStatus value (%i)', (bitsPerStatus) => {
204
+ expect(() => {
205
+ new StatusList([], bitsPerStatus as BitsPerStatus);
206
+ }).toThrowError('bitsPerStatus must be 1, 2, 4, or 8');
207
+ });
211
208
 
212
209
  test.each<[BitsPerStatus]>([
213
210
  [1], // Valid bitsPerStatus value
214
211
  [2], // Valid bitsPerStatus value
215
212
  [4], // Valid bitsPerStatus value
216
213
  [8], // Valid bitsPerStatus value
217
- ])(
218
- 'does not throw an error for valid bitsPerStatus value (%i)',
219
- (bitsPerStatus) => {
220
- expect(() => {
221
- new StatusList([], bitsPerStatus);
222
- }).not.toThrowError();
223
- },
224
- );
214
+ ])('does not throw an error for valid bitsPerStatus value (%i)', (bitsPerStatus) => {
215
+ expect(() => {
216
+ new StatusList([], bitsPerStatus);
217
+ }).not.toThrowError();
218
+ });
225
219
  });
226
220
  });
227
221
  });