@sap-cloud-sdk/http-client 2.3.1-20220520101705.0 → 2.4.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/CHANGELOG.md CHANGED
@@ -1,10 +1,17 @@
1
1
  # @sap-cloud-sdk/http-client
2
2
 
3
- ## 2.3.1-20220520101705.0
3
+ ## 2.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 04726a35: [Improvement] Reduce default log output on the `info` level significantly.
8
+ [Compatibility Note] Only log the successful retrieval of destinations on the`info` log level, log everything else is on the `debug` or `warn` level.
4
9
 
5
10
  ### Patch Changes
6
11
 
7
- - Canary release
8
- - Updated dependencies
9
- - @sap-cloud-sdk/connectivity@2.3.1-20220520101705.0
10
- - @sap-cloud-sdk/util@2.3.1-20220520101705.0
12
+ - Updated dependencies [04726a35]
13
+ - Updated dependencies [0a008674]
14
+ - Updated dependencies [0a008674]
15
+ - Updated dependencies [0a008674]
16
+ - @sap-cloud-sdk/connectivity@2.4.0
17
+ - @sap-cloud-sdk/util@2.4.0
@@ -184,7 +184,7 @@ function splitRequestConfig(requestConfig) {
184
184
  }
185
185
  function logCustomHeadersWarning(customHeaders) {
186
186
  if (customHeaders) {
187
- logger.info(`The following custom headers will overwrite headers created by the SDK:\n${Object.keys(customHeaders)
187
+ logger.warn(`The following custom headers will overwrite headers created by the SDK:\n${Object.keys(customHeaders)
188
188
  .map(key => ` - "${key}"`)
189
189
  .join('\n')}`);
190
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-cloud-sdk/http-client",
3
- "version": "2.3.1-20220520101705.0",
3
+ "version": "2.4.0",
4
4
  "description": "SAP Cloud SDK for JavaScript http-client",
5
5
  "homepage": "https://sap.github.io/cloud-sdk/docs/js/overview-cloud-sdk-for-javascript",
6
6
  "license": "Apache-2.0",
@@ -37,12 +37,12 @@
37
37
  "readme": "ts-node ../../scripts/replace-common-readme.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@sap-cloud-sdk/connectivity": "^2.3.1-20220520101705.0",
41
- "@sap-cloud-sdk/util": "^2.3.1-20220520101705.0",
40
+ "@sap-cloud-sdk/connectivity": "^2.4.0",
41
+ "@sap-cloud-sdk/util": "^2.4.0",
42
42
  "axios": "^0.27.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@sap-cloud-sdk/test-services-odata-common": "^2.3.1-20220520101705.0",
45
+ "@sap-cloud-sdk/test-services-odata-common": "^2.4.0",
46
46
  "https-proxy-agent": "^5.0.0",
47
47
  "nock": "^13.0.11",
48
48
  "typescript": "~4.6.2"