@barchart/portfolio-client-js 5.1.0 → 5.1.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.
@@ -0,0 +1,4 @@
1
+ **Technical Enhancements**
2
+
3
+ * Updated `barchart/common-js` to the v4.9.0.
4
+ * Updated `gulp` script.
package/gulpfile.js CHANGED
@@ -18,6 +18,14 @@ function getVersionFromPackage() {
18
18
  return JSON.parse(fs.readFileSync('./package.json', 'utf8')).version;
19
19
  }
20
20
 
21
+ function getGitHubLink() {
22
+ const pkg = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
23
+
24
+ const link = pkg.homepage.replace(/#.*/g, '');
25
+
26
+ return `Project GitHub: ${link}`;
27
+ }
28
+
21
29
  gulp.task('ensure-clean-working-directory', (cb) => {
22
30
  gitStatus((err, status) => {
23
31
  if (err, !status.clean) {
@@ -104,6 +112,12 @@ gulp.task('execute-node-tests', () => {
104
112
  .pipe(jasmine());
105
113
  });
106
114
 
115
+ gulp.task('print-github', () => {
116
+ return Promise.resolve().then(() => {
117
+ console.info(getGitHubLink());
118
+ });
119
+ });
120
+
107
121
  gulp.task('execute-tests', gulp.series(
108
122
  'build-test-bundle',
109
123
  'execute-browser-tests',
@@ -118,7 +132,8 @@ gulp.task('release', gulp.series(
118
132
  'embed-version',
119
133
  'commit-changes',
120
134
  'push-changes',
121
- 'create-tag'
135
+ 'create-tag',
136
+ 'print-github'
122
137
  ));
123
138
 
124
139
  gulp.task('lint', () => {
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.1.0'
10
+ version: '5.1.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.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "JavaScript library for interfacing with Barchart's Portfolio API",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -21,8 +21,8 @@
21
21
  "SDK"
22
22
  ],
23
23
  "dependencies": {
24
- "@barchart/common-js": "^3.15.0",
25
- "@barchart/portfolio-api-common": "^1.5.0"
24
+ "@barchart/common-js": "^4.9.0",
25
+ "@barchart/portfolio-api-common": "^1.11.4"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@babel/core": "^7.11.1",