@barchart/portfolio-client-js 2.0.0 → 2.0.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.
File without changes
@@ -1346,8 +1346,8 @@ module.exports = (() => {
1346
1346
  }
1347
1347
  });
1348
1348
 
1349
- function start(gateway) {
1350
- return gateway.start()
1349
+ function start(gateway, jwtProvider) {
1350
+ return gateway.connect(jwtProvider)
1351
1351
  .then(() => {
1352
1352
  return gateway;
1353
1353
  });
package/lib/index.js CHANGED
@@ -7,6 +7,6 @@ module.exports = (() => {
7
7
  return {
8
8
  JwtGateway: JwtGateway,
9
9
  PortfolioGateway: PortfolioGateway,
10
- version: '2.0.0'
10
+ version: '2.0.1'
11
11
  };
12
12
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-client-js",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "JavaScript library for interfacing with Barchart's Portfolio API",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",