@authowl/react 0.25.1 → 0.25.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 CHANGED
@@ -7729,7 +7729,7 @@ function usePasskeyOffer() {
7729
7729
  const api = React32.useRef(listPasskeys);
7730
7730
  api.current = listPasskeys;
7731
7731
  const projectId = config?.environmentId ?? null;
7732
- const eligible = projectId !== null && isSignedIn && (0, import_core4.resolveProjectCapabilities)(config).passkeyAdd && user?.twoFactorEnabled !== true && typeof window !== "undefined" && "PublicKeyCredential" in window && passkeyReachableForConfig(config, window.location.hostname);
7732
+ const eligible = projectId !== null && isSignedIn && (0, import_core4.resolveProjectCapabilities)(config).passkeyAdd && typeof window !== "undefined" && "PublicKeyCredential" in window && passkeyReachableForConfig(config, window.location.hostname);
7733
7733
  const userId = user?.id ?? null;
7734
7734
  const sessionId = sessionData?.session?.id ?? null;
7735
7735
  const subject = React32.useMemo(
package/dist/index.js CHANGED
@@ -3019,7 +3019,7 @@ function usePasskeyOffer() {
3019
3019
  const api = React25.useRef(listPasskeys);
3020
3020
  api.current = listPasskeys;
3021
3021
  const projectId = config?.environmentId ?? null;
3022
- const eligible = projectId !== null && isSignedIn && resolveProjectCapabilities(config).passkeyAdd && user?.twoFactorEnabled !== true && typeof window !== "undefined" && "PublicKeyCredential" in window && passkeyReachableForConfig(config, window.location.hostname);
3022
+ const eligible = projectId !== null && isSignedIn && resolveProjectCapabilities(config).passkeyAdd && typeof window !== "undefined" && "PublicKeyCredential" in window && passkeyReachableForConfig(config, window.location.hostname);
3023
3023
  const userId = user?.id ?? null;
3024
3024
  const sessionId = sessionData?.session?.id ?? null;
3025
3025
  const subject = React25.useMemo(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authowl/react",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
4
4
  "description": "React provider, hooks, and drop-in components for AuthOwl, the multi-tenant auth SaaS.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {