@embarkai/ui-kit 0.1.1 → 0.1.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 +97 -99
- package/dist/iframe/index.html +1 -1
- package/dist/iframe/main.js +5 -5
- package/dist/iframe/main.js.map +1 -1
- package/dist/index.cjs +1348 -1491
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +124 -144
- package/dist/index.d.ts +124 -144
- package/dist/index.js +1181 -1321
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -5
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import React__default, { ReactNode, MutableRefObject, FC, HTMLAttributes, PropsW
|
|
|
4
4
|
import * as viem from 'viem';
|
|
5
5
|
import { Address as Address$1, Hex, PublicClient, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
8
7
|
import * as zustand_middleware from 'zustand/middleware';
|
|
9
8
|
import * as zustand from 'zustand';
|
|
10
9
|
import { ChainConfig, createPublicClientForChain, createBundlerClientForChain, getChainConfig, getViemChain, lumiaTestnetChain, lumiaMainnetChain } from '@embarkai/core/read';
|
|
@@ -132,10 +131,7 @@ declare function useTokenBalance(tokenAddress: `0x${string}`, userAddress?: `0x$
|
|
|
132
131
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<bigint, viem.ReadContractErrorType>>;
|
|
133
132
|
};
|
|
134
133
|
|
|
135
|
-
/**
|
|
136
|
-
* LumiaPassport Configuration (library copy)
|
|
137
|
-
* Default config can be overridden via Provider initialConfig
|
|
138
|
-
*/
|
|
134
|
+
/** Default config can be overridden via Provider initialConfig */
|
|
139
135
|
|
|
140
136
|
declare global {
|
|
141
137
|
interface Window {
|
|
@@ -188,7 +184,7 @@ interface WatchToken {
|
|
|
188
184
|
/** Logo URL (optional) */
|
|
189
185
|
logo?: string;
|
|
190
186
|
}
|
|
191
|
-
interface
|
|
187
|
+
interface ProviderConfig {
|
|
192
188
|
projectId: string;
|
|
193
189
|
passkey: {
|
|
194
190
|
enabled: boolean;
|
|
@@ -297,53 +293,53 @@ interface WalletReadyStatus$1 {
|
|
|
297
293
|
hasSession: boolean;
|
|
298
294
|
timestamp: number;
|
|
299
295
|
}
|
|
300
|
-
interface
|
|
301
|
-
|
|
296
|
+
interface CallbacksConfig {
|
|
297
|
+
onConnecting?: (payload: {
|
|
302
298
|
method: 'passkey' | 'email' | 'social' | 'wallet';
|
|
303
299
|
provider?: string;
|
|
304
300
|
}) => void;
|
|
305
|
-
|
|
301
|
+
onConnect?: (payload: {
|
|
306
302
|
address: `0x${string}`;
|
|
307
303
|
session: any;
|
|
308
304
|
}) => void;
|
|
309
|
-
|
|
305
|
+
onAccount?: (payload: {
|
|
310
306
|
userId?: string | null;
|
|
311
307
|
address?: `0x${string}` | null;
|
|
312
308
|
session?: any;
|
|
313
309
|
hasKeyshare?: boolean;
|
|
314
310
|
}) => void;
|
|
315
|
-
|
|
311
|
+
onAccountUpdate?: (payload: {
|
|
316
312
|
providers?: Array<any>;
|
|
317
313
|
}) => void;
|
|
318
|
-
|
|
314
|
+
onDisconnect?: (payload: {
|
|
319
315
|
address?: `0x${string}` | null;
|
|
320
316
|
userId?: string | null;
|
|
321
317
|
}) => void;
|
|
322
|
-
|
|
318
|
+
onError?: (payload: {
|
|
323
319
|
error: Error;
|
|
324
320
|
code?: string;
|
|
325
321
|
message: string;
|
|
326
322
|
}) => void;
|
|
327
|
-
|
|
323
|
+
onChainChange?: (payload: {
|
|
328
324
|
chainId: number;
|
|
329
325
|
previousChainId: number;
|
|
330
326
|
}) => void;
|
|
331
327
|
onWalletReady?: (status: WalletReadyStatus$1) => void;
|
|
332
328
|
}
|
|
333
|
-
interface
|
|
334
|
-
config: MutableRefObject<
|
|
335
|
-
updateConfig: (updates: Partial<
|
|
336
|
-
callbacks?:
|
|
329
|
+
interface UIContextType {
|
|
330
|
+
config: MutableRefObject<ProviderConfig>;
|
|
331
|
+
updateConfig: (updates: Partial<ProviderConfig>) => void;
|
|
332
|
+
callbacks?: CallbacksConfig;
|
|
337
333
|
}
|
|
338
|
-
interface
|
|
334
|
+
interface ProviderProps {
|
|
339
335
|
children: ReactNode;
|
|
340
336
|
projectId?: string;
|
|
341
|
-
initialConfig?: Partial<
|
|
342
|
-
callbacks?:
|
|
337
|
+
initialConfig?: Partial<ProviderConfig>;
|
|
338
|
+
callbacks?: CallbacksConfig;
|
|
343
339
|
}
|
|
344
340
|
/** NEVER EVER declare here any state (useState or whatever). This Provider should NEVER trigger self of child-app re-renders */
|
|
345
|
-
declare function
|
|
346
|
-
declare const
|
|
341
|
+
declare function Provider(props: ProviderProps): react_jsx_runtime.JSX.Element;
|
|
342
|
+
declare const useProviderConfig: () => UIContextType;
|
|
347
343
|
|
|
348
344
|
interface ConnectWalletButtonProps {
|
|
349
345
|
/** Button Component to render as unsigned button instance */
|
|
@@ -919,11 +915,11 @@ interface SessionState {
|
|
|
919
915
|
setActiveChain: (chainParams: ChainParams) => void;
|
|
920
916
|
}
|
|
921
917
|
/**
|
|
922
|
-
* @function
|
|
923
|
-
* Use it with caution, using zustand callback extraction. EX: const address =
|
|
924
|
-
* @description refactor your app to NOT use this directly in your application, use set of new dedicated session hooks:
|
|
918
|
+
* @function useSession is UNLIKELY to use outside Lumia Passport, as it is INTERNAL zustand session store!
|
|
919
|
+
* Use it with caution, using zustand callback extraction. EX: const address = useSession((st) => st.address)
|
|
920
|
+
* @description refactor your app to NOT use this directly in your application, use set of new dedicated session hooks: useAccountSession, useAddress, etc.
|
|
925
921
|
*/
|
|
926
|
-
declare const
|
|
922
|
+
declare const useSession: zustand.UseBoundStore<Omit<zustand.StoreApi<SessionState>, "setState" | "persist"> & {
|
|
927
923
|
setState(partial: SessionState | Partial<SessionState> | ((state: SessionState) => SessionState | Partial<SessionState>), replace?: false): unknown;
|
|
928
924
|
setState(state: SessionState | ((state: SessionState) => SessionState), replace: true): unknown;
|
|
929
925
|
persist: {
|
|
@@ -957,10 +953,12 @@ declare const useLumiaPassportSession: zustand.UseBoundStore<Omit<zustand.StoreA
|
|
|
957
953
|
* ```
|
|
958
954
|
*/
|
|
959
955
|
declare const requireActiveChainId: () => number;
|
|
960
|
-
declare function
|
|
956
|
+
declare function SessionProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
961
957
|
|
|
962
|
-
declare
|
|
963
|
-
|
|
958
|
+
declare function RainbowKitProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
959
|
+
|
|
960
|
+
declare const useIsMobileView: () => boolean;
|
|
961
|
+
declare const useBalance: () => {
|
|
964
962
|
walletBalance: {
|
|
965
963
|
decimals: number;
|
|
966
964
|
formatted: string;
|
|
@@ -972,17 +970,17 @@ declare const useLumiaPassportBalance: () => {
|
|
|
972
970
|
fiatSymbol: string;
|
|
973
971
|
cryptoSymbol: string;
|
|
974
972
|
};
|
|
975
|
-
declare const
|
|
976
|
-
declare const
|
|
977
|
-
declare const
|
|
978
|
-
declare const
|
|
979
|
-
declare const
|
|
973
|
+
declare const useIFrameReady: () => boolean;
|
|
974
|
+
declare const useAccountSession: () => AccountSession;
|
|
975
|
+
declare const useAddress: () => `0x${string}`;
|
|
976
|
+
declare const useError: () => string;
|
|
977
|
+
declare const useLoadingStatus: () => {
|
|
980
978
|
isSessionLoading: boolean;
|
|
981
979
|
sessionStatus: string;
|
|
982
980
|
};
|
|
983
|
-
declare const
|
|
984
|
-
declare const
|
|
985
|
-
declare const
|
|
981
|
+
declare const useRecoveryUserId: () => string;
|
|
982
|
+
declare const useHasServerVault: () => boolean;
|
|
983
|
+
declare const useActiveChainId: () => number;
|
|
986
984
|
|
|
987
985
|
declare enum PageKey {
|
|
988
986
|
AUTH = "auth",
|
|
@@ -1016,7 +1014,7 @@ interface PageOpenParams {
|
|
|
1016
1014
|
* @example
|
|
1017
1015
|
* ```tsx
|
|
1018
1016
|
* function MyComponent() {
|
|
1019
|
-
* const { isOpen, open, close } =
|
|
1017
|
+
* const { isOpen, open, close } = useOpenPage();
|
|
1020
1018
|
*
|
|
1021
1019
|
* return (
|
|
1022
1020
|
* <button onClick={() => open(PageKey.BUY, { amount: 10 })}>
|
|
@@ -1026,7 +1024,7 @@ interface PageOpenParams {
|
|
|
1026
1024
|
* }
|
|
1027
1025
|
* ```
|
|
1028
1026
|
*/
|
|
1029
|
-
declare function
|
|
1027
|
+
declare function useOpenPage(): {
|
|
1030
1028
|
readonly open: (passportPage: PageKey, params?: PageOpenParams) => void;
|
|
1031
1029
|
readonly close: () => void;
|
|
1032
1030
|
readonly isOpen: boolean;
|
|
@@ -1034,7 +1032,7 @@ declare function useLumiaPassportOpen(): {
|
|
|
1034
1032
|
|
|
1035
1033
|
type ColorMode = 'light' | 'dark';
|
|
1036
1034
|
|
|
1037
|
-
declare function
|
|
1035
|
+
declare function useColorMode(): {
|
|
1038
1036
|
colorMode: ColorMode;
|
|
1039
1037
|
setColorMode: (mode: ColorMode) => void;
|
|
1040
1038
|
};
|
|
@@ -1053,19 +1051,6 @@ declare function ThemeToggle(props: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
|
1053
1051
|
/** LumiaPassport Language Switcher */
|
|
1054
1052
|
declare function LangToggle(props: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
1055
1053
|
|
|
1056
|
-
interface LumiaWagmiProviderProps {
|
|
1057
|
-
children: React__default.ReactNode;
|
|
1058
|
-
}
|
|
1059
|
-
declare const LumiaWagmiProvider: React__default.FC<LumiaWagmiProviderProps>;
|
|
1060
|
-
|
|
1061
|
-
declare function LumiaRainbowKitProvider({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
1062
|
-
|
|
1063
|
-
interface LumiaLogoProps {
|
|
1064
|
-
size?: number;
|
|
1065
|
-
className?: string;
|
|
1066
|
-
}
|
|
1067
|
-
declare const LumiaLogo: React$1.ForwardRefExoticComponent<LumiaLogoProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
1068
|
-
|
|
1069
1054
|
type ChainLike$2 = {
|
|
1070
1055
|
id: number;
|
|
1071
1056
|
blockExplorers?: {
|
|
@@ -1420,9 +1405,6 @@ interface UseNicknameResolveOptions {
|
|
|
1420
1405
|
*/
|
|
1421
1406
|
declare function useNicknameResolve(input: string, options: UseNicknameResolveOptions): UseNicknameResolveResult;
|
|
1422
1407
|
|
|
1423
|
-
declare const lumiaBeamTestnet: Chain;
|
|
1424
|
-
declare const lumiaPrisma: Chain;
|
|
1425
|
-
|
|
1426
1408
|
/**
|
|
1427
1409
|
* Get UserOperation data by hash
|
|
1428
1410
|
*/
|
|
@@ -1657,6 +1639,21 @@ declare function getUserProfile(): Promise<UserProfile>;
|
|
|
1657
1639
|
*/
|
|
1658
1640
|
declare function updateUserProfile(updates: UpdateProfileRequest): Promise<UserProfile>;
|
|
1659
1641
|
|
|
1642
|
+
interface LinkedProfileDisplay extends AuthProvider {
|
|
1643
|
+
displayName: string;
|
|
1644
|
+
icon?: React.ComponentType<{
|
|
1645
|
+
className?: string;
|
|
1646
|
+
}>;
|
|
1647
|
+
color?: string;
|
|
1648
|
+
}
|
|
1649
|
+
declare function useLinkedProfiles(): {
|
|
1650
|
+
profiles: LinkedProfileDisplay[];
|
|
1651
|
+
avatar: string;
|
|
1652
|
+
isLoading: boolean;
|
|
1653
|
+
error: Error;
|
|
1654
|
+
refresh: () => Promise<void>;
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1660
1657
|
/**
|
|
1661
1658
|
* Custom error types for Lumia Passport operations
|
|
1662
1659
|
*/
|
|
@@ -1664,7 +1661,7 @@ declare function updateUserProfile(updates: UpdateProfileRequest): Promise<UserP
|
|
|
1664
1661
|
* Base error class for all Lumia Passport errors
|
|
1665
1662
|
* Local copy to avoid @embarkai/core dependency in iframe bundle
|
|
1666
1663
|
*/
|
|
1667
|
-
declare class
|
|
1664
|
+
declare class AccountAbstractionError extends Error {
|
|
1668
1665
|
/** Machine-readable error code for programmatic handling */
|
|
1669
1666
|
readonly code: string;
|
|
1670
1667
|
constructor(message: string, code: string);
|
|
@@ -1672,7 +1669,7 @@ declare class LumiaPassportError extends Error {
|
|
|
1672
1669
|
/**
|
|
1673
1670
|
* Error thrown when user rejects a transaction or signature request
|
|
1674
1671
|
*/
|
|
1675
|
-
declare class UserRejectedError extends
|
|
1672
|
+
declare class UserRejectedError extends AccountAbstractionError {
|
|
1676
1673
|
static readonly CODE: "USER_REJECTED";
|
|
1677
1674
|
constructor(message?: string);
|
|
1678
1675
|
}
|
|
@@ -1687,13 +1684,11 @@ declare const ErrorCodes: {
|
|
|
1687
1684
|
* Create appropriate error from error code
|
|
1688
1685
|
* Used to reconstruct errors from iframe postMessage
|
|
1689
1686
|
*/
|
|
1690
|
-
declare function
|
|
1687
|
+
declare function createAccountAbstractionError(params: {
|
|
1691
1688
|
message: string;
|
|
1692
1689
|
code?: string;
|
|
1693
1690
|
}): Error;
|
|
1694
1691
|
|
|
1695
|
-
declare const queryClient: QueryClient;
|
|
1696
|
-
|
|
1697
1692
|
/**
|
|
1698
1693
|
* Wagmi config for RainbowKit and wallet connections.
|
|
1699
1694
|
* Note: Balance fetching uses dynamic publicClient from session store,
|
|
@@ -2002,21 +1997,6 @@ declare function useSmartAccountTransactions(): {
|
|
|
2002
1997
|
}>;
|
|
2003
1998
|
};
|
|
2004
1999
|
|
|
2005
|
-
interface LinkedProfileDisplay extends AuthProvider {
|
|
2006
|
-
displayName: string;
|
|
2007
|
-
icon?: React.ComponentType<{
|
|
2008
|
-
className?: string;
|
|
2009
|
-
}>;
|
|
2010
|
-
color?: string;
|
|
2011
|
-
}
|
|
2012
|
-
declare function useLumiaPassportLinkedProfiles(): {
|
|
2013
|
-
profiles: LinkedProfileDisplay[];
|
|
2014
|
-
avatar: string;
|
|
2015
|
-
isLoading: boolean;
|
|
2016
|
-
error: Error;
|
|
2017
|
-
refresh: () => Promise<void>;
|
|
2018
|
-
};
|
|
2019
|
-
|
|
2020
2000
|
/**
|
|
2021
2001
|
* Passport translations object.
|
|
2022
2002
|
* Note: For use in combineI18NResources, translations are imported directly
|
|
@@ -2250,9 +2230,9 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2250
2230
|
add: string;
|
|
2251
2231
|
added: string;
|
|
2252
2232
|
edit: string;
|
|
2253
|
-
confirm:
|
|
2254
|
-
save:
|
|
2255
|
-
saved:
|
|
2233
|
+
confirm: any;
|
|
2234
|
+
save: any;
|
|
2235
|
+
saved: any;
|
|
2256
2236
|
delete: string;
|
|
2257
2237
|
download: string;
|
|
2258
2238
|
cancel: string;
|
|
@@ -2286,31 +2266,31 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2286
2266
|
backToSignIn: string;
|
|
2287
2267
|
orSeparator: string;
|
|
2288
2268
|
email: {
|
|
2289
|
-
placeholder:
|
|
2269
|
+
placeholder: any;
|
|
2290
2270
|
};
|
|
2291
2271
|
verification: {
|
|
2292
|
-
title:
|
|
2293
|
-
sentTo:
|
|
2294
|
-
codeExpires:
|
|
2295
|
-
didntReceive:
|
|
2296
|
-
resend:
|
|
2272
|
+
title: any;
|
|
2273
|
+
sentTo: any;
|
|
2274
|
+
codeExpires: any;
|
|
2275
|
+
didntReceive: any;
|
|
2276
|
+
resend: any;
|
|
2297
2277
|
};
|
|
2298
2278
|
social: {
|
|
2299
|
-
comingSoonMessage:
|
|
2279
|
+
comingSoonMessage: any;
|
|
2300
2280
|
};
|
|
2301
2281
|
wallet: {
|
|
2302
|
-
label:
|
|
2282
|
+
label: any;
|
|
2303
2283
|
};
|
|
2304
2284
|
passkey: {
|
|
2305
|
-
label:
|
|
2306
|
-
title:
|
|
2307
|
-
signInExisting:
|
|
2308
|
-
dontHave:
|
|
2309
|
-
create:
|
|
2285
|
+
label: any;
|
|
2286
|
+
title: any;
|
|
2287
|
+
signInExisting: any;
|
|
2288
|
+
dontHave: any;
|
|
2289
|
+
create: any;
|
|
2310
2290
|
};
|
|
2311
2291
|
terms: {
|
|
2312
|
-
text:
|
|
2313
|
-
action:
|
|
2292
|
+
text: any;
|
|
2293
|
+
action: any;
|
|
2314
2294
|
};
|
|
2315
2295
|
};
|
|
2316
2296
|
main: {
|
|
@@ -2335,13 +2315,13 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2335
2315
|
share: string;
|
|
2336
2316
|
};
|
|
2337
2317
|
buyMenu: {
|
|
2338
|
-
title:
|
|
2339
|
-
provider:
|
|
2340
|
-
selectProvider:
|
|
2341
|
-
selectCrypto:
|
|
2342
|
-
selectFiat:
|
|
2343
|
-
selectPaymentMode:
|
|
2344
|
-
enterAmount:
|
|
2318
|
+
title: any;
|
|
2319
|
+
provider: any;
|
|
2320
|
+
selectProvider: any;
|
|
2321
|
+
selectCrypto: any;
|
|
2322
|
+
selectFiat: any;
|
|
2323
|
+
selectPaymentMode: any;
|
|
2324
|
+
enterAmount: any;
|
|
2345
2325
|
};
|
|
2346
2326
|
portfolioMenu: {
|
|
2347
2327
|
title: string;
|
|
@@ -2351,7 +2331,7 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2351
2331
|
title: string;
|
|
2352
2332
|
noTransactions: string;
|
|
2353
2333
|
internalTransactions: string;
|
|
2354
|
-
comingSoon:
|
|
2334
|
+
comingSoon: any;
|
|
2355
2335
|
};
|
|
2356
2336
|
kycMenu: {
|
|
2357
2337
|
title: string;
|
|
@@ -2365,38 +2345,38 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2365
2345
|
placeholder: string;
|
|
2366
2346
|
hint: string;
|
|
2367
2347
|
errors: {
|
|
2368
|
-
tooShort:
|
|
2369
|
-
tooLong:
|
|
2370
|
-
invalidChars:
|
|
2371
|
-
invalidUnderscore:
|
|
2372
|
-
invalidFormat:
|
|
2373
|
-
nicknameTaken:
|
|
2374
|
-
nicknameReserved:
|
|
2375
|
-
cooldownActive:
|
|
2376
|
-
nicknameNotFound:
|
|
2377
|
-
unknown:
|
|
2348
|
+
tooShort: any;
|
|
2349
|
+
tooLong: any;
|
|
2350
|
+
invalidChars: any;
|
|
2351
|
+
invalidUnderscore: any;
|
|
2352
|
+
invalidFormat: any;
|
|
2353
|
+
nicknameTaken: any;
|
|
2354
|
+
nicknameReserved: any;
|
|
2355
|
+
cooldownActive: any;
|
|
2356
|
+
nicknameNotFound: any;
|
|
2357
|
+
unknown: any;
|
|
2378
2358
|
};
|
|
2379
2359
|
availability: {
|
|
2380
|
-
alreadyYourNickname:
|
|
2381
|
-
checkingAvailability:
|
|
2382
|
-
nicknameAvailable:
|
|
2383
|
-
nicknameNotAvailable:
|
|
2360
|
+
alreadyYourNickname: any;
|
|
2361
|
+
checkingAvailability: any;
|
|
2362
|
+
nicknameAvailable: any;
|
|
2363
|
+
nicknameNotAvailable: any;
|
|
2384
2364
|
};
|
|
2385
2365
|
};
|
|
2386
2366
|
profilesMenu: {
|
|
2387
2367
|
title: string;
|
|
2388
2368
|
email: {
|
|
2389
|
-
placeholder:
|
|
2390
|
-
sentTo:
|
|
2391
|
-
warningTitle:
|
|
2392
|
-
warningMsg:
|
|
2369
|
+
placeholder: any;
|
|
2370
|
+
sentTo: any;
|
|
2371
|
+
warningTitle: any;
|
|
2372
|
+
warningMsg: any;
|
|
2393
2373
|
};
|
|
2394
2374
|
passkey: {
|
|
2395
|
-
message:
|
|
2396
|
-
message2:
|
|
2397
|
-
linking:
|
|
2398
|
-
createOnDevice:
|
|
2399
|
-
createOnSecurityKey:
|
|
2375
|
+
message: any;
|
|
2376
|
+
message2: any;
|
|
2377
|
+
linking: any;
|
|
2378
|
+
createOnDevice: any;
|
|
2379
|
+
createOnSecurityKey: any;
|
|
2400
2380
|
};
|
|
2401
2381
|
unlinkTitle: string;
|
|
2402
2382
|
unlinkConfirm: string;
|
|
@@ -2405,21 +2385,21 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2405
2385
|
securityMenu: {
|
|
2406
2386
|
title: string;
|
|
2407
2387
|
trustedApps: {
|
|
2408
|
-
trustedApp:
|
|
2409
|
-
trustedApps:
|
|
2410
|
-
noTrustedApps:
|
|
2411
|
-
removalNoteTitle:
|
|
2412
|
-
removalNoteMsg1:
|
|
2413
|
-
removalNoteMsg2:
|
|
2388
|
+
trustedApp: any;
|
|
2389
|
+
trustedApps: any;
|
|
2390
|
+
noTrustedApps: any;
|
|
2391
|
+
removalNoteTitle: any;
|
|
2392
|
+
removalNoteMsg1: any;
|
|
2393
|
+
removalNoteMsg2: any;
|
|
2414
2394
|
};
|
|
2415
2395
|
keyshareStatus: {
|
|
2416
|
-
title:
|
|
2417
|
-
serverReady:
|
|
2418
|
-
serverMissing:
|
|
2419
|
-
localReady:
|
|
2420
|
-
localMissing:
|
|
2421
|
-
valutBackupCreated:
|
|
2422
|
-
valutBackupMissing:
|
|
2396
|
+
title: any;
|
|
2397
|
+
serverReady: any;
|
|
2398
|
+
serverMissing: any;
|
|
2399
|
+
localReady: any;
|
|
2400
|
+
localMissing: any;
|
|
2401
|
+
valutBackupCreated: any;
|
|
2402
|
+
valutBackupMissing: any;
|
|
2423
2403
|
};
|
|
2424
2404
|
lastBackup: string;
|
|
2425
2405
|
lastBackupMeta: string;
|
|
@@ -2455,10 +2435,10 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2455
2435
|
chainMenu: {
|
|
2456
2436
|
title: string;
|
|
2457
2437
|
chainSwitchRequest: {
|
|
2458
|
-
title:
|
|
2459
|
-
description:
|
|
2460
|
-
confirmButton:
|
|
2461
|
-
cancelButton:
|
|
2438
|
+
title: any;
|
|
2439
|
+
description: any;
|
|
2440
|
+
confirmButton: any;
|
|
2441
|
+
cancelButton: any;
|
|
2462
2442
|
};
|
|
2463
2443
|
};
|
|
2464
2444
|
};
|
|
@@ -2716,4 +2696,4 @@ declare function combineI18NResources(...resourses: TranslationResources[]): Tra
|
|
|
2716
2696
|
declare function getAvailableLanguages(resourses: TranslationResources): string[];
|
|
2717
2697
|
declare function getLanguageIcon(languageKey: string): string | null;
|
|
2718
2698
|
|
|
2719
|
-
export { type AccountSession, Address, type AddressProps, type Asset, ConnectWalletButton, type ConnectWalletButtonProps, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle,
|
|
2699
|
+
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, RainbowKitProvider, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, SessionProvider, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendTransactionReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, type WaitForReceiptOptions, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getIframeManager, getLanguageIcon, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useColorMode, useErc3643Compliance, useError, useHasServerVault, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useUserOpStatus, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForUserOperationReceipt };
|