@whook/oauth2 20.0.2 → 20.1.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
@@ -23,7 +23,7 @@
23
23
  }
24
24
  },
25
25
  "name": "@whook/oauth2",
26
- "version": "20.0.2",
26
+ "version": "20.1.1",
27
27
  "description": "OAuth2 implementation for Whook servers",
28
28
  "type": "module",
29
29
  "main": "dist/index.js",
@@ -43,15 +43,15 @@
43
43
  },
44
44
  "homepage": "https://github.com/nfroidure/whook",
45
45
  "dependencies": {
46
- "@whook/authorization": "^20.0.2",
47
- "@whook/whook": "^20.0.2",
46
+ "@whook/authorization": "^20.1.1",
47
+ "@whook/whook": "^20.1.1",
48
48
  "camelcase": "^8.0.0",
49
- "common-services": "^17.0.1",
49
+ "common-services": "^17.1.2",
50
50
  "cookie": "^1.0.2",
51
- "knifecycle": "^19.1.1",
52
- "type-fest": "^4.40.1",
51
+ "knifecycle": "^19.1.3",
52
+ "type-fest": "^5.1.0",
53
53
  "ya-json-schema-types": "^1.0.1",
54
- "ya-open-api-types": "^1.2.0",
54
+ "ya-open-api-types": "^1.2.2",
55
55
  "yerror": "^8.0.0",
56
56
  "yhttperror": "^8.1.0"
57
57
  },
@@ -133,7 +133,7 @@
133
133
  "rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
134
134
  "test": "node --run jest"
135
135
  },
136
- "gitHead": "3a5c04f092b76bd2e96799143264843c23decb69",
136
+ "gitHead": "e19883b5b1c680f9349b2a700d504e1b1f9b4e55",
137
137
  "funding": {
138
138
  "type": "individual",
139
139
  "url": "https://github.com/sponsors/nfroidure"
@@ -1,4 +1,4 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
3
  exports[`OAuth2 server with the client credentials flow should produce new tokens 2`] = `
4
4
  {
@@ -1,4 +1,4 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
3
  exports[`getOAuth2Authorize should redirect 2`] = `
4
4
  {
@@ -1,4 +1,4 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
3
  exports[`postOAuth2Acknowledge should redirect 2`] = `
4
4
  {
@@ -1,4 +1,4 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
3
  exports[`postOAuth2Token should create a token 1`] = `
4
4
  {
@@ -1,4 +1,4 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
3
  exports[`OAuth2CodeGranter should work with a complete valid flow 2`] = `
4
4
  {
@@ -18,7 +18,7 @@ export type OAuth2PasswordGranterParameters = {
18
18
  password: string;
19
19
  scope?: string;
20
20
  };
21
- export type OAuth2PasswordGranterService<> = OAuth2GranterService<
21
+ export type OAuth2PasswordGranterService = OAuth2GranterService<
22
22
  Record<string, unknown>,
23
23
  Record<string, unknown>,
24
24
  OAuth2PasswordGranterParameters