@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.
- package/example/example.js +1 -3
- package/lib/gateway/PortfolioGateway.js +0 -3
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/example/example.js
CHANGED
|
@@ -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.
|
|
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