@aws-amplify/analytics
Advanced tools
Comparing version
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="1.2.12-beta.3"></a> | ||
## [1.2.12-beta.3](https://github.com/aws/aws-amplify/compare/@aws-amplify/analytics@1.2.12-unstable.1...@aws-amplify/analytics@1.2.12-beta.3) (2019-03-14) | ||
### Features | ||
* **core:** Hub refactor and tests ([7ac5bcf](https://github.com/aws/aws-amplify/commit/7ac5bcf)) | ||
<a name="1.2.12-beta.2"></a> | ||
@@ -8,0 +19,0 @@ ## [1.2.12-beta.2](https://github.com/aws/aws-amplify/compare/@aws-amplify/analytics@1.2.12-unstable.1...@aws-amplify/analytics@1.2.12-beta.2) (2019-03-14) |
@@ -62,4 +62,4 @@ "use strict"; | ||
var logger = new core_1.ConsoleLogger('AnalyticsClass'); | ||
var dispatchAnalyticsEvent = function (event, data) { | ||
core_1.Hub.dispatch('analytics', { event: event, data: data }, 'Analytics', Symbol.for('amplify_default')); | ||
var dispatchAnalyticsEvent = function (event, data, message) { | ||
core_1.Hub.dispatch('analytics', { event: event, data: data, message: message }, 'Analytics', Symbol.for('amplify_default')); | ||
}; | ||
@@ -116,3 +116,3 @@ var trackers = { | ||
} | ||
dispatchAnalyticsEvent('configured', null); | ||
dispatchAnalyticsEvent('configured', null, "The Analytics category has been configured successfully"); | ||
logger.debug('current configuration', this._config); | ||
@@ -119,0 +119,0 @@ return this._config; |
{ | ||
"name": "@aws-amplify/analytics", | ||
"version": "1.2.12-beta.2", | ||
"version": "1.2.12-beta.3", | ||
"description": "Analytics category of aws-amplify", | ||
@@ -56,4 +56,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@aws-amplify/cache": "1.0.24-beta.2", | ||
"@aws-amplify/core": "1.0.24-beta.2", | ||
"@aws-amplify/cache": "1.0.24-beta.3", | ||
"@aws-amplify/core": "1.0.24-beta.3", | ||
"uuid": "^3.2.1" | ||
@@ -60,0 +60,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5082054
0.09%28440
0.08%+ Added
+ Added
- Removed
- Removed