@pelcro/react-pelcro-js 3.26.0-beta.18 → 3.26.0-beta.19

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
@@ -11851,6 +11851,8 @@ const initPaywalls = () => {
11851
11851
  switchView,
11852
11852
  isAuthenticated
11853
11853
  } = usePelcro.getStore();
11854
+
11855
+ // eslint-disable-next-line no-inner-declarations
11854
11856
  function displayPaywalls() {
11855
11857
  if (paywallMethods !== null && paywallMethods !== void 0 && paywallMethods.displayMeterPaywall()) {
11856
11858
  /*
@@ -11870,7 +11872,7 @@ const initPaywalls = () => {
11870
11872
  if (isAuthenticated()) {
11871
11873
  addEventListener("PelcroUserLoaded", function () {
11872
11874
  displayPaywalls();
11873
- });
11875
+ }, true);
11874
11876
  } else {
11875
11877
  displayPaywalls();
11876
11878
  }
package/dist/index.esm.js CHANGED
@@ -11821,6 +11821,8 @@ const initPaywalls = () => {
11821
11821
  switchView,
11822
11822
  isAuthenticated
11823
11823
  } = usePelcro.getStore();
11824
+
11825
+ // eslint-disable-next-line no-inner-declarations
11824
11826
  function displayPaywalls() {
11825
11827
  if (paywallMethods !== null && paywallMethods !== void 0 && paywallMethods.displayMeterPaywall()) {
11826
11828
  /*
@@ -11840,7 +11842,7 @@ const initPaywalls = () => {
11840
11842
  if (isAuthenticated()) {
11841
11843
  addEventListener("PelcroUserLoaded", function () {
11842
11844
  displayPaywalls();
11843
- });
11845
+ }, true);
11844
11846
  } else {
11845
11847
  displayPaywalls();
11846
11848
  }
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.26.0-beta.18",
4
+ "version": "3.26.0-beta.19",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",