@funkit/connect 1.0.26 → 1.0.27
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 +16 -0
- package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +3 -1
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +4 -2
- package/dist/components/FunkitProvider/FunkitConnectChainContext.d.ts +1 -5
- package/dist/components/FunkitProvider/provideFunkitConnectChains.d.ts +8 -0
- package/dist/config/getDefaultConfig.d.ts +3649 -0
- package/dist/hooks/useCheckoutChains.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +149 -115
- package/dist/utils/assets.d.ts +1 -1
- package/dist/utils/formatNumber.d.ts +1 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-4FQLUQNA.js +96 -0
- package/dist/wallets/walletConnectors/chunk-JLQ5HJYV.js +94 -0
- package/dist/wallets/walletConnectors/chunk-LVRXH33E.js +92 -0
- package/dist/wallets/walletConnectors/chunk-MIWCKFYE.js +87 -0
- package/dist/wallets/walletConnectors/chunk-Q4RLUJJD.js +66 -0
- package/dist/wallets/walletConnectors/chunk-SYELB4QO.js +107 -0
- package/dist/wallets/walletConnectors/chunk-ZBAQFL6G.js +102 -0
- package/dist/wallets/walletConnectors/chunk-ZUAHWUEL.js +98 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +79 -79
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.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/zerionWallet/zerionWallet.js +2 -2
- package/package.json +3 -3
- package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +0 -27
- package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +0 -98
- package/dist/wallets/walletConnectors/{chunk-OR3PU2W4.js → chunk-2UXZAUWT.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-X255T3C4.js → chunk-3WZRNEZH.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-SL4VH23R.js → chunk-6LTLPR2Q.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-SQGFKNNZ.js → chunk-7CQPABJG.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-N3VZE65M.js → chunk-AM4SSLAP.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-XSSD5ZVD.js → chunk-NGXIHASN.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-FDIIMYTB.js → chunk-O5NKWWEG.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-2PC2XXUH.js → chunk-V45EXW7A.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-OAEJQOAV.js → chunk-Z2DGDHHZ.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-75A2U7T7.js → chunk-ZNXQ4V6G.js} +4 -4
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-ZDU3JFGR.js";
|
|
5
|
+
import {
|
|
6
|
+
getInjectedConnector,
|
|
7
|
+
hasInjectedProvider
|
|
8
|
+
} from "./chunk-QII6PY2D.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/bybitWallet/bybitWallet.ts
|
|
11
|
+
var bybitWallet = ({
|
|
12
|
+
projectId,
|
|
13
|
+
walletConnectParameters
|
|
14
|
+
}) => {
|
|
15
|
+
const isBybitInjected = hasInjectedProvider({
|
|
16
|
+
namespace: "bybitWallet"
|
|
17
|
+
});
|
|
18
|
+
const shouldUseWalletConnect = !isBybitInjected;
|
|
19
|
+
const getUri = (uri) => {
|
|
20
|
+
return `bybitapp://open/route?targetUrl=by://web3/walletconnect/wc?uri=${encodeURIComponent(
|
|
21
|
+
uri
|
|
22
|
+
)}`;
|
|
23
|
+
};
|
|
24
|
+
return {
|
|
25
|
+
id: "bybit",
|
|
26
|
+
name: "Bybit Wallet",
|
|
27
|
+
rdns: "com.bybit",
|
|
28
|
+
iconUrl: async () => (await import("./bybitWallet-O6NEYJRP.js")).default,
|
|
29
|
+
installed: !shouldUseWalletConnect ? isBybitInjected : void 0,
|
|
30
|
+
iconBackground: "#000000",
|
|
31
|
+
downloadUrls: {
|
|
32
|
+
chrome: "https://chromewebstore.google.com/detail/bybit-wallet/pdliaogehgdbhbnmkklieghmmjkpigpa",
|
|
33
|
+
browserExtension: "https://www.bybit.com/en/web3",
|
|
34
|
+
android: "https://play.google.com/store/apps/details?id=com.bybit.app",
|
|
35
|
+
ios: "https://apps.apple.com/us/app/bybit-buy-trade-crypto/id1488296980",
|
|
36
|
+
mobile: "https://www.bybit.com/en/web3",
|
|
37
|
+
qrCode: "https://www.bybit.com/en/web3"
|
|
38
|
+
},
|
|
39
|
+
mobile: {
|
|
40
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
41
|
+
},
|
|
42
|
+
qrCode: shouldUseWalletConnect ? {
|
|
43
|
+
getUri: (uri) => uri,
|
|
44
|
+
instructions: {
|
|
45
|
+
learnMoreUrl: "https://www.bybit.com/en/web3",
|
|
46
|
+
steps: [
|
|
47
|
+
{
|
|
48
|
+
description: "wallet_connectors.bybit.qr_code.step1.description",
|
|
49
|
+
step: "install",
|
|
50
|
+
title: "wallet_connectors.bybit.qr_code.step1.title"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
description: "wallet_connectors.bybit.qr_code.step2.description",
|
|
54
|
+
step: "create",
|
|
55
|
+
title: "wallet_connectors.bybit.qr_code.step2.title"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
description: "wallet_connectors.bybit.qr_code.step3.description",
|
|
59
|
+
step: "scan",
|
|
60
|
+
title: "wallet_connectors.bybit.qr_code.step3.title"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
} : void 0,
|
|
65
|
+
extension: {
|
|
66
|
+
instructions: {
|
|
67
|
+
learnMoreUrl: "https://www.bybit.com/en/web3",
|
|
68
|
+
steps: [
|
|
69
|
+
{
|
|
70
|
+
description: "wallet_connectors.bybit.extension.step1.description",
|
|
71
|
+
step: "install",
|
|
72
|
+
title: "wallet_connectors.bybit.extension.step1.title"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
description: "wallet_connectors.bybit.extension.step2.description",
|
|
76
|
+
step: "create",
|
|
77
|
+
title: "wallet_connectors.bybit.extension.step2.title"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
description: "wallet_connectors.bybit.extension.step3.description",
|
|
81
|
+
step: "refresh",
|
|
82
|
+
title: "wallet_connectors.bybit.extension.step3.title"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
88
|
+
projectId,
|
|
89
|
+
walletConnectParameters
|
|
90
|
+
}) : getInjectedConnector({
|
|
91
|
+
namespace: "bybitWallet"
|
|
92
|
+
})
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export {
|
|
97
|
+
bybitWallet
|
|
98
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AM4SSLAP.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
gateWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-V45EXW7A.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
gateWallet
|
|
10
10
|
};
|
|
@@ -1,46 +1,40 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7CQPABJG.js";
|
|
5
|
+
import {
|
|
6
|
+
subWallet
|
|
7
|
+
} from "./chunk-ZBAQFL6G.js";
|
|
5
8
|
import {
|
|
6
9
|
zealWallet
|
|
7
10
|
} from "./chunk-DPXMP5KS.js";
|
|
8
11
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
subWallet
|
|
13
|
-
} from "./chunk-2GAW2UBU.js";
|
|
12
|
+
oneInchWallet
|
|
13
|
+
} from "./chunk-LCPIZUR3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
safeWallet
|
|
16
|
+
} from "./chunk-D3DCQ72J.js";
|
|
17
17
|
import {
|
|
18
18
|
talismanWallet
|
|
19
19
|
} from "./chunk-H273OTQA.js";
|
|
20
|
-
import {
|
|
21
|
-
uniswapWallet
|
|
22
|
-
} from "./chunk-XRSY4JVH.js";
|
|
23
|
-
import {
|
|
24
|
-
tokenPocketWallet
|
|
25
|
-
} from "./chunk-7KDOXASH.js";
|
|
26
20
|
import {
|
|
27
21
|
trustWallet
|
|
28
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Z2DGDHHZ.js";
|
|
23
|
+
import {
|
|
24
|
+
safepalWallet
|
|
25
|
+
} from "./chunk-SYELB4QO.js";
|
|
29
26
|
import {
|
|
30
27
|
walletConnectWallet
|
|
31
28
|
} from "./chunk-ASPRR7T3.js";
|
|
32
29
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import {
|
|
36
|
-
roninWallet
|
|
37
|
-
} from "./chunk-GW6EF4G2.js";
|
|
30
|
+
xdefiWallet
|
|
31
|
+
} from "./chunk-L734HTUS.js";
|
|
38
32
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
33
|
+
uniswapWallet
|
|
34
|
+
} from "./chunk-XRSY4JVH.js";
|
|
41
35
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
36
|
+
ramperWallet
|
|
37
|
+
} from "./chunk-ZOL6ZMTJ.js";
|
|
44
38
|
import {
|
|
45
39
|
rabbyWallet
|
|
46
40
|
} from "./chunk-XPEBP6XV.js";
|
|
@@ -48,107 +42,113 @@ import {
|
|
|
48
42
|
safeheronWallet
|
|
49
43
|
} from "./chunk-63NPZXAL.js";
|
|
50
44
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
45
|
+
phantomWallet
|
|
46
|
+
} from "./chunk-KGBLSE7L.js";
|
|
47
|
+
import {
|
|
48
|
+
roninWallet
|
|
49
|
+
} from "./chunk-LVRXH33E.js";
|
|
53
50
|
import {
|
|
54
51
|
tahoWallet
|
|
55
52
|
} from "./chunk-H76YCX2M.js";
|
|
56
53
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
54
|
+
tokenaryWallet
|
|
55
|
+
} from "./chunk-ENZLEAG2.js";
|
|
59
56
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
57
|
+
tokenPocketWallet
|
|
58
|
+
} from "./chunk-2UXZAUWT.js";
|
|
62
59
|
import {
|
|
63
60
|
metaMaskWallet
|
|
64
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-3WZRNEZH.js";
|
|
65
62
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
63
|
+
mewWallet
|
|
64
|
+
} from "./chunk-PWYTDYBE.js";
|
|
68
65
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
66
|
+
okxWallet
|
|
67
|
+
} from "./chunk-NGXIHASN.js";
|
|
71
68
|
import {
|
|
72
69
|
oktoWallet
|
|
73
70
|
} from "./chunk-WKHTUEF5.js";
|
|
74
|
-
import {
|
|
75
|
-
okxWallet
|
|
76
|
-
} from "./chunk-DV3SI63E.js";
|
|
77
71
|
import {
|
|
78
72
|
omniWallet
|
|
79
73
|
} from "./chunk-SVN7OEQR.js";
|
|
80
74
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import {
|
|
84
|
-
frontierWallet
|
|
85
|
-
} from "./chunk-HD5VYJNC.js";
|
|
75
|
+
rainbowWallet
|
|
76
|
+
} from "./chunk-O5NKWWEG.js";
|
|
86
77
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
78
|
+
ledgerWallet
|
|
79
|
+
} from "./chunk-Y6VY6E3L.js";
|
|
89
80
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
81
|
+
oneKeyWallet
|
|
82
|
+
} from "./chunk-4WOV4ITL.js";
|
|
92
83
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
84
|
+
enkryptWallet
|
|
85
|
+
} from "./chunk-FLY7F4XA.js";
|
|
95
86
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
87
|
+
frameWallet
|
|
88
|
+
} from "./chunk-XXFJVY73.js";
|
|
98
89
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
90
|
+
frontierWallet
|
|
91
|
+
} from "./chunk-AM4SSLAP.js";
|
|
101
92
|
import {
|
|
102
93
|
imTokenWallet
|
|
103
94
|
} from "./chunk-5MVV7OVS.js";
|
|
104
95
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
96
|
+
kresusWallet
|
|
97
|
+
} from "./chunk-X6T3CICZ.js";
|
|
107
98
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
99
|
+
gateWallet
|
|
100
|
+
} from "./chunk-V45EXW7A.js";
|
|
110
101
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
102
|
+
injectedWallet
|
|
103
|
+
} from "./chunk-KIHCNUU3.js";
|
|
113
104
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-ZUAHWUEL.js";
|
|
116
107
|
import {
|
|
117
108
|
coinbaseWallet
|
|
118
109
|
} from "./chunk-XBUTWYE4.js";
|
|
119
110
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
111
|
+
coreWallet
|
|
112
|
+
} from "./chunk-JLQ5HJYV.js";
|
|
122
113
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
114
|
+
bitverseWallet
|
|
115
|
+
} from "./chunk-NL4I7WOT.js";
|
|
116
|
+
import {
|
|
117
|
+
coin98Wallet
|
|
118
|
+
} from "./chunk-4FQLUQNA.js";
|
|
125
119
|
import {
|
|
126
120
|
dawnWallet
|
|
127
121
|
} from "./chunk-4XQDKOGF.js";
|
|
128
122
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
131
|
-
import {
|
|
132
|
-
bloomWallet
|
|
133
|
-
} from "./chunk-NTGZF5BY.js";
|
|
123
|
+
desigWallet
|
|
124
|
+
} from "./chunk-P4JLZ42R.js";
|
|
134
125
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
126
|
+
foxWallet
|
|
127
|
+
} from "./chunk-Q4RLUJJD.js";
|
|
137
128
|
import {
|
|
138
129
|
argentWallet
|
|
139
130
|
} from "./chunk-NZ5G23JP.js";
|
|
140
|
-
import {
|
|
141
|
-
bitverseWallet
|
|
142
|
-
} from "./chunk-NL4I7WOT.js";
|
|
143
131
|
import {
|
|
144
132
|
bifrostWallet
|
|
145
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-6LTLPR2Q.js";
|
|
134
|
+
import {
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-ZNXQ4V6G.js";
|
|
137
|
+
import {
|
|
138
|
+
bitskiWallet
|
|
139
|
+
} from "./chunk-C67TQJ6W.js";
|
|
140
|
+
import {
|
|
141
|
+
bloomWallet
|
|
142
|
+
} from "./chunk-NTGZF5BY.js";
|
|
146
143
|
import "./chunk-ZOLACFTK.js";
|
|
147
144
|
import {
|
|
148
|
-
|
|
149
|
-
} from "./chunk-
|
|
150
|
-
import
|
|
145
|
+
braveWallet
|
|
146
|
+
} from "./chunk-ABYQAXUX.js";
|
|
147
|
+
import {
|
|
148
|
+
clvWallet
|
|
149
|
+
} from "./chunk-MIWCKFYE.js";
|
|
151
150
|
import "./chunk-ZDU3JFGR.js";
|
|
151
|
+
import "./chunk-QII6PY2D.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
|
154
154
|
bifrostWallet,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-3WZRNEZH.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
okxWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-NGXIHASN.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
okxWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-O5NKWWEG.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2UXZAUWT.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Z2DGDHHZ.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-7CQPABJG.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-QII6PY2D.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
|
10
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@datadog/browser-logs": "^5.12.0",
|
|
76
|
-
"@funkit/core": "^1.0.
|
|
77
|
-
"@funkit/wagmi-tools": "^1.0.
|
|
76
|
+
"@funkit/core": "^1.0.11",
|
|
77
|
+
"@funkit/wagmi-tools": "^1.0.12",
|
|
78
78
|
"@meshconnect/web-link-sdk": "^2.0.1",
|
|
79
79
|
"@moonpay/moonpay-react": "^1.6.1",
|
|
80
80
|
"@privy-io/js-sdk-core": "^0.18.1",
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isIOS
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/dawnWallet/dawnWallet.ts
|
|
11
|
-
var dawnWallet = () => ({
|
|
12
|
-
id: "dawn",
|
|
13
|
-
name: "Dawn",
|
|
14
|
-
iconUrl: async () => (await import("./dawnWallet-MN7QMTX3.js")).default,
|
|
15
|
-
iconBackground: "#000000",
|
|
16
|
-
installed: hasInjectedProvider({ flag: "isDawn" }),
|
|
17
|
-
hidden: () => !isIOS(),
|
|
18
|
-
downloadUrls: {
|
|
19
|
-
ios: "https://apps.apple.com/us/app/dawn-ethereum-wallet/id1673143782",
|
|
20
|
-
mobile: "https://dawnwallet.xyz"
|
|
21
|
-
},
|
|
22
|
-
createConnector: getInjectedConnector({ flag: "isDawn" })
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
dawnWallet
|
|
27
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
hasInjectedProvider
|
|
4
|
-
} from "./chunk-QII6PY2D.js";
|
|
5
|
-
import {
|
|
6
|
-
isIOS
|
|
7
|
-
} from "./chunk-ZOLACFTK.js";
|
|
8
|
-
|
|
9
|
-
// src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts
|
|
10
|
-
import { createConnector } from "wagmi";
|
|
11
|
-
import { coinbaseWallet as coinbaseWagmiWallet } from "wagmi/connectors";
|
|
12
|
-
var coinbaseWallet = ({
|
|
13
|
-
appName,
|
|
14
|
-
appIcon
|
|
15
|
-
}) => {
|
|
16
|
-
const isCoinbaseWalletInjected = hasInjectedProvider({
|
|
17
|
-
flag: "isCoinbaseWallet"
|
|
18
|
-
});
|
|
19
|
-
const getUri = (uri) => uri;
|
|
20
|
-
const ios = isIOS();
|
|
21
|
-
return {
|
|
22
|
-
id: "coinbase",
|
|
23
|
-
name: "Coinbase Wallet",
|
|
24
|
-
shortName: "Coinbase",
|
|
25
|
-
rdns: "com.coinbase.wallet",
|
|
26
|
-
iconUrl: async () => (await import("./coinbaseWallet-2OUR5TUP.js")).default,
|
|
27
|
-
iconAccent: "#2c5ff6",
|
|
28
|
-
iconBackground: "#2c5ff6",
|
|
29
|
-
installed: isCoinbaseWalletInjected || void 0,
|
|
30
|
-
downloadUrls: {
|
|
31
|
-
android: "https://play.google.com/store/apps/details?id=org.toshi",
|
|
32
|
-
ios: "https://apps.apple.com/us/app/coinbase-wallet-store-crypto/id1278383455",
|
|
33
|
-
mobile: "https://coinbase.com/wallet/downloads",
|
|
34
|
-
qrCode: "https://coinbase-wallet.onelink.me/q5Sx/fdb9b250",
|
|
35
|
-
chrome: "https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad",
|
|
36
|
-
browserExtension: "https://coinbase.com/wallet"
|
|
37
|
-
},
|
|
38
|
-
...ios ? {} : {
|
|
39
|
-
qrCode: {
|
|
40
|
-
getUri,
|
|
41
|
-
instructions: {
|
|
42
|
-
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-mobile",
|
|
43
|
-
steps: [
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.coinbase.qr_code.step1.description",
|
|
46
|
-
step: "install",
|
|
47
|
-
title: "wallet_connectors.coinbase.qr_code.step1.title"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.coinbase.qr_code.step2.description",
|
|
51
|
-
step: "create",
|
|
52
|
-
title: "wallet_connectors.coinbase.qr_code.step2.title"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
description: "wallet_connectors.coinbase.qr_code.step3.description",
|
|
56
|
-
step: "scan",
|
|
57
|
-
title: "wallet_connectors.coinbase.qr_code.step3.title"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
extension: {
|
|
63
|
-
instructions: {
|
|
64
|
-
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-extension",
|
|
65
|
-
steps: [
|
|
66
|
-
{
|
|
67
|
-
description: "wallet_connectors.coinbase.extension.step1.description",
|
|
68
|
-
step: "install",
|
|
69
|
-
title: "wallet_connectors.coinbase.extension.step1.title"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.coinbase.extension.step2.description",
|
|
73
|
-
step: "create",
|
|
74
|
-
title: "wallet_connectors.coinbase.extension.step2.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.coinbase.extension.step3.description",
|
|
78
|
-
step: "refresh",
|
|
79
|
-
title: "wallet_connectors.coinbase.extension.step3.title"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
createConnector: (walletDetails) => createConnector((config) => ({
|
|
86
|
-
...coinbaseWagmiWallet({
|
|
87
|
-
appName,
|
|
88
|
-
appLogoUrl: appIcon,
|
|
89
|
-
headlessMode: true
|
|
90
|
-
})(config),
|
|
91
|
-
...walletDetails
|
|
92
|
-
}))
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
export {
|
|
97
|
-
coinbaseWallet
|
|
98
|
-
};
|