@pelcro/react-pelcro-js 3.0.0-beta.2 → 3.0.0-beta.3

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
@@ -10300,7 +10300,9 @@ const Auth0LoginButton = ({
10300
10300
  }
10301
10301
 
10302
10302
  return () => {
10303
- auth0Script.removeEventListener("load", handleScriptLoaded);
10303
+ var _auth0Script$removeEv;
10304
+
10305
+ auth0Script === null || auth0Script === void 0 ? void 0 : (_auth0Script$removeEv = auth0Script.removeEventListener) === null || _auth0Script$removeEv === void 0 ? void 0 : _auth0Script$removeEv.call(auth0Script, "load", handleScriptLoaded);
10304
10306
  };
10305
10307
  }, [auth0Script, auth0Enabled, auth0Loaded]);
10306
10308
  const auth0InstanceRef = React__default['default'].useRef(null);
package/dist/index.esm.js CHANGED
@@ -10270,7 +10270,9 @@ const Auth0LoginButton = ({
10270
10270
  }
10271
10271
 
10272
10272
  return () => {
10273
- auth0Script.removeEventListener("load", handleScriptLoaded);
10273
+ var _auth0Script$removeEv;
10274
+
10275
+ auth0Script === null || auth0Script === void 0 ? void 0 : (_auth0Script$removeEv = auth0Script.removeEventListener) === null || _auth0Script$removeEv === void 0 ? void 0 : _auth0Script$removeEv.call(auth0Script, "load", handleScriptLoaded);
10274
10276
  };
10275
10277
  }, [auth0Script, auth0Enabled, auth0Loaded]);
10276
10278
  const auth0InstanceRef = React__default.useRef(null);
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.0.0-beta.2",
4
+ "version": "3.0.0-beta.3",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",