@funkit/connect 0.1.14 → 0.1.15
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/{chunk-OYE6VAAG.js → chunk-IDQLTS4C.js} +182 -67
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +1 -1
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +2 -1
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +2 -2
- package/dist/components/FunkitProvider/ModalContext.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/hooks/useCheckoutType.d.ts +5 -0
- package/dist/hooks/useFunListeners.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/utils/checkout.d.ts +1 -0
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +49 -49
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -4
- package/dist/wallets/walletConnectors/chunk-4W6RLMME.js +0 -117
- package/dist/wallets/walletConnectors/chunk-4WS4ZSRN.js +0 -84
- package/dist/wallets/walletConnectors/{chunk-KUXG7P5Q.js → chunk-3XLDPS4Y.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-JJICTRJY.js → chunk-4EKX7Z25.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-Q6N2YWW4.js → chunk-6FQF7H7H.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-MDDT3PSR.js → chunk-77KYAV4P.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RL5OHS6R.js → chunk-GHYJ56FA.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VAR774R5.js → chunk-GLB4HFDR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-NZ4YUZKF.js → chunk-IEAKLGB6.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-FTTYELWN.js → chunk-LEWQ7DQV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-LBSWP7R6.js → chunk-LL6T7V77.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2XHTO74O.js → chunk-MOWIPEYK.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-X6A7D2EA.js → chunk-NEDPCNTA.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-BDKAIAQA.js → chunk-VW5SMBMG.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-DBMFZSXN.js → chunk-XXTDCRCW.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TORM2ZGA.js → chunk-YWKKNHO3.js} +4 -4
|
@@ -1,34 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
zerionWallet
|
|
4
|
+
} from "./chunk-77KYAV4P.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
subWallet
|
|
7
|
+
} from "./chunk-PTF3JKWO.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
safepalWallet
|
|
10
|
+
} from "./chunk-TZR3P22N.js";
|
|
11
|
+
import {
|
|
12
|
+
talismanWallet
|
|
13
|
+
} from "./chunk-5UETJ33B.js";
|
|
11
14
|
import {
|
|
12
15
|
tokenPocketWallet
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3XLDPS4Y.js";
|
|
14
17
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
18
|
+
uniswapWallet
|
|
19
|
+
} from "./chunk-APZ6YBCA.js";
|
|
17
20
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
trustWallet
|
|
22
|
+
} from "./chunk-YWKKNHO3.js";
|
|
20
23
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
walletConnectWallet
|
|
25
|
+
} from "./chunk-XXTDCRCW.js";
|
|
23
26
|
import {
|
|
24
27
|
xdefiWallet
|
|
25
28
|
} from "./chunk-5ZLRNFDM.js";
|
|
26
29
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
zealWallet
|
|
31
|
+
} from "./chunk-QBKHMTGI.js";
|
|
29
32
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
oktoWallet
|
|
34
|
+
} from "./chunk-VW5SMBMG.js";
|
|
32
35
|
import {
|
|
33
36
|
oneKeyWallet
|
|
34
37
|
} from "./chunk-6CW3SAA3.js";
|
|
@@ -40,74 +43,76 @@ import {
|
|
|
40
43
|
} from "./chunk-TNC2B7LX.js";
|
|
41
44
|
import {
|
|
42
45
|
rainbowWallet
|
|
43
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-IEAKLGB6.js";
|
|
44
47
|
import {
|
|
45
48
|
safeWallet
|
|
46
49
|
} from "./chunk-BNTZHUB6.js";
|
|
47
|
-
import {
|
|
48
|
-
safepalWallet
|
|
49
|
-
} from "./chunk-TZR3P22N.js";
|
|
50
|
-
import {
|
|
51
|
-
subWallet
|
|
52
|
-
} from "./chunk-PTF3JKWO.js";
|
|
53
50
|
import {
|
|
54
51
|
safeheronWallet
|
|
55
52
|
} from "./chunk-7WTKIVCW.js";
|
|
53
|
+
import {
|
|
54
|
+
tahoWallet
|
|
55
|
+
} from "./chunk-OOGGCCFQ.js";
|
|
56
|
+
import {
|
|
57
|
+
frontierWallet
|
|
58
|
+
} from "./chunk-4EKX7Z25.js";
|
|
59
|
+
import {
|
|
60
|
+
imTokenWallet
|
|
61
|
+
} from "./chunk-7EOFWORX.js";
|
|
56
62
|
import {
|
|
57
63
|
injectedWallet
|
|
58
64
|
} from "./chunk-U32TVZ7G.js";
|
|
59
65
|
import {
|
|
60
66
|
ledgerWallet
|
|
61
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-GLB4HFDR.js";
|
|
62
68
|
import {
|
|
63
69
|
metaMaskWallet
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import {
|
|
66
|
-
foxWallet
|
|
67
|
-
} from "./chunk-TG2HN6KW.js";
|
|
70
|
+
} from "./chunk-MOWIPEYK.js";
|
|
68
71
|
import {
|
|
69
72
|
mewWallet
|
|
70
73
|
} from "./chunk-BZFEDZQJ.js";
|
|
71
74
|
import {
|
|
72
75
|
okxWallet
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import {
|
|
75
|
-
oktoWallet
|
|
76
|
-
} from "./chunk-BDKAIAQA.js";
|
|
76
|
+
} from "./chunk-GHYJ56FA.js";
|
|
77
77
|
import {
|
|
78
78
|
omniWallet
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-NEDPCNTA.js";
|
|
80
|
+
import {
|
|
81
|
+
coin98Wallet
|
|
82
|
+
} from "./chunk-LVMQKSKW.js";
|
|
83
|
+
import {
|
|
84
|
+
coinbaseWallet
|
|
85
|
+
} from "./chunk-WFTAXMQP.js";
|
|
86
|
+
import "./chunk-UZ5XLPAW.js";
|
|
80
87
|
import {
|
|
81
88
|
coreWallet
|
|
82
89
|
} from "./chunk-T3RIVRAX.js";
|
|
83
90
|
import {
|
|
84
91
|
dawnWallet
|
|
85
92
|
} from "./chunk-QJNS6IE4.js";
|
|
86
|
-
import {
|
|
87
|
-
argentWallet
|
|
88
|
-
} from "./chunk-FTTYELWN.js";
|
|
89
93
|
import {
|
|
90
94
|
desigWallet
|
|
91
95
|
} from "./chunk-SXUVHZCG.js";
|
|
92
96
|
import {
|
|
93
97
|
enkryptWallet
|
|
94
98
|
} from "./chunk-ND76X5A2.js";
|
|
99
|
+
import {
|
|
100
|
+
foxWallet
|
|
101
|
+
} from "./chunk-TG2HN6KW.js";
|
|
95
102
|
import {
|
|
96
103
|
frameWallet
|
|
97
104
|
} from "./chunk-MBFEMLUU.js";
|
|
98
105
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import {
|
|
102
|
-
imTokenWallet
|
|
103
|
-
} from "./chunk-7EOFWORX.js";
|
|
106
|
+
argentWallet
|
|
107
|
+
} from "./chunk-LEWQ7DQV.js";
|
|
104
108
|
import {
|
|
105
109
|
bifrostWallet
|
|
106
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-LL6T7V77.js";
|
|
107
111
|
import {
|
|
108
112
|
bitKeepWallet,
|
|
109
113
|
bitgetWallet
|
|
110
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-6FQF7H7H.js";
|
|
115
|
+
import "./chunk-ZOLACFTK.js";
|
|
111
116
|
import {
|
|
112
117
|
bitskiWallet
|
|
113
118
|
} from "./chunk-FL3REGA5.js";
|
|
@@ -118,11 +123,6 @@ import {
|
|
|
118
123
|
clvWallet
|
|
119
124
|
} from "./chunk-EHO4MJZJ.js";
|
|
120
125
|
import "./chunk-6T5K52ZY.js";
|
|
121
|
-
import {
|
|
122
|
-
coinbaseWallet
|
|
123
|
-
} from "./chunk-WFTAXMQP.js";
|
|
124
|
-
import "./chunk-UZ5XLPAW.js";
|
|
125
|
-
import "./chunk-ZOLACFTK.js";
|
|
126
126
|
export {
|
|
127
127
|
argentWallet,
|
|
128
128
|
bifrostWallet,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-6T5K52ZY.js";
|
|
4
|
+
} from "../chunk-IEAKLGB6.js";
|
|
6
5
|
import "../chunk-UZ5XLPAW.js";
|
|
7
6
|
import "../chunk-ZOLACFTK.js";
|
|
7
|
+
import "../chunk-6T5K52ZY.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-6T5K52ZY.js";
|
|
4
|
+
} from "../chunk-YWKKNHO3.js";
|
|
6
5
|
import "../chunk-UZ5XLPAW.js";
|
|
7
6
|
import "../chunk-ZOLACFTK.js";
|
|
7
|
+
import "../chunk-6T5K52ZY.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
10
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
"wagmi": "~1.4.6"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@
|
|
88
|
-
"@funkit/core": "^0.10.
|
|
89
|
-
"@funkit/wagmi-tools": "^0.1.
|
|
87
|
+
"@meshconnect/web-link-sdk": "^2.0.1",
|
|
88
|
+
"@funkit/core": "^0.10.11",
|
|
89
|
+
"@funkit/wagmi-tools": "^0.1.10",
|
|
90
90
|
"@moonpay/moonpay-react": "^1.4.1",
|
|
91
91
|
"@privy-io/js-sdk-core": "^0.11.0",
|
|
92
92
|
"@types/uuid": "^9.0.1",
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-UZ5XLPAW.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector,
|
|
8
|
-
getWalletConnectUri
|
|
9
|
-
} from "./chunk-6T5K52ZY.js";
|
|
10
|
-
import {
|
|
11
|
-
isMobile
|
|
12
|
-
} from "./chunk-ZOLACFTK.js";
|
|
13
|
-
|
|
14
|
-
// src/wallets/walletConnectors/trustWallet/trustWallet.ts
|
|
15
|
-
var trustWallet = ({
|
|
16
|
-
chains,
|
|
17
|
-
projectId,
|
|
18
|
-
walletConnectOptions,
|
|
19
|
-
walletConnectVersion = "2",
|
|
20
|
-
...options
|
|
21
|
-
}) => {
|
|
22
|
-
const isTrustWalletInjected = isMobile() ? hasInjectedProvider("isTrust") : hasInjectedProvider("isTrustWallet");
|
|
23
|
-
const shouldUseWalletConnect = !isTrustWalletInjected;
|
|
24
|
-
return {
|
|
25
|
-
id: "trust",
|
|
26
|
-
name: "Trust Wallet",
|
|
27
|
-
iconUrl: async () => (await import("./trustWallet-XIQD5AVI.js")).default,
|
|
28
|
-
installed: isTrustWalletInjected || void 0,
|
|
29
|
-
iconAccent: "#3375BB",
|
|
30
|
-
iconBackground: "#fff",
|
|
31
|
-
downloadUrls: {
|
|
32
|
-
android: "https://play.google.com/store/apps/details?id=com.wallet.crypto.trustapp",
|
|
33
|
-
ios: "https://apps.apple.com/us/app/trust-crypto-bitcoin-wallet/id1288339409",
|
|
34
|
-
mobile: "https://trustwallet.com/download",
|
|
35
|
-
qrCode: "https://trustwallet.com/download",
|
|
36
|
-
chrome: "https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph",
|
|
37
|
-
browserExtension: "https://trustwallet.com/browser-extension"
|
|
38
|
-
},
|
|
39
|
-
createConnector: () => {
|
|
40
|
-
const getUriMobile = async () => {
|
|
41
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
42
|
-
return `trust://wc?uri=${encodeURIComponent(uri)}`;
|
|
43
|
-
};
|
|
44
|
-
const getUriQR = async () => {
|
|
45
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
46
|
-
return uri;
|
|
47
|
-
};
|
|
48
|
-
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
49
|
-
projectId,
|
|
50
|
-
chains,
|
|
51
|
-
version: walletConnectVersion,
|
|
52
|
-
options: walletConnectOptions
|
|
53
|
-
}) : isMobile() ? getInjectedConnector({ flag: "isTrust", chains, options }) : getInjectedConnector({ flag: "isTrustWallet", chains, options });
|
|
54
|
-
const mobileConnector = {
|
|
55
|
-
getUri: shouldUseWalletConnect ? getUriMobile : void 0
|
|
56
|
-
};
|
|
57
|
-
let qrConnector = void 0;
|
|
58
|
-
if (shouldUseWalletConnect) {
|
|
59
|
-
qrConnector = {
|
|
60
|
-
getUri: getUriQR,
|
|
61
|
-
instructions: {
|
|
62
|
-
learnMoreUrl: "https://trustwallet.com/",
|
|
63
|
-
steps: [
|
|
64
|
-
{
|
|
65
|
-
description: "wallet_connectors.trust.qr_code.step1.description",
|
|
66
|
-
step: "install",
|
|
67
|
-
title: "wallet_connectors.trust.qr_code.step1.title"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
description: "wallet_connectors.trust.qr_code.step2.description",
|
|
71
|
-
step: "create",
|
|
72
|
-
title: "wallet_connectors.trust.qr_code.step2.title"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
description: "wallet_connectors.trust.qr_code.step3.description",
|
|
76
|
-
step: "scan",
|
|
77
|
-
title: "wallet_connectors.trust.qr_code.step3.title"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
const extensionConnector = {
|
|
84
|
-
instructions: {
|
|
85
|
-
learnMoreUrl: "https://trustwallet.com/browser-extension",
|
|
86
|
-
steps: [
|
|
87
|
-
{
|
|
88
|
-
description: "wallet_connectors.trust.extension.step1.description",
|
|
89
|
-
step: "install",
|
|
90
|
-
title: "wallet_connectors.trust.extension.step1.title"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
description: "wallet_connectors.trust.extension.step2.description",
|
|
94
|
-
step: "create",
|
|
95
|
-
title: "wallet_connectors.trust.extension.step2.title"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
description: "wallet_connectors.trust.extension.step3.description",
|
|
99
|
-
step: "refresh",
|
|
100
|
-
title: "wallet_connectors.trust.extension.step3.title"
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
return {
|
|
106
|
-
connector,
|
|
107
|
-
mobile: mobileConnector,
|
|
108
|
-
qrCode: qrConnector,
|
|
109
|
-
extension: extensionConnector
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
export {
|
|
116
|
-
trustWallet
|
|
117
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-6T5K52ZY.js";
|
|
6
|
-
import {
|
|
7
|
-
getInjectedConnector,
|
|
8
|
-
hasInjectedProvider
|
|
9
|
-
} from "./chunk-UZ5XLPAW.js";
|
|
10
|
-
import {
|
|
11
|
-
isAndroid,
|
|
12
|
-
isIOS
|
|
13
|
-
} from "./chunk-ZOLACFTK.js";
|
|
14
|
-
|
|
15
|
-
// src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
|
|
16
|
-
var rainbowWallet = ({
|
|
17
|
-
chains,
|
|
18
|
-
projectId,
|
|
19
|
-
walletConnectOptions,
|
|
20
|
-
walletConnectVersion = "2",
|
|
21
|
-
...options
|
|
22
|
-
}) => {
|
|
23
|
-
const isRainbowInjected = hasInjectedProvider("isRainbow");
|
|
24
|
-
const shouldUseWalletConnect = !isRainbowInjected;
|
|
25
|
-
return {
|
|
26
|
-
id: "rainbow",
|
|
27
|
-
name: "Rainbow",
|
|
28
|
-
iconUrl: async () => (await import("./rainbowWallet-GGU64QEI.js")).default,
|
|
29
|
-
iconBackground: "#0c2f78",
|
|
30
|
-
installed: !shouldUseWalletConnect ? isRainbowInjected : void 0,
|
|
31
|
-
downloadUrls: {
|
|
32
|
-
android: "https://play.google.com/store/apps/details?id=me.rainbow&referrer=utm_source%3Drainbowkit&utm_source=rainbowkit",
|
|
33
|
-
ios: "https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=rainbowkit&mt=8",
|
|
34
|
-
mobile: "https://rainbow.download?utm_source=rainbowkit",
|
|
35
|
-
qrCode: "https://rainbow.download?utm_source=rainbowkit&utm_medium=qrcode",
|
|
36
|
-
browserExtension: "https://rainbow.me/extension?utm_source=rainbowkit"
|
|
37
|
-
},
|
|
38
|
-
createConnector: () => {
|
|
39
|
-
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
40
|
-
projectId,
|
|
41
|
-
chains,
|
|
42
|
-
version: walletConnectVersion,
|
|
43
|
-
options: walletConnectOptions
|
|
44
|
-
}) : getInjectedConnector({ flag: "isRainbow", chains, options });
|
|
45
|
-
const getUri = async () => {
|
|
46
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
47
|
-
return isAndroid() ? uri : isIOS() ? `rainbow://wc?uri=${encodeURIComponent(uri)}&connector=rainbowkit` : `https://rnbwapp.com/wc?uri=${encodeURIComponent(
|
|
48
|
-
uri
|
|
49
|
-
)}&connector=rainbowkit`;
|
|
50
|
-
};
|
|
51
|
-
return {
|
|
52
|
-
connector,
|
|
53
|
-
mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
|
|
54
|
-
qrCode: shouldUseWalletConnect ? {
|
|
55
|
-
getUri,
|
|
56
|
-
instructions: {
|
|
57
|
-
learnMoreUrl: "https://learn.rainbow.me/connect-to-a-website-or-app?utm_source=rainbowkit&utm_medium=connector&utm_campaign=learnmore",
|
|
58
|
-
steps: [
|
|
59
|
-
{
|
|
60
|
-
description: "wallet_connectors.rainbow.qr_code.step1.description",
|
|
61
|
-
step: "install",
|
|
62
|
-
title: "wallet_connectors.rainbow.qr_code.step1.title"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
description: "wallet_connectors.rainbow.qr_code.step2.description",
|
|
66
|
-
step: "create",
|
|
67
|
-
title: "wallet_connectors.rainbow.qr_code.step2.title"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
description: "wallet_connectors.rainbow.qr_code.step3.description",
|
|
71
|
-
step: "scan",
|
|
72
|
-
title: "wallet_connectors.rainbow.qr_code.step3.title"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
} : void 0
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export {
|
|
83
|
-
rainbowWallet
|
|
84
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isMobile
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getWalletConnectConnector,
|
|
4
7
|
getWalletConnectUri
|
|
5
8
|
} from "./chunk-6T5K52ZY.js";
|
|
6
|
-
import {
|
|
7
|
-
isMobile
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
|
|
11
11
|
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getWalletConnectConnector,
|
|
4
7
|
getWalletConnectUri
|
|
5
8
|
} from "./chunk-6T5K52ZY.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
|
|
11
11
|
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getWalletConnectConnector,
|
|
4
7
|
getWalletConnectUri
|
|
5
8
|
} from "./chunk-6T5K52ZY.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
11
11
|
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isIOS
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getWalletConnectConnector,
|
|
4
7
|
getWalletConnectUri
|
|
5
8
|
} from "./chunk-6T5K52ZY.js";
|
|
6
|
-
import {
|
|
7
|
-
isIOS
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
|
|
11
11
|
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getWalletConnectConnector,
|
|
4
7
|
getWalletConnectUri
|
|
5
8
|
} from "./chunk-6T5K52ZY.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/okxWallet/okxWallet.ts
|
|
11
11
|
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getWalletConnectConnector,
|
|
4
7
|
getWalletConnectUri
|
|
5
8
|
} from "./chunk-6T5K52ZY.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/ledgerWallet/ledgerWallet.ts
|
|
11
11
|
var ledgerWallet = ({
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
getInjectedConnector,
|
|
4
4
|
hasInjectedProvider
|
|
5
5
|
} from "./chunk-UZ5XLPAW.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector,
|
|
8
|
-
getWalletConnectUri
|
|
9
|
-
} from "./chunk-6T5K52ZY.js";
|
|
10
6
|
import {
|
|
11
7
|
isAndroid,
|
|
12
8
|
isIOS
|
|
13
9
|
} from "./chunk-ZOLACFTK.js";
|
|
10
|
+
import {
|
|
11
|
+
getWalletConnectConnector,
|
|
12
|
+
getWalletConnectUri
|
|
13
|
+
} from "./chunk-6T5K52ZY.js";
|
|
14
14
|
|
|
15
15
|
// src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
|
|
16
16
|
var rainbowWallet = ({
|