@mcp-abap-adt/interfaces 0.1.16 → 0.1.17

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,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.17] - 2025-12-16
11
+
12
+ ### Added
13
+ - **Basic Authentication Support for IConnectionConfig**: Added support for basic auth (username/password) in addition to JWT tokens
14
+ - Added optional `username?: string` field for basic authentication (on-premise systems)
15
+ - Added optional `password?: string` field for basic authentication (on-premise systems)
16
+ - Added optional `authType?: 'basic' | 'jwt'` field to indicate authentication type
17
+ - Made `authorizationToken` optional (required for JWT auth, optional for basic auth)
18
+ - This enables on-premise systems to use `--mcp` parameter with basic auth instead of requiring JWT tokens
19
+
10
20
  ## [0.1.16] - 2025-12-13
11
21
 
12
22
  ### Changed
@@ -5,8 +5,14 @@
5
5
  export interface IConnectionConfig {
6
6
  /** Service URL (SAP/ABAP/MCP URL) - undefined for XSUAA if not provided */
7
7
  serviceUrl?: string;
8
- /** Authorization token (JWT token) */
9
- authorizationToken: string;
8
+ /** Authorization token (JWT token) - required for JWT auth, optional for basic auth */
9
+ authorizationToken?: string;
10
+ /** Username for basic authentication - required for basic auth, optional for JWT auth */
11
+ username?: string;
12
+ /** Password for basic authentication - required for basic auth, optional for JWT auth */
13
+ password?: string;
14
+ /** Authentication type - 'basic' for on-premise, 'jwt' for cloud */
15
+ authType?: 'basic' | 'jwt';
10
16
  /** SAP client number (optional, for ABAP/BTP) */
11
17
  sapClient?: string;
12
18
  /** Language (optional, for ABAP/BTP) */
@@ -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,sCAAsC;IACtC,kBAAkB,EAAE,MAAM,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,CAAC;IAC3B,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/interfaces",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "Shared interfaces for MCP ABAP ADT packages",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",