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 +7 -0
- package/lib/base-service.js +2 -0
- package/package.json +1 -1
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
|
|
package/lib/base-service.js
CHANGED
|
@@ -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
|