@pelcro/react-pelcro-js 3.6.0-beta.19 → 3.6.0-beta.20

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
@@ -7399,7 +7399,7 @@ class PelcroActions {
7399
7399
  });
7400
7400
  });
7401
7401
 
7402
- _defineProperty$3(this, "logout", () => {
7402
+ _defineProperty$3(this, "logout", (displayLogin = true) => {
7403
7403
  var _ReactGA$event;
7404
7404
 
7405
7405
  const {
@@ -7419,7 +7419,10 @@ class PelcroActions {
7419
7419
  nonInteraction: true
7420
7420
  });
7421
7421
  resetView();
7422
- switchView("login");
7422
+
7423
+ if (displayLogin) {
7424
+ switchView("login");
7425
+ }
7423
7426
  });
7424
7427
 
7425
7428
  _defineProperty$3(this, "addToCart", itemSkuId => {
package/dist/index.esm.js CHANGED
@@ -7369,7 +7369,7 @@ class PelcroActions {
7369
7369
  });
7370
7370
  });
7371
7371
 
7372
- _defineProperty$3(this, "logout", () => {
7372
+ _defineProperty$3(this, "logout", (displayLogin = true) => {
7373
7373
  var _ReactGA$event;
7374
7374
 
7375
7375
  const {
@@ -7389,7 +7389,10 @@ class PelcroActions {
7389
7389
  nonInteraction: true
7390
7390
  });
7391
7391
  resetView();
7392
- switchView("login");
7392
+
7393
+ if (displayLogin) {
7394
+ switchView("login");
7395
+ }
7393
7396
  });
7394
7397
 
7395
7398
  _defineProperty$3(this, "addToCart", itemSkuId => {
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": "3.6.0-beta.19",
4
+ "version": "3.6.0-beta.20",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",