@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 +5 -2
- package/dist/index.esm.js +5 -2
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
7392
|
+
|
|
7393
|
+
if (displayLogin) {
|
|
7394
|
+
switchView("login");
|
|
7395
|
+
}
|
|
7393
7396
|
});
|
|
7394
7397
|
|
|
7395
7398
|
_defineProperty$3(this, "addToCart", itemSkuId => {
|