@pelcro/react-pelcro-js 3.13.0-beta.16 → 3.13.0-beta.17

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
@@ -13492,8 +13492,9 @@ function LoginModal({
13492
13492
 
13493
13493
  resetView();
13494
13494
  const viewFromURL = getStableViewID(window.Pelcro.helpers.getURLParameter("view"));
13495
+ const viewsURLs = ["invoice-details", "gift-redeem", "plan-select"];
13495
13496
 
13496
- if (viewFromURL === "invoice-details" || viewFromURL === "gift-redeem") {
13497
+ if (viewsURLs.includes(viewFromURL)) {
13497
13498
  initViewFromURL();
13498
13499
  }
13499
13500
  };
package/dist/index.esm.js CHANGED
@@ -13462,8 +13462,9 @@ function LoginModal({
13462
13462
 
13463
13463
  resetView();
13464
13464
  const viewFromURL = getStableViewID(window.Pelcro.helpers.getURLParameter("view"));
13465
+ const viewsURLs = ["invoice-details", "gift-redeem", "plan-select"];
13465
13466
 
13466
- if (viewFromURL === "invoice-details" || viewFromURL === "gift-redeem") {
13467
+ if (viewsURLs.includes(viewFromURL)) {
13467
13468
  initViewFromURL();
13468
13469
  }
13469
13470
  };
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.13.0-beta.16",
4
+ "version": "3.13.0-beta.17",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",