@mcp-abap-adt/adt-clients 4.0.4 → 4.0.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"lock.d.ts","sourceRoot":"","sources":["../../../src/core/behaviorDefinition/lock.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,YAAY,IAAI,aAAa,EAC7B,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAKlC;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,IAAI,CACxB,UAAU,EAAE,eAAe,EAC3B,IAAI,EAAE,MAAM,EACZ,UAAU,GAAE,MAAiB,GAC5B,OAAO,CAAC,MAAM,CAAC,CA6CjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,aAAa,CACjC,UAAU,EAAE,eAAe,EAC3B,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,UAAU,GAAE,MAAiB,GAC5B,OAAO,CAAC;IAAE,QAAQ,EAAE,aAAa,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CA8C3E"}
1
+ {"version":3,"file":"lock.d.ts","sourceRoot":"","sources":["../../../src/core/behaviorDefinition/lock.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,YAAY,IAAI,aAAa,EAC7B,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAKlC;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,IAAI,CACxB,UAAU,EAAE,eAAe,EAC3B,IAAI,EAAE,MAAM,EACZ,UAAU,GAAE,MAAiB,GAC5B,OAAO,CAAC,MAAM,CAAC,CA8CjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,aAAa,CACjC,UAAU,EAAE,eAAe,EAC3B,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,UAAU,GAAE,MAAiB,GAC5B,OAAO,CAAC;IAAE,QAAQ,EAAE,aAAa,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CA+C3E"}
@@ -43,6 +43,7 @@ async function lock(connection, name, accessMode = 'MODIFY') {
43
43
  </asx:abap>`;
44
44
  const headers = {
45
45
  Accept: contentTypes_1.ACCEPT_LOCK,
46
+ 'Content-Type': 'application/xml',
46
47
  };
47
48
  const response = await connection.makeAdtRequest({
48
49
  url,
@@ -95,6 +96,7 @@ async function lockForUpdate(connection, name, _sessionId, accessMode = 'MODIFY'
95
96
  </asx:abap>`;
96
97
  const headers = {
97
98
  Accept: contentTypes_1.ACCEPT_LOCK,
99
+ 'Content-Type': 'application/xml',
98
100
  };
99
101
  const response = await connection.makeAdtRequest({
100
102
  url,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/adt-clients",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "description": "ADT clients for SAP ABAP systems - AdtClient and AdtRuntimeClient",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",