From 7e49340aaa068ec2f9a57e61f3fc1d3ad9628680 Mon Sep 17 00:00:00 2001 From: Dzmitry Afanasenka Date: Mon, 1 Nov 2021 15:38:36 +0300 Subject: [PATCH] Release. Bump version number 4.1.2 --- lerna.json | 2 +- packages/common-js/package.json | 2 +- packages/sdk-js/docs/_coverpage.md | 2 +- .../sdk-js/example/browser/example.event.js | 20 +++++++++---------- .../sdk-js/example/browser/example.report.js | 20 +++++++++---------- packages/sdk-js/lib/index.js | 2 +- packages/sdk-js/openapi.yaml | 2 +- packages/sdk-js/package.json | 4 ++-- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/lerna.json b/lerna.json index 28d99f5..e4a9736 100644 --- a/lerna.json +++ b/lerna.json @@ -3,6 +3,6 @@ "packages": [ "packages/**" ], - "version": "4.1.1", + "version": "4.1.2", "useWorkspaces": true } diff --git a/packages/common-js/package.json b/packages/common-js/package.json index 43dcfc5..967cdf8 100644 --- a/packages/common-js/package.json +++ b/packages/common-js/package.json @@ -1,6 +1,6 @@ { "name": "@barchart/events-api-common", - "version": "4.1.1", + "version": "4.1.2", "description": "Common classes used by the Barchart Event Tracking System", "author": { "name": "Bryan Ingle", diff --git a/packages/sdk-js/docs/_coverpage.md b/packages/sdk-js/docs/_coverpage.md index d0e0358..c15520b 100644 --- a/packages/sdk-js/docs/_coverpage.md +++ b/packages/sdk-js/docs/_coverpage.md @@ -1,4 +1,4 @@ -# @barchart/events-client-js 4.1.1 +# @barchart/events-client-js 4.1.2 > JavaScript SDK for Barchart's Event Tracking Service diff --git a/packages/sdk-js/example/browser/example.event.js b/packages/sdk-js/example/browser/example.event.js index edeaa0d..6235165 100644 --- a/packages/sdk-js/example/browser/example.event.js +++ b/packages/sdk-js/example/browser/example.event.js @@ -22082,15 +22082,15 @@ module.exports = (() => { // Alerts - const alertApplicationLoaded = new EventType('ALERT-APPLICATION-LOADED', 'Application Loaded', ProductType.ALERT, ['userId']); - const alertCreated = new EventType('ALERT-CREATED', 'Alert Created', ProductType.ALERT, ['userId', 'alertId']); - const alertStarted = new EventType('ALERT-STARTED', 'Alert Started', ProductType.ALERT, ['userId', 'alertId']); - const alertStartedAll = new EventType('ALERT-STARTED-ALL', 'Alert Started', ProductType.ALERT, ['userId']); - const alertStopped = new EventType('ALERT-STOPPED', 'Alert Stopped', ProductType.ALERT, ['userId', 'alertId']); - const alertStoppedAll = new EventType('ALERT-STOPPED-ALL', 'Alert Stopped', ProductType.ALERT, ['userId']); - const alertNotesEdited = new EventType('ALERT-NOTES-EDITED', 'Alert Notes Edited', ProductType.ALERT, ['userId', 'alertId']); - const alertDeleted = new EventType('ALERT-DELETED', 'Alert Deleted', ProductType.ALERT, ['userId', 'alertId']); - const alertDeletedAll = new EventType('ALERT-DELETED-ALL', 'Alert Deleted', ProductType.ALERT, ['userId']); + const alertApplicationLoaded = new EventType('ALERT-APPLICATION-LOADED', 'Application Loaded', ProductType.ALERT, ['userId'], {[CustomerType.TGAM.code]: [stringValidator]}); + const alertCreated = new EventType('ALERT-CREATED', 'Alert Created', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertStarted = new EventType('ALERT-STARTED', 'Alert Started', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertStartedAll = new EventType('ALERT-STARTED-ALL', 'Alert Started', ProductType.ALERT, ['userId'], {[CustomerType.TGAM.code]: [stringValidator]}); + const alertStopped = new EventType('ALERT-STOPPED', 'Alert Stopped', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertStoppedAll = new EventType('ALERT-STOPPED-ALL', 'Alert Stopped', ProductType.ALERT, ['userId'], {[CustomerType.TGAM.code]: [stringValidator]}); + const alertNotesEdited = new EventType('ALERT-NOTES-EDITED', 'Alert Notes Edited', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertDeleted = new EventType('ALERT-DELETED', 'Alert Deleted', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertDeletedAll = new EventType('ALERT-DELETED-ALL', 'Alert Deleted', ProductType.ALERT, ['userId'], {[CustomerType.TGAM.code]: [stringValidator]}); // Watchlist @@ -23705,7 +23705,7 @@ module.exports = (() => { 'use strict'; return { - version: '4.1.1' + version: '4.1.2' }; })(); diff --git a/packages/sdk-js/example/browser/example.report.js b/packages/sdk-js/example/browser/example.report.js index 925dca5..2412a7f 100644 --- a/packages/sdk-js/example/browser/example.report.js +++ b/packages/sdk-js/example/browser/example.report.js @@ -21811,15 +21811,15 @@ module.exports = (() => { // Alerts - const alertApplicationLoaded = new EventType('ALERT-APPLICATION-LOADED', 'Application Loaded', ProductType.ALERT, ['userId']); - const alertCreated = new EventType('ALERT-CREATED', 'Alert Created', ProductType.ALERT, ['userId', 'alertId']); - const alertStarted = new EventType('ALERT-STARTED', 'Alert Started', ProductType.ALERT, ['userId', 'alertId']); - const alertStartedAll = new EventType('ALERT-STARTED-ALL', 'Alert Started', ProductType.ALERT, ['userId']); - const alertStopped = new EventType('ALERT-STOPPED', 'Alert Stopped', ProductType.ALERT, ['userId', 'alertId']); - const alertStoppedAll = new EventType('ALERT-STOPPED-ALL', 'Alert Stopped', ProductType.ALERT, ['userId']); - const alertNotesEdited = new EventType('ALERT-NOTES-EDITED', 'Alert Notes Edited', ProductType.ALERT, ['userId', 'alertId']); - const alertDeleted = new EventType('ALERT-DELETED', 'Alert Deleted', ProductType.ALERT, ['userId', 'alertId']); - const alertDeletedAll = new EventType('ALERT-DELETED-ALL', 'Alert Deleted', ProductType.ALERT, ['userId']); + const alertApplicationLoaded = new EventType('ALERT-APPLICATION-LOADED', 'Application Loaded', ProductType.ALERT, ['userId'], {[CustomerType.TGAM.code]: [stringValidator]}); + const alertCreated = new EventType('ALERT-CREATED', 'Alert Created', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertStarted = new EventType('ALERT-STARTED', 'Alert Started', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertStartedAll = new EventType('ALERT-STARTED-ALL', 'Alert Started', ProductType.ALERT, ['userId'], {[CustomerType.TGAM.code]: [stringValidator]}); + const alertStopped = new EventType('ALERT-STOPPED', 'Alert Stopped', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertStoppedAll = new EventType('ALERT-STOPPED-ALL', 'Alert Stopped', ProductType.ALERT, ['userId'], {[CustomerType.TGAM.code]: [stringValidator]}); + const alertNotesEdited = new EventType('ALERT-NOTES-EDITED', 'Alert Notes Edited', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertDeleted = new EventType('ALERT-DELETED', 'Alert Deleted', ProductType.ALERT, ['userId', 'alertId', 'symbol'], {[CustomerType.TGAM.code]: [stringValidator, uuidValidator, stringValidator]}); + const alertDeletedAll = new EventType('ALERT-DELETED-ALL', 'Alert Deleted', ProductType.ALERT, ['userId'], {[CustomerType.TGAM.code]: [stringValidator]}); // Watchlist @@ -23456,7 +23456,7 @@ module.exports = (() => { 'use strict'; return { - version: '4.1.1' + version: '4.1.2' }; })(); diff --git a/packages/sdk-js/lib/index.js b/packages/sdk-js/lib/index.js index a2007db..fadf87e 100644 --- a/packages/sdk-js/lib/index.js +++ b/packages/sdk-js/lib/index.js @@ -2,6 +2,6 @@ module.exports = (() => { 'use strict'; return { - version: '4.1.1' + version: '4.1.2' }; })(); diff --git a/packages/sdk-js/openapi.yaml b/packages/sdk-js/openapi.yaml index dbaca8e..d7b5742 100644 --- a/packages/sdk-js/openapi.yaml +++ b/packages/sdk-js/openapi.yaml @@ -3,7 +3,7 @@ openapi: 3.0.0 info: title: Event API description: The Barchart Event Tracking System collects usage statistics from various software systems. - version: 4.1.1 + version: 4.1.2 servers: - url: https://events-stage.aws.barchart.com diff --git a/packages/sdk-js/package.json b/packages/sdk-js/package.json index f2116e0..84e6c72 100644 --- a/packages/sdk-js/package.json +++ b/packages/sdk-js/package.json @@ -1,6 +1,6 @@ { "name": "@barchart/events-client-js", - "version": "4.1.1", + "version": "4.1.2", "description": "JavaScript SDK for Barchart's Event Tracking Service", "author": { "name": "Bryan Ingle", @@ -23,7 +23,7 @@ }, "dependencies": { "@barchart/common-js": "^4.8.0", - "@barchart/events-api-common": "^4.1.1" + "@barchart/events-api-common": "^4.1.2" }, "devDependencies": { "@babel/core": "^7.11.6",