@pelcro/react-pelcro-js 4.0.0-alpha.40 → 4.0.0-alpha.42

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/dist/index.cjs.js CHANGED
@@ -12251,7 +12251,14 @@ const LoginContainer = ({
12251
12251
  });
12252
12252
  onFailure(err);
12253
12253
  } else {
12254
+ var _ReactGA$event;
12255
+
12254
12256
  onSuccess(res);
12257
+ ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
12258
+ category: "ACTIONS",
12259
+ action: "Logged in",
12260
+ nonInteraction: true
12261
+ });
12255
12262
  }
12256
12263
  });
12257
12264
  };
@@ -28010,6 +28017,8 @@ const AddressUpdateContainer = ({
28010
28017
  });
28011
28018
  onFailure(err);
28012
28019
  } else {
28020
+ var _ReactGA$event;
28021
+
28013
28022
  dispatch({
28014
28023
  type: SHOW_ALERT,
28015
28024
  payload: {
@@ -28018,6 +28027,11 @@ const AddressUpdateContainer = ({
28018
28027
  }
28019
28028
  });
28020
28029
  onSuccess(res);
28030
+ ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
28031
+ category: "ACTIONS",
28032
+ action: "Updated address",
28033
+ nonInteraction: true
28034
+ });
28021
28035
  }
28022
28036
  });
28023
28037
  };
package/dist/index.esm.js CHANGED
@@ -12221,7 +12221,14 @@ const LoginContainer = ({
12221
12221
  });
12222
12222
  onFailure(err);
12223
12223
  } else {
12224
+ var _ReactGA$event;
12225
+
12224
12226
  onSuccess(res);
12227
+ ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
12228
+ category: "ACTIONS",
12229
+ action: "Logged in",
12230
+ nonInteraction: true
12231
+ });
12225
12232
  }
12226
12233
  });
12227
12234
  };
@@ -27980,6 +27987,8 @@ const AddressUpdateContainer = ({
27980
27987
  });
27981
27988
  onFailure(err);
27982
27989
  } else {
27990
+ var _ReactGA$event;
27991
+
27983
27992
  dispatch({
27984
27993
  type: SHOW_ALERT,
27985
27994
  payload: {
@@ -27988,6 +27997,11 @@ const AddressUpdateContainer = ({
27988
27997
  }
27989
27998
  });
27990
27999
  onSuccess(res);
28000
+ ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
28001
+ category: "ACTIONS",
28002
+ action: "Updated address",
28003
+ nonInteraction: true
28004
+ });
27991
28005
  }
27992
28006
  });
27993
28007
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "4.0.0-alpha.40",
4
+ "version": "4.0.0-alpha.42",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",