@aws-amplify/analytics 5.1.3-unstable.5 → 5.1.3

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 CHANGED
@@ -3,6 +3,17 @@
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.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.2...@aws-amplify/analytics@5.1.3) (2021-11-09)
7
+
8
+
9
+ ### Reverts
10
+
11
+ * uuid dependency upgrade ([#9159](https://github.com/aws-amplify/amplify-js/issues/9159)) ([4ef8aa9](https://github.com/aws-amplify/amplify-js/commit/4ef8aa9c7c25dbe921fd02b6205b8defb93fbaec))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [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
18
 
8
19
  **Note:** Version bump only for package @aws-amplify/analytics
@@ -64448,26 +64448,26 @@ function () {
64448
64448
 
64449
64449
  AWSPinpointProvider.prototype._pinpointPutEvents = function (params, handlers) {
64450
64450
  return __awaiter(this, void 0, void 0, function () {
64451
- var eventId, endpointId, eventParams, command, data, _a, _b, _c, StatusCode, Message, err_1;
64451
+ var eventId, endpointId, eventParams, command, data, _a, _b, _c, _d, StatusCode, Message, err_1;
64452
64452
 
64453
- return __generator(this, function (_d) {
64454
- switch (_d.label) {
64453
+ return __generator(this, function (_e) {
64454
+ switch (_e.label) {
64455
64455
  case 0:
64456
64456
  eventId = params.event.eventId, endpointId = params.config.endpointId;
64457
64457
  eventParams = this._generateBatchItemContext(params);
64458
64458
  command = new _aws_sdk_client_pinpoint__WEBPACK_IMPORTED_MODULE_1__["PutEventsCommand"](eventParams);
64459
- _d.label = 1;
64459
+ _e.label = 1;
64460
64460
 
64461
64461
  case 1:
64462
- _d.trys.push([1, 3,, 4]);
64462
+ _e.trys.push([1, 3,, 4]);
64463
64463
 
64464
64464
  return [4
64465
64465
  /*yield*/
64466
64466
  , this.pinpointClient.send(command)];
64467
64467
 
64468
64468
  case 2:
64469
- data = _d.sent();
64470
- _a = endpointId, _b = eventId, _c = data.EventsResponse.Results[_a].EventsItemResponse[_b], StatusCode = _c.StatusCode, Message = _c.Message;
64469
+ data = _e.sent();
64470
+ _a = data, _b = endpointId, _c = eventId, _d = _a.EventsResponse.Results[_b].EventsItemResponse[_c], StatusCode = _d.StatusCode, Message = _d.Message;
64471
64471
 
64472
64472
  if (ACCEPTED_CODES.includes(StatusCode)) {
64473
64473
  logger.debug('record event success. ', data);
@@ -64490,7 +64490,7 @@ function () {
64490
64490
  , 4];
64491
64491
 
64492
64492
  case 3:
64493
- err_1 = _d.sent();
64493
+ err_1 = _e.sent();
64494
64494
 
64495
64495
  this._eventError(err_1);
64496
64496