@mcp-abap-adt/auth-broker 1.0.7 → 1.0.8

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -11,6 +11,28 @@ Thank you to all contributors! See [CONTRIBUTORS.md](CONTRIBUTORS.md) for the co
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [1.0.8] - 2026-07-29
15
+
16
+ ### Changed
17
+ - Requires `@mcp-abap-adt/auth-providers` `^1.2.0` (was `^1.0.5`), which gives every callback
18
+ server one owner and one release point. A callback port is now held for the duration of a
19
+ login and nothing longer: it is released when the login ends — by success, failure, timeout
20
+ or cancellation — and the promise settles only once the socket is actually free.
21
+
22
+ This matters here because `AuthBroker` classifies a failure by matching
23
+ `/authentication timeout|browser authentication|already in use/i`. Before this,
24
+ `already in use` could be reported while the port was still in the process of being
25
+ released, or long after a previous login had abandoned it. The message is unchanged; what
26
+ changed is that it is now always true when it appears.
27
+
28
+ - **`engines.node` is now `>=18.2.0`** (was `>=18.0.0`), matching the floor `auth-providers`
29
+ requires for `server.closeAllConnections()`.
30
+
31
+ ### Notes
32
+ - No API change. The bump is a realignment: consumers get the fixed callback lifetime without
33
+ touching their own code.
34
+
35
+
14
36
  ## [1.0.7] - 2026-06-08
15
37
 
16
38
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/auth-broker",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "JWT authentication broker for MCP ABAP ADT - manages tokens based on destination headers",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -59,17 +59,16 @@
59
59
  "mcp-sso": "./dist/bin/mcp-sso.js"
60
60
  },
61
61
  "engines": {
62
- "node": ">=18.0.0"
62
+ "node": ">=18.2.0"
63
63
  },
64
64
  "dependencies": {
65
- "@mcp-abap-adt/auth-providers": "^1.0.5",
65
+ "@mcp-abap-adt/auth-providers": "^1.2.0",
66
66
  "@mcp-abap-adt/auth-stores": "^1.0.2",
67
67
  "@mcp-abap-adt/interfaces": "^2.3.0",
68
68
  "axios": "^1.13.5"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@biomejs/biome": "^2.3.14",
72
- "tsx": "^4.21.0",
73
72
  "@mcp-abap-adt/logger": "^0.1.4",
74
73
  "@types/express": "^5.0.5",
75
74
  "@types/jest": "^30.0.0",
@@ -81,6 +80,7 @@
81
80
  "pino": "^10.1.0",
82
81
  "pino-pretty": "^13.1.3",
83
82
  "ts-jest": "^29.2.5",
83
+ "tsx": "^4.21.0",
84
84
  "typescript": "^5.9.2"
85
85
  }
86
86
  }