@lumiapassport/ui-kit 1.11.1 → 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 +8394 -6621
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -34
- package/dist/index.d.ts +39 -34
- package/dist/index.js +8493 -6731
- 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;
|
|
@@ -195,8 +198,6 @@ interface LumiaPassportContextType {
|
|
|
195
198
|
callbacks?: LumiaPassportCallbacks;
|
|
196
199
|
providersVersion: number;
|
|
197
200
|
notifyProvidersUpdate: () => void;
|
|
198
|
-
manageWalletOpen: boolean;
|
|
199
|
-
setManageWalletOpen: (open: boolean) => void;
|
|
200
201
|
}
|
|
201
202
|
interface LumiaPassportProviderProps {
|
|
202
203
|
children: React__default.ReactNode;
|
|
@@ -334,18 +335,15 @@ interface SessionState {
|
|
|
334
335
|
status: string;
|
|
335
336
|
error: string | null;
|
|
336
337
|
recoveryUserId: string | null;
|
|
337
|
-
|
|
338
|
+
isIframeReady: boolean;
|
|
339
|
+
setIsIframeReady: (ready: boolean) => void;
|
|
338
340
|
setSession: (s: AccountSession | null) => void;
|
|
339
341
|
setAddress: (a: `0x${string}` | null) => void;
|
|
340
342
|
setStatus: (s: string) => void;
|
|
341
343
|
setError: (e: string | null) => void;
|
|
342
344
|
setRecoveryUserId: (userId: string | null) => void;
|
|
343
|
-
setIsRecoveryModalOpen: (open: boolean) => void;
|
|
344
|
-
}
|
|
345
|
-
interface LumiaPassportSessionProviderProps {
|
|
346
|
-
children: React__default.ReactNode;
|
|
347
345
|
}
|
|
348
|
-
declare
|
|
346
|
+
declare function LumiaPassportSessionProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
349
347
|
declare function useLumiaPassportSession(): SessionState;
|
|
350
348
|
/**
|
|
351
349
|
* @deprecated Use `useLumiaPassportSession` instead. This alias will be removed in v2.0.0
|
|
@@ -354,7 +352,7 @@ declare function useLumiaSession(): SessionState;
|
|
|
354
352
|
/**
|
|
355
353
|
* @deprecated Use `LumiaPassportSessionProviderProps` instead. This alias will be removed in v2.0.0
|
|
356
354
|
*/
|
|
357
|
-
type LumiaSessionProviderProps =
|
|
355
|
+
type LumiaSessionProviderProps = PropsWithChildren;
|
|
358
356
|
/**
|
|
359
357
|
* @deprecated Use `LumiaPassportSessionProvider` instead. This alias will be removed in v2.0.0
|
|
360
358
|
*/
|
|
@@ -371,7 +369,11 @@ interface LumiaRainbowKitProviderProps {
|
|
|
371
369
|
declare const LumiaRainbowKitProvider: React__default.FC<LumiaRainbowKitProviderProps>;
|
|
372
370
|
|
|
373
371
|
interface ConnectWalletButtonProps {
|
|
372
|
+
/** Button Component to render as unsigned button instance */
|
|
373
|
+
ConnectButton?: FC<HTMLAttributes<HTMLButtonElement>>;
|
|
374
|
+
/** Button container class name */
|
|
374
375
|
className?: string;
|
|
376
|
+
/** Button label */
|
|
375
377
|
label?: string;
|
|
376
378
|
usePaymaster?: boolean;
|
|
377
379
|
authOpen?: boolean;
|
|
@@ -397,9 +399,7 @@ interface LumiaLogoProps {
|
|
|
397
399
|
declare const LumiaLogo: React__default.FC<LumiaLogoProps>;
|
|
398
400
|
|
|
399
401
|
type Theme = 'light' | 'dark' | 'auto';
|
|
400
|
-
/**
|
|
401
|
-
* Hook for managing theme detection and CSS classes
|
|
402
|
-
*/
|
|
402
|
+
/** @deprecated will not be provided by v2 */
|
|
403
403
|
declare function useTheme(configTheme: Theme): {
|
|
404
404
|
theme: "light" | "dark";
|
|
405
405
|
isDark: boolean;
|
|
@@ -422,29 +422,28 @@ declare function useTheme(configTheme: Theme): {
|
|
|
422
422
|
};
|
|
423
423
|
};
|
|
424
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
|
+
|
|
425
427
|
/**
|
|
426
|
-
* Hook to programmatically open the
|
|
427
|
-
*
|
|
428
|
+
* Hook to programmatically open the LumiaPassport dialogs
|
|
428
429
|
* @example
|
|
429
430
|
* ```tsx
|
|
430
431
|
* function MyComponent() {
|
|
431
|
-
* const { open, close
|
|
432
|
+
* const { isOpen, open, close } = useLumiaPassportOpen();
|
|
432
433
|
*
|
|
433
434
|
* return (
|
|
434
|
-
* <button onClick={open}>
|
|
435
|
-
* Manage
|
|
435
|
+
* <button onClick={() => open('manage-wallet')}>
|
|
436
|
+
* Manage Wallet
|
|
436
437
|
* </button>
|
|
437
438
|
* );
|
|
438
439
|
* }
|
|
439
440
|
* ```
|
|
440
441
|
*/
|
|
441
|
-
declare function
|
|
442
|
+
declare function useLumiaPassportOpen(): {
|
|
442
443
|
/** Opens the Manage Wallet modal */
|
|
443
|
-
readonly open: () => void;
|
|
444
|
+
readonly open: (passportPage: PageKey) => void;
|
|
444
445
|
/** Closes the Manage Wallet modal */
|
|
445
446
|
readonly close: () => void;
|
|
446
|
-
/** Toggles the Manage Wallet modal */
|
|
447
|
-
readonly toggle: () => void;
|
|
448
447
|
/** Whether the Manage Wallet modal is currently open */
|
|
449
448
|
readonly isOpen: boolean;
|
|
450
449
|
};
|
|
@@ -517,12 +516,7 @@ interface TransactionsListProps {
|
|
|
517
516
|
}
|
|
518
517
|
declare const TransactionsList: React__default.FC<TransactionsListProps>;
|
|
519
518
|
|
|
520
|
-
|
|
521
|
-
userId: string;
|
|
522
|
-
onBackupSuccess?: () => void;
|
|
523
|
-
onBack?: () => void;
|
|
524
|
-
}
|
|
525
|
-
declare function KeyshareBackup({ userId, onBackupSuccess, onBack }: KeyshareBackupProps): react_jsx_runtime.JSX.Element;
|
|
519
|
+
declare function KeyshareBackupMenu(): react_jsx_runtime.JSX.Element;
|
|
526
520
|
|
|
527
521
|
interface SendTransactionParams$1 {
|
|
528
522
|
to: `0x${string}`;
|
|
@@ -640,6 +634,10 @@ interface UserProfile {
|
|
|
640
634
|
createdAt: string;
|
|
641
635
|
updatedAt: string;
|
|
642
636
|
hasKeyshare: boolean;
|
|
637
|
+
kycDetails: {
|
|
638
|
+
provider: 'sumsub' | 'uaepass' | 'custom';
|
|
639
|
+
kycStatus: string;
|
|
640
|
+
} | null;
|
|
643
641
|
}
|
|
644
642
|
interface UpdateProfileRequest {
|
|
645
643
|
displayName?: string;
|
|
@@ -1026,7 +1024,9 @@ declare function useSmartAccountTransactions(): {
|
|
|
1026
1024
|
|
|
1027
1025
|
interface LinkedProfileDisplay extends AuthProvider {
|
|
1028
1026
|
displayName: string;
|
|
1029
|
-
icon?:
|
|
1027
|
+
icon?: React.ComponentType<{
|
|
1028
|
+
className?: string;
|
|
1029
|
+
}>;
|
|
1030
1030
|
color?: string;
|
|
1031
1031
|
}
|
|
1032
1032
|
declare function useLumiaPassportLinkedProfiles(): {
|
|
@@ -1147,9 +1147,9 @@ declare class IframeManager {
|
|
|
1147
1147
|
private restoreAllDialogs;
|
|
1148
1148
|
/**
|
|
1149
1149
|
* Stop Radix dismissable layers from swallowing the first click on the iframe.
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
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
|
+
*/
|
|
1153
1153
|
private enablePointerEventGuards;
|
|
1154
1154
|
/**
|
|
1155
1155
|
* Remove pointer interception once iframe is hidden again.
|
|
@@ -1238,6 +1238,11 @@ declare class IframeManager {
|
|
|
1238
1238
|
* Remove app from trusted list
|
|
1239
1239
|
*/
|
|
1240
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>;
|
|
1241
1246
|
/**
|
|
1242
1247
|
* Create backup of keyshare
|
|
1243
1248
|
*/
|
|
@@ -1317,4 +1322,4 @@ declare function getIframeManager(config?: IframeManagerConfig): IframeManager;
|
|
|
1317
1322
|
*/
|
|
1318
1323
|
declare function destroyIframeManager(): void;
|
|
1319
1324
|
|
|
1320
|
-
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;
|
|
@@ -195,8 +198,6 @@ interface LumiaPassportContextType {
|
|
|
195
198
|
callbacks?: LumiaPassportCallbacks;
|
|
196
199
|
providersVersion: number;
|
|
197
200
|
notifyProvidersUpdate: () => void;
|
|
198
|
-
manageWalletOpen: boolean;
|
|
199
|
-
setManageWalletOpen: (open: boolean) => void;
|
|
200
201
|
}
|
|
201
202
|
interface LumiaPassportProviderProps {
|
|
202
203
|
children: React__default.ReactNode;
|
|
@@ -334,18 +335,15 @@ interface SessionState {
|
|
|
334
335
|
status: string;
|
|
335
336
|
error: string | null;
|
|
336
337
|
recoveryUserId: string | null;
|
|
337
|
-
|
|
338
|
+
isIframeReady: boolean;
|
|
339
|
+
setIsIframeReady: (ready: boolean) => void;
|
|
338
340
|
setSession: (s: AccountSession | null) => void;
|
|
339
341
|
setAddress: (a: `0x${string}` | null) => void;
|
|
340
342
|
setStatus: (s: string) => void;
|
|
341
343
|
setError: (e: string | null) => void;
|
|
342
344
|
setRecoveryUserId: (userId: string | null) => void;
|
|
343
|
-
setIsRecoveryModalOpen: (open: boolean) => void;
|
|
344
|
-
}
|
|
345
|
-
interface LumiaPassportSessionProviderProps {
|
|
346
|
-
children: React__default.ReactNode;
|
|
347
345
|
}
|
|
348
|
-
declare
|
|
346
|
+
declare function LumiaPassportSessionProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
349
347
|
declare function useLumiaPassportSession(): SessionState;
|
|
350
348
|
/**
|
|
351
349
|
* @deprecated Use `useLumiaPassportSession` instead. This alias will be removed in v2.0.0
|
|
@@ -354,7 +352,7 @@ declare function useLumiaSession(): SessionState;
|
|
|
354
352
|
/**
|
|
355
353
|
* @deprecated Use `LumiaPassportSessionProviderProps` instead. This alias will be removed in v2.0.0
|
|
356
354
|
*/
|
|
357
|
-
type LumiaSessionProviderProps =
|
|
355
|
+
type LumiaSessionProviderProps = PropsWithChildren;
|
|
358
356
|
/**
|
|
359
357
|
* @deprecated Use `LumiaPassportSessionProvider` instead. This alias will be removed in v2.0.0
|
|
360
358
|
*/
|
|
@@ -371,7 +369,11 @@ interface LumiaRainbowKitProviderProps {
|
|
|
371
369
|
declare const LumiaRainbowKitProvider: React__default.FC<LumiaRainbowKitProviderProps>;
|
|
372
370
|
|
|
373
371
|
interface ConnectWalletButtonProps {
|
|
372
|
+
/** Button Component to render as unsigned button instance */
|
|
373
|
+
ConnectButton?: FC<HTMLAttributes<HTMLButtonElement>>;
|
|
374
|
+
/** Button container class name */
|
|
374
375
|
className?: string;
|
|
376
|
+
/** Button label */
|
|
375
377
|
label?: string;
|
|
376
378
|
usePaymaster?: boolean;
|
|
377
379
|
authOpen?: boolean;
|
|
@@ -397,9 +399,7 @@ interface LumiaLogoProps {
|
|
|
397
399
|
declare const LumiaLogo: React__default.FC<LumiaLogoProps>;
|
|
398
400
|
|
|
399
401
|
type Theme = 'light' | 'dark' | 'auto';
|
|
400
|
-
/**
|
|
401
|
-
* Hook for managing theme detection and CSS classes
|
|
402
|
-
*/
|
|
402
|
+
/** @deprecated will not be provided by v2 */
|
|
403
403
|
declare function useTheme(configTheme: Theme): {
|
|
404
404
|
theme: "light" | "dark";
|
|
405
405
|
isDark: boolean;
|
|
@@ -422,29 +422,28 @@ declare function useTheme(configTheme: Theme): {
|
|
|
422
422
|
};
|
|
423
423
|
};
|
|
424
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
|
+
|
|
425
427
|
/**
|
|
426
|
-
* Hook to programmatically open the
|
|
427
|
-
*
|
|
428
|
+
* Hook to programmatically open the LumiaPassport dialogs
|
|
428
429
|
* @example
|
|
429
430
|
* ```tsx
|
|
430
431
|
* function MyComponent() {
|
|
431
|
-
* const { open, close
|
|
432
|
+
* const { isOpen, open, close } = useLumiaPassportOpen();
|
|
432
433
|
*
|
|
433
434
|
* return (
|
|
434
|
-
* <button onClick={open}>
|
|
435
|
-
* Manage
|
|
435
|
+
* <button onClick={() => open('manage-wallet')}>
|
|
436
|
+
* Manage Wallet
|
|
436
437
|
* </button>
|
|
437
438
|
* );
|
|
438
439
|
* }
|
|
439
440
|
* ```
|
|
440
441
|
*/
|
|
441
|
-
declare function
|
|
442
|
+
declare function useLumiaPassportOpen(): {
|
|
442
443
|
/** Opens the Manage Wallet modal */
|
|
443
|
-
readonly open: () => void;
|
|
444
|
+
readonly open: (passportPage: PageKey) => void;
|
|
444
445
|
/** Closes the Manage Wallet modal */
|
|
445
446
|
readonly close: () => void;
|
|
446
|
-
/** Toggles the Manage Wallet modal */
|
|
447
|
-
readonly toggle: () => void;
|
|
448
447
|
/** Whether the Manage Wallet modal is currently open */
|
|
449
448
|
readonly isOpen: boolean;
|
|
450
449
|
};
|
|
@@ -517,12 +516,7 @@ interface TransactionsListProps {
|
|
|
517
516
|
}
|
|
518
517
|
declare const TransactionsList: React__default.FC<TransactionsListProps>;
|
|
519
518
|
|
|
520
|
-
|
|
521
|
-
userId: string;
|
|
522
|
-
onBackupSuccess?: () => void;
|
|
523
|
-
onBack?: () => void;
|
|
524
|
-
}
|
|
525
|
-
declare function KeyshareBackup({ userId, onBackupSuccess, onBack }: KeyshareBackupProps): react_jsx_runtime.JSX.Element;
|
|
519
|
+
declare function KeyshareBackupMenu(): react_jsx_runtime.JSX.Element;
|
|
526
520
|
|
|
527
521
|
interface SendTransactionParams$1 {
|
|
528
522
|
to: `0x${string}`;
|
|
@@ -640,6 +634,10 @@ interface UserProfile {
|
|
|
640
634
|
createdAt: string;
|
|
641
635
|
updatedAt: string;
|
|
642
636
|
hasKeyshare: boolean;
|
|
637
|
+
kycDetails: {
|
|
638
|
+
provider: 'sumsub' | 'uaepass' | 'custom';
|
|
639
|
+
kycStatus: string;
|
|
640
|
+
} | null;
|
|
643
641
|
}
|
|
644
642
|
interface UpdateProfileRequest {
|
|
645
643
|
displayName?: string;
|
|
@@ -1026,7 +1024,9 @@ declare function useSmartAccountTransactions(): {
|
|
|
1026
1024
|
|
|
1027
1025
|
interface LinkedProfileDisplay extends AuthProvider {
|
|
1028
1026
|
displayName: string;
|
|
1029
|
-
icon?:
|
|
1027
|
+
icon?: React.ComponentType<{
|
|
1028
|
+
className?: string;
|
|
1029
|
+
}>;
|
|
1030
1030
|
color?: string;
|
|
1031
1031
|
}
|
|
1032
1032
|
declare function useLumiaPassportLinkedProfiles(): {
|
|
@@ -1147,9 +1147,9 @@ declare class IframeManager {
|
|
|
1147
1147
|
private restoreAllDialogs;
|
|
1148
1148
|
/**
|
|
1149
1149
|
* Stop Radix dismissable layers from swallowing the first click on the iframe.
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
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
|
+
*/
|
|
1153
1153
|
private enablePointerEventGuards;
|
|
1154
1154
|
/**
|
|
1155
1155
|
* Remove pointer interception once iframe is hidden again.
|
|
@@ -1238,6 +1238,11 @@ declare class IframeManager {
|
|
|
1238
1238
|
* Remove app from trusted list
|
|
1239
1239
|
*/
|
|
1240
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>;
|
|
1241
1246
|
/**
|
|
1242
1247
|
* Create backup of keyshare
|
|
1243
1248
|
*/
|
|
@@ -1317,4 +1322,4 @@ declare function getIframeManager(config?: IframeManagerConfig): IframeManager;
|
|
|
1317
1322
|
*/
|
|
1318
1323
|
declare function destroyIframeManager(): void;
|
|
1319
1324
|
|
|
1320
|
-
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 };
|