@mcp-abap-adt/adt-clients 42.2.0 → 42.2.1
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.
|
@@ -32,6 +32,11 @@ export declare function snapshotUri(snapshotId: string): string;
|
|
|
32
32
|
/**
|
|
33
33
|
* The snapshots ADT lists. A snapshot written by the debugger appears here
|
|
34
34
|
* only later — on the cloud a few minutes after it was written.
|
|
35
|
+
*
|
|
36
|
+
* Both filters go in upper case. SAP keeps a user name in upper case and
|
|
37
|
+
* matches these filters case-sensitively: measured on premise, a name in
|
|
38
|
+
* lower or mixed case lists nothing, the same name in upper case lists the
|
|
39
|
+
* user's snapshots.
|
|
35
40
|
*/
|
|
36
41
|
export declare function listSnapshots(connection: IAbapConnection, user?: string, originalUser?: string): Promise<IAdtWireResponse>;
|
|
37
42
|
/** One snapshot's header: its file, server, program, sizes. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshots.d.ts","sourceRoot":"","sources":["../../../src/runtime/memory/snapshots.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC3B,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EACjB,MAAM,yCAAyC,CAAC;AAKjD,yCAAyC;AACzC,eAAO,MAAM,sBAAsB;;;;;;;CAOzB,CAAC;AAEX,2CAA2C;AAC3C,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEtD;AAgED
|
|
1
|
+
{"version":3,"file":"snapshots.d.ts","sourceRoot":"","sources":["../../../src/runtime/memory/snapshots.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC3B,MAAM,8BAA8B,CAAC;AACtC,OAAO,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gBAAgB,CAAC,CAO3B;AAED,kEAAkE;AAClE,wBAAsB,2BAA2B,CAC/C,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,gBAAgB,CAAC,CAO3B;AAED,wBAAsB,wBAAwB,CAC5C,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,gBAAgB,CAAC,CAO3B;AAED,wBAAsB,0BAA0B,CAC9C,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,gBAAgB,CAAC,CAO3B"}
|
|
@@ -89,13 +89,18 @@ function referencesParams(params, objectKey, options) {
|
|
|
89
89
|
/**
|
|
90
90
|
* The snapshots ADT lists. A snapshot written by the debugger appears here
|
|
91
91
|
* only later — on the cloud a few minutes after it was written.
|
|
92
|
+
*
|
|
93
|
+
* Both filters go in upper case. SAP keeps a user name in upper case and
|
|
94
|
+
* matches these filters case-sensitively: measured on premise, a name in
|
|
95
|
+
* lower or mixed case lists nothing, the same name in upper case lists the
|
|
96
|
+
* user's snapshots.
|
|
92
97
|
*/
|
|
93
98
|
async function listSnapshots(connection, user, originalUser) {
|
|
94
99
|
const params = new URLSearchParams();
|
|
95
100
|
if (user)
|
|
96
|
-
params.append('user', user);
|
|
101
|
+
params.append('user', user.toUpperCase());
|
|
97
102
|
if (originalUser)
|
|
98
|
-
params.append('originalUser', originalUser);
|
|
103
|
+
params.append('originalUser', originalUser.toUpperCase());
|
|
99
104
|
return get(connection, 'snapshots', params, exports.MEMORY_SNAPSHOT_ACCEPT.list);
|
|
100
105
|
}
|
|
101
106
|
/** One snapshot's header: its file, server, program, sizes. */
|