@mcp-abap-adt/interfaces 2.2.0 → 2.3.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 CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.3.0] - 2026-02-10
11
+
12
+ ### Added
13
+ - Added `authType: 'saml'` and `sessionCookies` to connection and SAP config interfaces.
14
+
10
15
  ## [2.2.0] - 2026-02-10
11
16
 
12
17
  ### Added
package/README.md CHANGED
@@ -166,6 +166,7 @@ This package is responsible for:
166
166
  - `ITokenProvider` - Token provider interface (stateful token lifecycle)
167
167
  - `ITokenProviderOptions` - Options for token providers
168
168
  - `ITokenResult` - Token result payload (supports `expiresAt` and `tokenType` for non-JWT tokens)
169
+ - `IConnectionConfig` / `ISapConfig` - now support `authType: 'saml'` and `sessionCookies`
169
170
  - `ITokenRefresher` - Token refresher interface for DI into connections
170
171
  - Created by `AuthBroker.createTokenRefresher(destination)`
171
172
  - Injected into `JwtAbapConnection` to enable automatic token refresh
@@ -12,10 +12,12 @@ export interface IConnectionConfig {
12
12
  /** Password for basic authentication - required for basic auth, optional for JWT auth */
13
13
  password?: string;
14
14
  /** Authentication type - 'basic' for on-premise, 'jwt' for cloud */
15
- authType?: 'basic' | 'jwt';
15
+ authType?: 'basic' | 'jwt' | 'saml';
16
16
  /** SAP client number (optional, for ABAP/BTP) */
17
17
  sapClient?: string;
18
18
  /** Language (optional, for ABAP/BTP) */
19
19
  language?: string;
20
+ /** Session cookies for SAML authentication (raw Cookie header value) */
21
+ sessionCookies?: string;
20
22
  }
21
23
  //# sourceMappingURL=IConnectionConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IConnectionConfig.d.ts","sourceRoot":"","sources":["../../src/auth/IConnectionConfig.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uFAAuF;IACvF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAC3B,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"IConnectionConfig.d.ts","sourceRoot":"","sources":["../../src/auth/IConnectionConfig.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uFAAuF;IACvF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;IACpC,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -7,6 +7,7 @@ export interface ISapConfig {
7
7
  password?: string;
8
8
  jwtToken?: string;
9
9
  refreshToken?: string;
10
+ sessionCookies?: string;
10
11
  uaaUrl?: string;
11
12
  uaaClientId?: string;
12
13
  uaaClientSecret?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ISapConfig.d.ts","sourceRoot":"","sources":["../../src/sap/ISapConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,WAAW,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
1
+ {"version":3,"file":"ISapConfig.d.ts","sourceRoot":"","sources":["../../src/sap/ISapConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,WAAW,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -1,2 +1,2 @@
1
- export type SapAuthType = 'basic' | 'jwt';
1
+ export type SapAuthType = 'basic' | 'jwt' | 'saml';
2
2
  //# sourceMappingURL=SapAuthType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SapAuthType.d.ts","sourceRoot":"","sources":["../../src/sap/SapAuthType.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,CAAC"}
1
+ {"version":3,"file":"SapAuthType.d.ts","sourceRoot":"","sources":["../../src/sap/SapAuthType.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/interfaces",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Shared interfaces for MCP ABAP ADT packages",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",