@aws-amplify/analytics 5.1.13-unstable.7 → 5.2.0
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.
- package/CHANGELOG.md +16 -0
- package/dist/aws-amplify-analytics.js +1 -6
- package/dist/aws-amplify-analytics.js.map +1 -1
- package/dist/aws-amplify-analytics.min.js +1 -1
- package/dist/aws-amplify-analytics.min.js.map +1 -1
- package/lib/Analytics.d.ts +8 -2
- package/lib/Analytics.js +1 -5
- package/lib/Analytics.js.map +1 -1
- package/lib/types/Analytics.d.ts +18 -2
- package/lib-esm/Analytics.d.ts +8 -2
- package/lib-esm/Analytics.js +1 -5
- package/lib-esm/Analytics.js.map +1 -1
- package/lib-esm/types/Analytics.d.ts +18 -2
- package/package.json +4 -4
- package/src/Analytics.ts +14 -3
- package/src/types/Analytics.ts +23 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.2.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.12...@aws-amplify/analytics@5.2.0) (2022-02-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **@aws-amplify/analytics:** Analytics/types hotfix ([#9648](https://github.com/aws-amplify/amplify-js/issues/9648)) ([ad45ef6](https://github.com/aws-amplify/amplify-js/commit/ad45ef6538675b59b15eba513eab916e8b5d36e1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **@aws-amplify/analytics:** Analytics Typescript updates ([#9272](https://github.com/aws-amplify/amplify-js/issues/9272)) ([9a52c2b](https://github.com/aws-amplify/amplify-js/commit/9a52c2b6a59bf0d9622a2572f8752b7b419c0817))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [5.1.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.11...@aws-amplify/analytics@5.1.12) (2022-02-03)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-amplify/analytics
|
|
@@ -62859,6 +62859,7 @@ function () {
|
|
|
62859
62859
|
this._config = {};
|
|
62860
62860
|
this._pluggables = [];
|
|
62861
62861
|
this._disabled = false;
|
|
62862
|
+
this._trackers = {};
|
|
62862
62863
|
_instance = this;
|
|
62863
62864
|
this.record = this.record.bind(this);
|
|
62864
62865
|
_aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["Hub"].listen('auth', listener);
|
|
@@ -63100,12 +63101,6 @@ function () {
|
|
|
63100
63101
|
});
|
|
63101
63102
|
});
|
|
63102
63103
|
};
|
|
63103
|
-
/**
|
|
63104
|
-
* Enable or disable auto tracking
|
|
63105
|
-
* @param trackerType - The type of tracker to activate.
|
|
63106
|
-
* @param [opts] - Auto tracking options.
|
|
63107
|
-
*/
|
|
63108
|
-
|
|
63109
63104
|
|
|
63110
63105
|
AnalyticsClass.prototype.autoTrack = function (trackerType, opts) {
|
|
63111
63106
|
if (!trackers[trackerType]) {
|