@funkit/connect 3.0.0-next.1 → 3.0.0-next.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/CHANGELOG.md +10 -0
- package/dist/components/ChainModal/Chain.d.ts +1 -5
- package/dist/components/FunToast/FunShortToast.d.ts +1 -1
- package/dist/index.js +122 -131
- package/dist/wallets/groupedWallets.d.ts +1 -1
- package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +92 -0
- package/dist/wallets/walletConnectors/chunk-2EMZOYQI.js +101 -0
- package/dist/wallets/walletConnectors/chunk-57UUMOOZ.js +95 -0
- package/dist/wallets/walletConnectors/chunk-5K4DIMYR.js +95 -0
- package/dist/wallets/walletConnectors/chunk-AUVBWDIK.js +102 -0
- package/dist/wallets/walletConnectors/chunk-AXPQHNUI.js +71 -0
- package/dist/wallets/walletConnectors/chunk-B7FHT3CB.js +94 -0
- package/dist/wallets/walletConnectors/chunk-EFIENLEE.js +98 -0
- package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +27 -0
- package/dist/wallets/walletConnectors/chunk-HCKLWBE5.js +98 -0
- package/dist/wallets/walletConnectors/chunk-IR3YKU2N.js +103 -0
- package/dist/wallets/walletConnectors/chunk-J2BF4L2V.js +87 -0
- package/dist/wallets/walletConnectors/chunk-L7QI6PBN.js +108 -0
- package/dist/wallets/walletConnectors/chunk-OKUX4BC4.js +66 -0
- package/dist/wallets/walletConnectors/chunk-QP2BIVXD.js +73 -0
- package/dist/wallets/walletConnectors/chunk-UWZQZY4S.js +149 -0
- package/dist/wallets/walletConnectors/chunk-UZEMNN3Q.js +96 -0
- package/dist/wallets/walletConnectors/chunk-WAMHUVNP.js +96 -0
- package/dist/wallets/walletConnectors/chunk-ZCKNEKQQ.js +110 -0
- package/dist/wallets/walletConnectors/index.js +50 -50
- package/package.json +4 -4
- package/dist/components/FunTransactionSummary/FunTxSummaryHistory.d.ts +0 -1
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
+
import {
|
|
7
|
+
isAndroid,
|
|
8
|
+
isIOS
|
|
9
|
+
} from "./chunk-RETKWSKD.js";
|
|
10
|
+
import {
|
|
11
|
+
getWalletConnectConnector
|
|
12
|
+
} from "./chunk-23WIEY36.js";
|
|
13
|
+
|
|
14
|
+
// src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
|
|
15
|
+
function isMetaMask(ethereum) {
|
|
16
|
+
if (!ethereum?.isMetaMask) return false;
|
|
17
|
+
if (ethereum.isBraveWallet && !ethereum._events && !ethereum._state)
|
|
18
|
+
return false;
|
|
19
|
+
if (ethereum.isApexWallet) return false;
|
|
20
|
+
if (ethereum.isAvalanche) return false;
|
|
21
|
+
if (ethereum.isBackpack) return false;
|
|
22
|
+
if (ethereum.isBifrost) return false;
|
|
23
|
+
if (ethereum.isBitKeep) return false;
|
|
24
|
+
if (ethereum.isBitski) return false;
|
|
25
|
+
if (ethereum.isBlockWallet) return false;
|
|
26
|
+
if (ethereum.isCoinbaseWallet) return false;
|
|
27
|
+
if (ethereum.isDawn) return false;
|
|
28
|
+
if (ethereum.isEnkrypt) return false;
|
|
29
|
+
if (ethereum.isExodus) return false;
|
|
30
|
+
if (ethereum.isFrame) return false;
|
|
31
|
+
if (ethereum.isFrontier) return false;
|
|
32
|
+
if (ethereum.isGamestop) return false;
|
|
33
|
+
if (ethereum.isHyperPay) return false;
|
|
34
|
+
if (ethereum.isImToken) return false;
|
|
35
|
+
if (ethereum.isKuCoinWallet) return false;
|
|
36
|
+
if (ethereum.isMathWallet) return false;
|
|
37
|
+
if (ethereum.isNestWallet) return false;
|
|
38
|
+
if (ethereum.isOkxWallet || ethereum.isOKExWallet) return false;
|
|
39
|
+
if (ethereum.isOneInchIOSWallet || ethereum.isOneInchAndroidWallet)
|
|
40
|
+
return false;
|
|
41
|
+
if (ethereum.isOpera) return false;
|
|
42
|
+
if (ethereum.isPhantom) return false;
|
|
43
|
+
if (ethereum.isPortal) return false;
|
|
44
|
+
if (ethereum.isRabby) return false;
|
|
45
|
+
if (ethereum.isRainbow) return false;
|
|
46
|
+
if (ethereum.isStatus) return false;
|
|
47
|
+
if (ethereum.isTalisman) return false;
|
|
48
|
+
if (ethereum.isTally) return false;
|
|
49
|
+
if (ethereum.isTokenPocket) return false;
|
|
50
|
+
if (ethereum.isTokenary) return false;
|
|
51
|
+
if (ethereum.isTrust || ethereum.isTrustWallet) return false;
|
|
52
|
+
if (ethereum.isXDEFI) return false;
|
|
53
|
+
if (ethereum.isZeal) return false;
|
|
54
|
+
if (ethereum.isZerion) return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
var metaMaskWallet = ({
|
|
58
|
+
projectId,
|
|
59
|
+
walletConnectParameters
|
|
60
|
+
}) => {
|
|
61
|
+
const isMetaMaskInjected = hasInjectedProvider({ flag: "isMetaMask" });
|
|
62
|
+
const shouldUseWalletConnect = !isMetaMaskInjected;
|
|
63
|
+
const getUri = (uri) => {
|
|
64
|
+
return isAndroid() ? uri : isIOS() ? (
|
|
65
|
+
// currently broken in MetaMask v6.5.0 https://github.com/MetaMask/metamask-mobile/issues/6457
|
|
66
|
+
`metamask://wc?uri=${encodeURIComponent(uri)}`
|
|
67
|
+
) : `https://metamask.app.link/wc?uri=${encodeURIComponent(uri)}`;
|
|
68
|
+
};
|
|
69
|
+
return {
|
|
70
|
+
id: "metaMask",
|
|
71
|
+
name: "MetaMask",
|
|
72
|
+
rdns: "io.metamask",
|
|
73
|
+
iconUrl: async () => (await import("./metaMaskWallet-YFHEHW7V.js")).default,
|
|
74
|
+
iconAccent: "#f6851a",
|
|
75
|
+
iconBackground: "#fff",
|
|
76
|
+
installed: !shouldUseWalletConnect ? isMetaMaskInjected : void 0,
|
|
77
|
+
downloadUrls: {
|
|
78
|
+
android: "https://play.google.com/store/apps/details?id=io.metamask",
|
|
79
|
+
ios: "https://apps.apple.com/us/app/metamask/id1438144202",
|
|
80
|
+
mobile: "https://metamask.io/download",
|
|
81
|
+
qrCode: "https://metamask.io/download",
|
|
82
|
+
chrome: "https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",
|
|
83
|
+
edge: "https://microsoftedge.microsoft.com/addons/detail/metamask/ejbalbakoplchlghecdalmeeeajnimhm",
|
|
84
|
+
firefox: "https://addons.mozilla.org/firefox/addon/ether-metamask",
|
|
85
|
+
opera: "https://addons.opera.com/extensions/details/metamask-10",
|
|
86
|
+
browserExtension: "https://metamask.io/download"
|
|
87
|
+
},
|
|
88
|
+
mobile: {
|
|
89
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
90
|
+
},
|
|
91
|
+
qrCode: shouldUseWalletConnect ? {
|
|
92
|
+
getUri,
|
|
93
|
+
instructions: {
|
|
94
|
+
learnMoreUrl: "https://metamask.io/faqs/",
|
|
95
|
+
steps: [
|
|
96
|
+
{
|
|
97
|
+
description: "wallet_connectors.metamask.qr_code.step1.description",
|
|
98
|
+
step: "install",
|
|
99
|
+
title: "wallet_connectors.metamask.qr_code.step1.title"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
description: "wallet_connectors.metamask.qr_code.step2.description",
|
|
103
|
+
step: "create",
|
|
104
|
+
title: "wallet_connectors.metamask.qr_code.step2.title"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
description: "wallet_connectors.metamask.qr_code.step3.description",
|
|
108
|
+
step: "refresh",
|
|
109
|
+
title: "wallet_connectors.metamask.qr_code.step3.title"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
} : void 0,
|
|
114
|
+
extension: {
|
|
115
|
+
instructions: {
|
|
116
|
+
learnMoreUrl: "https://metamask.io/faqs/",
|
|
117
|
+
steps: [
|
|
118
|
+
{
|
|
119
|
+
description: "wallet_connectors.metamask.extension.step1.description",
|
|
120
|
+
step: "install",
|
|
121
|
+
title: "wallet_connectors.metamask.extension.step1.title"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
description: "wallet_connectors.metamask.extension.step2.description",
|
|
125
|
+
step: "create",
|
|
126
|
+
title: "wallet_connectors.metamask.extension.step2.title"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
description: "wallet_connectors.metamask.extension.step3.description",
|
|
130
|
+
step: "refresh",
|
|
131
|
+
title: "wallet_connectors.metamask.extension.step3.title"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
137
|
+
projectId,
|
|
138
|
+
walletConnectParameters
|
|
139
|
+
}) : getInjectedConnector({
|
|
140
|
+
target: typeof window !== "undefined" ? window.ethereum?.providers?.find(
|
|
141
|
+
isMetaMask
|
|
142
|
+
) ?? window.ethereum : void 0
|
|
143
|
+
})
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
export {
|
|
148
|
+
metaMaskWallet
|
|
149
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
+
import {
|
|
7
|
+
isAndroid
|
|
8
|
+
} from "./chunk-RETKWSKD.js";
|
|
9
|
+
import {
|
|
10
|
+
getWalletConnectConnector
|
|
11
|
+
} from "./chunk-23WIEY36.js";
|
|
12
|
+
|
|
13
|
+
// src/wallets/walletConnectors/okxWallet/okxWallet.ts
|
|
14
|
+
var okxWallet = ({
|
|
15
|
+
projectId,
|
|
16
|
+
walletConnectParameters
|
|
17
|
+
}) => {
|
|
18
|
+
const isOKXInjected = hasInjectedProvider({ namespace: "okxwallet" });
|
|
19
|
+
const shouldUseWalletConnect = !isOKXInjected;
|
|
20
|
+
return {
|
|
21
|
+
id: "okx",
|
|
22
|
+
name: "OKX Wallet",
|
|
23
|
+
rdns: "com.okex.wallet",
|
|
24
|
+
iconUrl: async () => (await import("./okxWallet-GJMKZIND.js")).default,
|
|
25
|
+
iconAccent: "#000",
|
|
26
|
+
iconBackground: "#000",
|
|
27
|
+
downloadUrls: {
|
|
28
|
+
android: "https://play.google.com/store/apps/details?id=com.okinc.okex.gp",
|
|
29
|
+
ios: "https://itunes.apple.com/app/id1327268470?mt=8",
|
|
30
|
+
mobile: "https://okx.com/download",
|
|
31
|
+
qrCode: "https://okx.com/download",
|
|
32
|
+
chrome: "https://chrome.google.com/webstore/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge",
|
|
33
|
+
edge: "https://microsoftedge.microsoft.com/addons/detail/okx-wallet/pbpjkcldjiffchgbbndmhojiacbgflha",
|
|
34
|
+
firefox: "https://addons.mozilla.org/firefox/addon/okexwallet/",
|
|
35
|
+
browserExtension: "https://okx.com/download"
|
|
36
|
+
},
|
|
37
|
+
mobile: {
|
|
38
|
+
getUri: shouldUseWalletConnect ? (uri) => {
|
|
39
|
+
return isAndroid() ? uri : `okex://main/wc?uri=${encodeURIComponent(uri)}`;
|
|
40
|
+
} : void 0
|
|
41
|
+
},
|
|
42
|
+
qrCode: shouldUseWalletConnect ? {
|
|
43
|
+
getUri: (uri) => uri,
|
|
44
|
+
instructions: {
|
|
45
|
+
learnMoreUrl: "https://okx.com/web3/",
|
|
46
|
+
steps: [
|
|
47
|
+
{
|
|
48
|
+
description: "wallet_connectors.okx.qr_code.step1.description",
|
|
49
|
+
step: "install",
|
|
50
|
+
title: "wallet_connectors.okx.qr_code.step1.title"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
description: "wallet_connectors.okx.qr_code.step2.description",
|
|
54
|
+
step: "create",
|
|
55
|
+
title: "wallet_connectors.okx.qr_code.step2.title"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
description: "wallet_connectors.okx.qr_code.step3.description",
|
|
59
|
+
step: "scan",
|
|
60
|
+
title: "wallet_connectors.okx.qr_code.step3.title"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
} : void 0,
|
|
65
|
+
extension: {
|
|
66
|
+
instructions: {
|
|
67
|
+
learnMoreUrl: "https://okx.com/web3/",
|
|
68
|
+
steps: [
|
|
69
|
+
{
|
|
70
|
+
description: "wallet_connectors.okx.extension.step1.description",
|
|
71
|
+
step: "install",
|
|
72
|
+
title: "wallet_connectors.okx.extension.step1.title"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
description: "wallet_connectors.okx.extension.step2.description",
|
|
76
|
+
step: "create",
|
|
77
|
+
title: "wallet_connectors.okx.extension.step2.title"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
description: "wallet_connectors.okx.extension.step3.description",
|
|
81
|
+
step: "refresh",
|
|
82
|
+
title: "wallet_connectors.okx.extension.step3.title"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
88
|
+
projectId,
|
|
89
|
+
walletConnectParameters
|
|
90
|
+
}) : getInjectedConnector({ namespace: "okxwallet" })
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export {
|
|
95
|
+
okxWallet
|
|
96
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-23WIEY36.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
|
|
11
|
+
var coin98Wallet = ({
|
|
12
|
+
projectId,
|
|
13
|
+
walletConnectParameters
|
|
14
|
+
}) => {
|
|
15
|
+
const isCoin98WalletInjected = hasInjectedProvider({
|
|
16
|
+
namespace: "coin98.provider",
|
|
17
|
+
flag: "isCoin98"
|
|
18
|
+
});
|
|
19
|
+
const shouldUseWalletConnect = !isCoin98WalletInjected;
|
|
20
|
+
return {
|
|
21
|
+
id: "coin98",
|
|
22
|
+
name: "Coin98 Wallet",
|
|
23
|
+
iconUrl: async () => (await import("./coin98Wallet-RFXRNVWP.js")).default,
|
|
24
|
+
installed: isCoin98WalletInjected,
|
|
25
|
+
iconAccent: "#CDA349",
|
|
26
|
+
iconBackground: "#fff",
|
|
27
|
+
rdns: "coin98.com",
|
|
28
|
+
downloadUrls: {
|
|
29
|
+
android: "https://play.google.com/store/apps/details?id=coin98.crypto.finance.media",
|
|
30
|
+
ios: "https://apps.apple.com/vn/app/coin98-super-app/id1561969966",
|
|
31
|
+
mobile: "https://coin98.com/wallet",
|
|
32
|
+
qrCode: "https://coin98.com/wallet",
|
|
33
|
+
chrome: "https://chrome.google.com/webstore/detail/coin98-wallet/aeachknmefphepccionboohckonoeemg",
|
|
34
|
+
browserExtension: "https://coin98.com/wallet"
|
|
35
|
+
},
|
|
36
|
+
mobile: {
|
|
37
|
+
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
38
|
+
},
|
|
39
|
+
qrCode: shouldUseWalletConnect ? {
|
|
40
|
+
getUri: (uri) => uri,
|
|
41
|
+
instructions: {
|
|
42
|
+
learnMoreUrl: "https://coin98.com/wallet",
|
|
43
|
+
steps: [
|
|
44
|
+
{
|
|
45
|
+
description: "wallet_connectors.coin98.qr_code.step1.description",
|
|
46
|
+
step: "install",
|
|
47
|
+
title: "wallet_connectors.coin98.qr_code.step1.title"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
description: "wallet_connectors.coin98.qr_code.step2.description",
|
|
51
|
+
step: "create",
|
|
52
|
+
title: "wallet_connectors.coin98.qr_code.step2.title"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
description: "wallet_connectors.coin98.qr_code.step3.description",
|
|
56
|
+
step: "scan",
|
|
57
|
+
title: "wallet_connectors.coin98.qr_code.step3.title"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
} : void 0,
|
|
62
|
+
extension: {
|
|
63
|
+
instructions: {
|
|
64
|
+
learnMoreUrl: "https://coin98.com/wallet",
|
|
65
|
+
steps: [
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.coin98.extension.step1.description",
|
|
68
|
+
step: "install",
|
|
69
|
+
title: "wallet_connectors.coin98.extension.step1.title"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "wallet_connectors.coin98.extension.step2.description",
|
|
73
|
+
step: "create",
|
|
74
|
+
title: "wallet_connectors.coin98.extension.step2.title"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
description: "wallet_connectors.coin98.extension.step3.description",
|
|
78
|
+
step: "refresh",
|
|
79
|
+
title: "wallet_connectors.coin98.extension.step3.title"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
85
|
+
projectId,
|
|
86
|
+
walletConnectParameters
|
|
87
|
+
}) : getInjectedConnector({
|
|
88
|
+
namespace: "coin98Wallet",
|
|
89
|
+
flag: "isCoin98"
|
|
90
|
+
})
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export {
|
|
95
|
+
coin98Wallet
|
|
96
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-23WIEY36.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
|
|
11
|
+
var safepalWallet = ({
|
|
12
|
+
projectId,
|
|
13
|
+
walletConnectParameters
|
|
14
|
+
}) => {
|
|
15
|
+
const isSafePalWalletInjected = hasInjectedProvider({
|
|
16
|
+
namespace: "safepalProvider",
|
|
17
|
+
flag: "isSafePal"
|
|
18
|
+
});
|
|
19
|
+
const shouldUseWalletConnect = !isSafePalWalletInjected;
|
|
20
|
+
const getUriMobile = (uri) => {
|
|
21
|
+
return `safepalwallet://wc?uri=${encodeURIComponent(uri)}`;
|
|
22
|
+
};
|
|
23
|
+
const getUriQR = async (uri) => {
|
|
24
|
+
return uri;
|
|
25
|
+
};
|
|
26
|
+
const mobileConnector = {
|
|
27
|
+
getUri: shouldUseWalletConnect ? getUriMobile : void 0
|
|
28
|
+
};
|
|
29
|
+
let qrConnector = void 0;
|
|
30
|
+
if (shouldUseWalletConnect) {
|
|
31
|
+
qrConnector = {
|
|
32
|
+
getUri: getUriQR,
|
|
33
|
+
instructions: {
|
|
34
|
+
learnMoreUrl: "https://safepal.com/",
|
|
35
|
+
steps: [
|
|
36
|
+
{
|
|
37
|
+
description: "wallet_connectors.safepal.qr_code.step1.description",
|
|
38
|
+
step: "install",
|
|
39
|
+
title: "wallet_connectors.safepal.qr_code.step1.title"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
description: "wallet_connectors.safepal.qr_code.step2.description",
|
|
43
|
+
step: "create",
|
|
44
|
+
title: "wallet_connectors.safepal.qr_code.step2.title"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
description: "wallet_connectors.safepal.qr_code.step3.description",
|
|
48
|
+
step: "scan",
|
|
49
|
+
title: "wallet_connectors.safepal.qr_code.step3.title"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
const extensionConnector = {
|
|
56
|
+
instructions: {
|
|
57
|
+
learnMoreUrl: "https://www.safepal.com/download?product=2",
|
|
58
|
+
steps: [
|
|
59
|
+
{
|
|
60
|
+
description: "wallet_connectors.safepal.extension.step1.description",
|
|
61
|
+
step: "install",
|
|
62
|
+
title: "wallet_connectors.safepal.extension.step1.title"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
description: "wallet_connectors.safepal.extension.step2.description",
|
|
66
|
+
step: "create",
|
|
67
|
+
title: "wallet_connectors.safepal.extension.step2.title"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
description: "wallet_connectors.safepal.extension.step3.description",
|
|
71
|
+
step: "refresh",
|
|
72
|
+
title: "wallet_connectors.safepal.extension.step3.title"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
return {
|
|
78
|
+
id: "safepal",
|
|
79
|
+
name: "SafePal Wallet",
|
|
80
|
+
iconUrl: async () => (await import("./safepalWallet-KQJ4OCNH.js")).default,
|
|
81
|
+
// Note that we never resolve `installed` to `false` because the
|
|
82
|
+
// SafePal Wallet provider falls back to other connection methods if
|
|
83
|
+
// the injected connector isn't available
|
|
84
|
+
installed: isSafePalWalletInjected,
|
|
85
|
+
iconAccent: "#3375BB",
|
|
86
|
+
iconBackground: "#fff",
|
|
87
|
+
downloadUrls: {
|
|
88
|
+
android: "https://play.google.com/store/apps/details?id=io.safepal.wallet&referrer=utm_source%3Drainbowkit%26utm_medium%3Ddisplay%26utm_campaign%3Ddownload",
|
|
89
|
+
ios: "https://apps.apple.com/app/apple-store/id1548297139?pt=122504219&ct=rainbowkit&mt=8",
|
|
90
|
+
mobile: "https://www.safepal.com/en/download",
|
|
91
|
+
qrCode: "https://www.safepal.com/en/download",
|
|
92
|
+
chrome: "https://chrome.google.com/webstore/detail/safepal-extension-wallet/lgmpcpglpngdoalbgeoldeajfclnhafa",
|
|
93
|
+
browserExtension: "https://www.safepal.com/download?product=2"
|
|
94
|
+
},
|
|
95
|
+
mobile: mobileConnector,
|
|
96
|
+
...qrConnector ? qrConnector : {},
|
|
97
|
+
extension: extensionConnector,
|
|
98
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
99
|
+
projectId,
|
|
100
|
+
walletConnectParameters
|
|
101
|
+
}) : getInjectedConnector({
|
|
102
|
+
namespace: "safepalProvider",
|
|
103
|
+
flag: "isSafePal"
|
|
104
|
+
})
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export {
|
|
109
|
+
safepalWallet
|
|
110
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
zealWallet
|
|
4
|
-
} from "./chunk-BUUV6BS4.js";
|
|
5
2
|
import {
|
|
6
3
|
zerionWallet
|
|
7
4
|
} from "./chunk-DBP432DI.js";
|
|
8
5
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
subWallet
|
|
13
|
-
} from "./chunk-N3ELQYCY.js";
|
|
6
|
+
xdefiWallet
|
|
7
|
+
} from "./chunk-RVIZMVFR.js";
|
|
14
8
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
9
|
+
metaMaskWallet
|
|
10
|
+
} from "./chunk-ODRDT73B.js";
|
|
17
11
|
import {
|
|
18
12
|
tokenPocketWallet
|
|
19
13
|
} from "./chunk-ISJYPD3T.js";
|
|
20
14
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
15
|
+
omniWallet
|
|
16
|
+
} from "./chunk-II6YBG2B.js";
|
|
17
|
+
import {
|
|
18
|
+
roninWallet
|
|
19
|
+
} from "./chunk-63YLN6R5.js";
|
|
20
|
+
import {
|
|
21
|
+
injectedWallet
|
|
22
|
+
} from "./chunk-E5NYR4SS.js";
|
|
23
23
|
import {
|
|
24
24
|
trustWallet
|
|
25
25
|
} from "./chunk-X45WXZDO.js";
|
|
@@ -30,20 +30,11 @@ import {
|
|
|
30
30
|
walletConnectWallet
|
|
31
31
|
} from "./chunk-OFU3PEVT.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import {
|
|
36
|
-
rabbyWallet
|
|
37
|
-
} from "./chunk-H5LLXNOI.js";
|
|
38
|
-
import {
|
|
39
|
-
rainbowWallet
|
|
40
|
-
} from "./chunk-OHJBALD3.js";
|
|
41
|
-
import {
|
|
42
|
-
phantomWallet
|
|
43
|
-
} from "./chunk-KEVUI6AA.js";
|
|
33
|
+
zealWallet
|
|
34
|
+
} from "./chunk-BUUV6BS4.js";
|
|
44
35
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
36
|
+
ramperWallet
|
|
37
|
+
} from "./chunk-TKXQYHWJ.js";
|
|
47
38
|
import {
|
|
48
39
|
safeheronWallet
|
|
49
40
|
} from "./chunk-FCIRHRFH.js";
|
|
@@ -51,20 +42,29 @@ import {
|
|
|
51
42
|
safeWallet
|
|
52
43
|
} from "./chunk-Z2QCE6O6.js";
|
|
53
44
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
45
|
+
subWallet
|
|
46
|
+
} from "./chunk-N3ELQYCY.js";
|
|
56
47
|
import {
|
|
57
48
|
safepalWallet
|
|
58
49
|
} from "./chunk-AKAT37SI.js";
|
|
59
50
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
51
|
+
tahoWallet
|
|
52
|
+
} from "./chunk-6AYBA6IH.js";
|
|
53
|
+
import {
|
|
54
|
+
talismanWallet
|
|
55
|
+
} from "./chunk-OTXHQMSG.js";
|
|
56
|
+
import {
|
|
57
|
+
tokenaryWallet
|
|
58
|
+
} from "./chunk-FAYEL4JP.js";
|
|
62
59
|
import {
|
|
63
60
|
oktoWallet
|
|
64
61
|
} from "./chunk-MBQTOALG.js";
|
|
65
62
|
import {
|
|
66
63
|
okxWallet
|
|
67
64
|
} from "./chunk-5HXH52SO.js";
|
|
65
|
+
import {
|
|
66
|
+
foxWallet
|
|
67
|
+
} from "./chunk-WAOREEBE.js";
|
|
68
68
|
import {
|
|
69
69
|
oneInchWallet
|
|
70
70
|
} from "./chunk-I7MKK24W.js";
|
|
@@ -72,29 +72,23 @@ import {
|
|
|
72
72
|
oneKeyWallet
|
|
73
73
|
} from "./chunk-ZP2SV6KN.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./chunk-
|
|
75
|
+
phantomWallet
|
|
76
|
+
} from "./chunk-KEVUI6AA.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
78
|
+
rabbyWallet
|
|
79
|
+
} from "./chunk-H5LLXNOI.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
rainbowWallet
|
|
82
|
+
} from "./chunk-OHJBALD3.js";
|
|
83
83
|
import {
|
|
84
84
|
frameWallet
|
|
85
85
|
} from "./chunk-KPVNJO3R.js";
|
|
86
86
|
import {
|
|
87
87
|
frontierWallet
|
|
88
88
|
} from "./chunk-LCOUKF2U.js";
|
|
89
|
-
import {
|
|
90
|
-
foxWallet
|
|
91
|
-
} from "./chunk-WAOREEBE.js";
|
|
92
89
|
import {
|
|
93
90
|
gateWallet
|
|
94
91
|
} from "./chunk-YIJ5ULO3.js";
|
|
95
|
-
import {
|
|
96
|
-
injectedWallet
|
|
97
|
-
} from "./chunk-E5NYR4SS.js";
|
|
98
92
|
import {
|
|
99
93
|
imTokenWallet
|
|
100
94
|
} from "./chunk-BMJOLT2N.js";
|
|
@@ -102,20 +96,26 @@ import {
|
|
|
102
96
|
kresusWallet
|
|
103
97
|
} from "./chunk-QQJKQCII.js";
|
|
104
98
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
99
|
+
ledgerWallet
|
|
100
|
+
} from "./chunk-ZMHCZCGS.js";
|
|
101
|
+
import {
|
|
102
|
+
mewWallet
|
|
103
|
+
} from "./chunk-CVYXTHZ6.js";
|
|
104
|
+
import {
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-3AZNOY75.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
109
|
} from "./chunk-UHHA5V52.js";
|
|
110
|
+
import {
|
|
111
|
+
coin98Wallet
|
|
112
|
+
} from "./chunk-ZXGMW3OS.js";
|
|
110
113
|
import {
|
|
111
114
|
coreWallet
|
|
112
115
|
} from "./chunk-MOOW2AOC.js";
|
|
113
116
|
import {
|
|
114
117
|
coinbaseWallet
|
|
115
118
|
} from "./chunk-PNEDRY6O.js";
|
|
116
|
-
import {
|
|
117
|
-
bitverseWallet
|
|
118
|
-
} from "./chunk-BQEOIDHP.js";
|
|
119
119
|
import {
|
|
120
120
|
dawnWallet
|
|
121
121
|
} from "./chunk-KCTWDMQP.js";
|
|
@@ -137,17 +137,17 @@ import {
|
|
|
137
137
|
import {
|
|
138
138
|
bitskiWallet
|
|
139
139
|
} from "./chunk-OCCT5PIN.js";
|
|
140
|
+
import {
|
|
141
|
+
bitverseWallet
|
|
142
|
+
} from "./chunk-BQEOIDHP.js";
|
|
140
143
|
import {
|
|
141
144
|
bloomWallet
|
|
142
145
|
} from "./chunk-J64P6XK3.js";
|
|
143
146
|
import "./chunk-RETKWSKD.js";
|
|
147
|
+
import "./chunk-23WIEY36.js";
|
|
144
148
|
import {
|
|
145
149
|
braveWallet
|
|
146
150
|
} from "./chunk-NUEOWEZS.js";
|
|
147
|
-
import {
|
|
148
|
-
bybitWallet
|
|
149
|
-
} from "./chunk-3AZNOY75.js";
|
|
150
|
-
import "./chunk-23WIEY36.js";
|
|
151
151
|
import "./chunk-WRA2DVJ7.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.2",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
"react-remove-scroll": "2.5.7",
|
|
79
79
|
"ua-parser-js": "^1.0.37",
|
|
80
80
|
"uuid": "^9.0.1",
|
|
81
|
-
"@funkit/core": "2.1.2-next.
|
|
82
|
-
"@funkit/api-base": "1.0.
|
|
83
|
-
"@funkit/wagmi-tools": "3.0.4-next.
|
|
81
|
+
"@funkit/core": "2.1.2-next.1",
|
|
82
|
+
"@funkit/api-base": "1.0.2-next.0",
|
|
83
|
+
"@funkit/wagmi-tools": "3.0.4-next.1"
|
|
84
84
|
},
|
|
85
85
|
"repository": {
|
|
86
86
|
"type": "git",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|