@sap-cloud-sdk/connectivity 4.2.1-20251219014401.0 → 4.2.1-20251220014302.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.
|
@@ -2,14 +2,14 @@ import type { JwtPayload } from './jsonwebtoken-type';
|
|
|
2
2
|
import type { Service } from './environment-accessor';
|
|
3
3
|
import type { ClientCredentialsResponse } from './xsuaa-service-types';
|
|
4
4
|
/**
|
|
5
|
-
* Make a client credentials request against the XSUAA credentials inside
|
|
5
|
+
* Make a client credentials request against the XSUAA credentials inside `service`.
|
|
6
6
|
* @param service - Service as it is defined in the environment variable.
|
|
7
7
|
* @param jwt - User JWT or object containing the `iss` property.
|
|
8
8
|
* @returns Client credentials token.
|
|
9
9
|
*/
|
|
10
10
|
export declare function getClientCredentialsToken(service: string | Service, jwt?: string | JwtPayload): Promise<ClientCredentialsResponse>;
|
|
11
11
|
/**
|
|
12
|
-
* Make a user token request against the XSUAA credentials inside
|
|
12
|
+
* Make a user token request against the XSUAA credentials inside `service`.
|
|
13
13
|
* @param service - Service as it is defined in the environment variable.
|
|
14
14
|
* @param userJwt - User JWT.
|
|
15
15
|
* @returns User token.
|
|
@@ -7,7 +7,7 @@ const resilience_1 = require("@sap-cloud-sdk/resilience");
|
|
|
7
7
|
const environment_accessor_1 = require("./environment-accessor");
|
|
8
8
|
const jwt_1 = require("./jwt");
|
|
9
9
|
/**
|
|
10
|
-
* Make a client credentials request against the XSUAA credentials inside
|
|
10
|
+
* Make a client credentials request against the XSUAA credentials inside `service`.
|
|
11
11
|
* @param service - Service as it is defined in the environment variable.
|
|
12
12
|
* @param jwt - User JWT or object containing the `iss` property.
|
|
13
13
|
* @returns Client credentials token.
|
|
@@ -39,7 +39,7 @@ async function getClientCredentialsToken(service, jwt) {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* Make a user token request against the XSUAA credentials inside
|
|
42
|
+
* Make a user token request against the XSUAA credentials inside `service`.
|
|
43
43
|
* @param service - Service as it is defined in the environment variable.
|
|
44
44
|
* @param userJwt - User JWT.
|
|
45
45
|
* @returns User token.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-cloud-sdk/connectivity",
|
|
3
|
-
"version": "4.2.1-
|
|
3
|
+
"version": "4.2.1-20251220014302.0",
|
|
4
4
|
"description": "SAP Cloud SDK for JavaScript connectivity",
|
|
5
5
|
"homepage": "https://sap.github.io/cloud-sdk/docs/js/overview",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"readme": "ts-node ../../scripts/replace-common-readme.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@sap-cloud-sdk/resilience": "^4.2.1-
|
|
44
|
-
"@sap-cloud-sdk/util": "^4.2.1-
|
|
43
|
+
"@sap-cloud-sdk/resilience": "^4.2.1-20251220014302.0",
|
|
44
|
+
"@sap-cloud-sdk/util": "^4.2.1-20251220014302.0",
|
|
45
45
|
"@sap/xsenv": "^6.0.0",
|
|
46
46
|
"@sap/xssec": "^4.12.1",
|
|
47
47
|
"async-retry": "^1.3.3",
|