@aws-amplify/analytics 5.1.1-in-app-messaging.37 → 5.1.1-in-app-messaging.53
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 +14 -0
- package/dist/aws-amplify-analytics.js +12 -8
- 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.js +9 -6
- package/lib/Analytics.js.map +1 -1
- package/lib-esm/Analytics.js +9 -6
- package/lib-esm/Analytics.js.map +1 -1
- package/package.json +4 -4
- package/src/Analytics.ts +32 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.1.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.4...@aws-amplify/analytics@5.1.5) (2021-11-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-amplify/analytics
|
|
9
|
+
|
|
10
|
+
## [5.1.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.3...@aws-amplify/analytics@5.1.4) (2021-11-12)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @aws-amplify/analytics
|
|
13
|
+
|
|
14
|
+
## [5.1.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.2...@aws-amplify/analytics@5.1.3) (2021-11-09)
|
|
15
|
+
|
|
16
|
+
### Reverts
|
|
17
|
+
|
|
18
|
+
- uuid dependency upgrade ([#9159](https://github.com/aws-amplify/amplify-js/issues/9159)) ([4ef8aa9](https://github.com/aws-amplify/amplify-js/commit/4ef8aa9c7c25dbe921fd02b6205b8defb93fbaec))
|
|
19
|
+
|
|
6
20
|
## [5.1.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.1...@aws-amplify/analytics@5.1.2) (2021-10-28)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @aws-amplify/analytics
|
|
@@ -62999,14 +62999,16 @@ function () {
|
|
|
62999
62999
|
|
|
63000
63000
|
AnalyticsClass.prototype.startSession = function (provider) {
|
|
63001
63001
|
return __awaiter(this, void 0, void 0, function () {
|
|
63002
|
-
var params;
|
|
63002
|
+
var event, params;
|
|
63003
63003
|
return __generator(this, function (_a) {
|
|
63004
|
+
event = {
|
|
63005
|
+
name: '_session.start'
|
|
63006
|
+
};
|
|
63004
63007
|
params = {
|
|
63005
|
-
event:
|
|
63006
|
-
name: '_session.start'
|
|
63007
|
-
},
|
|
63008
|
+
event: event,
|
|
63008
63009
|
provider: provider
|
|
63009
63010
|
};
|
|
63011
|
+
dispatchAnalyticsEvent('record', event, 'Recording Analytics session start event');
|
|
63010
63012
|
return [2
|
|
63011
63013
|
/*return*/
|
|
63012
63014
|
, this._sendEvent(params)];
|
|
@@ -63021,14 +63023,16 @@ function () {
|
|
|
63021
63023
|
|
|
63022
63024
|
AnalyticsClass.prototype.stopSession = function (provider) {
|
|
63023
63025
|
return __awaiter(this, void 0, void 0, function () {
|
|
63024
|
-
var params;
|
|
63026
|
+
var event, params;
|
|
63025
63027
|
return __generator(this, function (_a) {
|
|
63028
|
+
event = {
|
|
63029
|
+
name: '_session.stop'
|
|
63030
|
+
};
|
|
63026
63031
|
params = {
|
|
63027
|
-
event:
|
|
63028
|
-
name: '_session.stop'
|
|
63029
|
-
},
|
|
63032
|
+
event: event,
|
|
63030
63033
|
provider: provider
|
|
63031
63034
|
};
|
|
63035
|
+
dispatchAnalyticsEvent('record', event, 'Recording Analytics session stop event');
|
|
63032
63036
|
return [2
|
|
63033
63037
|
/*return*/
|
|
63034
63038
|
, this._sendEvent(params)];
|