@volr/react-ui 0.1.5 → 0.1.6

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.d.cts CHANGED
@@ -18,7 +18,7 @@ interface VolrUIConfig extends VolrConfig {
18
18
  enabledLoginMethods?: ("email" | "social" | "siwe")[];
19
19
  socialProviders?: ("google" | "twitter" | "apple")[];
20
20
  branding?: BrandingConfig;
21
- keyStorageType: KeyStorageType;
21
+ keyStorageType?: KeyStorageType;
22
22
  }
23
23
  interface VolrUIProviderProps {
24
24
  config: VolrUIConfig;
package/dist/index.d.ts CHANGED
@@ -18,7 +18,7 @@ interface VolrUIConfig extends VolrConfig {
18
18
  enabledLoginMethods?: ("email" | "social" | "siwe")[];
19
19
  socialProviders?: ("google" | "twitter" | "apple")[];
20
20
  branding?: BrandingConfig;
21
- keyStorageType: KeyStorageType;
21
+ keyStorageType?: KeyStorageType;
22
22
  }
23
23
  interface VolrUIProviderProps {
24
24
  config: VolrUIConfig;
package/dist/index.js CHANGED
@@ -2805,7 +2805,8 @@ var VolrUIProvider = ({
2805
2805
  enabledLoginMethods = ["email", "social", "siwe"],
2806
2806
  socialProviders = ["google", "twitter", "apple"],
2807
2807
  branding,
2808
- keyStorageType
2808
+ keyStorageType = "passkey"
2809
+ // Default to passkey if not specified
2809
2810
  } = config;
2810
2811
  const providerPolicy = config.providerPolicy ?? {
2811
2812
  enforceOnFirstLogin: true