@barchart/portfolio-client-js 1.2.13 → 1.2.14

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.
@@ -193,8 +193,6 @@ module.exports = function () {
193
193
 
194
194
  _this._readPortfoliosEndpoint = EndpointBuilder.for('read-portfolios', 'read portfolios').withVerb(VerbType.GET).withProtocol(protocolType).withHost(host).withPort(port).withPathBuilder(function (pb) {
195
195
  pb.withLiteralParameter('portfolios', 'portfolios').withVariableParameter('portfolio', 'portfolio', 'portfolio', false);
196
- }).withHeadersBuilder(function (hb) {
197
- hb.withLiteralParameter('Accept-Encoding', 'Accept-Encoding', 'gzip');
198
196
  }).withRequestInterceptor(RequestInterceptor.PLAIN_TEXT_RESPONSE).withRequestInterceptor(requestInterceptorToUse).withResponseInterceptor(responseInterceptorForPortfolioDeserialization).withErrorInterceptor(ErrorInterceptor.GENERAL).endpoint;
199
197
 
200
198
  _this._createPortfolioEndpoint = EndpointBuilder.for('create-portfolio', 'create portfolio').withVerb(VerbType.POST).withProtocol(protocolType).withHost(host).withPort(port).withPathBuilder(function (pb) {
@@ -1324,7 +1322,7 @@ module.exports = function () {
1324
1322
  return {
1325
1323
  JwtGateway: JwtGateway,
1326
1324
  PortfolioGateway: PortfolioGateway,
1327
- version: '1.2.13'
1325
+ version: '1.2.14'
1328
1326
  };
1329
1327
  }();
1330
1328
 
@@ -66,9 +66,6 @@ module.exports = (() => {
66
66
  pb.withLiteralParameter('portfolios', 'portfolios')
67
67
  .withVariableParameter('portfolio', 'portfolio', 'portfolio', false);
68
68
  })
69
- .withHeadersBuilder((hb) => {
70
- hb.withLiteralParameter('Accept-Encoding', 'Accept-Encoding', 'gzip')
71
- })
72
69
  .withRequestInterceptor(RequestInterceptor.PLAIN_TEXT_RESPONSE)
73
70
  .withRequestInterceptor(requestInterceptorToUse)
74
71
  .withResponseInterceptor(responseInterceptorForPortfolioDeserialization)
package/lib/index.js CHANGED
@@ -7,6 +7,6 @@ module.exports = (() => {
7
7
  return {
8
8
  JwtGateway: JwtGateway,
9
9
  PortfolioGateway: PortfolioGateway,
10
- version: '1.2.13'
10
+ version: '1.2.14'
11
11
  };
12
12
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-client-js",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "JavaScript library for interfacing with Barchart's Portfolio API",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",