@kronos-integration/service-authenticator 1.6.55 → 1.6.56
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 +11 -10
- package/src/service-authenticator.mjs +2 -1
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kronos-integration/service-authenticator",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.56",
|
|
4
4
|
"publishConfig": {
|
|
5
|
-
"access": "public"
|
|
5
|
+
"access": "public",
|
|
6
|
+
"provenance": true
|
|
6
7
|
},
|
|
7
8
|
"exports": {
|
|
8
9
|
".": "./src/service-authenticator.mjs"
|
|
@@ -28,23 +29,23 @@
|
|
|
28
29
|
"lint:docs": "documentation lint ./src/**/*.mjs"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@kronos-integration/endpoint": "^9.4
|
|
32
|
-
"@kronos-integration/service": "^
|
|
32
|
+
"@kronos-integration/endpoint": "^9.5.4",
|
|
33
|
+
"@kronos-integration/service": "^11.0.0",
|
|
33
34
|
"jsonwebtoken": "^9.0.2",
|
|
34
35
|
"model-attributes": "^4.2.2"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"ava": "^6.
|
|
38
|
-
"c8": "^9.
|
|
39
|
-
"documentation": "^14.0.
|
|
40
|
-
"semantic-release": "^
|
|
38
|
+
"ava": "^6.1.3",
|
|
39
|
+
"c8": "^9.1.0",
|
|
40
|
+
"documentation": "^14.0.3",
|
|
41
|
+
"semantic-release": "^23.1.1"
|
|
41
42
|
},
|
|
42
43
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
44
|
+
"node": ">=22.2.0"
|
|
44
45
|
},
|
|
45
46
|
"repository": {
|
|
46
47
|
"type": "git",
|
|
47
|
-
"url": "https://github.com/Kronos-Integration/service-authenticator"
|
|
48
|
+
"url": "git+https://github.com/Kronos-Integration/service-authenticator.git"
|
|
48
49
|
},
|
|
49
50
|
"bugs": {
|
|
50
51
|
"url": "https://github.com/Kronos-Integration/service-authenticator/issues"
|
|
@@ -11,7 +11,7 @@ export const verifyJWT = promisify(jwt.verify);
|
|
|
11
11
|
* @property {string} access_token
|
|
12
12
|
* @property {string} refresh_token
|
|
13
13
|
* @property {string} token_type always "Bearer"
|
|
14
|
-
* @property {number}
|
|
14
|
+
* @property {number} expires_in seconds the access token is valid
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -109,6 +109,7 @@ export class ServiceAuthenticator extends Service {
|
|
|
109
109
|
async changePassword(request) {
|
|
110
110
|
this.info(request);
|
|
111
111
|
|
|
112
|
+
let response;
|
|
112
113
|
for (const e of this.changePasswordEndpoints) {
|
|
113
114
|
response = await e.send(request);
|
|
114
115
|
}
|