@lumiapassport/ui-kit 1.14.0 → 1.14.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/README.md +4 -37
- package/dist/iframe/index.html +5 -20
- package/dist/iframe/main.js +106 -61
- package/dist/iframe/main.js.map +1 -1
- package/dist/index.cjs +2942 -2517
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -42
- package/dist/index.d.ts +2 -42
- package/dist/index.js +2891 -2486
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -151,37 +151,6 @@ interface LumiaPassportConfig {
|
|
|
151
151
|
useExternalIcons?: boolean;
|
|
152
152
|
dialogClassName?: string;
|
|
153
153
|
authOrder?: Array<'passkey' | 'email' | 'social' | 'wallet'>;
|
|
154
|
-
/** DEPRECATED colors provided by cssv */
|
|
155
|
-
colors?: {
|
|
156
|
-
light?: {
|
|
157
|
-
background?: string;
|
|
158
|
-
text?: string;
|
|
159
|
-
textSecondary?: string;
|
|
160
|
-
textMuted?: string;
|
|
161
|
-
border?: string;
|
|
162
|
-
buttonBackground?: string;
|
|
163
|
-
buttonBackgroundEnd?: string;
|
|
164
|
-
buttonText?: string;
|
|
165
|
-
buttonBackgroundHover?: string;
|
|
166
|
-
buttonBackgroundHoverEnd?: string;
|
|
167
|
-
connectedButtonBackground?: string;
|
|
168
|
-
connectedButtonBorder?: string;
|
|
169
|
-
};
|
|
170
|
-
dark?: {
|
|
171
|
-
background?: string;
|
|
172
|
-
text?: string;
|
|
173
|
-
textSecondary?: string;
|
|
174
|
-
textMuted?: string;
|
|
175
|
-
border?: string;
|
|
176
|
-
buttonBackground?: string;
|
|
177
|
-
buttonBackgroundEnd?: string;
|
|
178
|
-
buttonText?: string;
|
|
179
|
-
buttonBackgroundHover?: string;
|
|
180
|
-
buttonBackgroundHoverEnd?: string;
|
|
181
|
-
connectedButtonBackground?: string;
|
|
182
|
-
connectedButtonBorder?: string;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
154
|
branding: {
|
|
186
155
|
logo?: React__default.ComponentType<{
|
|
187
156
|
size?: number;
|
|
@@ -425,12 +394,6 @@ interface IframeManagerConfig {
|
|
|
425
394
|
projectId: string;
|
|
426
395
|
debug?: boolean;
|
|
427
396
|
onWalletReady?: (status: WalletReadyStatus) => void;
|
|
428
|
-
themeColors?: {
|
|
429
|
-
background?: string;
|
|
430
|
-
text?: string;
|
|
431
|
-
textSecondary?: string;
|
|
432
|
-
border?: string;
|
|
433
|
-
};
|
|
434
397
|
}
|
|
435
398
|
interface WalletReadyStatus {
|
|
436
399
|
ready: boolean;
|
|
@@ -812,10 +775,7 @@ interface LumiaWagmiProviderProps {
|
|
|
812
775
|
}
|
|
813
776
|
declare const LumiaWagmiProvider: React__default.FC<LumiaWagmiProviderProps>;
|
|
814
777
|
|
|
815
|
-
|
|
816
|
-
children: React__default.ReactNode;
|
|
817
|
-
}
|
|
818
|
-
declare const LumiaRainbowKitProvider: React__default.FC<LumiaRainbowKitProviderProps>;
|
|
778
|
+
declare function LumiaRainbowKitProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
819
779
|
|
|
820
780
|
interface LumiaLogoProps {
|
|
821
781
|
size?: number;
|
|
@@ -1351,4 +1311,4 @@ declare function useLumiaPassportLinkedProfiles(): {
|
|
|
1351
1311
|
refresh: () => Promise<void>;
|
|
1352
1312
|
};
|
|
1353
1313
|
|
|
1354
|
-
export { type AccountSession, Address, type AddressProps, type Asset, ConnectWalletButton, type ConnectWalletButtonProps, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LUMIA_EXPLORER_URL, LumiaLogo, type LumiaPassportCallbacks, type LumiaPassportConfig, LumiaPassportProvider, type LumiaPassportProviderProps, LumiaPassportSessionProvider, LumiaRainbowKitProvider,
|
|
1314
|
+
export { type AccountSession, Address, type AddressProps, type Asset, ConnectWalletButton, type ConnectWalletButtonProps, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LUMIA_EXPLORER_URL, LumiaLogo, type LumiaPassportCallbacks, type LumiaPassportConfig, LumiaPassportProvider, type LumiaPassportProviderProps, LumiaPassportSessionProvider, LumiaRainbowKitProvider, LumiaWagmiProvider, PageKey, type PageOpenParams, type ProviderDetail, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseLogoutReturn, type UseSendTransactionReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UserOpMempool, type UserOpReceipt, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserProfile, type WalletReadyStatus, deployAccount, destroyIframeManager, getIframeManager, getUserProfile, lumiaBeam, prepareUserOperation, queryClient, sendUserOperation, signTypedData, updateUserProfile, useAssets, useLogout, useLumiaPassportAccountSession, useLumiaPassportAddress, useLumiaPassportBalance, useLumiaPassportColorMode, useLumiaPassportConfig, useLumiaPassportError, useLumiaPassportHasServerVault, useLumiaPassportIFrameReady, useLumiaPassportIsMobileView, useLumiaPassportLinkedProfiles, useLumiaPassportLoadingStatus, useLumiaPassportOpen, useLumiaPassportRecoveryUserId, useLumiaPassportSession, useSendTransaction, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useUserOpStatus, wagmiConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -151,37 +151,6 @@ interface LumiaPassportConfig {
|
|
|
151
151
|
useExternalIcons?: boolean;
|
|
152
152
|
dialogClassName?: string;
|
|
153
153
|
authOrder?: Array<'passkey' | 'email' | 'social' | 'wallet'>;
|
|
154
|
-
/** DEPRECATED colors provided by cssv */
|
|
155
|
-
colors?: {
|
|
156
|
-
light?: {
|
|
157
|
-
background?: string;
|
|
158
|
-
text?: string;
|
|
159
|
-
textSecondary?: string;
|
|
160
|
-
textMuted?: string;
|
|
161
|
-
border?: string;
|
|
162
|
-
buttonBackground?: string;
|
|
163
|
-
buttonBackgroundEnd?: string;
|
|
164
|
-
buttonText?: string;
|
|
165
|
-
buttonBackgroundHover?: string;
|
|
166
|
-
buttonBackgroundHoverEnd?: string;
|
|
167
|
-
connectedButtonBackground?: string;
|
|
168
|
-
connectedButtonBorder?: string;
|
|
169
|
-
};
|
|
170
|
-
dark?: {
|
|
171
|
-
background?: string;
|
|
172
|
-
text?: string;
|
|
173
|
-
textSecondary?: string;
|
|
174
|
-
textMuted?: string;
|
|
175
|
-
border?: string;
|
|
176
|
-
buttonBackground?: string;
|
|
177
|
-
buttonBackgroundEnd?: string;
|
|
178
|
-
buttonText?: string;
|
|
179
|
-
buttonBackgroundHover?: string;
|
|
180
|
-
buttonBackgroundHoverEnd?: string;
|
|
181
|
-
connectedButtonBackground?: string;
|
|
182
|
-
connectedButtonBorder?: string;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
154
|
branding: {
|
|
186
155
|
logo?: React__default.ComponentType<{
|
|
187
156
|
size?: number;
|
|
@@ -425,12 +394,6 @@ interface IframeManagerConfig {
|
|
|
425
394
|
projectId: string;
|
|
426
395
|
debug?: boolean;
|
|
427
396
|
onWalletReady?: (status: WalletReadyStatus) => void;
|
|
428
|
-
themeColors?: {
|
|
429
|
-
background?: string;
|
|
430
|
-
text?: string;
|
|
431
|
-
textSecondary?: string;
|
|
432
|
-
border?: string;
|
|
433
|
-
};
|
|
434
397
|
}
|
|
435
398
|
interface WalletReadyStatus {
|
|
436
399
|
ready: boolean;
|
|
@@ -812,10 +775,7 @@ interface LumiaWagmiProviderProps {
|
|
|
812
775
|
}
|
|
813
776
|
declare const LumiaWagmiProvider: React__default.FC<LumiaWagmiProviderProps>;
|
|
814
777
|
|
|
815
|
-
|
|
816
|
-
children: React__default.ReactNode;
|
|
817
|
-
}
|
|
818
|
-
declare const LumiaRainbowKitProvider: React__default.FC<LumiaRainbowKitProviderProps>;
|
|
778
|
+
declare function LumiaRainbowKitProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
819
779
|
|
|
820
780
|
interface LumiaLogoProps {
|
|
821
781
|
size?: number;
|
|
@@ -1351,4 +1311,4 @@ declare function useLumiaPassportLinkedProfiles(): {
|
|
|
1351
1311
|
refresh: () => Promise<void>;
|
|
1352
1312
|
};
|
|
1353
1313
|
|
|
1354
|
-
export { type AccountSession, Address, type AddressProps, type Asset, ConnectWalletButton, type ConnectWalletButtonProps, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LUMIA_EXPLORER_URL, LumiaLogo, type LumiaPassportCallbacks, type LumiaPassportConfig, LumiaPassportProvider, type LumiaPassportProviderProps, LumiaPassportSessionProvider, LumiaRainbowKitProvider,
|
|
1314
|
+
export { type AccountSession, Address, type AddressProps, type Asset, ConnectWalletButton, type ConnectWalletButtonProps, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LUMIA_EXPLORER_URL, LumiaLogo, type LumiaPassportCallbacks, type LumiaPassportConfig, LumiaPassportProvider, type LumiaPassportProviderProps, LumiaPassportSessionProvider, LumiaRainbowKitProvider, LumiaWagmiProvider, PageKey, type PageOpenParams, type ProviderDetail, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseLogoutReturn, type UseSendTransactionReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UserOpMempool, type UserOpReceipt, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserProfile, type WalletReadyStatus, deployAccount, destroyIframeManager, getIframeManager, getUserProfile, lumiaBeam, prepareUserOperation, queryClient, sendUserOperation, signTypedData, updateUserProfile, useAssets, useLogout, useLumiaPassportAccountSession, useLumiaPassportAddress, useLumiaPassportBalance, useLumiaPassportColorMode, useLumiaPassportConfig, useLumiaPassportError, useLumiaPassportHasServerVault, useLumiaPassportIFrameReady, useLumiaPassportIsMobileView, useLumiaPassportLinkedProfiles, useLumiaPassportLoadingStatus, useLumiaPassportOpen, useLumiaPassportRecoveryUserId, useLumiaPassportSession, useSendTransaction, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useUserOpStatus, wagmiConfig };
|