@lumiapassport/ui-kit 1.12.5 → 1.12.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
@@ -72,9 +72,7 @@ interface LumiaPassportConfig {
72
72
  title: string;
73
73
  subtitle?: string;
74
74
  dialogClassName?: string;
75
- authOrder?: Array<'passkey' | 'email' | 'social'>;
76
- /** DEPRECATED use useLumiaPassportOpen().open('auth') in your app for auto-open auth dialog */
77
- /** DEPRECATED, useLayoutStore colorMode */
75
+ authOrder?: Array<'passkey' | 'email' | 'social' | 'wallet'>;
78
76
  fonts?: {
79
77
  base?: string;
80
78
  heading?: string;
@@ -643,7 +641,11 @@ interface SessionState {
643
641
  setIsLoading: (isLoading: boolean) => void;
644
642
  setWalletReadyStatus: (status: WalletReadyStatus) => void;
645
643
  }
646
- /** Lumia Passport session store */
644
+ /**
645
+ * @function useLumiaPassportSession is UNLIKELY to use outside Lumia Passport, as it is INTERNAL zustand session store!
646
+ * Use it with caution, using zustand callback extraction. EX: const address = useLumiaPassportSession((st) => st.address)
647
+ * @description refactor your app to NOT use this directly in your application, use set of new dedicated session hooks: useLumiaPassportAccountSession, useLumiaPassportAddress, etc.
648
+ */
647
649
  declare const useLumiaPassportSession: zustand.UseBoundStore<zustand.StoreApi<SessionState>>;
648
650
  declare function LumiaPassportSessionProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
649
651
 
@@ -679,7 +681,6 @@ declare enum PageKey {
679
681
  TRANSACTIONS = "transactions",
680
682
  ASSETS = "assets",
681
683
  MANAGE_WALLET = "manage-wallet",
682
- ADD_PROVIDER = "add-provider",
683
684
  UNLINK_PROVIDER = "unlink-provider",
684
685
  SECURITY = "security",
685
686
  KEYSARE_BACKUP = "keysare-backup",
package/dist/index.d.ts CHANGED
@@ -72,9 +72,7 @@ interface LumiaPassportConfig {
72
72
  title: string;
73
73
  subtitle?: string;
74
74
  dialogClassName?: string;
75
- authOrder?: Array<'passkey' | 'email' | 'social'>;
76
- /** DEPRECATED use useLumiaPassportOpen().open('auth') in your app for auto-open auth dialog */
77
- /** DEPRECATED, useLayoutStore colorMode */
75
+ authOrder?: Array<'passkey' | 'email' | 'social' | 'wallet'>;
78
76
  fonts?: {
79
77
  base?: string;
80
78
  heading?: string;
@@ -643,7 +641,11 @@ interface SessionState {
643
641
  setIsLoading: (isLoading: boolean) => void;
644
642
  setWalletReadyStatus: (status: WalletReadyStatus) => void;
645
643
  }
646
- /** Lumia Passport session store */
644
+ /**
645
+ * @function useLumiaPassportSession is UNLIKELY to use outside Lumia Passport, as it is INTERNAL zustand session store!
646
+ * Use it with caution, using zustand callback extraction. EX: const address = useLumiaPassportSession((st) => st.address)
647
+ * @description refactor your app to NOT use this directly in your application, use set of new dedicated session hooks: useLumiaPassportAccountSession, useLumiaPassportAddress, etc.
648
+ */
647
649
  declare const useLumiaPassportSession: zustand.UseBoundStore<zustand.StoreApi<SessionState>>;
648
650
  declare function LumiaPassportSessionProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
649
651
 
@@ -679,7 +681,6 @@ declare enum PageKey {
679
681
  TRANSACTIONS = "transactions",
680
682
  ASSETS = "assets",
681
683
  MANAGE_WALLET = "manage-wallet",
682
- ADD_PROVIDER = "add-provider",
683
684
  UNLINK_PROVIDER = "unlink-provider",
684
685
  SECURITY = "security",
685
686
  KEYSARE_BACKUP = "keysare-backup",