@mcp-abap-adt/auth-broker 2.1.0 → 2.2.0
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/CHANGELOG.md +47 -1
- package/README.md +1 -1
- package/dist/AuthBroker.d.ts +2 -1
- package/dist/AuthBroker.d.ts.map +1 -1
- package/dist/AuthBroker.js +13 -13
- package/dist/__tests__/helpers/testLogger.d.ts +1 -1
- package/dist/__tests__/helpers/testLogger.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/providers/ITokenProvider.d.ts +3 -2
- package/dist/providers/ITokenProvider.d.ts.map +1 -1
- package/dist/stores/interfaces.d.ts +1 -1
- package/dist/stores/interfaces.d.ts.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -5
package/CHANGELOG.md
CHANGED
|
@@ -9,7 +9,53 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
Thank you to all contributors! See [CONTRIBUTORS.md](CONTRIBUTORS.md) for the complete list.
|
|
11
11
|
|
|
12
|
-
## [
|
|
12
|
+
## [2.2.0] - 2026-09-24
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **The contracts come from the packages that declare them, not from the deleted
|
|
17
|
+
facade.** `@mcp-abap-adt/interfaces@^2.3.0` is replaced by
|
|
18
|
+
`interfaces-auth@^1.2.0`, `interfaces-auth-sap@^1.0.0` and
|
|
19
|
+
`interfaces-utils@^1.1.0`; 7 files repointed, and the three types this package
|
|
20
|
+
re-exports for convenience now come from their declaring packages.
|
|
21
|
+
|
|
22
|
+
| from | names |
|
|
23
|
+
|---|---|
|
|
24
|
+
| `interfaces-auth` | `ITokenProvider`, `ITokenProviderOptions`, `ITokenRefresher`, `ITokenResult`, `STORE_ERROR_CODES` |
|
|
25
|
+
| `interfaces-auth-sap` | `AuthType`, `IAuthorizationConfig`, `IConfig`, `IConnectionConfig`, `IServiceKeyStore`, `ISessionStore` |
|
|
26
|
+
| `interfaces-utils` | `ILogger` |
|
|
27
|
+
|
|
28
|
+
Of the 12 names this package imports, **not one is an ADT contract** — it was
|
|
29
|
+
pinned at facade major 2 while the facade passed 51, to describe token
|
|
30
|
+
brokering.
|
|
31
|
+
|
|
32
|
+
- **Three implementation ranges move with it, and they are what keep the deleted
|
|
33
|
+
facade out of the tree** rather than only out of this `package.json`:
|
|
34
|
+
`@mcp-abap-adt/auth-stores@^1.2.0` (was `^1.0.2`),
|
|
35
|
+
`@mcp-abap-adt/auth-providers@^2.2.0` (was `^2.0.0`) and
|
|
36
|
+
`@mcp-abap-adt/logger@^0.4.0` (was `^0.1.4`). Each of the three older versions
|
|
37
|
+
declares `@mcp-abap-adt/interfaces`, so any one of them put a copy of it in a
|
|
38
|
+
consumer's tree. Measured after installing:
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
$ npm ls @mcp-abap-adt/interfaces
|
|
42
|
+
@mcp-abap-adt/auth-broker@2.2.0
|
|
43
|
+
└── (empty)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
- **`bin/mcp-sso.ts` took `ILogger` from the facade**, and nothing noticed until
|
|
47
|
+
the facade left the tree — at which point `tsc` refused the build with
|
|
48
|
+
`TS2307: Cannot find module '@mcp-abap-adt/interfaces'`. It comes from
|
|
49
|
+
`interfaces-utils` now. The repoint had covered `src/` only; the CLI is built by
|
|
50
|
+
its own `tsconfig.cli.json`, which is why a green `src` build said nothing about
|
|
51
|
+
it.
|
|
52
|
+
|
|
53
|
+
- **Two export lists sorted**, in `src/types.ts` and
|
|
54
|
+
`src/providers/ITokenProvider.ts`. `biome@2.5.14` flags
|
|
55
|
+
`assist/source/organizeImports` on them and `^2.3.14` admits that version, so a
|
|
56
|
+
fresh install made `prepublishOnly` fail on two lint errors in source nobody had
|
|
57
|
+
touched. It happened once here before it was fixed.
|
|
58
|
+
|
|
13
59
|
|
|
14
60
|
## [2.1.0] - 2026-09-03
|
|
15
61
|
|
package/README.md
CHANGED
|
@@ -512,7 +512,7 @@ Gets authentication token for destination. Implements a three-step flow:
|
|
|
512
512
|
The broker implements comprehensive error handling for all external operations, treating all injected dependencies as untrusted:
|
|
513
513
|
|
|
514
514
|
```typescript
|
|
515
|
-
import { STORE_ERROR_CODES } from '@mcp-abap-adt/interfaces';
|
|
515
|
+
import { STORE_ERROR_CODES } from '@mcp-abap-adt/interfaces-auth';
|
|
516
516
|
|
|
517
517
|
try {
|
|
518
518
|
const token = await broker.getToken('TRIAL');
|
package/dist/AuthBroker.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Main AuthBroker class for managing JWT tokens based on destinations
|
|
3
3
|
*/
|
|
4
|
-
import
|
|
4
|
+
import type { ITokenRefresher } from '@mcp-abap-adt/interfaces-auth';
|
|
5
|
+
import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
5
6
|
import type { ITokenProvider } from './providers';
|
|
6
7
|
import type { IAuthorizationConfig, IConnectionConfig, IServiceKeyStore, ISessionStore } from './stores/interfaces';
|
|
7
8
|
/**
|
package/dist/AuthBroker.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthBroker.d.ts","sourceRoot":"","sources":["../src/AuthBroker.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"AuthBroker.d.ts","sourceRoot":"","sources":["../src/AuthBroker.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,eAAe,EAEhB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACd,MAAM,qBAAqB,CAAC;AA8D7B;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,mEAAmE;IACnE,YAAY,EAAE,aAAa,CAAC;IAC5B,uEAAuE;IACvE,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,4IAA4I;IAC5I,aAAa,EAAE,cAAc,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,OAAO,CAAqB;IACpC,OAAO,CAAC,MAAM,CAAU;IACxB,OAAO,CAAC,eAAe,CAA+B;IACtD,OAAO,CAAC,YAAY,CAAgB;IACpC,OAAO,CAAC,aAAa,CAAiB;IACtC,OAAO,CAAC,gBAAgB,CAAU;IAElC;;;;;;;;;;;OAWG;gBACS,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO;IAsFxE;;OAEG;YACW,eAAe;IA0D7B;;OAEG;YACW,aAAa;IAoD3B;;OAEG;YACW,oCAAoC;IA4ClD;;OAEG;YACW,kBAAkB;YA4ClB,aAAa;YA0Db,kBAAkB;IAkDhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACG,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAsLpD;;;;;OAKG;IACG,YAAY,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IASxD;;;;OAIG;IACG,sBAAsB,CAC1B,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAoEvC;;;;OAIG;IACG,mBAAmB,CACvB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAuEpC;;;;;;;;;;;;;;;;OAgBG;IACH,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe;CAqB3D"}
|
package/dist/AuthBroker.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.AuthBroker = void 0;
|
|
7
|
-
const
|
|
7
|
+
const interfaces_auth_1 = require("@mcp-abap-adt/interfaces-auth");
|
|
8
8
|
const formatting_1 = require("./utils/formatting");
|
|
9
9
|
/**
|
|
10
10
|
* No-op logger implementation for default fallback when logger is not provided
|
|
@@ -142,10 +142,10 @@ class AuthBroker {
|
|
|
142
142
|
}
|
|
143
143
|
catch (error) {
|
|
144
144
|
if (hasErrorCode(error)) {
|
|
145
|
-
if (error.code ===
|
|
145
|
+
if (error.code === interfaces_auth_1.STORE_ERROR_CODES.FILE_NOT_FOUND) {
|
|
146
146
|
this.logger?.debug(`Session file not found for ${destination}: ${error.filePath || 'unknown path'}`);
|
|
147
147
|
}
|
|
148
|
-
else if (error.code ===
|
|
148
|
+
else if (error.code === interfaces_auth_1.STORE_ERROR_CODES.PARSE_ERROR) {
|
|
149
149
|
this.logger?.warn(`Failed to parse session file for ${destination}: ${error.filePath || 'unknown path'} - ${getErrorMessage(error)}`);
|
|
150
150
|
}
|
|
151
151
|
else {
|
|
@@ -161,10 +161,10 @@ class AuthBroker {
|
|
|
161
161
|
}
|
|
162
162
|
catch (error) {
|
|
163
163
|
if (hasErrorCode(error)) {
|
|
164
|
-
if (error.code ===
|
|
164
|
+
if (error.code === interfaces_auth_1.STORE_ERROR_CODES.FILE_NOT_FOUND) {
|
|
165
165
|
this.logger?.debug(`Session file not found for ${destination}: ${error.filePath || 'unknown path'}`);
|
|
166
166
|
}
|
|
167
|
-
else if (error.code ===
|
|
167
|
+
else if (error.code === interfaces_auth_1.STORE_ERROR_CODES.PARSE_ERROR) {
|
|
168
168
|
this.logger?.warn(`Failed to parse session file for ${destination}: ${error.filePath || 'unknown path'} - ${getErrorMessage(error)}`);
|
|
169
169
|
}
|
|
170
170
|
else {
|
|
@@ -192,10 +192,10 @@ class AuthBroker {
|
|
|
192
192
|
}
|
|
193
193
|
catch (error) {
|
|
194
194
|
if (hasErrorCode(error)) {
|
|
195
|
-
if (error.code ===
|
|
195
|
+
if (error.code === interfaces_auth_1.STORE_ERROR_CODES.FILE_NOT_FOUND) {
|
|
196
196
|
this.logger?.debug(`Service key file not found for ${destination}: ${error.filePath || 'unknown path'}`);
|
|
197
197
|
}
|
|
198
|
-
else if (error.code ===
|
|
198
|
+
else if (error.code === interfaces_auth_1.STORE_ERROR_CODES.PARSE_ERROR) {
|
|
199
199
|
this.logger?.warn(`Failed to parse service key for ${destination}: ${error.filePath || 'unknown path'} - ${getErrorMessage(error)}`);
|
|
200
200
|
}
|
|
201
201
|
else {
|
|
@@ -228,10 +228,10 @@ class AuthBroker {
|
|
|
228
228
|
}
|
|
229
229
|
catch (error) {
|
|
230
230
|
if (hasErrorCode(error)) {
|
|
231
|
-
if (error.code ===
|
|
231
|
+
if (error.code === interfaces_auth_1.STORE_ERROR_CODES.FILE_NOT_FOUND) {
|
|
232
232
|
this.logger?.debug(`Service key file not found for ${destination}: ${error.filePath || 'unknown path'}`);
|
|
233
233
|
}
|
|
234
|
-
else if (error.code ===
|
|
234
|
+
else if (error.code === interfaces_auth_1.STORE_ERROR_CODES.PARSE_ERROR) {
|
|
235
235
|
this.logger?.warn(`Failed to parse service key for ${destination}: ${error.filePath || 'unknown path'} - ${getErrorMessage(error)}`);
|
|
236
236
|
}
|
|
237
237
|
else {
|
|
@@ -530,10 +530,10 @@ class AuthBroker {
|
|
|
530
530
|
catch (error) {
|
|
531
531
|
// Handle typed store errors
|
|
532
532
|
if (hasErrorCode(error)) {
|
|
533
|
-
if (error.code ===
|
|
533
|
+
if (error.code === interfaces_auth_1.STORE_ERROR_CODES.FILE_NOT_FOUND) {
|
|
534
534
|
this.logger?.debug(`Service key file not found for ${destination}: ${error.filePath || 'unknown path'}`);
|
|
535
535
|
}
|
|
536
|
-
else if (error.code ===
|
|
536
|
+
else if (error.code === interfaces_auth_1.STORE_ERROR_CODES.PARSE_ERROR) {
|
|
537
537
|
this.logger?.warn(`Failed to parse service key for ${destination}: ${error.filePath || 'unknown path'} - ${getErrorMessage(error)}`);
|
|
538
538
|
}
|
|
539
539
|
else {
|
|
@@ -589,10 +589,10 @@ class AuthBroker {
|
|
|
589
589
|
catch (error) {
|
|
590
590
|
// Handle typed store errors
|
|
591
591
|
if (hasErrorCode(error)) {
|
|
592
|
-
if (error.code ===
|
|
592
|
+
if (error.code === interfaces_auth_1.STORE_ERROR_CODES.FILE_NOT_FOUND) {
|
|
593
593
|
this.logger?.debug(`Service key file not found for ${destination}: ${error.filePath || 'unknown path'}`);
|
|
594
594
|
}
|
|
595
|
-
else if (error.code ===
|
|
595
|
+
else if (error.code === interfaces_auth_1.STORE_ERROR_CODES.PARSE_ERROR) {
|
|
596
596
|
this.logger?.warn(`Failed to parse service key for ${destination}: ${error.filePath || 'unknown path'} - ${getErrorMessage(error)}`);
|
|
597
597
|
}
|
|
598
598
|
else {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Test logger with environment variable control
|
|
3
3
|
* Uses DefaultLogger from @mcp-abap-adt/logger for proper formatting
|
|
4
4
|
*/
|
|
5
|
-
import type { ILogger } from '@mcp-abap-adt/interfaces';
|
|
5
|
+
import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
6
6
|
export declare function createTestLogger(prefix?: string): ILogger;
|
|
7
7
|
//# sourceMappingURL=testLogger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testLogger.d.ts","sourceRoot":"","sources":["../../../src/__tests__/helpers/testLogger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"testLogger.d.ts","sourceRoot":"","sources":["../../../src/__tests__/helpers/testLogger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAG9D,wBAAgB,gBAAgB,CAAC,MAAM,GAAE,MAAe,GAAG,OAAO,CAmDjE"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* @mcp-abap-adt/auth-broker
|
|
3
3
|
* JWT authentication broker for MCP ABAP ADT server
|
|
4
4
|
*/
|
|
5
|
-
export type {
|
|
5
|
+
export type { ITokenRefresher } from '@mcp-abap-adt/interfaces-auth';
|
|
6
|
+
export type { AuthType } from '@mcp-abap-adt/interfaces-auth-sap';
|
|
7
|
+
export type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
6
8
|
export { AuthBroker, type AuthBrokerConfig } from './AuthBroker';
|
|
7
9
|
export type { ITokenProvider, ITokenResult, TokenProviderOptions, } from './providers';
|
|
8
10
|
export type { IAuthorizationConfig, IConnectionConfig, IServiceKeyStore, ISessionStore, } from './stores/interfaces';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,YAAY,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAClE,YAAY,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEjE,YAAY,EACV,cAAc,EACd,YAAY,EACZ,oBAAoB,GACrB,MAAM,aAAa,CAAC;AAGrB,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Stateful providers handle token lifecycle internally (refresh/relogin).
|
|
5
5
|
*/
|
|
6
|
-
import type {
|
|
7
|
-
|
|
6
|
+
import type { ITokenProvider, ITokenProviderOptions, ITokenResult } from '@mcp-abap-adt/interfaces-auth';
|
|
7
|
+
import type { IAuthorizationConfig, IConnectionConfig } from '@mcp-abap-adt/interfaces-auth-sap';
|
|
8
|
+
export type { IAuthorizationConfig, IConnectionConfig, ITokenProvider, ITokenResult, };
|
|
8
9
|
export type TokenProviderOptions = ITokenProviderOptions;
|
|
9
10
|
//# sourceMappingURL=ITokenProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITokenProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ITokenProvider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"ITokenProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ITokenProvider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,YAAY,EACb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,mCAAmC,CAAC;AAG3C,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACd,YAAY,GACb,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,CAAC"}
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* All interfaces are imported from @mcp-abap-adt/interfaces package.
|
|
5
5
|
* Type aliases (type) are in types.ts.
|
|
6
6
|
*/
|
|
7
|
-
import type { IAuthorizationConfig, IConnectionConfig, IServiceKeyStore, ISessionStore } from '@mcp-abap-adt/interfaces';
|
|
7
|
+
import type { IAuthorizationConfig, IConnectionConfig, IServiceKeyStore, ISessionStore } from '@mcp-abap-adt/interfaces-auth-sap';
|
|
8
8
|
export type { IAuthorizationConfig, IConnectionConfig, IServiceKeyStore, ISessionStore, };
|
|
9
9
|
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/stores/interfaces.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACd,MAAM,
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/stores/interfaces.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACd,MAAM,mCAAmC,CAAC;AAG3C,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,GACd,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Type aliases (type) are defined here. Interfaces are imported from @mcp-abap-adt/interfaces.
|
|
5
5
|
*/
|
|
6
|
-
import type { IAuthorizationConfig, IConfig, IConnectionConfig, IServiceKeyStore, ISessionStore } from '@mcp-abap-adt/interfaces';
|
|
7
|
-
export type {
|
|
6
|
+
import type { IAuthorizationConfig, IConfig, IConnectionConfig, IServiceKeyStore, ISessionStore } from '@mcp-abap-adt/interfaces-auth-sap';
|
|
7
|
+
export type { IAuthorizationConfig, IConfig, IConnectionConfig, IServiceKeyStore, ISessionStore, };
|
|
8
8
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EACV,oBAAoB,EACpB,OAAO,EACP,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACd,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EACV,oBAAoB,EACpB,OAAO,EACP,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACd,MAAM,mCAAmC,CAAC;AAG3C,YAAY,EACV,oBAAoB,EACpB,OAAO,EACP,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,GACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/auth-broker",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
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",
|
|
@@ -63,14 +63,16 @@
|
|
|
63
63
|
"node": ">=18.2.0"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@mcp-abap-adt/auth-providers": "^2.
|
|
67
|
-
"@mcp-abap-adt/auth-stores": "^1.0
|
|
68
|
-
"@mcp-abap-adt/interfaces": "^2.
|
|
66
|
+
"@mcp-abap-adt/auth-providers": "^2.2.0",
|
|
67
|
+
"@mcp-abap-adt/auth-stores": "^1.2.0",
|
|
68
|
+
"@mcp-abap-adt/interfaces-auth": "^1.2.0",
|
|
69
|
+
"@mcp-abap-adt/interfaces-auth-sap": "^1.0.0",
|
|
70
|
+
"@mcp-abap-adt/interfaces-utils": "^1.1.0",
|
|
69
71
|
"axios": "^1.13.5"
|
|
70
72
|
},
|
|
71
73
|
"devDependencies": {
|
|
72
74
|
"@biomejs/biome": "^2.3.14",
|
|
73
|
-
"@mcp-abap-adt/logger": "^0.
|
|
75
|
+
"@mcp-abap-adt/logger": "^0.4.0",
|
|
74
76
|
"@types/express": "^5.0.5",
|
|
75
77
|
"@types/jest": "^30.0.0",
|
|
76
78
|
"@types/js-yaml": "^4.0.9",
|