@talken/talkenkit 2.4.14 → 2.4.16
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/components/RainbowKitProvider/RainbowKitConfigProvider.d.ts +1 -6
- package/dist/components/RainbowKitProvider/RainbowKitProvider.d.ts +1 -7
- package/dist/index.js +129 -185
- package/dist/solana/SolanaWalletProvider.d.ts +1 -1
- package/dist/solana/config.d.ts +1 -1
- package/dist/wallets/walletConnectors/abcWallet/api/index.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/index.js +2 -2
- package/dist/wallets/walletConnectors/chunk-DNYWTUT5.js +63 -0
- package/dist/wallets/walletConnectors/index.js +41 -41
- package/package.json +1 -1
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
export type MobileMode = 'compact-
|
|
2
|
+
export type MobileMode = 'compact-list' | 'full' | 'auto';
|
|
3
3
|
export interface RainbowKitConfig {
|
|
4
4
|
/**
|
|
5
5
|
* Mobile behavior mode
|
|
6
6
|
* @default 'auto'
|
|
7
7
|
*/
|
|
8
8
|
mobileMode: MobileMode;
|
|
9
|
-
/**
|
|
10
|
-
* Wallets to show in compact login mode
|
|
11
|
-
* @default ['abcWallet']
|
|
12
|
-
*/
|
|
13
|
-
compactLoginWallets: string[];
|
|
14
9
|
}
|
|
15
10
|
export interface RainbowKitConfigProviderProps {
|
|
16
11
|
config: RainbowKitConfig;
|
|
@@ -42,18 +42,12 @@ export interface RainbowKitProviderProps {
|
|
|
42
42
|
solanaConfig?: SolanaConfig;
|
|
43
43
|
/**
|
|
44
44
|
* Mobile behavior mode
|
|
45
|
-
* - 'compact-login': Direct to login on mobile (Email/Google only)
|
|
46
45
|
* - 'compact-list': Show compact wallet list on mobile
|
|
47
46
|
* - 'full': Use desktop flow on mobile
|
|
48
47
|
* - 'auto': Auto-detect based on wallet config
|
|
49
48
|
* @default 'auto'
|
|
50
49
|
*/
|
|
51
50
|
mobileMode?: MobileMode;
|
|
52
|
-
/**
|
|
53
|
-
* Wallets to show in compact login mode
|
|
54
|
-
* @default ['abcWallet']
|
|
55
|
-
*/
|
|
56
|
-
compactLoginWallets?: string[];
|
|
57
51
|
/**
|
|
58
52
|
* Auto-reconnect to previously connected wallets on page load
|
|
59
53
|
* Applies to both EVM (wagmi) and Solana (wallet-adapter) wallets
|
|
@@ -62,4 +56,4 @@ export interface RainbowKitProviderProps {
|
|
|
62
56
|
*/
|
|
63
57
|
autoReconnect?: boolean;
|
|
64
58
|
}
|
|
65
|
-
export declare function RainbowKitProvider({ appInfo, avatar, children, coolMode, autoReconnect, disableAutoPinProvider, id, initialChain, locale, modalSize, showRecentTransactions, theme, solanaConfig, mobileMode,
|
|
59
|
+
export declare function RainbowKitProvider({ appInfo, avatar, children, coolMode, autoReconnect, disableAutoPinProvider, id, initialChain, locale, modalSize, showRecentTransactions, theme, solanaConfig, mobileMode, }: RainbowKitProviderProps): React.JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
en_US_default
|
|
4
4
|
} from "./chunk-X4GSACNW.js";
|
|
5
|
-
import {
|
|
6
|
-
darkTheme
|
|
7
|
-
} from "./chunk-RZWDCITT.js";
|
|
8
5
|
import {
|
|
9
6
|
lightTheme
|
|
10
7
|
} from "./chunk-72HZGUJA.js";
|
|
8
|
+
import {
|
|
9
|
+
darkTheme
|
|
10
|
+
} from "./chunk-RZWDCITT.js";
|
|
11
11
|
import {
|
|
12
12
|
midnightTheme
|
|
13
13
|
} from "./chunk-7ZP3ENJ2.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
} from "./chunk-TJX4M23U.js";
|
|
51
51
|
|
|
52
52
|
// src/components/ConnectButton/ConnectButton.tsx
|
|
53
|
-
import React77, { useContext as useContext29, useEffect as
|
|
53
|
+
import React77, { useContext as useContext29, useEffect as useEffect26, useState as useState31 } from "react";
|
|
54
54
|
|
|
55
55
|
// src/css/sprinkles.css.ts
|
|
56
56
|
import { createMapValueFn as _51c72 } from "@vanilla-extract/sprinkles/createUtils";
|
|
@@ -2289,9 +2289,9 @@ import React75, {
|
|
|
2289
2289
|
createContext as createContext15,
|
|
2290
2290
|
useCallback as useCallback16,
|
|
2291
2291
|
useContext as useContext27,
|
|
2292
|
-
useEffect as
|
|
2292
|
+
useEffect as useEffect25,
|
|
2293
2293
|
useMemo as useMemo13,
|
|
2294
|
-
useState as
|
|
2294
|
+
useState as useState30
|
|
2295
2295
|
} from "react";
|
|
2296
2296
|
import { useAccount as useAccount17, useAccountEffect as useAccountEffect3, useConfig as useConfig3 } from "wagmi";
|
|
2297
2297
|
|
|
@@ -3178,7 +3178,7 @@ function AbcSolanaAutoConnector() {
|
|
|
3178
3178
|
function SolanaWalletProvider({
|
|
3179
3179
|
children,
|
|
3180
3180
|
wallets: customWallets,
|
|
3181
|
-
autoConnect =
|
|
3181
|
+
autoConnect = true,
|
|
3182
3182
|
endpoint,
|
|
3183
3183
|
abcWalletConfig
|
|
3184
3184
|
}) {
|
|
@@ -3356,7 +3356,7 @@ function InternalPinProvider({
|
|
|
3356
3356
|
}
|
|
3357
3357
|
|
|
3358
3358
|
// src/components/RainbowKitProvider/ModalSizeContext.tsx
|
|
3359
|
-
import
|
|
3359
|
+
import React19, { createContext as createContext12, useContext as useContext9 } from "react";
|
|
3360
3360
|
|
|
3361
3361
|
// src/hooks/useWindowSize.ts
|
|
3362
3362
|
import { useEffect as useEffect13, useState as useState12 } from "react";
|
|
@@ -3395,16 +3395,35 @@ var useWindowSize = () => {
|
|
|
3395
3395
|
return windowSize;
|
|
3396
3396
|
};
|
|
3397
3397
|
|
|
3398
|
+
// src/components/RainbowKitProvider/RainbowKitConfigProvider.tsx
|
|
3399
|
+
import React17, { createContext as createContext10, useContext as useContext8 } from "react";
|
|
3400
|
+
var RainbowKitConfigContext = createContext10(null);
|
|
3401
|
+
function RainbowKitConfigProvider({
|
|
3402
|
+
config: config2,
|
|
3403
|
+
children
|
|
3404
|
+
}) {
|
|
3405
|
+
return /* @__PURE__ */ React17.createElement(RainbowKitConfigContext.Provider, { value: config2 }, children);
|
|
3406
|
+
}
|
|
3407
|
+
function useRainbowKitConfig() {
|
|
3408
|
+
const context = useContext8(RainbowKitConfigContext);
|
|
3409
|
+
if (!context) {
|
|
3410
|
+
throw new Error(
|
|
3411
|
+
"useRainbowKitConfig must be used within RainbowKitProvider"
|
|
3412
|
+
);
|
|
3413
|
+
}
|
|
3414
|
+
return context;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3398
3417
|
// src/components/RainbowKitProvider/WalletButtonContext.tsx
|
|
3399
|
-
import
|
|
3400
|
-
var WalletButtonContext =
|
|
3418
|
+
import React18, { createContext as createContext11, useMemo as useMemo8, useState as useState13 } from "react";
|
|
3419
|
+
var WalletButtonContext = createContext11({
|
|
3401
3420
|
connector: null,
|
|
3402
3421
|
setConnector: () => {
|
|
3403
3422
|
}
|
|
3404
3423
|
});
|
|
3405
3424
|
function WalletButtonProvider({ children }) {
|
|
3406
3425
|
const [connector, setConnector] = useState13(null);
|
|
3407
|
-
return /* @__PURE__ */
|
|
3426
|
+
return /* @__PURE__ */ React18.createElement(
|
|
3408
3427
|
WalletButtonContext.Provider,
|
|
3409
3428
|
{
|
|
3410
3429
|
value: useMemo8(
|
|
@@ -3424,7 +3443,7 @@ var ModalSizeOptions = {
|
|
|
3424
3443
|
COMPACT: "compact",
|
|
3425
3444
|
WIDE: "wide"
|
|
3426
3445
|
};
|
|
3427
|
-
var ModalSizeContext =
|
|
3446
|
+
var ModalSizeContext = createContext12(
|
|
3428
3447
|
ModalSizeOptions.WIDE
|
|
3429
3448
|
);
|
|
3430
3449
|
function ModalSizeProvider({
|
|
@@ -3433,33 +3452,15 @@ function ModalSizeProvider({
|
|
|
3433
3452
|
}) {
|
|
3434
3453
|
const { width } = useWindowSize();
|
|
3435
3454
|
const isSmallScreen = width && width < largeScreenMinWidth;
|
|
3436
|
-
const { connector } =
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
children
|
|
3443
|
-
);
|
|
3444
|
-
}
|
|
3445
|
-
|
|
3446
|
-
// src/components/RainbowKitProvider/RainbowKitConfigProvider.tsx
|
|
3447
|
-
import React19, { createContext as createContext12, useContext as useContext9 } from "react";
|
|
3448
|
-
var RainbowKitConfigContext = createContext12(null);
|
|
3449
|
-
function RainbowKitConfigProvider({
|
|
3450
|
-
config: config2,
|
|
3451
|
-
children
|
|
3452
|
-
}) {
|
|
3453
|
-
return /* @__PURE__ */ React19.createElement(RainbowKitConfigContext.Provider, { value: config2 }, children);
|
|
3454
|
-
}
|
|
3455
|
-
function useRainbowKitConfig() {
|
|
3456
|
-
const context = useContext9(RainbowKitConfigContext);
|
|
3457
|
-
if (!context) {
|
|
3458
|
-
throw new Error(
|
|
3459
|
-
"useRainbowKitConfig must be used within RainbowKitProvider"
|
|
3460
|
-
);
|
|
3455
|
+
const { connector } = useContext9(WalletButtonContext);
|
|
3456
|
+
let shouldUseCompactOnMobile = false;
|
|
3457
|
+
try {
|
|
3458
|
+
const config2 = useRainbowKitConfig();
|
|
3459
|
+
shouldUseCompactOnMobile = config2.mobileMode === "full" && isMobile();
|
|
3460
|
+
} catch (_err) {
|
|
3461
3461
|
}
|
|
3462
|
-
|
|
3462
|
+
const effectiveModalSize = connector || isSmallScreen || shouldUseCompactOnMobile ? ModalSizeOptions.COMPACT : modalSize;
|
|
3463
|
+
return /* @__PURE__ */ React19.createElement(ModalSizeContext.Provider, { value: effectiveModalSize }, children);
|
|
3463
3464
|
}
|
|
3464
3465
|
|
|
3465
3466
|
// src/components/RainbowKitProvider/ShowRecentTransactionsContext.ts
|
|
@@ -3474,7 +3475,7 @@ function setRainbowKitVersion({ version }) {
|
|
|
3474
3475
|
}
|
|
3475
3476
|
function useFingerprint() {
|
|
3476
3477
|
const fingerprint = useCallback5(() => {
|
|
3477
|
-
setRainbowKitVersion({ version: "2.4.
|
|
3478
|
+
setRainbowKitVersion({ version: "2.4.16" });
|
|
3478
3479
|
}, []);
|
|
3479
3480
|
useEffect14(() => {
|
|
3480
3481
|
fingerprint();
|
|
@@ -4272,8 +4273,7 @@ function RainbowKitProvider({
|
|
|
4272
4273
|
showRecentTransactions = false,
|
|
4273
4274
|
theme = defaultTheme,
|
|
4274
4275
|
solanaConfig,
|
|
4275
|
-
mobileMode = "auto"
|
|
4276
|
-
compactLoginWallets = ["abcWallet"]
|
|
4276
|
+
mobileMode = "auto"
|
|
4277
4277
|
}) {
|
|
4278
4278
|
usePreloadImages();
|
|
4279
4279
|
useFingerprint();
|
|
@@ -4291,8 +4291,7 @@ function RainbowKitProvider({
|
|
|
4291
4291
|
const avatarContext = avatar ?? defaultAvatar;
|
|
4292
4292
|
const enableSolana = !!solanaConfig;
|
|
4293
4293
|
const rainbowKitConfig = {
|
|
4294
|
-
mobileMode
|
|
4295
|
-
compactLoginWallets
|
|
4294
|
+
mobileMode
|
|
4296
4295
|
};
|
|
4297
4296
|
const providerTree = /* @__PURE__ */ React27.createElement(RainbowKitChainProvider, { initialChain }, /* @__PURE__ */ React27.createElement(RainbowKitConfigProvider, { config: rainbowKitConfig }, /* @__PURE__ */ React27.createElement(WalletButtonProvider, null, /* @__PURE__ */ React27.createElement(I18nProvider, { locale }, /* @__PURE__ */ React27.createElement(CoolModeContext.Provider, { value: coolMode }, /* @__PURE__ */ React27.createElement(ModalSizeProvider, { modalSize }, /* @__PURE__ */ React27.createElement(
|
|
4298
4297
|
ShowRecentTransactionsContext.Provider,
|
|
@@ -4496,7 +4495,13 @@ function DialogContent({
|
|
|
4496
4495
|
paddingBottom,
|
|
4497
4496
|
wide = false
|
|
4498
4497
|
}) {
|
|
4499
|
-
|
|
4498
|
+
let mobileMode = "auto";
|
|
4499
|
+
try {
|
|
4500
|
+
const config2 = useRainbowKitConfig();
|
|
4501
|
+
mobileMode = config2.mobileMode;
|
|
4502
|
+
} catch (_err) {
|
|
4503
|
+
}
|
|
4504
|
+
const mobile = mobileMode === "full" ? false : isMobile();
|
|
4500
4505
|
const modalSize = useContext12(ModalSizeContext);
|
|
4501
4506
|
const compactModeEnabled = modalSize === ModalSizeOptions.COMPACT;
|
|
4502
4507
|
return /* @__PURE__ */ React30.createElement(Box, { marginTop }, /* @__PURE__ */ React30.createElement(
|
|
@@ -5462,7 +5467,7 @@ import { useAccount as useAccount16, useDisconnect as useDisconnect3 } from "wag
|
|
|
5462
5467
|
import {
|
|
5463
5468
|
WalletContext
|
|
5464
5469
|
} from "@solana/wallet-adapter-react";
|
|
5465
|
-
import React70, { useCallback as useCallback13, useContext as useContext24, useMemo as useMemo12, useState as
|
|
5470
|
+
import React70, { useCallback as useCallback13, useContext as useContext24, useMemo as useMemo12, useState as useState27 } from "react";
|
|
5466
5471
|
|
|
5467
5472
|
// src/wallets/recentSolanaWalletIds.ts
|
|
5468
5473
|
var storageKey5 = "rk-recent-solana";
|
|
@@ -9999,48 +10004,11 @@ function ConnectOptionsModal({
|
|
|
9999
10004
|
import React68, {
|
|
10000
10005
|
useCallback as useCallback12,
|
|
10001
10006
|
useContext as useContext22,
|
|
10002
|
-
useEffect as
|
|
10007
|
+
useEffect as useEffect24,
|
|
10003
10008
|
useRef as useRef6,
|
|
10004
|
-
useState as
|
|
10009
|
+
useState as useState26
|
|
10005
10010
|
} from "react";
|
|
10006
10011
|
|
|
10007
|
-
// src/hooks/useDeviceType.ts
|
|
10008
|
-
import { useEffect as useEffect24, useState as useState26 } from "react";
|
|
10009
|
-
var BREAKPOINTS = {
|
|
10010
|
-
mobile: 1024,
|
|
10011
|
-
// 0-1024px (includes phones and tablets)
|
|
10012
|
-
tablet: 1024
|
|
10013
|
-
// Not used (mobile includes tablet)
|
|
10014
|
-
// desktop: 1024+ (everything else)
|
|
10015
|
-
};
|
|
10016
|
-
function getDeviceState(width) {
|
|
10017
|
-
const type = width <= BREAKPOINTS.mobile ? "mobile" : width <= BREAKPOINTS.tablet ? "tablet" : "desktop";
|
|
10018
|
-
return {
|
|
10019
|
-
type,
|
|
10020
|
-
isMobile: type === "mobile",
|
|
10021
|
-
isTablet: type === "tablet",
|
|
10022
|
-
isDesktop: type === "desktop",
|
|
10023
|
-
width
|
|
10024
|
-
};
|
|
10025
|
-
}
|
|
10026
|
-
function useDeviceType() {
|
|
10027
|
-
const [state, setState] = useState26(() => {
|
|
10028
|
-
if (typeof window === "undefined") {
|
|
10029
|
-
return getDeviceState(1920);
|
|
10030
|
-
}
|
|
10031
|
-
return getDeviceState(window.innerWidth);
|
|
10032
|
-
});
|
|
10033
|
-
useEffect24(() => {
|
|
10034
|
-
setState(getDeviceState(window.innerWidth));
|
|
10035
|
-
function handleResize() {
|
|
10036
|
-
setState(getDeviceState(window.innerWidth));
|
|
10037
|
-
}
|
|
10038
|
-
window.addEventListener("resize", handleResize);
|
|
10039
|
-
return () => window.removeEventListener("resize", handleResize);
|
|
10040
|
-
}, []);
|
|
10041
|
-
return state;
|
|
10042
|
-
}
|
|
10043
|
-
|
|
10044
10012
|
// src/components/ConnectOptions/MobileOptions.css.ts
|
|
10045
10013
|
var rotatingBorder = "_4rh9bz2";
|
|
10046
10014
|
var scroll = "_4rh9bz0";
|
|
@@ -10119,7 +10087,7 @@ function WalletButton({
|
|
|
10119
10087
|
}
|
|
10120
10088
|
connect?.();
|
|
10121
10089
|
}, [connect, getMobileUri, showWalletConnectModal, onClose, name, id]);
|
|
10122
|
-
|
|
10090
|
+
useEffect24(() => {
|
|
10123
10091
|
if (connecting && !initialized.current) {
|
|
10124
10092
|
onConnect();
|
|
10125
10093
|
initialized.current = true;
|
|
@@ -10185,17 +10153,6 @@ function WalletButton({
|
|
|
10185
10153
|
);
|
|
10186
10154
|
}
|
|
10187
10155
|
function MobileOptions({ onClose }) {
|
|
10188
|
-
const { isMobile: isSmallScreen } = useDeviceType();
|
|
10189
|
-
let config2;
|
|
10190
|
-
try {
|
|
10191
|
-
config2 = useRainbowKitConfig();
|
|
10192
|
-
} catch (_err) {
|
|
10193
|
-
config2 = { mobileMode: "auto", compactLoginWallets: ["abcWallet"] };
|
|
10194
|
-
}
|
|
10195
|
-
const isCompactMode = isSmallScreen && config2?.mobileMode === "compact-login";
|
|
10196
|
-
if (isCompactMode) {
|
|
10197
|
-
return /* @__PURE__ */ React68.createElement(ConnectOptionsModal, { onClose, compact: true });
|
|
10198
|
-
}
|
|
10199
10156
|
const titleId = "rk_connect_title";
|
|
10200
10157
|
const wallets = useWalletConnectors().filter(
|
|
10201
10158
|
(wallet) => wallet.isRainbowKitConnector
|
|
@@ -10205,7 +10162,7 @@ function MobileOptions({ onClose }) {
|
|
|
10205
10162
|
let walletContent = null;
|
|
10206
10163
|
let headerBackgroundContrast = false;
|
|
10207
10164
|
let headerBackButtonLink = null;
|
|
10208
|
-
const [walletStep, setWalletStep] =
|
|
10165
|
+
const [walletStep, setWalletStep] = useState26(
|
|
10209
10166
|
"CONNECT" /* Connect */
|
|
10210
10167
|
);
|
|
10211
10168
|
const { i18n: i18n2 } = useContext22(I18nContext);
|
|
@@ -10523,8 +10480,8 @@ function ConnectOptions({ onClose }) {
|
|
|
10523
10480
|
};
|
|
10524
10481
|
}
|
|
10525
10482
|
}, [walletContext, multiChainContext]);
|
|
10526
|
-
const [connectingWallet, setConnectingWallet] =
|
|
10527
|
-
const [shouldCloseOnConnect, setShouldCloseOnConnect] =
|
|
10483
|
+
const [connectingWallet, setConnectingWallet] = useState27(null);
|
|
10484
|
+
const [shouldCloseOnConnect, setShouldCloseOnConnect] = useState27(false);
|
|
10528
10485
|
React70.useEffect(() => {
|
|
10529
10486
|
if (shouldCloseOnConnect && multiChainContext?.solanaConnected) {
|
|
10530
10487
|
setShouldCloseOnConnect(false);
|
|
@@ -10604,7 +10561,15 @@ function ConnectOptions({ onClose }) {
|
|
|
10604
10561
|
groups.Solana = sortedWallets;
|
|
10605
10562
|
return groups;
|
|
10606
10563
|
}, [solanaWallets]);
|
|
10607
|
-
|
|
10564
|
+
let useMobileUI = isMobile();
|
|
10565
|
+
try {
|
|
10566
|
+
const config2 = useRainbowKitConfig();
|
|
10567
|
+
if (config2.mobileMode === "full") {
|
|
10568
|
+
useMobileUI = false;
|
|
10569
|
+
}
|
|
10570
|
+
} catch (_err) {
|
|
10571
|
+
}
|
|
10572
|
+
if (useMobileUI) {
|
|
10608
10573
|
return connector ? /* @__PURE__ */ React70.createElement(MobileStatus, { onClose }) : /* @__PURE__ */ React70.createElement(MobileOptions, { onClose });
|
|
10609
10574
|
}
|
|
10610
10575
|
return /* @__PURE__ */ React70.createElement(
|
|
@@ -10621,7 +10586,7 @@ function ConnectOptions({ onClose }) {
|
|
|
10621
10586
|
|
|
10622
10587
|
// src/components/ConnectOptions/MultiChainConnectOptions.tsx
|
|
10623
10588
|
import { useWallet as useWallet4 } from "@solana/wallet-adapter-react";
|
|
10624
|
-
import React73, { useContext as useContext25, useCallback as useCallback15, useState as
|
|
10589
|
+
import React73, { useContext as useContext25, useCallback as useCallback15, useState as useState29 } from "react";
|
|
10625
10590
|
|
|
10626
10591
|
// src/components/ChainSelector/ChainSelector.tsx
|
|
10627
10592
|
import clsx3 from "clsx";
|
|
@@ -10687,7 +10652,7 @@ function ChainSelector({
|
|
|
10687
10652
|
|
|
10688
10653
|
// src/components/SolanaWalletList/SolanaWalletList.tsx
|
|
10689
10654
|
import { useWallet as useWallet3 } from "@solana/wallet-adapter-react";
|
|
10690
|
-
import React72, { useCallback as useCallback14, useState as
|
|
10655
|
+
import React72, { useCallback as useCallback14, useState as useState28 } from "react";
|
|
10691
10656
|
|
|
10692
10657
|
// src/components/SolanaWalletList/SolanaWalletList.css.ts
|
|
10693
10658
|
var installButton = "lkxkyzc kwh1ip19 kwh1ip1f";
|
|
@@ -10704,7 +10669,7 @@ function SolanaWalletList2({
|
|
|
10704
10669
|
onError
|
|
10705
10670
|
}) {
|
|
10706
10671
|
const { wallets, select, connect, connecting } = useWallet3();
|
|
10707
|
-
const [connectingWallet, setConnectingWallet] =
|
|
10672
|
+
const [connectingWallet, setConnectingWallet] = useState28(null);
|
|
10708
10673
|
const handleWalletClick = useCallback14(
|
|
10709
10674
|
async (walletName2) => {
|
|
10710
10675
|
try {
|
|
@@ -10778,11 +10743,19 @@ function MultiChainConnectOptions({
|
|
|
10778
10743
|
}) {
|
|
10779
10744
|
const multiChainContext = useContext25(MultiChainContext);
|
|
10780
10745
|
const { connector } = useContext25(WalletButtonContext);
|
|
10746
|
+
let useMobileUI = isMobile();
|
|
10747
|
+
try {
|
|
10748
|
+
const config2 = useRainbowKitConfig();
|
|
10749
|
+
if (config2.mobileMode === "full") {
|
|
10750
|
+
useMobileUI = false;
|
|
10751
|
+
}
|
|
10752
|
+
} catch (_err) {
|
|
10753
|
+
}
|
|
10781
10754
|
if (!multiChainContext) {
|
|
10782
|
-
return
|
|
10755
|
+
return useMobileUI ? connector ? /* @__PURE__ */ React73.createElement(MobileStatus, { onClose }) : /* @__PURE__ */ React73.createElement(MobileOptions, { onClose }) : /* @__PURE__ */ React73.createElement(ConnectOptionsModal, { onClose });
|
|
10783
10756
|
}
|
|
10784
10757
|
const { activeChain, setActiveChain } = multiChainContext;
|
|
10785
|
-
if (
|
|
10758
|
+
if (useMobileUI) {
|
|
10786
10759
|
return connector ? /* @__PURE__ */ React73.createElement(MobileStatus, { onClose }) : /* @__PURE__ */ React73.createElement(MobileOptions, { onClose });
|
|
10787
10760
|
}
|
|
10788
10761
|
if (showChainSelector) {
|
|
@@ -10800,7 +10773,7 @@ function MultiChainConnectOptions({
|
|
|
10800
10773
|
function UnifiedWalletList({ onClose }) {
|
|
10801
10774
|
const { wallets: solanaWallets, select, connecting } = useWallet4();
|
|
10802
10775
|
const _multiChainContext = useContext25(MultiChainContext);
|
|
10803
|
-
const [connectingWallet, setConnectingWallet] =
|
|
10776
|
+
const [connectingWallet, setConnectingWallet] = useState29(null);
|
|
10804
10777
|
const handleSolanaWalletClick = useCallback15(
|
|
10805
10778
|
async (walletName2) => {
|
|
10806
10779
|
try {
|
|
@@ -10923,7 +10896,7 @@ function ConnectModal({ onClose, open }) {
|
|
|
10923
10896
|
|
|
10924
10897
|
// src/components/RainbowKitProvider/ModalContext.tsx
|
|
10925
10898
|
function useModalStateValue() {
|
|
10926
|
-
const [isModalOpen, setModalOpen] =
|
|
10899
|
+
const [isModalOpen, setModalOpen] = useState30(false);
|
|
10927
10900
|
return {
|
|
10928
10901
|
closeModal: useCallback16(() => setModalOpen(false), []),
|
|
10929
10902
|
isModalOpen,
|
|
@@ -10954,7 +10927,7 @@ function ModalProvider({ children }) {
|
|
|
10954
10927
|
isModalOpen: chainModalOpen,
|
|
10955
10928
|
openModal: openChainModal
|
|
10956
10929
|
} = useModalStateValue();
|
|
10957
|
-
const [isWalletConnectModalOpen, setIsWalletConnectModalOpen] =
|
|
10930
|
+
const [isWalletConnectModalOpen, setIsWalletConnectModalOpen] = useState30(false);
|
|
10958
10931
|
const connectionStatus = useConnectionStatus();
|
|
10959
10932
|
const { chainId } = useAccount17();
|
|
10960
10933
|
const { chains } = useConfig3();
|
|
@@ -10976,7 +10949,7 @@ function ModalProvider({ children }) {
|
|
|
10976
10949
|
onConnect: () => closeModals({ keepConnectModalOpen: isUnauthenticated }),
|
|
10977
10950
|
onDisconnect: () => closeModals()
|
|
10978
10951
|
});
|
|
10979
|
-
|
|
10952
|
+
useEffect25(() => {
|
|
10980
10953
|
if (isUnauthenticated)
|
|
10981
10954
|
closeModals();
|
|
10982
10955
|
}, [isUnauthenticated, closeModals]);
|
|
@@ -11143,21 +11116,21 @@ function ConnectButton({
|
|
|
11143
11116
|
const chains = useRainbowKitChains();
|
|
11144
11117
|
const connectionStatus = useConnectionStatus();
|
|
11145
11118
|
const { setShowBalance } = useShowBalance();
|
|
11146
|
-
const [ready, setReady] =
|
|
11119
|
+
const [ready, setReady] = useState31(false);
|
|
11147
11120
|
const { i18n: i18n2 } = useContext29(I18nContext);
|
|
11148
11121
|
const bitcoinWallet = useBitcoinWallet();
|
|
11149
|
-
const [rollingChainIndex, setRollingChainIndex] =
|
|
11122
|
+
const [rollingChainIndex, setRollingChainIndex] = useState31(0);
|
|
11150
11123
|
const chainTypes = [
|
|
11151
11124
|
"evm",
|
|
11152
11125
|
"bitcoin",
|
|
11153
11126
|
"solana"
|
|
11154
11127
|
];
|
|
11155
|
-
|
|
11128
|
+
useEffect26(() => {
|
|
11156
11129
|
setShowBalance(showBalance);
|
|
11157
11130
|
if (!ready)
|
|
11158
11131
|
setReady(true);
|
|
11159
11132
|
}, [showBalance, setShowBalance]);
|
|
11160
|
-
|
|
11133
|
+
useEffect26(() => {
|
|
11161
11134
|
const interval = setInterval(() => {
|
|
11162
11135
|
setRollingChainIndex((prev) => (prev + 1) % chainTypes.length);
|
|
11163
11136
|
}, 1e4);
|
|
@@ -11439,9 +11412,9 @@ var maxWidth = "hk857q1";
|
|
|
11439
11412
|
// src/components/WalletButton/WalletButtonRenderer.tsx
|
|
11440
11413
|
import React78, {
|
|
11441
11414
|
useContext as useContext30,
|
|
11442
|
-
useEffect as
|
|
11415
|
+
useEffect as useEffect27,
|
|
11443
11416
|
useMemo as useMemo14,
|
|
11444
|
-
useState as
|
|
11417
|
+
useState as useState32
|
|
11445
11418
|
} from "react";
|
|
11446
11419
|
import { useAccount as useAccount19, useAccountEffect as useAccountEffect4 } from "wagmi";
|
|
11447
11420
|
function WalletButtonRenderer({
|
|
@@ -11459,10 +11432,10 @@ function WalletButtonRenderer({
|
|
|
11459
11432
|
throw new Error("Connector not found");
|
|
11460
11433
|
}
|
|
11461
11434
|
const connectionStatus = useConnectionStatus();
|
|
11462
|
-
const [loading, setLoading] =
|
|
11463
|
-
const [isError, setIsError] =
|
|
11435
|
+
const [loading, setLoading] = useState32(false);
|
|
11436
|
+
const [isError, setIsError] = useState32(false);
|
|
11464
11437
|
const mobile = isMobile();
|
|
11465
|
-
|
|
11438
|
+
useEffect27(() => {
|
|
11466
11439
|
if (!connectModalOpen && connector)
|
|
11467
11440
|
setConnector(null);
|
|
11468
11441
|
}, [connectModalOpen, connector, setConnector]);
|
|
@@ -12390,6 +12363,43 @@ var __private__ = {
|
|
|
12390
12363
|
MobileOptions
|
|
12391
12364
|
};
|
|
12392
12365
|
|
|
12366
|
+
// src/hooks/useDeviceType.ts
|
|
12367
|
+
import { useEffect as useEffect28, useState as useState33 } from "react";
|
|
12368
|
+
var BREAKPOINTS = {
|
|
12369
|
+
mobile: 1024,
|
|
12370
|
+
// 0-1024px (includes phones and tablets)
|
|
12371
|
+
tablet: 1024
|
|
12372
|
+
// Not used (mobile includes tablet)
|
|
12373
|
+
// desktop: 1024+ (everything else)
|
|
12374
|
+
};
|
|
12375
|
+
function getDeviceState(width) {
|
|
12376
|
+
const type = width <= BREAKPOINTS.mobile ? "mobile" : width <= BREAKPOINTS.tablet ? "tablet" : "desktop";
|
|
12377
|
+
return {
|
|
12378
|
+
type,
|
|
12379
|
+
isMobile: type === "mobile",
|
|
12380
|
+
isTablet: type === "tablet",
|
|
12381
|
+
isDesktop: type === "desktop",
|
|
12382
|
+
width
|
|
12383
|
+
};
|
|
12384
|
+
}
|
|
12385
|
+
function useDeviceType() {
|
|
12386
|
+
const [state, setState] = useState33(() => {
|
|
12387
|
+
if (typeof window === "undefined") {
|
|
12388
|
+
return getDeviceState(1920);
|
|
12389
|
+
}
|
|
12390
|
+
return getDeviceState(window.innerWidth);
|
|
12391
|
+
});
|
|
12392
|
+
useEffect28(() => {
|
|
12393
|
+
setState(getDeviceState(window.innerWidth));
|
|
12394
|
+
function handleResize() {
|
|
12395
|
+
setState(getDeviceState(window.innerWidth));
|
|
12396
|
+
}
|
|
12397
|
+
window.addEventListener("resize", handleResize);
|
|
12398
|
+
return () => window.removeEventListener("resize", handleResize);
|
|
12399
|
+
}, []);
|
|
12400
|
+
return state;
|
|
12401
|
+
}
|
|
12402
|
+
|
|
12393
12403
|
// src/solana/config.ts
|
|
12394
12404
|
function getDefaultRpcEndpoint(network) {
|
|
12395
12405
|
switch (network) {
|
|
@@ -12419,7 +12429,7 @@ function getSolanaConfig(options = {}) {
|
|
|
12419
12429
|
network = "mainnet-beta",
|
|
12420
12430
|
wallets = ["phantom"],
|
|
12421
12431
|
rpcEndpoint,
|
|
12422
|
-
autoConnect =
|
|
12432
|
+
autoConnect = true
|
|
12423
12433
|
} = options;
|
|
12424
12434
|
return {
|
|
12425
12435
|
network,
|
|
@@ -12772,11 +12782,6 @@ function useSolanaWallet() {
|
|
|
12772
12782
|
[]
|
|
12773
12783
|
);
|
|
12774
12784
|
const externalWallet = useWallet5();
|
|
12775
|
-
const [windowSolanaState, setWindowSolanaState] = useState35({
|
|
12776
|
-
connected: false,
|
|
12777
|
-
publicKey: null,
|
|
12778
|
-
walletName: null
|
|
12779
|
-
});
|
|
12780
12785
|
const [abcWallet, setAbcWallet] = useState35({
|
|
12781
12786
|
address: null,
|
|
12782
12787
|
publicKey: null,
|
|
@@ -12856,58 +12861,6 @@ function useSolanaWallet() {
|
|
|
12856
12861
|
useEffect31(() => {
|
|
12857
12862
|
refreshAbcWallet();
|
|
12858
12863
|
}, [evmConnected, connector?.id]);
|
|
12859
|
-
useEffect31(() => {
|
|
12860
|
-
if (typeof window === "undefined")
|
|
12861
|
-
return;
|
|
12862
|
-
const checkWindowSolana = () => {
|
|
12863
|
-
const solana2 = window.solana;
|
|
12864
|
-
if (solana2) {
|
|
12865
|
-
const connected = solana2.isConnected === true;
|
|
12866
|
-
const publicKey = solana2.publicKey?.toString() || null;
|
|
12867
|
-
const walletName2 = solana2.isPhantom ? "Phantom" : solana2.isSolflare ? "Solflare" : solana2.isBackpack ? "Backpack" : "External Wallet";
|
|
12868
|
-
setWindowSolanaState((prev) => {
|
|
12869
|
-
if (prev.connected !== connected || prev.publicKey !== publicKey || prev.walletName !== walletName2) {
|
|
12870
|
-
if (connected && publicKey && !abcWallet.isConnected && externalWallet && !externalWallet.connected && externalWallet.publicKey?.toString() !== publicKey) {
|
|
12871
|
-
console.warn(
|
|
12872
|
-
"[TalkenKit] Detected external Solana wallet via window.solana but wallet-adapter context is not connected.",
|
|
12873
|
-
"This usually means you have duplicate WalletProvider wrappers.",
|
|
12874
|
-
"Remove manual ConnectionProvider/WalletProvider when using TalkenKitProvider with solanaConfig."
|
|
12875
|
-
);
|
|
12876
|
-
}
|
|
12877
|
-
return { connected, publicKey, walletName: walletName2 };
|
|
12878
|
-
}
|
|
12879
|
-
return prev;
|
|
12880
|
-
});
|
|
12881
|
-
} else {
|
|
12882
|
-
setWindowSolanaState({
|
|
12883
|
-
connected: false,
|
|
12884
|
-
publicKey: null,
|
|
12885
|
-
walletName: null
|
|
12886
|
-
});
|
|
12887
|
-
}
|
|
12888
|
-
};
|
|
12889
|
-
checkWindowSolana();
|
|
12890
|
-
const interval = setInterval(checkWindowSolana, 1e3);
|
|
12891
|
-
const solana = window.solana;
|
|
12892
|
-
if (solana) {
|
|
12893
|
-
solana.on?.("connect", checkWindowSolana);
|
|
12894
|
-
solana.on?.("disconnect", checkWindowSolana);
|
|
12895
|
-
solana.on?.("accountChanged", checkWindowSolana);
|
|
12896
|
-
}
|
|
12897
|
-
return () => {
|
|
12898
|
-
clearInterval(interval);
|
|
12899
|
-
const solana2 = window.solana;
|
|
12900
|
-
if (solana2) {
|
|
12901
|
-
solana2.off?.("connect", checkWindowSolana);
|
|
12902
|
-
solana2.off?.("disconnect", checkWindowSolana);
|
|
12903
|
-
solana2.off?.("accountChanged", checkWindowSolana);
|
|
12904
|
-
}
|
|
12905
|
-
};
|
|
12906
|
-
}, [
|
|
12907
|
-
externalWallet.connected,
|
|
12908
|
-
abcWallet.isConnected,
|
|
12909
|
-
externalWallet.publicKey
|
|
12910
|
-
]);
|
|
12911
12864
|
const activeWallet = abcWallet.isConnected ? {
|
|
12912
12865
|
...abcWallet,
|
|
12913
12866
|
type: "abc",
|
|
@@ -12920,15 +12873,6 @@ function useSolanaWallet() {
|
|
|
12920
12873
|
type: "external",
|
|
12921
12874
|
walletName: externalWallet.wallet?.adapter.name || "External Wallet",
|
|
12922
12875
|
provider: null
|
|
12923
|
-
} : windowSolanaState.connected ? {
|
|
12924
|
-
// Fallback to window.solana (for misconfigured providers)
|
|
12925
|
-
address: windowSolanaState.publicKey,
|
|
12926
|
-
publicKey: windowSolanaState.publicKey,
|
|
12927
|
-
network: process.env.NEXT_PUBLIC_ENVIRONMENT === "production" ? "solana" : "solana_devnet",
|
|
12928
|
-
isConnected: true,
|
|
12929
|
-
type: "external",
|
|
12930
|
-
walletName: windowSolanaState.walletName || "External Wallet",
|
|
12931
|
-
provider: null
|
|
12932
12876
|
} : {
|
|
12933
12877
|
address: null,
|
|
12934
12878
|
publicKey: null,
|
|
@@ -20,7 +20,7 @@ export interface SolanaWalletProviderProps {
|
|
|
20
20
|
/**
|
|
21
21
|
* Auto-connect to previously connected external wallet (Phantom, Solflare, etc.)
|
|
22
22
|
* Note: ABC Wallet always auto-connects when session exists
|
|
23
|
-
* @default
|
|
23
|
+
* @default true
|
|
24
24
|
*/
|
|
25
25
|
autoConnect?: boolean;
|
|
26
26
|
/**
|
package/dist/solana/config.d.ts
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AbcWaasApiClient,
|
|
4
4
|
createAbcWaasApiClient
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import {
|
|
7
|
-
WalletApi
|
|
8
|
-
} from "../../chunk-V33I7JGZ.js";
|
|
5
|
+
} from "../../chunk-DNYWTUT5.js";
|
|
9
6
|
import {
|
|
10
7
|
TransactionApi
|
|
11
8
|
} from "../../chunk-DJKN2MCI.js";
|
|
9
|
+
import {
|
|
10
|
+
WalletApi
|
|
11
|
+
} from "../../chunk-V33I7JGZ.js";
|
|
12
12
|
import {
|
|
13
13
|
AuthApi
|
|
14
14
|
} from "../../chunk-ZNBWRE3K.js";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AbcWaasApiClient,
|
|
4
4
|
createAbcWaasApiClient
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-V33I7JGZ.js";
|
|
5
|
+
} from "../chunk-DNYWTUT5.js";
|
|
7
6
|
import "../chunk-DJKN2MCI.js";
|
|
7
|
+
import "../chunk-V33I7JGZ.js";
|
|
8
8
|
import {
|
|
9
9
|
generateMpcWallets,
|
|
10
10
|
recoverMpcWallets,
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
TransactionApi
|
|
4
|
+
} from "./chunk-DJKN2MCI.js";
|
|
5
|
+
import {
|
|
6
|
+
WalletApi
|
|
7
|
+
} from "./chunk-V33I7JGZ.js";
|
|
8
|
+
import {
|
|
9
|
+
AuthApi
|
|
10
|
+
} from "./chunk-ZNBWRE3K.js";
|
|
11
|
+
import {
|
|
12
|
+
BitcoinApi
|
|
13
|
+
} from "./chunk-V4Q3GNBX.js";
|
|
14
|
+
import {
|
|
15
|
+
SigningApi
|
|
16
|
+
} from "./chunk-7VZDITAJ.js";
|
|
17
|
+
import {
|
|
18
|
+
SolanaApi
|
|
19
|
+
} from "./chunk-D3USECVX.js";
|
|
20
|
+
|
|
21
|
+
// src/wallets/walletConnectors/abcWallet/api/index.ts
|
|
22
|
+
var AbcWaasApiClient = class {
|
|
23
|
+
constructor(config) {
|
|
24
|
+
this.auth = new AuthApi(config);
|
|
25
|
+
this.wallet = new WalletApi(config);
|
|
26
|
+
this.transaction = new TransactionApi(config);
|
|
27
|
+
this.signing = new SigningApi(config);
|
|
28
|
+
this.solana = new SolanaApi(config);
|
|
29
|
+
this.bitcoin = new BitcoinApi(config);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if user is authenticated
|
|
33
|
+
*/
|
|
34
|
+
isAuthenticated() {
|
|
35
|
+
return this.auth.isAuthenticated();
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if access token is expired
|
|
39
|
+
*/
|
|
40
|
+
isTokenExpired() {
|
|
41
|
+
return this.auth.isTokenExpired();
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Get current access token
|
|
45
|
+
*/
|
|
46
|
+
getAccessToken() {
|
|
47
|
+
return this.auth.getAccessToken();
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Logout (clear tokens)
|
|
51
|
+
*/
|
|
52
|
+
async logout() {
|
|
53
|
+
await this.auth.logout();
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
function createAbcWaasApiClient(config) {
|
|
57
|
+
return new AbcWaasApiClient(config);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
AbcWaasApiClient,
|
|
62
|
+
createAbcWaasApiClient
|
|
63
|
+
};
|
|
@@ -12,8 +12,8 @@ import "./chunk-5RSS3SRV.js";
|
|
|
12
12
|
import "./chunk-RQIUWXDF.js";
|
|
13
13
|
import "./chunk-VETRBBA2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
trustWallet
|
|
16
|
+
} from "./chunk-EM6BREIH.js";
|
|
17
17
|
import {
|
|
18
18
|
uniswapWallet
|
|
19
19
|
} from "./chunk-DLDZUVTB.js";
|
|
@@ -44,60 +44,60 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
seifWallet
|
|
46
46
|
} from "./chunk-Y3E6EZ7J.js";
|
|
47
|
+
import {
|
|
48
|
+
tahoWallet
|
|
49
|
+
} from "./chunk-UXRQQZ2M.js";
|
|
47
50
|
import {
|
|
48
51
|
subWallet
|
|
49
52
|
} from "./chunk-OWSLCYOF.js";
|
|
50
53
|
import {
|
|
51
54
|
talismanWallet
|
|
52
55
|
} from "./chunk-B4IG5R5M.js";
|
|
53
|
-
import {
|
|
54
|
-
tahoWallet
|
|
55
|
-
} from "./chunk-UXRQQZ2M.js";
|
|
56
56
|
import {
|
|
57
57
|
tokenPocketWallet
|
|
58
58
|
} from "./chunk-RCZCJUTR.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
60
|
+
tokenaryWallet
|
|
61
|
+
} from "./chunk-U24COF36.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
63
|
+
oneInchWallet
|
|
64
|
+
} from "./chunk-OJT577AY.js";
|
|
65
65
|
import {
|
|
66
66
|
paraSwapWallet
|
|
67
67
|
} from "./chunk-FF7ZXD5C.js";
|
|
68
|
-
import {
|
|
69
|
-
rabbyWallet
|
|
70
|
-
} from "./chunk-3RMYBZQG.js";
|
|
71
68
|
import {
|
|
72
69
|
phantomWallet
|
|
73
70
|
} from "./chunk-DMQ4RXIY.js";
|
|
74
|
-
import {
|
|
75
|
-
ramperWallet
|
|
76
|
-
} from "./chunk-OX3PQBV2.js";
|
|
77
71
|
import {
|
|
78
72
|
rainbowWallet
|
|
79
73
|
} from "./chunk-6C3GUS6I.js";
|
|
74
|
+
import {
|
|
75
|
+
rabbyWallet
|
|
76
|
+
} from "./chunk-3RMYBZQG.js";
|
|
77
|
+
import {
|
|
78
|
+
ramperWallet
|
|
79
|
+
} from "./chunk-OX3PQBV2.js";
|
|
80
80
|
import {
|
|
81
81
|
roninWallet
|
|
82
82
|
} from "./chunk-DSTY7YNG.js";
|
|
83
83
|
import {
|
|
84
84
|
safeWallet
|
|
85
85
|
} from "./chunk-Z2QCE6O6.js";
|
|
86
|
-
import {
|
|
87
|
-
metaMaskWallet
|
|
88
|
-
} from "./chunk-VUMT22HL.js";
|
|
89
86
|
import {
|
|
90
87
|
magicEdenWallet
|
|
91
88
|
} from "./chunk-WB7EEKPS.js";
|
|
89
|
+
import {
|
|
90
|
+
metaMaskWallet
|
|
91
|
+
} from "./chunk-VUMT22HL.js";
|
|
92
92
|
import {
|
|
93
93
|
mewWallet
|
|
94
94
|
} from "./chunk-ZRY6ILYP.js";
|
|
95
|
-
import {
|
|
96
|
-
oktoWallet
|
|
97
|
-
} from "./chunk-7SSXG35M.js";
|
|
98
95
|
import {
|
|
99
96
|
nestWallet
|
|
100
97
|
} from "./chunk-NN4KGG3I.js";
|
|
98
|
+
import {
|
|
99
|
+
oktoWallet
|
|
100
|
+
} from "./chunk-7SSXG35M.js";
|
|
101
101
|
import {
|
|
102
102
|
okxWallet
|
|
103
103
|
} from "./chunk-GF7RKBNV.js";
|
|
@@ -105,14 +105,14 @@ import {
|
|
|
105
105
|
omniWallet
|
|
106
106
|
} from "./chunk-RGPO7AY3.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import {
|
|
111
|
-
injectedWallet
|
|
112
|
-
} from "./chunk-GDGRUMZB.js";
|
|
108
|
+
oneKeyWallet
|
|
109
|
+
} from "./chunk-6UGYPEQE.js";
|
|
113
110
|
import {
|
|
114
111
|
imTokenWallet
|
|
115
112
|
} from "./chunk-EHE2536P.js";
|
|
113
|
+
import {
|
|
114
|
+
injectedWallet
|
|
115
|
+
} from "./chunk-GDGRUMZB.js";
|
|
116
116
|
import {
|
|
117
117
|
iopayWallet
|
|
118
118
|
} from "./chunk-A2XAHJNR.js";
|
|
@@ -122,12 +122,12 @@ import {
|
|
|
122
122
|
import {
|
|
123
123
|
kaikasWallet
|
|
124
124
|
} from "./chunk-MUJPEDFF.js";
|
|
125
|
-
import {
|
|
126
|
-
kresusWallet
|
|
127
|
-
} from "./chunk-CM3VR7OM.js";
|
|
128
125
|
import {
|
|
129
126
|
krakenWallet
|
|
130
127
|
} from "./chunk-CYOZFCR6.js";
|
|
128
|
+
import {
|
|
129
|
+
kresusWallet
|
|
130
|
+
} from "./chunk-CM3VR7OM.js";
|
|
131
131
|
import {
|
|
132
132
|
ledgerWallet
|
|
133
133
|
} from "./chunk-BF3VSNPL.js";
|
|
@@ -137,18 +137,18 @@ import {
|
|
|
137
137
|
import {
|
|
138
138
|
dawnWallet
|
|
139
139
|
} from "./chunk-YMP3W2MO.js";
|
|
140
|
-
import {
|
|
141
|
-
enkryptWallet
|
|
142
|
-
} from "./chunk-5QHPQU7J.js";
|
|
143
140
|
import {
|
|
144
141
|
desigWallet
|
|
145
142
|
} from "./chunk-DVXPOWEC.js";
|
|
146
143
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
144
|
+
enkryptWallet
|
|
145
|
+
} from "./chunk-5QHPQU7J.js";
|
|
149
146
|
import {
|
|
150
147
|
foxWallet
|
|
151
148
|
} from "./chunk-E4UMOJTY.js";
|
|
149
|
+
import {
|
|
150
|
+
frameWallet
|
|
151
|
+
} from "./chunk-CP45RGL4.js";
|
|
152
152
|
import {
|
|
153
153
|
frontierWallet
|
|
154
154
|
} from "./chunk-NHZMJSPE.js";
|
|
@@ -180,26 +180,26 @@ import {
|
|
|
180
180
|
compassWallet
|
|
181
181
|
} from "./chunk-3OO564GS.js";
|
|
182
182
|
import {
|
|
183
|
-
|
|
184
|
-
} from "./chunk-
|
|
183
|
+
argentWallet
|
|
184
|
+
} from "./chunk-XT2WYPN5.js";
|
|
185
185
|
import {
|
|
186
186
|
berasigWallet
|
|
187
187
|
} from "./chunk-UZWMFUJU.js";
|
|
188
188
|
import {
|
|
189
|
-
|
|
190
|
-
} from "./chunk-
|
|
189
|
+
bestWallet
|
|
190
|
+
} from "./chunk-OPAPBEA5.js";
|
|
191
191
|
import {
|
|
192
192
|
binanceWallet
|
|
193
193
|
} from "./chunk-TUDZHFVC.js";
|
|
194
194
|
import {
|
|
195
195
|
bitskiWallet
|
|
196
196
|
} from "./chunk-DZB25PZ7.js";
|
|
197
|
-
import {
|
|
198
|
-
bitgetWallet
|
|
199
|
-
} from "./chunk-ITLTDJ3D.js";
|
|
200
197
|
import {
|
|
201
198
|
bifrostWallet
|
|
202
199
|
} from "./chunk-WXXI4WBF.js";
|
|
200
|
+
import {
|
|
201
|
+
bitgetWallet
|
|
202
|
+
} from "./chunk-ITLTDJ3D.js";
|
|
203
203
|
import "./chunk-RETKWSKD.js";
|
|
204
204
|
import "./chunk-PODFK4OS.js";
|
|
205
205
|
import "./chunk-MBBGZGXF.js";
|