@funkit/connect 3.0.0-next.8 → 3.0.0
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 +29 -0
- package/dist/components/AccountModal/AccountModal.d.ts +3 -1
- package/dist/components/FunButton/FunButton.css.d.ts +1 -0
- package/dist/components/FunButton/FunIconButton.d.ts +1 -2
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +1 -0
- package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +0 -6
- package/dist/components/FunkitProvider/ModalContext.d.ts +2 -1
- package/dist/components/Icons/Spinner.d.ts +2 -3
- package/dist/components/ProfileDetails/ProfileDetails.d.ts +3 -1
- package/dist/hooks/useAnimatedNavigation.d.ts +10 -0
- package/dist/hooks/useCheckoutModalTitle.d.ts +2 -0
- package/dist/hooks/useMesh.d.ts +1 -0
- package/dist/index.css +17 -14
- package/dist/index.js +731 -671
- package/dist/utils/mesh.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +65 -65
- package/package.json +4 -4
- package/dist/wallets/walletConnectors/chunk-45BGLKK3.js +0 -149
- package/dist/wallets/walletConnectors/chunk-A6MZY5ZZ.js +0 -81
- package/dist/wallets/walletConnectors/chunk-ARIYPPEC.js +0 -92
- package/dist/wallets/walletConnectors/chunk-BEAW5Y5M.js +0 -60
- package/dist/wallets/walletConnectors/chunk-CW3DUKXK.js +0 -102
- package/dist/wallets/walletConnectors/chunk-E5XC6KBV.js +0 -95
- package/dist/wallets/walletConnectors/chunk-FCHEJLHR.js +0 -101
- package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +0 -27
- package/dist/wallets/walletConnectors/chunk-HKN7647Q.js +0 -73
- package/dist/wallets/walletConnectors/chunk-IOQWKPOO.js +0 -71
- package/dist/wallets/walletConnectors/chunk-LPQBQIZL.js +0 -108
- package/dist/wallets/walletConnectors/chunk-LTIIUGMZ.js +0 -96
- package/dist/wallets/walletConnectors/chunk-PIZ2XVGH.js +0 -60
- package/dist/wallets/walletConnectors/chunk-RXUGTOMT.js +0 -60
- package/dist/wallets/walletConnectors/chunk-VJ5C6RXN.js +0 -98
- package/dist/wallets/walletConnectors/chunk-WMLYUYMP.js +0 -94
package/dist/utils/mesh.d.ts
CHANGED
|
@@ -1,94 +1,97 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
walletConnectWallet
|
|
4
|
+
} from "./chunk-OFU3PEVT.js";
|
|
5
5
|
import {
|
|
6
6
|
zealWallet
|
|
7
7
|
} from "./chunk-BUUV6BS4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
tahoWallet
|
|
13
|
-
} from "./chunk-6AYBA6IH.js";
|
|
14
|
-
import {
|
|
15
|
-
tokenPocketWallet
|
|
16
|
-
} from "./chunk-ISJYPD3T.js";
|
|
9
|
+
trustWallet
|
|
10
|
+
} from "./chunk-X45WXZDO.js";
|
|
17
11
|
import {
|
|
18
12
|
safeheronWallet
|
|
19
13
|
} from "./chunk-FCIRHRFH.js";
|
|
20
14
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import {
|
|
24
|
-
trustWallet
|
|
25
|
-
} from "./chunk-X45WXZDO.js";
|
|
15
|
+
talismanWallet
|
|
16
|
+
} from "./chunk-OTXHQMSG.js";
|
|
26
17
|
import {
|
|
27
18
|
uniswapWallet
|
|
28
19
|
} from "./chunk-QFRZGNNV.js";
|
|
20
|
+
import {
|
|
21
|
+
subWallet
|
|
22
|
+
} from "./chunk-N3ELQYCY.js";
|
|
23
|
+
import {
|
|
24
|
+
tokenPocketWallet
|
|
25
|
+
} from "./chunk-ISJYPD3T.js";
|
|
29
26
|
import {
|
|
30
27
|
tokenaryWallet
|
|
31
28
|
} from "./chunk-FAYEL4JP.js";
|
|
32
29
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
30
|
+
zerionWallet
|
|
31
|
+
} from "./chunk-DBP432DI.js";
|
|
35
32
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
33
|
+
xdefiWallet
|
|
34
|
+
} from "./chunk-RVIZMVFR.js";
|
|
38
35
|
import {
|
|
39
36
|
phantomWallet
|
|
40
37
|
} from "./chunk-KEVUI6AA.js";
|
|
41
38
|
import {
|
|
42
39
|
rainbowWallet
|
|
43
40
|
} from "./chunk-OHJBALD3.js";
|
|
41
|
+
import {
|
|
42
|
+
rabbyWallet
|
|
43
|
+
} from "./chunk-H5LLXNOI.js";
|
|
44
44
|
import {
|
|
45
45
|
safeWallet
|
|
46
46
|
} from "./chunk-Z2QCE6O6.js";
|
|
47
|
+
import {
|
|
48
|
+
roninWallet
|
|
49
|
+
} from "./chunk-63YLN6R5.js";
|
|
50
|
+
import {
|
|
51
|
+
safepalWallet
|
|
52
|
+
} from "./chunk-AKAT37SI.js";
|
|
47
53
|
import {
|
|
48
54
|
ramperWallet
|
|
49
55
|
} from "./chunk-TKXQYHWJ.js";
|
|
50
56
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
57
|
+
tahoWallet
|
|
58
|
+
} from "./chunk-6AYBA6IH.js";
|
|
53
59
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
60
|
+
ledgerWallet
|
|
61
|
+
} from "./chunk-ZMHCZCGS.js";
|
|
56
62
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
63
|
+
okxWallet
|
|
64
|
+
} from "./chunk-5HXH52SO.js";
|
|
65
|
+
import {
|
|
66
|
+
metaMaskWallet
|
|
67
|
+
} from "./chunk-ODRDT73B.js";
|
|
59
68
|
import {
|
|
60
69
|
oktoWallet
|
|
61
70
|
} from "./chunk-MBQTOALG.js";
|
|
62
71
|
import {
|
|
63
72
|
mewWallet
|
|
64
73
|
} from "./chunk-CVYXTHZ6.js";
|
|
65
|
-
import {
|
|
66
|
-
imTokenWallet
|
|
67
|
-
} from "./chunk-BMJOLT2N.js";
|
|
68
|
-
import {
|
|
69
|
-
okxWallet
|
|
70
|
-
} from "./chunk-5HXH52SO.js";
|
|
71
74
|
import {
|
|
72
75
|
oneInchWallet
|
|
73
76
|
} from "./chunk-I7MKK24W.js";
|
|
74
|
-
import {
|
|
75
|
-
rabbyWallet
|
|
76
|
-
} from "./chunk-H5LLXNOI.js";
|
|
77
77
|
import {
|
|
78
78
|
oneKeyWallet
|
|
79
79
|
} from "./chunk-ZP2SV6KN.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
omniWallet
|
|
82
|
+
} from "./chunk-II6YBG2B.js";
|
|
83
83
|
import {
|
|
84
84
|
enkryptWallet
|
|
85
85
|
} from "./chunk-JJ4DXD7R.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
87
|
+
frontierWallet
|
|
88
|
+
} from "./chunk-LCOUKF2U.js";
|
|
89
89
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
90
|
+
frameWallet
|
|
91
|
+
} from "./chunk-KPVNJO3R.js";
|
|
92
|
+
import {
|
|
93
|
+
imTokenWallet
|
|
94
|
+
} from "./chunk-BMJOLT2N.js";
|
|
92
95
|
import {
|
|
93
96
|
kresusWallet
|
|
94
97
|
} from "./chunk-QQJKQCII.js";
|
|
@@ -96,54 +99,51 @@ import {
|
|
|
96
99
|
gateWallet
|
|
97
100
|
} from "./chunk-YIJ5ULO3.js";
|
|
98
101
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import {
|
|
102
|
-
ledgerWallet
|
|
103
|
-
} from "./chunk-ZMHCZCGS.js";
|
|
102
|
+
injectedWallet
|
|
103
|
+
} from "./chunk-E5NYR4SS.js";
|
|
104
104
|
import {
|
|
105
105
|
coinbaseWallet
|
|
106
106
|
} from "./chunk-PNEDRY6O.js";
|
|
107
|
-
import {
|
|
108
|
-
desigWallet
|
|
109
|
-
} from "./chunk-44CHUPEQ.js";
|
|
110
|
-
import {
|
|
111
|
-
braveWallet
|
|
112
|
-
} from "./chunk-NUEOWEZS.js";
|
|
113
107
|
import {
|
|
114
108
|
dawnWallet
|
|
115
109
|
} from "./chunk-KCTWDMQP.js";
|
|
116
110
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
111
|
+
bybitWallet
|
|
112
|
+
} from "./chunk-3AZNOY75.js";
|
|
119
113
|
import {
|
|
120
114
|
coreWallet
|
|
121
115
|
} from "./chunk-MOOW2AOC.js";
|
|
122
116
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
117
|
+
clvWallet
|
|
118
|
+
} from "./chunk-UHHA5V52.js";
|
|
125
119
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
120
|
+
foxWallet
|
|
121
|
+
} from "./chunk-WAOREEBE.js";
|
|
122
|
+
import {
|
|
123
|
+
bitskiWallet
|
|
124
|
+
} from "./chunk-OCCT5PIN.js";
|
|
125
|
+
import {
|
|
126
|
+
desigWallet
|
|
127
|
+
} from "./chunk-44CHUPEQ.js";
|
|
128
128
|
import {
|
|
129
129
|
bifrostWallet
|
|
130
130
|
} from "./chunk-KL5Z3XHJ.js";
|
|
131
131
|
import {
|
|
132
132
|
argentWallet
|
|
133
133
|
} from "./chunk-ZHFISYEQ.js";
|
|
134
|
-
import {
|
|
135
|
-
bitskiWallet
|
|
136
|
-
} from "./chunk-OCCT5PIN.js";
|
|
137
134
|
import {
|
|
138
135
|
bitgetWallet
|
|
139
136
|
} from "./chunk-IEVZW3XR.js";
|
|
140
|
-
import "./chunk-RETKWSKD.js";
|
|
141
137
|
import {
|
|
142
|
-
|
|
143
|
-
} from "./chunk-
|
|
138
|
+
bitverseWallet
|
|
139
|
+
} from "./chunk-BQEOIDHP.js";
|
|
144
140
|
import {
|
|
145
|
-
|
|
146
|
-
} from "./chunk-
|
|
141
|
+
bloomWallet
|
|
142
|
+
} from "./chunk-J64P6XK3.js";
|
|
143
|
+
import "./chunk-RETKWSKD.js";
|
|
144
|
+
import {
|
|
145
|
+
braveWallet
|
|
146
|
+
} from "./chunk-NUEOWEZS.js";
|
|
147
147
|
import {
|
|
148
148
|
coin98Wallet
|
|
149
149
|
} from "./chunk-ZXGMW3OS.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"react-virtuoso": "4.10.1",
|
|
80
80
|
"ua-parser-js": "^1.0.37",
|
|
81
81
|
"uuid": "^9.0.1",
|
|
82
|
-
"@funkit/api-base": "1.0.2
|
|
83
|
-
"@funkit/core": "2.1.2
|
|
84
|
-
"@funkit/wagmi-tools": "3.0.4
|
|
82
|
+
"@funkit/api-base": "1.0.2",
|
|
83
|
+
"@funkit/core": "2.1.2",
|
|
84
|
+
"@funkit/wagmi-tools": "3.0.4"
|
|
85
85
|
},
|
|
86
86
|
"repository": {
|
|
87
87
|
"type": "git",
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-23WIEY36.js";
|
|
9
|
-
import {
|
|
10
|
-
isAndroid,
|
|
11
|
-
isIOS
|
|
12
|
-
} from "./chunk-RETKWSKD.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
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-23WIEY36.js";
|
|
5
|
-
import {
|
|
6
|
-
isMobile
|
|
7
|
-
} from "./chunk-RETKWSKD.js";
|
|
8
|
-
|
|
9
|
-
// src/wallets/walletConnectors/bloomWallet/bloomWallet.ts
|
|
10
|
-
var bloomWallet = ({
|
|
11
|
-
projectId,
|
|
12
|
-
walletConnectParameters
|
|
13
|
-
}) => ({
|
|
14
|
-
id: "bloomWallet",
|
|
15
|
-
name: "Bloom Wallet",
|
|
16
|
-
iconBackground: "#000",
|
|
17
|
-
iconAccent: "#000",
|
|
18
|
-
hidden: () => isMobile(),
|
|
19
|
-
iconUrl: async () => (await import("./bloomWallet-MXLAOWS6.js")).default,
|
|
20
|
-
downloadUrls: {
|
|
21
|
-
qrCode: "https://bloomwallet.io/",
|
|
22
|
-
windows: "https://bloomwallet.io/",
|
|
23
|
-
macos: "https://bloomwallet.io/",
|
|
24
|
-
linux: "https://bloomwallet.io/",
|
|
25
|
-
desktop: "https://bloomwallet.io/"
|
|
26
|
-
},
|
|
27
|
-
qrCode: {
|
|
28
|
-
getUri: (uri) => `bloom://wallet-connect/wc?uri=${encodeURIComponent(uri)}`,
|
|
29
|
-
instructions: {
|
|
30
|
-
learnMoreUrl: "https://bloomwallet.io/",
|
|
31
|
-
steps: [
|
|
32
|
-
{
|
|
33
|
-
description: "wallet_connectors.bloom.qr_code.step1.description",
|
|
34
|
-
step: "install",
|
|
35
|
-
title: "wallet_connectors.bloom.qr_code.step1.title"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
description: "wallet_connectors.bloom.qr_code.step2.description",
|
|
39
|
-
step: "create",
|
|
40
|
-
title: "wallet_connectors.bloom.qr_code.step2.title"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
description: "wallet_connectors.bloom.qr_code.step3.description",
|
|
44
|
-
step: "refresh",
|
|
45
|
-
title: "wallet_connectors.bloom.qr_code.step3.title"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
desktop: {
|
|
51
|
-
getUri: (uri) => `bloom://wallet-connect/wc?uri=${encodeURIComponent(uri)}`,
|
|
52
|
-
instructions: {
|
|
53
|
-
learnMoreUrl: "https://bloomwallet.io/",
|
|
54
|
-
steps: [
|
|
55
|
-
{
|
|
56
|
-
description: "wallet_connectors.bloom.desktop.step1.description",
|
|
57
|
-
step: "install",
|
|
58
|
-
title: "wallet_connectors.bloom.desktop.step1.title"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
description: "wallet_connectors.bloom.desktop.step2.description",
|
|
62
|
-
step: "create",
|
|
63
|
-
title: "wallet_connectors.bloom.desktop.step2.title"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.bloom.desktop.step3.description",
|
|
67
|
-
step: "refresh",
|
|
68
|
-
title: "wallet_connectors.bloom.desktop.step3.title"
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
createConnector: getWalletConnectConnector({
|
|
74
|
-
projectId,
|
|
75
|
-
walletConnectParameters
|
|
76
|
-
})
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
export {
|
|
80
|
-
bloomWallet
|
|
81
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-23WIEY36.js";
|
|
5
|
-
import {
|
|
6
|
-
isAndroid
|
|
7
|
-
} from "./chunk-RETKWSKD.js";
|
|
8
|
-
|
|
9
|
-
// src/wallets/walletConnectors/ledgerWallet/ledgerWallet.ts
|
|
10
|
-
var ledgerWallet = ({
|
|
11
|
-
projectId,
|
|
12
|
-
walletConnectParameters
|
|
13
|
-
}) => ({
|
|
14
|
-
id: "ledger",
|
|
15
|
-
iconBackground: "#000",
|
|
16
|
-
iconAccent: "#000",
|
|
17
|
-
name: "Ledger",
|
|
18
|
-
iconUrl: async () => (await import("./ledgerWallet-KZKJ5Q2S.js")).default,
|
|
19
|
-
downloadUrls: {
|
|
20
|
-
android: "https://play.google.com/store/apps/details?id=com.ledger.live",
|
|
21
|
-
ios: "https://apps.apple.com/us/app/ledger-live-web3-wallet/id1361671700",
|
|
22
|
-
mobile: "https://www.ledger.com/ledger-live",
|
|
23
|
-
qrCode: "https://r354.adj.st/?adj_t=t2esmlk",
|
|
24
|
-
windows: "https://www.ledger.com/ledger-live/download",
|
|
25
|
-
macos: "https://www.ledger.com/ledger-live/download",
|
|
26
|
-
linux: "https://www.ledger.com/ledger-live/download",
|
|
27
|
-
desktop: "https://www.ledger.com/ledger-live"
|
|
28
|
-
},
|
|
29
|
-
mobile: {
|
|
30
|
-
getUri: (uri) => {
|
|
31
|
-
return isAndroid() ? uri : `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
desktop: {
|
|
35
|
-
getUri: (uri) => {
|
|
36
|
-
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
37
|
-
},
|
|
38
|
-
instructions: {
|
|
39
|
-
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
40
|
-
steps: [
|
|
41
|
-
{
|
|
42
|
-
description: "wallet_connectors.ledger.desktop.step1.description",
|
|
43
|
-
step: "install",
|
|
44
|
-
title: "wallet_connectors.ledger.desktop.step1.title"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
description: "wallet_connectors.ledger.desktop.step2.description",
|
|
48
|
-
step: "create",
|
|
49
|
-
title: "wallet_connectors.ledger.desktop.step2.title"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
description: "wallet_connectors.ledger.desktop.step3.description",
|
|
53
|
-
step: "connect",
|
|
54
|
-
title: "wallet_connectors.ledger.desktop.step3.title"
|
|
55
|
-
}
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
qrCode: {
|
|
60
|
-
getUri: (uri) => {
|
|
61
|
-
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
62
|
-
},
|
|
63
|
-
instructions: {
|
|
64
|
-
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
65
|
-
steps: [
|
|
66
|
-
{
|
|
67
|
-
description: "wallet_connectors.ledger.qr_code.step1.description",
|
|
68
|
-
step: "install",
|
|
69
|
-
title: "wallet_connectors.ledger.qr_code.step1.title"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.ledger.qr_code.step2.description",
|
|
73
|
-
step: "create",
|
|
74
|
-
title: "wallet_connectors.ledger.qr_code.step2.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.ledger.qr_code.step3.description",
|
|
78
|
-
step: "scan",
|
|
79
|
-
title: "wallet_connectors.ledger.qr_code.step3.title"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
createConnector: getWalletConnectConnector({
|
|
85
|
-
projectId,
|
|
86
|
-
walletConnectParameters
|
|
87
|
-
})
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
export {
|
|
91
|
-
ledgerWallet
|
|
92
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-23WIEY36.js";
|
|
5
|
-
import {
|
|
6
|
-
isAndroid
|
|
7
|
-
} from "./chunk-RETKWSKD.js";
|
|
8
|
-
|
|
9
|
-
// src/wallets/walletConnectors/argentWallet/argentWallet.ts
|
|
10
|
-
var argentWallet = ({
|
|
11
|
-
projectId,
|
|
12
|
-
walletConnectParameters
|
|
13
|
-
}) => ({
|
|
14
|
-
id: "argent",
|
|
15
|
-
name: "Argent",
|
|
16
|
-
iconUrl: async () => (await import("./argentWallet-M6SBG4CU.js")).default,
|
|
17
|
-
iconBackground: "#fff",
|
|
18
|
-
downloadUrls: {
|
|
19
|
-
android: "https://play.google.com/store/apps/details?id=im.argent.contractwalletclient",
|
|
20
|
-
ios: "https://apps.apple.com/us/app/argent/id1358741926",
|
|
21
|
-
mobile: "https://argent.xyz/download-argent",
|
|
22
|
-
qrCode: "https://argent.link/app"
|
|
23
|
-
},
|
|
24
|
-
mobile: {
|
|
25
|
-
getUri: (uri) => {
|
|
26
|
-
return isAndroid() ? uri : `argent://app/wc?uri=${encodeURIComponent(uri)}`;
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
qrCode: {
|
|
30
|
-
getUri: (uri) => uri,
|
|
31
|
-
instructions: {
|
|
32
|
-
learnMoreUrl: "https://argent.xyz/learn/what-is-a-crypto-wallet/",
|
|
33
|
-
steps: [
|
|
34
|
-
{
|
|
35
|
-
description: "wallet_connectors.argent.qr_code.step1.description",
|
|
36
|
-
step: "install",
|
|
37
|
-
title: "wallet_connectors.argent.qr_code.step1.title"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
description: "wallet_connectors.argent.qr_code.step2.description",
|
|
41
|
-
step: "create",
|
|
42
|
-
title: "wallet_connectors.argent.qr_code.step2.title"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.argent.qr_code.step3.description",
|
|
46
|
-
step: "scan",
|
|
47
|
-
title: "wallet_connectors.argent.qr_code.step3.title"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
createConnector: getWalletConnectConnector({
|
|
53
|
-
projectId,
|
|
54
|
-
walletConnectParameters
|
|
55
|
-
})
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
export {
|
|
59
|
-
argentWallet
|
|
60
|
-
};
|