@kronos-integration/service-authenticator 1.6.46 → 1.6.47

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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019-2022 by Kronos-Integration
1
+ Copyright (c) 2019-2023 by Kronos-Integration
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/service-authenticator",
3
- "version": "1.6.46",
3
+ "version": "1.6.47",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,23 +29,23 @@
29
29
  "lint:docs": "documentation lint ./src/**/*.mjs"
30
30
  },
31
31
  "dependencies": {
32
- "@kronos-integration/endpoint": "^9.4.37",
33
- "@kronos-integration/service": "^10.4.36",
34
- "jsonwebtoken": "^8.5.1",
35
- "model-attributes": "^4.2.1"
32
+ "@kronos-integration/endpoint": "^9.4.41",
33
+ "@kronos-integration/service": "^10.4.41",
34
+ "jsonwebtoken": "^9.0.0",
35
+ "model-attributes": "^4.2.2"
36
36
  },
37
37
  "devDependencies": {
38
- "ava": "^5.1.0",
39
- "c8": "^7.12.0",
38
+ "ava": "^5.2.0",
39
+ "c8": "^7.13.0",
40
40
  "documentation": "^14.0.1",
41
- "semantic-release": "^19.0.5"
41
+ "semantic-release": "^20.1.0"
42
42
  },
43
43
  "engines": {
44
- "node": ">=18.12.1"
44
+ "node": ">=18.14.1"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",
48
- "url": "https://github.com/Kronos-Integration/service-authenticator.git"
48
+ "url": "https://github.com/Kronos-Integration/service-authenticator"
49
49
  },
50
50
  "bugs": {
51
51
  "url": "https://github.com/Kronos-Integration/service-authenticator/issues"
@@ -143,7 +143,7 @@ export class ServiceAuthenticator extends Service {
143
143
  for (const e of this.authEndpoints) {
144
144
  const response = await e.send(credentials);
145
145
 
146
- if (response && response.entitlements) {
146
+ if (response?.entitlements) {
147
147
  entitlements = [...response.entitlements];
148
148
  break;
149
149
  }