@barchart/portfolio-client-js 5.9.0 → 5.10.1

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.
@@ -429,24 +429,6 @@ module.exports = (() => {
429
429
  .withErrorInterceptor(ErrorInterceptor.GENERAL)
430
430
  .endpoint;
431
431
 
432
- this._readWealthscopeTokenEndpoint = EndpointBuilder.for('read-wealthscope-token', 'read wealthscope token')
433
- .withVerb(VerbType.GET)
434
- .withProtocol(protocolType)
435
- .withHost(host)
436
- .withPort(port)
437
- .withPathBuilder((pb) => {
438
- pb.withLiteralParameter('version', REST_API_VERSION)
439
- .withLiteralParameter('portfolios', 'portfolios')
440
- .withVariableParameter('portfolio', 'portfolio', 'portfolio', false)
441
- .withLiteralParameter('wealthscope', 'wealthscope')
442
- .withLiteralParameter('token', 'token');
443
- })
444
- .withRequestInterceptor(requestInterceptor)
445
- .withRequestInterceptor(RequestInterceptor.PLAIN_TEXT_RESPONSE)
446
- .withResponseInterceptor(responseInterceptorForWealthscopeToken)
447
- .withErrorInterceptor(ErrorInterceptor.GENERAL)
448
- .endpoint;
449
-
450
432
  this._readBrokerageReportAvailabilityEndpoint = EndpointBuilder.for('read-brokerage-report-availability', 'read brokerage report availability')
451
433
  .withVerb(VerbType.GET)
452
434
  .withProtocol(protocolType)
@@ -1156,29 +1138,6 @@ module.exports = (() => {
1156
1138
  return this.readPositionValuationsAvailability(portfolio);
1157
1139
  }
1158
1140
 
1159
- /**
1160
- * Reads a wealthscope token for a specific portfolio.
1161
- *
1162
- * @public
1163
- * @ignore
1164
- * @param {String} portfolio
1165
- * @return {Promise<String>}
1166
- */
1167
- readWealthscopeToken(portfolio) {
1168
- return Promise.resolve()
1169
- .then(() => {
1170
- checkStart.call(this);
1171
-
1172
- assert.argumentIsRequired(portfolio, 'portfolio', String);
1173
-
1174
- const payload = { };
1175
-
1176
- payload.portfolio = portfolio;
1177
-
1178
- return Gateway.invoke(this._readWealthscopeTokenEndpoint, payload);
1179
- });
1180
- }
1181
-
1182
1141
  /**
1183
1142
  * Returns all position summary definitions for a portfolio.
1184
1143
  *
package/lib/index.js CHANGED
@@ -7,6 +7,6 @@ module.exports = (() => {
7
7
  return {
8
8
  JwtProvider: JwtProvider,
9
9
  PortfolioGateway: PortfolioGateway,
10
- version: '5.9.0'
10
+ version: '5.10.1'
11
11
  };
12
12
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-client-js",
3
- "version": "5.9.0",
3
+ "version": "5.10.1",
4
4
  "description": "JavaScript SDK for Barchart's Portfolio Service",
5
5
  "homepage": "https://docs.barchart.com/portfolio/#/",
6
6
  "author": {
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@barchart/common-js": "^4.9.0",
32
- "@barchart/portfolio-api-common": "^1.23.0"
32
+ "@barchart/portfolio-api-common": "^1.26.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@babel/core": "^7.11.1",