@pelcro/react-pelcro-js 2.6.1 → 2.6.2

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
@@ -9989,7 +9989,9 @@ const RegisterContainer = ({
9989
9989
  */
9990
9990
 
9991
9991
  function hasSecurityTokenEnabled$1() {
9992
- const hasSecuritySdkLoaded = Boolean(window.grecaptcha);
9992
+ var _window$Pelcro$site$r2;
9993
+
9994
+ const hasSecuritySdkLoaded = Boolean((_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.security_key);
9993
9995
  return hasSecuritySdkLoaded;
9994
9996
  }
9995
9997
 
package/dist/index.esm.js CHANGED
@@ -9959,7 +9959,9 @@ const RegisterContainer = ({
9959
9959
  */
9960
9960
 
9961
9961
  function hasSecurityTokenEnabled$1() {
9962
- const hasSecuritySdkLoaded = Boolean(window.grecaptcha);
9962
+ var _window$Pelcro$site$r2;
9963
+
9964
+ const hasSecuritySdkLoaded = Boolean((_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.security_key);
9963
9965
  return hasSecuritySdkLoaded;
9964
9966
  }
9965
9967
 
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": "2.6.1",
4
+ "version": "2.6.2",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",