@embarkai/ui-kit 0.4.2 → 0.4.3
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 +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.d.cts +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/iframe/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<meta http-equiv="X-Content-Type-Options" content="nosniff" />
|
|
16
16
|
<meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
|
|
17
17
|
|
|
18
|
-
<title>EmbarkAI Secure Wallet - iframe version 0.4.
|
|
18
|
+
<title>EmbarkAI Secure Wallet - iframe version 0.4.3</title>
|
|
19
19
|
|
|
20
20
|
<!-- Styles will be injected by build process -->
|
|
21
21
|
<style>
|
package/dist/iframe/main.js
CHANGED
|
@@ -6262,7 +6262,7 @@ var SigningManager = class extends TokenRefreshApiClient {
|
|
|
6262
6262
|
};
|
|
6263
6263
|
|
|
6264
6264
|
// src/iframe/main.ts
|
|
6265
|
-
var IFRAME_VERSION = "0.4.
|
|
6265
|
+
var IFRAME_VERSION = "0.4.3";
|
|
6266
6266
|
var IframeWallet = class {
|
|
6267
6267
|
constructor() {
|
|
6268
6268
|
console.log("=".repeat(60));
|
package/dist/index.cjs
CHANGED
|
@@ -19149,7 +19149,7 @@ var init_package = __esm({
|
|
|
19149
19149
|
"package.json"() {
|
|
19150
19150
|
package_default = {
|
|
19151
19151
|
name: "@embarkai/ui-kit",
|
|
19152
|
-
version: "0.4.
|
|
19152
|
+
version: "0.4.3",
|
|
19153
19153
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
19154
19154
|
type: "module",
|
|
19155
19155
|
main: "./dist/index.cjs",
|
|
@@ -24953,6 +24953,7 @@ __export(index_exports, {
|
|
|
24953
24953
|
getExplorerUrl: () => getExplorerUrl,
|
|
24954
24954
|
getIframeManager: () => getIframeManager,
|
|
24955
24955
|
getLanguageIcon: () => getLanguageIcon,
|
|
24956
|
+
getShareRecoveryStats: () => getShareRecoveryStats,
|
|
24956
24957
|
getSmartAccountForChain: () => getSmartAccountForChain,
|
|
24957
24958
|
getUserOperationByHash: () => getUserOperationByHash,
|
|
24958
24959
|
getUserOperationReceipt: () => getUserOperationReceipt,
|
|
@@ -25034,6 +25035,7 @@ var init_index = __esm({
|
|
|
25034
25035
|
init_Address();
|
|
25035
25036
|
init_TransactionsList();
|
|
25036
25037
|
init_KeyshareRestoreMenu2();
|
|
25038
|
+
init_vaultClient();
|
|
25037
25039
|
init_useSendTransaction();
|
|
25038
25040
|
init_useUserOpStatus();
|
|
25039
25041
|
init_useErc3643Compliance();
|
|
@@ -25091,6 +25093,7 @@ init_index();
|
|
|
25091
25093
|
getExplorerUrl,
|
|
25092
25094
|
getIframeManager,
|
|
25093
25095
|
getLanguageIcon,
|
|
25096
|
+
getShareRecoveryStats,
|
|
25094
25097
|
getSmartAccountForChain,
|
|
25095
25098
|
getUserOperationByHash,
|
|
25096
25099
|
getUserOperationReceipt,
|
package/dist/index.d.cts
CHANGED
|
@@ -1173,6 +1173,33 @@ declare const TransactionsList: React__default.FC<TransactionsListProps>;
|
|
|
1173
1173
|
|
|
1174
1174
|
declare function KeyshareBackupMenu(): react_jsx_runtime.JSX.Element;
|
|
1175
1175
|
|
|
1176
|
+
interface RecoveryStatsDeviceEntry {
|
|
1177
|
+
deviceId: string;
|
|
1178
|
+
name?: string;
|
|
1179
|
+
count: number;
|
|
1180
|
+
lastAt: string;
|
|
1181
|
+
ip?: string;
|
|
1182
|
+
ua?: string;
|
|
1183
|
+
secChUa?: string;
|
|
1184
|
+
browser?: string;
|
|
1185
|
+
}
|
|
1186
|
+
interface RecoveryStatsCreatedMeta {
|
|
1187
|
+
at: string;
|
|
1188
|
+
ip?: string;
|
|
1189
|
+
ua?: string;
|
|
1190
|
+
secChUa?: string;
|
|
1191
|
+
browser?: string;
|
|
1192
|
+
deviceId?: string;
|
|
1193
|
+
deviceName?: string;
|
|
1194
|
+
country?: string;
|
|
1195
|
+
encryptionMethod?: 'passkey' | 'password';
|
|
1196
|
+
}
|
|
1197
|
+
interface RecoveryStats {
|
|
1198
|
+
created: RecoveryStatsCreatedMeta;
|
|
1199
|
+
devices: RecoveryStatsDeviceEntry[];
|
|
1200
|
+
}
|
|
1201
|
+
declare function getShareRecoveryStats(): Promise<RecoveryStats | null>;
|
|
1202
|
+
|
|
1176
1203
|
interface SendTransactionParams$1 {
|
|
1177
1204
|
to: `0x${string}`;
|
|
1178
1205
|
value: string;
|
|
@@ -2936,4 +2963,4 @@ declare function combineI18NResources(...resourses: TranslationResources[]): Tra
|
|
|
2936
2963
|
declare function getAvailableLanguages(resourses: TranslationResources): string[];
|
|
2937
2964
|
declare function getLanguageIcon(languageKey: string): string | null;
|
|
2938
2965
|
|
|
2939
|
-
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, 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, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, 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 WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForStoreHydration, waitForUserOperationReceipt };
|
|
2966
|
+
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, 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, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, 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 WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForStoreHydration, waitForUserOperationReceipt };
|
package/dist/index.d.ts
CHANGED
|
@@ -1173,6 +1173,33 @@ declare const TransactionsList: React__default.FC<TransactionsListProps>;
|
|
|
1173
1173
|
|
|
1174
1174
|
declare function KeyshareBackupMenu(): react_jsx_runtime.JSX.Element;
|
|
1175
1175
|
|
|
1176
|
+
interface RecoveryStatsDeviceEntry {
|
|
1177
|
+
deviceId: string;
|
|
1178
|
+
name?: string;
|
|
1179
|
+
count: number;
|
|
1180
|
+
lastAt: string;
|
|
1181
|
+
ip?: string;
|
|
1182
|
+
ua?: string;
|
|
1183
|
+
secChUa?: string;
|
|
1184
|
+
browser?: string;
|
|
1185
|
+
}
|
|
1186
|
+
interface RecoveryStatsCreatedMeta {
|
|
1187
|
+
at: string;
|
|
1188
|
+
ip?: string;
|
|
1189
|
+
ua?: string;
|
|
1190
|
+
secChUa?: string;
|
|
1191
|
+
browser?: string;
|
|
1192
|
+
deviceId?: string;
|
|
1193
|
+
deviceName?: string;
|
|
1194
|
+
country?: string;
|
|
1195
|
+
encryptionMethod?: 'passkey' | 'password';
|
|
1196
|
+
}
|
|
1197
|
+
interface RecoveryStats {
|
|
1198
|
+
created: RecoveryStatsCreatedMeta;
|
|
1199
|
+
devices: RecoveryStatsDeviceEntry[];
|
|
1200
|
+
}
|
|
1201
|
+
declare function getShareRecoveryStats(): Promise<RecoveryStats | null>;
|
|
1202
|
+
|
|
1176
1203
|
interface SendTransactionParams$1 {
|
|
1177
1204
|
to: `0x${string}`;
|
|
1178
1205
|
value: string;
|
|
@@ -2936,4 +2963,4 @@ declare function combineI18NResources(...resourses: TranslationResources[]): Tra
|
|
|
2936
2963
|
declare function getAvailableLanguages(resourses: TranslationResources): string[];
|
|
2937
2964
|
declare function getLanguageIcon(languageKey: string): string | null;
|
|
2938
2965
|
|
|
2939
|
-
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, 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, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, 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 WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForStoreHydration, waitForUserOperationReceipt };
|
|
2966
|
+
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, 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, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, 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 WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForStoreHydration, waitForUserOperationReceipt };
|
package/dist/index.js
CHANGED
|
@@ -19068,7 +19068,7 @@ var init_package = __esm({
|
|
|
19068
19068
|
"package.json"() {
|
|
19069
19069
|
package_default = {
|
|
19070
19070
|
name: "@embarkai/ui-kit",
|
|
19071
|
-
version: "0.4.
|
|
19071
|
+
version: "0.4.3",
|
|
19072
19072
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
19073
19073
|
type: "module",
|
|
19074
19074
|
main: "./dist/index.cjs",
|
|
@@ -24888,6 +24888,7 @@ var init_index = __esm({
|
|
|
24888
24888
|
init_Address();
|
|
24889
24889
|
init_TransactionsList();
|
|
24890
24890
|
init_KeyshareRestoreMenu2();
|
|
24891
|
+
init_vaultClient();
|
|
24891
24892
|
init_useSendTransaction();
|
|
24892
24893
|
init_useUserOpStatus();
|
|
24893
24894
|
init_useErc3643Compliance();
|
|
@@ -24944,6 +24945,7 @@ export {
|
|
|
24944
24945
|
getExplorerUrl,
|
|
24945
24946
|
getIframeManager,
|
|
24946
24947
|
getLanguageIcon,
|
|
24948
|
+
getShareRecoveryStats,
|
|
24947
24949
|
getSmartAccountForChain,
|
|
24948
24950
|
getUserOperationByHash,
|
|
24949
24951
|
getUserOperationReceipt,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embarkai/ui-kit",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"viem": "^2.38.0",
|
|
53
53
|
"wagmi": "^2.17.5",
|
|
54
54
|
"zustand": "^5.0.8",
|
|
55
|
-
"@embarkai/core": "0.3.
|
|
55
|
+
"@embarkai/core": "0.3.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@tailwindcss/typography": "^0.5.16",
|