ibm-cloud-sdk-core 2.8.1 → 2.8.2

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,3 +1,10 @@
1
+ ## [2.8.2](https://github.com/IBM/node-sdk-core/compare/v2.8.1...v2.8.2) (2021-03-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * persist `enableGzipCompression` setting on the base service ([#127](https://github.com/IBM/node-sdk-core/issues/127)) ([1398044](https://github.com/IBM/node-sdk-core/commit/13980441fad3e0e71eb5e58ce33d66d63782308e))
7
+
1
8
  ## [2.8.1](https://github.com/IBM/node-sdk-core/compare/v2.8.0...v2.8.1) (2021-03-09)
2
9
 
3
10
 
@@ -99,6 +99,8 @@ var BaseService = /** @class */ (function () {
99
99
  */
100
100
  BaseService.prototype.setEnableGzipCompression = function (setting) {
101
101
  this.requestWrapperInstance.compressRequestData = setting;
102
+ // persist setting so that baseOptions accurately reflects the state of the flag
103
+ this.baseOptions.enableGzipCompression = setting;
102
104
  };
103
105
  /**
104
106
  * Configure the service using external configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ibm-cloud-sdk-core",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.",
5
5
  "main": "index",
6
6
  "repository": {