@sap-cloud-sdk/connectivity 2.0.0-20220104110707.0 → 2.0.0-20220105150323.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.
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/scp-cf/destination/destination-from-env.d.ts +15 -0
- package/dist/scp-cf/destination/destination-from-env.d.ts.map +1 -1
- package/dist/scp-cf/destination/destination-from-env.js +36 -1
- package/dist/scp-cf/destination/destination-from-env.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { parseDestination, noDestinationErrorMessage, toDestinationNameUrl, sanitizeDestination, Destination, DestinationRetrievalOptions, DestinationOptions, DestinationFetchOptions, DestinationAccessorOptions, getDestination, useOrFetchDestination, getDestinationFromDestinationService, alwaysProvider, alwaysSubscriber, subscriberFirst, parseProxyEnv, ProxyConfiguration, ProxyConfigurationHeaders, Protocol, CachingOptions, IsolationStrategy, ResilienceOptions, decodeJwt, retrieveJwt, VerifyJwtOptions, jwtBearerToken, serviceToken, Service, ServiceCredentials, buildHeadersForDestination, getClientCredentialsToken, getUserToken } from './scp-cf';
|
|
1
|
+
export { parseDestination, noDestinationErrorMessage, toDestinationNameUrl, sanitizeDestination, Destination, DestinationRetrievalOptions, DestinationOptions, DestinationFetchOptions, DestinationAccessorOptions, getDestination, useOrFetchDestination, getDestinationFromDestinationService, alwaysProvider, alwaysSubscriber, subscriberFirst, parseProxyEnv, ProxyConfiguration, ProxyConfigurationHeaders, Protocol, CachingOptions, IsolationStrategy, ResilienceOptions, decodeJwt, retrieveJwt, VerifyJwtOptions, jwtBearerToken, serviceToken, Service, ServiceCredentials, buildHeadersForDestination, getClientCredentialsToken, getUserToken, registerDestination } from './scp-cf';
|
|
2
2
|
export { getAgentConfig } from './http-agent';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,EACX,2BAA2B,EAC3B,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EAC1B,cAAc,EACd,qBAAqB,EACrB,oCAAoC,EACpC,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,kBAAkB,EAClB,yBAAyB,EACzB,QAAQ,EACR,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,OAAO,EACP,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,EACzB,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,EACX,2BAA2B,EAC3B,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EAC1B,cAAc,EACd,qBAAqB,EACrB,oCAAoC,EACpC,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,kBAAkB,EAClB,yBAAyB,EACzB,QAAQ,EACR,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,OAAO,EACP,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,EACzB,YAAY,EACZ,mBAAmB,EACpB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAgentConfig = exports.getUserToken = exports.getClientCredentialsToken = exports.buildHeadersForDestination = exports.serviceToken = exports.jwtBearerToken = exports.retrieveJwt = exports.decodeJwt = exports.IsolationStrategy = exports.Protocol = exports.parseProxyEnv = exports.subscriberFirst = exports.alwaysSubscriber = exports.alwaysProvider = exports.getDestinationFromDestinationService = exports.useOrFetchDestination = exports.getDestination = exports.sanitizeDestination = exports.toDestinationNameUrl = exports.noDestinationErrorMessage = exports.parseDestination = void 0;
|
|
3
|
+
exports.getAgentConfig = exports.registerDestination = exports.getUserToken = exports.getClientCredentialsToken = exports.buildHeadersForDestination = exports.serviceToken = exports.jwtBearerToken = exports.retrieveJwt = exports.decodeJwt = exports.IsolationStrategy = exports.Protocol = exports.parseProxyEnv = exports.subscriberFirst = exports.alwaysSubscriber = exports.alwaysProvider = exports.getDestinationFromDestinationService = exports.useOrFetchDestination = exports.getDestination = exports.sanitizeDestination = exports.toDestinationNameUrl = exports.noDestinationErrorMessage = exports.parseDestination = void 0;
|
|
4
4
|
var scp_cf_1 = require("./scp-cf");
|
|
5
5
|
Object.defineProperty(exports, "parseDestination", { enumerable: true, get: function () { return scp_cf_1.parseDestination; } });
|
|
6
6
|
Object.defineProperty(exports, "noDestinationErrorMessage", { enumerable: true, get: function () { return scp_cf_1.noDestinationErrorMessage; } });
|
|
@@ -22,6 +22,7 @@ Object.defineProperty(exports, "serviceToken", { enumerable: true, get: function
|
|
|
22
22
|
Object.defineProperty(exports, "buildHeadersForDestination", { enumerable: true, get: function () { return scp_cf_1.buildHeadersForDestination; } });
|
|
23
23
|
Object.defineProperty(exports, "getClientCredentialsToken", { enumerable: true, get: function () { return scp_cf_1.getClientCredentialsToken; } });
|
|
24
24
|
Object.defineProperty(exports, "getUserToken", { enumerable: true, get: function () { return scp_cf_1.getUserToken; } });
|
|
25
|
+
Object.defineProperty(exports, "registerDestination", { enumerable: true, get: function () { return scp_cf_1.registerDestination; } });
|
|
25
26
|
var http_agent_1 = require("./http-agent");
|
|
26
27
|
Object.defineProperty(exports, "getAgentConfig", { enumerable: true, get: function () { return http_agent_1.getAgentConfig; } });
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAkCkB;AAjChB,0GAAA,gBAAgB,OAAA;AAChB,mHAAA,yBAAyB,OAAA;AACzB,8GAAA,oBAAoB,OAAA;AACpB,6GAAA,mBAAmB,OAAA;AAMnB,wGAAA,cAAc,OAAA;AACd,+GAAA,qBAAqB,OAAA;AACrB,8HAAA,oCAAoC,OAAA;AACpC,wGAAA,cAAc,OAAA;AACd,0GAAA,gBAAgB,OAAA;AAChB,yGAAA,eAAe,OAAA;AACf,uGAAA,aAAa,OAAA;AAGb,kGAAA,QAAQ,OAAA;AAER,2GAAA,iBAAiB,OAAA;AAEjB,mGAAA,SAAS,OAAA;AACT,qGAAA,WAAW,OAAA;AAEX,wGAAA,cAAc,OAAA;AACd,sGAAA,YAAY,OAAA;AAGZ,oHAAA,0BAA0B,OAAA;AAC1B,mHAAA,yBAAyB,OAAA;AACzB,sGAAA,YAAY,OAAA;AACZ,6GAAA,mBAAmB,OAAA;AAGrB,2CAA8C;AAArC,4GAAA,cAAc,OAAA"}
|
|
@@ -29,4 +29,19 @@ export declare function getDestinationsEnvVariable(): string | undefined;
|
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
31
|
export declare function searchEnvVariablesForDestination(options: DestinationFetchOptions): Destination | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
export declare function validateNameAvailable(destinationName: string, existingNames: Set<string>): void;
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
export declare function setDestinationsInEnv(destinations: Destination[]): void;
|
|
40
|
+
/**
|
|
41
|
+
* Set a given destination in the `destinations` environment variable.
|
|
42
|
+
*
|
|
43
|
+
* Throws an error if a destination with the same name as the given test destination already exists.
|
|
44
|
+
* @param destination - Test destination to add to the `destinations` environment variable
|
|
45
|
+
*/
|
|
46
|
+
export declare function registerDestination(destination: Destination): void;
|
|
32
47
|
//# sourceMappingURL=destination-from-env.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destination-from-env.d.ts","sourceRoot":"","sources":["../../../src/scp-cf/destination/destination-from-env.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,KAAK,EACV,WAAW,EAEZ,MAAM,6BAA6B,CAAC;AAYrC;;;;;;GAMG;AACH,wBAAgB,sBAAsB,IAAI,WAAW,EAAE,CAuBtD;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAgB5E;AAID;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,GAAE,MAAM,GAAG,WAAgC,GAC9C,WAAW,GAAG,IAAI,CAEpB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,GAAG,SAAS,CAE/D;AAeD;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,uBAAuB,GAC/B,WAAW,GAAG,SAAS,CA6BzB"}
|
|
1
|
+
{"version":3,"file":"destination-from-env.d.ts","sourceRoot":"","sources":["../../../src/scp-cf/destination/destination-from-env.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,KAAK,EACV,WAAW,EAEZ,MAAM,6BAA6B,CAAC;AAYrC;;;;;;GAMG;AACH,wBAAgB,sBAAsB,IAAI,WAAW,EAAE,CAuBtD;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAgB5E;AAID;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,GAAE,MAAM,GAAG,WAAgC,GAC9C,WAAW,GAAG,IAAI,CAEpB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,GAAG,SAAS,CAE/D;AAeD;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,uBAAuB,GAC/B,WAAW,GAAG,SAAS,CA6BzB;AAyBD;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,GACzB,IAAI,CAMN;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,IAAI,CAEtE;AAUD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAYlE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.searchEnvVariablesForDestination = exports.getDestinationsEnvVariable = exports.getDestinationConfig = exports.getDestinationFromEnvByName = exports.getDestinationsFromEnv = void 0;
|
|
3
|
+
exports.registerDestination = exports.setDestinationsInEnv = exports.validateNameAvailable = exports.searchEnvVariablesForDestination = exports.getDestinationsEnvVariable = exports.getDestinationConfig = exports.getDestinationFromEnvByName = exports.getDestinationsFromEnv = void 0;
|
|
4
4
|
const util_1 = require("@sap-cloud-sdk/util");
|
|
5
5
|
const jwt_1 = require("../jwt");
|
|
6
6
|
const destination_1 = require("./destination");
|
|
@@ -124,4 +124,39 @@ function destinationAuthToken(token) {
|
|
|
124
124
|
}
|
|
125
125
|
logger.warn("Option 'forwardAuthToken' was set on destination but no token was provided to forward. This is most likely unintended and will lead to a authorization error on request execution.");
|
|
126
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
function validateNameAvailable(destinationName, existingNames) {
|
|
131
|
+
if (existingNames.has(destinationName)) {
|
|
132
|
+
throw new Error(`Parsing destinations failed, destination with name "${destinationName}" already exists in the "destinations" environment variables.`);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.validateNameAvailable = validateNameAvailable;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
function setDestinationsInEnv(destinations) {
|
|
140
|
+
process.env.destinations = JSON.stringify(destinations);
|
|
141
|
+
}
|
|
142
|
+
exports.setDestinationsInEnv = setDestinationsInEnv;
|
|
143
|
+
function destinationHasName(destination) {
|
|
144
|
+
return !!destination.name;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Set a given destination in the `destinations` environment variable.
|
|
148
|
+
*
|
|
149
|
+
* Throws an error if a destination with the same name as the given test destination already exists.
|
|
150
|
+
* @param destination - Test destination to add to the `destinations` environment variable
|
|
151
|
+
*/
|
|
152
|
+
function registerDestination(destination) {
|
|
153
|
+
const currentDestinations = getDestinationsFromEnv();
|
|
154
|
+
const existingNames = new Set(currentDestinations.filter(destinationHasName).map(dest => dest.name));
|
|
155
|
+
if (!destination.name || !destination.url) {
|
|
156
|
+
throw Error('The registerDestination function requires a destination name and url.');
|
|
157
|
+
}
|
|
158
|
+
validateNameAvailable(destination.name, existingNames);
|
|
159
|
+
setDestinationsInEnv([...currentDestinations, destination]);
|
|
160
|
+
}
|
|
161
|
+
exports.registerDestination = registerDestination;
|
|
127
162
|
//# sourceMappingURL=destination-from-env.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destination-from-env.js","sourceRoot":"","sources":["../../../src/scp-cf/destination/destination-from-env.ts"],"names":[],"mappings":";;;AAAA,8CAAmE;AACnE,gCAAmC;AACnC,+CAIuB;AA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,CAAC,eAAe,8BAA8B;wBAC1F,mDAAmD;wBACnD,2GAA2G,CAC9G,CAAC;iBACH;gBACD,OAAO,WAAW,CAAC;aACpB;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,CAAC,KAAK,CACV,yEAAyE,KAAK,CAAC,OAAO,GAAG,CAC1F,CAAC;SACH;KACF;IAED,MAAM,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;AAC9C,CAAC;AA/BD,4EA+BC;AAED,SAAS,oBAAoB,CAC3B,KAAc;IAEd,IAAI,KAAK,EAAE;QACT,MAAM,OAAO,GAAG,IAAA,eAAS,EAAC,KAAK,CAAC,CAAC;QACjC,MAAM,CAAC,IAAI,CACT,gGAAgG,CACjG,CAAC;QACF,OAAO;YACL;gBACE,KAAK,EAAE,KAAK;gBACZ,SAAS,EAAE,OAAO,CAAC,GAAI,CAAC,QAAQ,EAAE;gBAClC,KAAK,EAAE,IAAI;gBACX,WAAW,EAAE,EAAE,GAAG,EAAE,eAAe,EAAE,KAAK,EAAE,UAAU,KAAK,EAAE,EAAE;gBAC/D,IAAI,EAAE,QAAQ;aACf;SACF,CAAC;KACH;IACD,MAAM,CAAC,IAAI,CACT,oLAAoL,CACrL,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"destination-from-env.js","sourceRoot":"","sources":["../../../src/scp-cf/destination/destination-from-env.ts"],"names":[],"mappings":";;;AAAA,8CAAmE;AACnE,gCAAmC;AACnC,+CAIuB;AAMvB,6CAIsB;AAEtB,MAAM,MAAM,GAAG,IAAA,mBAAY,EAAC;IAC1B,OAAO,EAAE,cAAc;IACvB,cAAc,EAAE,0BAA0B;CAC3C,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,SAAgB,sBAAsB;IACpC,MAAM,eAAe,GAAG,0BAA0B,EAAE,CAAC;IACrD,MAAM,CAAC,KAAK,CACV,0DAA0D,eAAe,EAAE,CAC5E,CAAC;IACF,IAAI,eAAe,EAAE;QACnB,IAAI,YAAY,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GAAG,EAAE;QACzC,MAAM,KAAK,CACT,uEAAuE,CACxE,CAAC;KACH;IACD,qBAAqB,CAAC,WAAW,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;IACvD,oBAAoB,CAAC,CAAC,GAAG,mBAAmB,EAAE,WAAW,CAAC,CAAC,CAAC;AAC9D,CAAC;AAZD,kDAYC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-cloud-sdk/connectivity",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-20220105150323.0+80ca8408",
|
|
4
4
|
"description": "SAP Cloud SDK for JavaScript connectivity",
|
|
5
5
|
"homepage": "https://sap.github.io/cloud-sdk/docs/js/overview-cloud-sdk-for-javascript",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"check:dependencies": "depcheck ."
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@sap-cloud-sdk/util": "^2.0.0-
|
|
35
|
+
"@sap-cloud-sdk/util": "^2.0.0-20220105150323.0+80ca8408",
|
|
36
36
|
"@sap/xsenv": "^3.0.0",
|
|
37
37
|
"@sap/xssec": "^3.2.7",
|
|
38
38
|
"@types/jsonwebtoken": "^8.3.8",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"@types/opossum": "^6.2.0",
|
|
48
48
|
"nock": "^13.0.11"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "80ca8408600dbe30cee90c1bde0a97a5a0a6215d"
|
|
51
51
|
}
|