@barchart/portfolio-client-js 1.2.12 → 1.2.13

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.
@@ -194,7 +194,7 @@ module.exports = function () {
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
196
  }).withHeadersBuilder(function (hb) {
197
- hb.withLiteralParameter('Accept-Encoding', 'gzip');
197
+ hb.withLiteralParameter('Accept-Encoding', 'Accept-Encoding', 'gzip');
198
198
  }).withRequestInterceptor(RequestInterceptor.PLAIN_TEXT_RESPONSE).withRequestInterceptor(requestInterceptorToUse).withResponseInterceptor(responseInterceptorForPortfolioDeserialization).withErrorInterceptor(ErrorInterceptor.GENERAL).endpoint;
199
199
 
200
200
  _this._createPortfolioEndpoint = EndpointBuilder.for('create-portfolio', 'create portfolio').withVerb(VerbType.POST).withProtocol(protocolType).withHost(host).withPort(port).withPathBuilder(function (pb) {
@@ -1324,7 +1324,7 @@ module.exports = function () {
1324
1324
  return {
1325
1325
  JwtGateway: JwtGateway,
1326
1326
  PortfolioGateway: PortfolioGateway,
1327
- version: '1.2.12'
1327
+ version: '1.2.13'
1328
1328
  };
1329
1329
  }();
1330
1330
 
@@ -67,7 +67,7 @@ module.exports = (() => {
67
67
  .withVariableParameter('portfolio', 'portfolio', 'portfolio', false);
68
68
  })
69
69
  .withHeadersBuilder((hb) => {
70
- hb.withLiteralParameter('Accept-Encoding', 'gzip')
70
+ hb.withLiteralParameter('Accept-Encoding', 'Accept-Encoding', 'gzip')
71
71
  })
72
72
  .withRequestInterceptor(RequestInterceptor.PLAIN_TEXT_RESPONSE)
73
73
  .withRequestInterceptor(requestInterceptorToUse)
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.12'
10
+ version: '1.2.13'
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.12",
3
+ "version": "1.2.13",
4
4
  "description": "JavaScript library for interfacing with Barchart's Portfolio API",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",