authhero 8.9.1 → 8.9.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.
@@ -414,7 +414,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
414
414
  } | undefined;
415
415
  } | undefined;
416
416
  passkey_options?: {
417
- challenge_ui?: "button" | "both" | "autofill" | undefined;
417
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
418
418
  local_enrollment_enabled?: boolean | undefined;
419
419
  progressive_enrollment_enabled?: boolean | undefined;
420
420
  } | undefined;
@@ -0,0 +1,6 @@
1
+ import type { User } from "@authhero/adapter-interfaces";
2
+ export declare function getAvatarColor(seed: string): string;
3
+ export declare function getAvatarInitials(user: Partial<User>): string;
4
+ export declare function getDefaultUserPicture(issuer: string, user: Partial<User>): string;
5
+ export declare function withDefaultPicture<T extends Partial<User>>(user: T, issuer: string): T;
6
+ export declare function renderAvatarSvg(text: string, bg: string): string;