@lumiapassport/ui-kit 1.11.0 → 1.12.0
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/iframe/index.html +1 -1
- package/dist/iframe/main.js +3589 -3542
- package/dist/iframe/main.js.map +1 -1
- package/dist/index.cjs +8699 -6852
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -23
- package/dist/index.d.ts +59 -23
- package/dist/index.js +8512 -6677
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +8 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { UserOperationV07, UserOperationV06 } from '@lumiapassport/core/bundler';
|
|
2
|
+
import React__default, { PropsWithChildren, FC, HTMLAttributes } from 'react';
|
|
4
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { UserOperationV07, UserOperationV06 } from '@lumiapassport/core/bundler';
|
|
5
5
|
import * as viem from 'viem';
|
|
6
6
|
import { Chain, Hash as Hash$1, TransactionReceipt, Address as Address$1, Hex } from 'viem';
|
|
7
7
|
export { JwtTokens, LoginResponse, VerifyResponse, getValidTokens, jwtTokenManager, logout } from '@lumiapassport/core/auth';
|
|
@@ -69,11 +69,14 @@ interface LumiaPassportConfig {
|
|
|
69
69
|
subtitle?: string;
|
|
70
70
|
theme: 'light' | 'dark' | 'auto';
|
|
71
71
|
authOrder?: Array<'passkey' | 'email' | 'social'>;
|
|
72
|
+
/** DEPRECATED use useLumiaPassportOpen().open('auth') in your app for auto-open auth dialog */
|
|
72
73
|
authOpen?: boolean;
|
|
74
|
+
/** DEPRECATED use system fonts */
|
|
73
75
|
fonts?: {
|
|
74
76
|
base?: string;
|
|
75
77
|
heading?: string;
|
|
76
78
|
};
|
|
79
|
+
/** DEPRECATED colors provided by cssv */
|
|
77
80
|
colors?: {
|
|
78
81
|
light?: {
|
|
79
82
|
background?: string;
|
|
@@ -193,6 +196,8 @@ interface LumiaPassportContextType {
|
|
|
193
196
|
config: LumiaPassportConfig;
|
|
194
197
|
updateConfig: (updates: Partial<LumiaPassportConfig>) => void;
|
|
195
198
|
callbacks?: LumiaPassportCallbacks;
|
|
199
|
+
providersVersion: number;
|
|
200
|
+
notifyProvidersUpdate: () => void;
|
|
196
201
|
}
|
|
197
202
|
interface LumiaPassportProviderProps {
|
|
198
203
|
children: React__default.ReactNode;
|
|
@@ -330,18 +335,15 @@ interface SessionState {
|
|
|
330
335
|
status: string;
|
|
331
336
|
error: string | null;
|
|
332
337
|
recoveryUserId: string | null;
|
|
333
|
-
|
|
338
|
+
isIframeReady: boolean;
|
|
339
|
+
setIsIframeReady: (ready: boolean) => void;
|
|
334
340
|
setSession: (s: AccountSession | null) => void;
|
|
335
341
|
setAddress: (a: `0x${string}` | null) => void;
|
|
336
342
|
setStatus: (s: string) => void;
|
|
337
343
|
setError: (e: string | null) => void;
|
|
338
344
|
setRecoveryUserId: (userId: string | null) => void;
|
|
339
|
-
setIsRecoveryModalOpen: (open: boolean) => void;
|
|
340
|
-
}
|
|
341
|
-
interface LumiaPassportSessionProviderProps {
|
|
342
|
-
children: React__default.ReactNode;
|
|
343
345
|
}
|
|
344
|
-
declare
|
|
346
|
+
declare function LumiaPassportSessionProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
345
347
|
declare function useLumiaPassportSession(): SessionState;
|
|
346
348
|
/**
|
|
347
349
|
* @deprecated Use `useLumiaPassportSession` instead. This alias will be removed in v2.0.0
|
|
@@ -350,7 +352,7 @@ declare function useLumiaSession(): SessionState;
|
|
|
350
352
|
/**
|
|
351
353
|
* @deprecated Use `LumiaPassportSessionProviderProps` instead. This alias will be removed in v2.0.0
|
|
352
354
|
*/
|
|
353
|
-
type LumiaSessionProviderProps =
|
|
355
|
+
type LumiaSessionProviderProps = PropsWithChildren;
|
|
354
356
|
/**
|
|
355
357
|
* @deprecated Use `LumiaPassportSessionProvider` instead. This alias will be removed in v2.0.0
|
|
356
358
|
*/
|
|
@@ -367,7 +369,11 @@ interface LumiaRainbowKitProviderProps {
|
|
|
367
369
|
declare const LumiaRainbowKitProvider: React__default.FC<LumiaRainbowKitProviderProps>;
|
|
368
370
|
|
|
369
371
|
interface ConnectWalletButtonProps {
|
|
372
|
+
/** Button Component to render as unsigned button instance */
|
|
373
|
+
ConnectButton?: FC<HTMLAttributes<HTMLButtonElement>>;
|
|
374
|
+
/** Button container class name */
|
|
370
375
|
className?: string;
|
|
376
|
+
/** Button label */
|
|
371
377
|
label?: string;
|
|
372
378
|
usePaymaster?: boolean;
|
|
373
379
|
authOpen?: boolean;
|
|
@@ -393,9 +399,7 @@ interface LumiaLogoProps {
|
|
|
393
399
|
declare const LumiaLogo: React__default.FC<LumiaLogoProps>;
|
|
394
400
|
|
|
395
401
|
type Theme = 'light' | 'dark' | 'auto';
|
|
396
|
-
/**
|
|
397
|
-
* Hook for managing theme detection and CSS classes
|
|
398
|
-
*/
|
|
402
|
+
/** @deprecated will not be provided by v2 */
|
|
399
403
|
declare function useTheme(configTheme: Theme): {
|
|
400
404
|
theme: "light" | "dark";
|
|
401
405
|
isDark: boolean;
|
|
@@ -418,6 +422,32 @@ declare function useTheme(configTheme: Theme): {
|
|
|
418
422
|
};
|
|
419
423
|
};
|
|
420
424
|
|
|
425
|
+
type PageKey = 'auth' | 'terms-of-service' | 'main-menu' | 'send' | 'receive' | 'buy' | 'kyc' | 'transactions' | 'assets' | 'manage-wallet' | 'add-provider' | 'unlink-provider' | 'security' | 'keysare-backup';
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Hook to programmatically open the LumiaPassport dialogs
|
|
429
|
+
* @example
|
|
430
|
+
* ```tsx
|
|
431
|
+
* function MyComponent() {
|
|
432
|
+
* const { isOpen, open, close } = useLumiaPassportOpen();
|
|
433
|
+
*
|
|
434
|
+
* return (
|
|
435
|
+
* <button onClick={() => open('manage-wallet')}>
|
|
436
|
+
* Manage Wallet
|
|
437
|
+
* </button>
|
|
438
|
+
* );
|
|
439
|
+
* }
|
|
440
|
+
* ```
|
|
441
|
+
*/
|
|
442
|
+
declare function useLumiaPassportOpen(): {
|
|
443
|
+
/** Opens the Manage Wallet modal */
|
|
444
|
+
readonly open: (passportPage: PageKey) => void;
|
|
445
|
+
/** Closes the Manage Wallet modal */
|
|
446
|
+
readonly close: () => void;
|
|
447
|
+
/** Whether the Manage Wallet modal is currently open */
|
|
448
|
+
readonly isOpen: boolean;
|
|
449
|
+
};
|
|
450
|
+
|
|
421
451
|
type ChainLike$2 = {
|
|
422
452
|
id: number;
|
|
423
453
|
blockExplorers?: {
|
|
@@ -486,12 +516,7 @@ interface TransactionsListProps {
|
|
|
486
516
|
}
|
|
487
517
|
declare const TransactionsList: React__default.FC<TransactionsListProps>;
|
|
488
518
|
|
|
489
|
-
|
|
490
|
-
userId: string;
|
|
491
|
-
onBackupSuccess?: () => void;
|
|
492
|
-
onBack?: () => void;
|
|
493
|
-
}
|
|
494
|
-
declare function KeyshareBackup({ userId, onBackupSuccess, onBack }: KeyshareBackupProps): react_jsx_runtime.JSX.Element;
|
|
519
|
+
declare function KeyshareBackupMenu(): react_jsx_runtime.JSX.Element;
|
|
495
520
|
|
|
496
521
|
interface SendTransactionParams$1 {
|
|
497
522
|
to: `0x${string}`;
|
|
@@ -609,6 +634,10 @@ interface UserProfile {
|
|
|
609
634
|
createdAt: string;
|
|
610
635
|
updatedAt: string;
|
|
611
636
|
hasKeyshare: boolean;
|
|
637
|
+
kycDetails: {
|
|
638
|
+
provider: 'sumsub' | 'uaepass' | 'custom';
|
|
639
|
+
kycStatus: string;
|
|
640
|
+
} | null;
|
|
612
641
|
}
|
|
613
642
|
interface UpdateProfileRequest {
|
|
614
643
|
displayName?: string;
|
|
@@ -995,7 +1024,9 @@ declare function useSmartAccountTransactions(): {
|
|
|
995
1024
|
|
|
996
1025
|
interface LinkedProfileDisplay extends AuthProvider {
|
|
997
1026
|
displayName: string;
|
|
998
|
-
icon?:
|
|
1027
|
+
icon?: React.ComponentType<{
|
|
1028
|
+
className?: string;
|
|
1029
|
+
}>;
|
|
999
1030
|
color?: string;
|
|
1000
1031
|
}
|
|
1001
1032
|
declare function useLumiaPassportLinkedProfiles(): {
|
|
@@ -1116,9 +1147,9 @@ declare class IframeManager {
|
|
|
1116
1147
|
private restoreAllDialogs;
|
|
1117
1148
|
/**
|
|
1118
1149
|
* Stop Radix dismissable layers from swallowing the first click on the iframe.
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1150
|
+
* Radix attaches pointer event guards at the document level; we intercept at window
|
|
1151
|
+
* capture phase so user clicks flow straight into the consent iframe.
|
|
1152
|
+
*/
|
|
1122
1153
|
private enablePointerEventGuards;
|
|
1123
1154
|
/**
|
|
1124
1155
|
* Remove pointer interception once iframe is hidden again.
|
|
@@ -1207,6 +1238,11 @@ declare class IframeManager {
|
|
|
1207
1238
|
* Remove app from trusted list
|
|
1208
1239
|
*/
|
|
1209
1240
|
removeTrustedApp(userId: string, projectId: string, origin: string): Promise<boolean>;
|
|
1241
|
+
/**
|
|
1242
|
+
* Clear all authorizations for current project (for testing consent flow)
|
|
1243
|
+
* This will force the consent modal to appear on next authentication
|
|
1244
|
+
*/
|
|
1245
|
+
clearAuthorizations(): Promise<boolean>;
|
|
1210
1246
|
/**
|
|
1211
1247
|
* Create backup of keyshare
|
|
1212
1248
|
*/
|
|
@@ -1286,4 +1322,4 @@ declare function getIframeManager(config?: IframeManagerConfig): IframeManager;
|
|
|
1286
1322
|
*/
|
|
1287
1323
|
declare function destroyIframeManager(): void;
|
|
1288
1324
|
|
|
1289
|
-
export { type AccountSession$1 as AccountSession, Address, type AddressProps, type Asset, ConnectWalletButton, type ConnectWalletButtonProps, Hash, type HashProps, KeyshareBackup, LUMIA_EXPLORER_URL, LumiaLogo, type LumiaPassportCallbacks, type LumiaPassportConfig, LumiaPassportProvider, type LumiaPassportProviderProps, LumiaPassportSessionProvider,
|
|
1325
|
+
export { type AccountSession$1 as 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, type LumiaRainbowKitProviderProps, LumiaSessionProvider, type LumiaSessionProviderProps, LumiaWagmiProvider, type ProviderDetail, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type Theme, ThemeToggle, type TokenBalance, type Transaction$1 as 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, useLumiaPassportConfig, useLumiaPassportLinkedProfiles, useLumiaPassportOpen, useLumiaPassportSession, useLumiaSession, useSendTransaction, useSmartAccountTransactions, useTheme, useTokenBalance, useTokenInfo, useTransactions, useUserOpStatus, wagmiConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { UserOperationV07, UserOperationV06 } from '@lumiapassport/core/bundler';
|
|
2
|
+
import React__default, { PropsWithChildren, FC, HTMLAttributes } from 'react';
|
|
4
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { UserOperationV07, UserOperationV06 } from '@lumiapassport/core/bundler';
|
|
5
5
|
import * as viem from 'viem';
|
|
6
6
|
import { Chain, Hash as Hash$1, TransactionReceipt, Address as Address$1, Hex } from 'viem';
|
|
7
7
|
export { JwtTokens, LoginResponse, VerifyResponse, getValidTokens, jwtTokenManager, logout } from '@lumiapassport/core/auth';
|
|
@@ -69,11 +69,14 @@ interface LumiaPassportConfig {
|
|
|
69
69
|
subtitle?: string;
|
|
70
70
|
theme: 'light' | 'dark' | 'auto';
|
|
71
71
|
authOrder?: Array<'passkey' | 'email' | 'social'>;
|
|
72
|
+
/** DEPRECATED use useLumiaPassportOpen().open('auth') in your app for auto-open auth dialog */
|
|
72
73
|
authOpen?: boolean;
|
|
74
|
+
/** DEPRECATED use system fonts */
|
|
73
75
|
fonts?: {
|
|
74
76
|
base?: string;
|
|
75
77
|
heading?: string;
|
|
76
78
|
};
|
|
79
|
+
/** DEPRECATED colors provided by cssv */
|
|
77
80
|
colors?: {
|
|
78
81
|
light?: {
|
|
79
82
|
background?: string;
|
|
@@ -193,6 +196,8 @@ interface LumiaPassportContextType {
|
|
|
193
196
|
config: LumiaPassportConfig;
|
|
194
197
|
updateConfig: (updates: Partial<LumiaPassportConfig>) => void;
|
|
195
198
|
callbacks?: LumiaPassportCallbacks;
|
|
199
|
+
providersVersion: number;
|
|
200
|
+
notifyProvidersUpdate: () => void;
|
|
196
201
|
}
|
|
197
202
|
interface LumiaPassportProviderProps {
|
|
198
203
|
children: React__default.ReactNode;
|
|
@@ -330,18 +335,15 @@ interface SessionState {
|
|
|
330
335
|
status: string;
|
|
331
336
|
error: string | null;
|
|
332
337
|
recoveryUserId: string | null;
|
|
333
|
-
|
|
338
|
+
isIframeReady: boolean;
|
|
339
|
+
setIsIframeReady: (ready: boolean) => void;
|
|
334
340
|
setSession: (s: AccountSession | null) => void;
|
|
335
341
|
setAddress: (a: `0x${string}` | null) => void;
|
|
336
342
|
setStatus: (s: string) => void;
|
|
337
343
|
setError: (e: string | null) => void;
|
|
338
344
|
setRecoveryUserId: (userId: string | null) => void;
|
|
339
|
-
setIsRecoveryModalOpen: (open: boolean) => void;
|
|
340
|
-
}
|
|
341
|
-
interface LumiaPassportSessionProviderProps {
|
|
342
|
-
children: React__default.ReactNode;
|
|
343
345
|
}
|
|
344
|
-
declare
|
|
346
|
+
declare function LumiaPassportSessionProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
345
347
|
declare function useLumiaPassportSession(): SessionState;
|
|
346
348
|
/**
|
|
347
349
|
* @deprecated Use `useLumiaPassportSession` instead. This alias will be removed in v2.0.0
|
|
@@ -350,7 +352,7 @@ declare function useLumiaSession(): SessionState;
|
|
|
350
352
|
/**
|
|
351
353
|
* @deprecated Use `LumiaPassportSessionProviderProps` instead. This alias will be removed in v2.0.0
|
|
352
354
|
*/
|
|
353
|
-
type LumiaSessionProviderProps =
|
|
355
|
+
type LumiaSessionProviderProps = PropsWithChildren;
|
|
354
356
|
/**
|
|
355
357
|
* @deprecated Use `LumiaPassportSessionProvider` instead. This alias will be removed in v2.0.0
|
|
356
358
|
*/
|
|
@@ -367,7 +369,11 @@ interface LumiaRainbowKitProviderProps {
|
|
|
367
369
|
declare const LumiaRainbowKitProvider: React__default.FC<LumiaRainbowKitProviderProps>;
|
|
368
370
|
|
|
369
371
|
interface ConnectWalletButtonProps {
|
|
372
|
+
/** Button Component to render as unsigned button instance */
|
|
373
|
+
ConnectButton?: FC<HTMLAttributes<HTMLButtonElement>>;
|
|
374
|
+
/** Button container class name */
|
|
370
375
|
className?: string;
|
|
376
|
+
/** Button label */
|
|
371
377
|
label?: string;
|
|
372
378
|
usePaymaster?: boolean;
|
|
373
379
|
authOpen?: boolean;
|
|
@@ -393,9 +399,7 @@ interface LumiaLogoProps {
|
|
|
393
399
|
declare const LumiaLogo: React__default.FC<LumiaLogoProps>;
|
|
394
400
|
|
|
395
401
|
type Theme = 'light' | 'dark' | 'auto';
|
|
396
|
-
/**
|
|
397
|
-
* Hook for managing theme detection and CSS classes
|
|
398
|
-
*/
|
|
402
|
+
/** @deprecated will not be provided by v2 */
|
|
399
403
|
declare function useTheme(configTheme: Theme): {
|
|
400
404
|
theme: "light" | "dark";
|
|
401
405
|
isDark: boolean;
|
|
@@ -418,6 +422,32 @@ declare function useTheme(configTheme: Theme): {
|
|
|
418
422
|
};
|
|
419
423
|
};
|
|
420
424
|
|
|
425
|
+
type PageKey = 'auth' | 'terms-of-service' | 'main-menu' | 'send' | 'receive' | 'buy' | 'kyc' | 'transactions' | 'assets' | 'manage-wallet' | 'add-provider' | 'unlink-provider' | 'security' | 'keysare-backup';
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Hook to programmatically open the LumiaPassport dialogs
|
|
429
|
+
* @example
|
|
430
|
+
* ```tsx
|
|
431
|
+
* function MyComponent() {
|
|
432
|
+
* const { isOpen, open, close } = useLumiaPassportOpen();
|
|
433
|
+
*
|
|
434
|
+
* return (
|
|
435
|
+
* <button onClick={() => open('manage-wallet')}>
|
|
436
|
+
* Manage Wallet
|
|
437
|
+
* </button>
|
|
438
|
+
* );
|
|
439
|
+
* }
|
|
440
|
+
* ```
|
|
441
|
+
*/
|
|
442
|
+
declare function useLumiaPassportOpen(): {
|
|
443
|
+
/** Opens the Manage Wallet modal */
|
|
444
|
+
readonly open: (passportPage: PageKey) => void;
|
|
445
|
+
/** Closes the Manage Wallet modal */
|
|
446
|
+
readonly close: () => void;
|
|
447
|
+
/** Whether the Manage Wallet modal is currently open */
|
|
448
|
+
readonly isOpen: boolean;
|
|
449
|
+
};
|
|
450
|
+
|
|
421
451
|
type ChainLike$2 = {
|
|
422
452
|
id: number;
|
|
423
453
|
blockExplorers?: {
|
|
@@ -486,12 +516,7 @@ interface TransactionsListProps {
|
|
|
486
516
|
}
|
|
487
517
|
declare const TransactionsList: React__default.FC<TransactionsListProps>;
|
|
488
518
|
|
|
489
|
-
|
|
490
|
-
userId: string;
|
|
491
|
-
onBackupSuccess?: () => void;
|
|
492
|
-
onBack?: () => void;
|
|
493
|
-
}
|
|
494
|
-
declare function KeyshareBackup({ userId, onBackupSuccess, onBack }: KeyshareBackupProps): react_jsx_runtime.JSX.Element;
|
|
519
|
+
declare function KeyshareBackupMenu(): react_jsx_runtime.JSX.Element;
|
|
495
520
|
|
|
496
521
|
interface SendTransactionParams$1 {
|
|
497
522
|
to: `0x${string}`;
|
|
@@ -609,6 +634,10 @@ interface UserProfile {
|
|
|
609
634
|
createdAt: string;
|
|
610
635
|
updatedAt: string;
|
|
611
636
|
hasKeyshare: boolean;
|
|
637
|
+
kycDetails: {
|
|
638
|
+
provider: 'sumsub' | 'uaepass' | 'custom';
|
|
639
|
+
kycStatus: string;
|
|
640
|
+
} | null;
|
|
612
641
|
}
|
|
613
642
|
interface UpdateProfileRequest {
|
|
614
643
|
displayName?: string;
|
|
@@ -995,7 +1024,9 @@ declare function useSmartAccountTransactions(): {
|
|
|
995
1024
|
|
|
996
1025
|
interface LinkedProfileDisplay extends AuthProvider {
|
|
997
1026
|
displayName: string;
|
|
998
|
-
icon?:
|
|
1027
|
+
icon?: React.ComponentType<{
|
|
1028
|
+
className?: string;
|
|
1029
|
+
}>;
|
|
999
1030
|
color?: string;
|
|
1000
1031
|
}
|
|
1001
1032
|
declare function useLumiaPassportLinkedProfiles(): {
|
|
@@ -1116,9 +1147,9 @@ declare class IframeManager {
|
|
|
1116
1147
|
private restoreAllDialogs;
|
|
1117
1148
|
/**
|
|
1118
1149
|
* Stop Radix dismissable layers from swallowing the first click on the iframe.
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1150
|
+
* Radix attaches pointer event guards at the document level; we intercept at window
|
|
1151
|
+
* capture phase so user clicks flow straight into the consent iframe.
|
|
1152
|
+
*/
|
|
1122
1153
|
private enablePointerEventGuards;
|
|
1123
1154
|
/**
|
|
1124
1155
|
* Remove pointer interception once iframe is hidden again.
|
|
@@ -1207,6 +1238,11 @@ declare class IframeManager {
|
|
|
1207
1238
|
* Remove app from trusted list
|
|
1208
1239
|
*/
|
|
1209
1240
|
removeTrustedApp(userId: string, projectId: string, origin: string): Promise<boolean>;
|
|
1241
|
+
/**
|
|
1242
|
+
* Clear all authorizations for current project (for testing consent flow)
|
|
1243
|
+
* This will force the consent modal to appear on next authentication
|
|
1244
|
+
*/
|
|
1245
|
+
clearAuthorizations(): Promise<boolean>;
|
|
1210
1246
|
/**
|
|
1211
1247
|
* Create backup of keyshare
|
|
1212
1248
|
*/
|
|
@@ -1286,4 +1322,4 @@ declare function getIframeManager(config?: IframeManagerConfig): IframeManager;
|
|
|
1286
1322
|
*/
|
|
1287
1323
|
declare function destroyIframeManager(): void;
|
|
1288
1324
|
|
|
1289
|
-
export { type AccountSession$1 as AccountSession, Address, type AddressProps, type Asset, ConnectWalletButton, type ConnectWalletButtonProps, Hash, type HashProps, KeyshareBackup, LUMIA_EXPLORER_URL, LumiaLogo, type LumiaPassportCallbacks, type LumiaPassportConfig, LumiaPassportProvider, type LumiaPassportProviderProps, LumiaPassportSessionProvider,
|
|
1325
|
+
export { type AccountSession$1 as 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, type LumiaRainbowKitProviderProps, LumiaSessionProvider, type LumiaSessionProviderProps, LumiaWagmiProvider, type ProviderDetail, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type Theme, ThemeToggle, type TokenBalance, type Transaction$1 as 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, useLumiaPassportConfig, useLumiaPassportLinkedProfiles, useLumiaPassportOpen, useLumiaPassportSession, useLumiaSession, useSendTransaction, useSmartAccountTransactions, useTheme, useTokenBalance, useTokenInfo, useTransactions, useUserOpStatus, wagmiConfig };
|