@sap-ux/system-access 0.6.32 → 0.6.34

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,5 +1,5 @@
1
1
  import type { Logger } from '@sap-ux/logger';
2
- import { BackendSystem } from '@sap-ux/store';
2
+ import { BackendSystem, type SystemType, type ConnectionType } from '@sap-ux/store';
3
3
  import type { UrlAbapTarget } from '../types';
4
4
  export type BasicAuth = Required<Pick<BackendSystem, 'username' | 'password'>>;
5
5
  export type ServiceAuth = Required<Pick<BackendSystem, 'serviceKeys' | 'name' | 'refreshToken'>>;
@@ -32,6 +32,8 @@ export declare function getCredentialsFromStore(target: UrlAbapTarget, logger: L
32
32
  * @param target target
33
33
  * @param target.url system url
34
34
  * @param target.client optional system client
35
+ * @param target.systemType system type
36
+ * @param target.connectionType connection type
35
37
  * @param credentials basic auth credentials
36
38
  * @param credentials.username username
37
39
  * @param credentials.password password
@@ -41,6 +43,8 @@ export declare function getCredentialsFromStore(target: UrlAbapTarget, logger: L
41
43
  export declare function storeCredentials(name: string, target: {
42
44
  url: string;
43
45
  client?: string;
46
+ systemType: SystemType;
47
+ connectionType: ConnectionType;
44
48
  }, credentials: {
45
49
  username: string;
46
50
  password: string;
@@ -63,6 +63,8 @@ async function getCredentialsFromStore(target, logger) {
63
63
  * @param target target
64
64
  * @param target.url system url
65
65
  * @param target.client optional system client
66
+ * @param target.systemType system type
67
+ * @param target.connectionType connection type
66
68
  * @param credentials basic auth credentials
67
69
  * @param credentials.username username
68
70
  * @param credentials.password password
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "bugs": {
10
10
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Asystem-access"
11
11
  },
12
- "version": "0.6.32",
12
+ "version": "0.6.34",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -23,10 +23,10 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "prompts": "2.4.2",
26
- "@sap-ux/axios-extension": "1.24.6",
26
+ "@sap-ux/axios-extension": "1.25.0",
27
27
  "@sap-ux/btp-utils": "1.1.6",
28
28
  "@sap-ux/logger": "0.7.2",
29
- "@sap-ux/store": "1.3.5"
29
+ "@sap-ux/store": "1.4.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/prompts": "2.4.4",