@funkit/connect 0.1.7 → 0.1.8
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-X5YTL45L.js → chunk-KQXRSMJW.js} +1210 -1223
- package/dist/{chunk-VVHY6TFA.js → chunk-N5FOZIDQ.js} +1210 -1223
- package/dist/components/FunDivider/FunDivider.d.ts +3 -2
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +1 -1
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +9 -4
- package/dist/components/FunkitProvider/FunkitProvider.d.ts +3 -15
- package/dist/components/index.js +1 -1
- package/dist/index.d.ts +1 -4
- package/dist/index.js +57 -113
- package/dist/wallets/walletConnectors/index.js +51 -51
- package/package.json +1 -1
- package/dist/components/ConnectModal/ConnectModalIntro.d.ts +0 -5
- package/dist/components/FunkitProvider/AppContext.d.ts +0 -25
- package/dist/components/FunkitProvider/ShowRecentTransactionsContext.d.ts +0 -2
- package/dist/wallets/walletConnectors/chunk-2T3BP5YM.js +0 -71
- package/dist/wallets/walletConnectors/chunk-3JTRMKJN.js +0 -71
- package/dist/wallets/walletConnectors/chunk-4AGSKVK4.js +0 -105
- package/dist/wallets/walletConnectors/chunk-4HP4HVWX.js +0 -112
- package/dist/wallets/walletConnectors/chunk-6GAD4OSN.js +0 -102
- package/dist/wallets/walletConnectors/chunk-7Q7X4HIR.js +0 -110
- package/dist/wallets/walletConnectors/chunk-CESIYSTD.js +0 -226
- package/dist/wallets/walletConnectors/chunk-DINSZSEC.js +0 -71
- package/dist/wallets/walletConnectors/chunk-MPVMJW2X.js +0 -113
- package/dist/wallets/walletConnectors/chunk-QVJQ2MU7.js +0 -117
- package/dist/wallets/walletConnectors/chunk-RAKDFYVF.js +0 -81
- package/dist/wallets/walletConnectors/chunk-T2DNUVKD.js +0 -114
- package/dist/wallets/walletConnectors/chunk-TM5A4D5D.js +0 -52
- package/dist/wallets/walletConnectors/chunk-VDUTD5UR.js +0 -84
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
zerionWallet
|
|
4
|
+
} from "./chunk-BZWTTESU.js";
|
|
2
5
|
import {
|
|
3
6
|
zealWallet
|
|
4
7
|
} from "./chunk-QBKHMTGI.js";
|
|
5
8
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
9
|
+
talismanWallet
|
|
10
|
+
} from "./chunk-5UETJ33B.js";
|
|
8
11
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
trustWallet
|
|
13
|
+
} from "./chunk-LU3HYLHT.js";
|
|
14
|
+
import {
|
|
15
|
+
safepalWallet
|
|
16
|
+
} from "./chunk-RMJYZWKN.js";
|
|
11
17
|
import {
|
|
12
18
|
tahoWallet
|
|
13
19
|
} from "./chunk-OOGGCCFQ.js";
|
|
14
|
-
import {
|
|
15
|
-
talismanWallet
|
|
16
|
-
} from "./chunk-5UETJ33B.js";
|
|
17
20
|
import {
|
|
18
21
|
tokenPocketWallet
|
|
19
22
|
} from "./chunk-HHEZNZRR.js";
|
|
@@ -21,23 +24,23 @@ import {
|
|
|
21
24
|
uniswapWallet
|
|
22
25
|
} from "./chunk-WCZ37NN2.js";
|
|
23
26
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
walletConnectWallet
|
|
28
|
+
} from "./chunk-Z47L7SO3.js";
|
|
26
29
|
import {
|
|
27
30
|
xdefiWallet
|
|
28
31
|
} from "./chunk-5ZLRNFDM.js";
|
|
29
32
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
omniWallet
|
|
34
|
+
} from "./chunk-HKBLG5YG.js";
|
|
32
35
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
36
|
+
oneKeyWallet
|
|
37
|
+
} from "./chunk-6CW3SAA3.js";
|
|
35
38
|
import {
|
|
36
39
|
phantomWallet
|
|
37
40
|
} from "./chunk-KUZFZL2D.js";
|
|
38
41
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
rainbowWallet
|
|
43
|
+
} from "./chunk-TTTMI2Z2.js";
|
|
41
44
|
import {
|
|
42
45
|
rabbyWallet
|
|
43
46
|
} from "./chunk-TNC2B7LX.js";
|
|
@@ -47,81 +50,78 @@ import {
|
|
|
47
50
|
import {
|
|
48
51
|
safeWallet
|
|
49
52
|
} from "./chunk-BNTZHUB6.js";
|
|
50
|
-
import {
|
|
51
|
-
safepalWallet
|
|
52
|
-
} from "./chunk-RMJYZWKN.js";
|
|
53
53
|
import {
|
|
54
54
|
subWallet
|
|
55
55
|
} from "./chunk-JU27WJ7W.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import {
|
|
60
|
-
desigWallet
|
|
61
|
-
} from "./chunk-SXUVHZCG.js";
|
|
57
|
+
braveWallet
|
|
58
|
+
} from "./chunk-INSQDNCE.js";
|
|
62
59
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
60
|
+
clvWallet
|
|
61
|
+
} from "./chunk-C3X4W5P4.js";
|
|
65
62
|
import {
|
|
66
63
|
ledgerWallet
|
|
67
64
|
} from "./chunk-WPGD3FGN.js";
|
|
68
65
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
66
|
+
metaMaskWallet
|
|
67
|
+
} from "./chunk-UM7QXLQE.js";
|
|
68
|
+
import {
|
|
69
|
+
injectedWallet
|
|
70
|
+
} from "./chunk-U32TVZ7G.js";
|
|
71
71
|
import {
|
|
72
72
|
mewWallet
|
|
73
73
|
} from "./chunk-BZFEDZQJ.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./chunk-
|
|
75
|
+
oktoWallet
|
|
76
|
+
} from "./chunk-TFHNF64Z.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
78
|
+
okxWallet
|
|
79
|
+
} from "./chunk-EINKDQQW.js";
|
|
80
|
+
import {
|
|
81
|
+
dawnWallet
|
|
82
|
+
} from "./chunk-QJNS6IE4.js";
|
|
80
83
|
import {
|
|
81
84
|
coreWallet
|
|
82
85
|
} from "./chunk-K342MEBF.js";
|
|
83
86
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
86
|
-
import "./chunk-UZ5XLPAW.js";
|
|
87
|
+
desigWallet
|
|
88
|
+
} from "./chunk-SXUVHZCG.js";
|
|
87
89
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
foxWallet
|
|
91
|
+
} from "./chunk-C6BBHBY3.js";
|
|
90
92
|
import {
|
|
91
93
|
enkryptWallet
|
|
92
94
|
} from "./chunk-ND76X5A2.js";
|
|
95
|
+
import {
|
|
96
|
+
frontierWallet
|
|
97
|
+
} from "./chunk-4VG2VEG2.js";
|
|
93
98
|
import {
|
|
94
99
|
frameWallet
|
|
95
100
|
} from "./chunk-MBFEMLUU.js";
|
|
96
101
|
import {
|
|
97
|
-
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import {
|
|
100
|
-
frontierWallet
|
|
101
|
-
} from "./chunk-4VG2VEG2.js";
|
|
102
|
+
imTokenWallet
|
|
103
|
+
} from "./chunk-4TBAMXD2.js";
|
|
102
104
|
import {
|
|
103
105
|
argentWallet
|
|
104
106
|
} from "./chunk-32KC4FTG.js";
|
|
105
|
-
import {
|
|
106
|
-
bitKeepWallet,
|
|
107
|
-
bitgetWallet
|
|
108
|
-
} from "./chunk-DTCZLIMY.js";
|
|
109
107
|
import {
|
|
110
108
|
bifrostWallet
|
|
111
109
|
} from "./chunk-M4KIVTE3.js";
|
|
112
|
-
import "./chunk-ZOLACFTK.js";
|
|
113
110
|
import {
|
|
114
111
|
bitskiWallet
|
|
115
112
|
} from "./chunk-FL3REGA5.js";
|
|
116
113
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
119
|
-
import
|
|
120
|
-
clvWallet
|
|
121
|
-
} from "./chunk-C3X4W5P4.js";
|
|
114
|
+
coinbaseWallet
|
|
115
|
+
} from "./chunk-WFTAXMQP.js";
|
|
116
|
+
import "./chunk-UZ5XLPAW.js";
|
|
122
117
|
import {
|
|
123
118
|
coin98Wallet
|
|
124
119
|
} from "./chunk-PVTJW4KE.js";
|
|
120
|
+
import {
|
|
121
|
+
bitKeepWallet,
|
|
122
|
+
bitgetWallet
|
|
123
|
+
} from "./chunk-DTCZLIMY.js";
|
|
124
|
+
import "./chunk-ZOLACFTK.js";
|
|
125
125
|
import "./chunk-4ACOCJJZ.js";
|
|
126
126
|
export {
|
|
127
127
|
argentWallet,
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
export type DisclaimerComponent = React.FunctionComponent<{
|
|
3
|
-
Text: React.FunctionComponent<{
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}>;
|
|
6
|
-
Link: React.FunctionComponent<{
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
href: string;
|
|
9
|
-
}>;
|
|
10
|
-
}>;
|
|
11
|
-
export declare const defaultAppInfo: {
|
|
12
|
-
appName: undefined;
|
|
13
|
-
disclaimer: undefined;
|
|
14
|
-
learnMoreUrl: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const AppContext: React.Context<{
|
|
17
|
-
appName?: string | undefined;
|
|
18
|
-
learnMoreUrl?: string | undefined;
|
|
19
|
-
disclaimer?: DisclaimerComponent | undefined;
|
|
20
|
-
}>;
|
|
21
|
-
export declare const useAppInfoInternal: () => {
|
|
22
|
-
appName?: string | undefined;
|
|
23
|
-
learnMoreUrl?: string | undefined;
|
|
24
|
-
disclaimer?: DisclaimerComponent | undefined;
|
|
25
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-4ACOCJJZ.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/omniWallet/omniWallet.ts
|
|
11
|
-
var omniWallet = ({
|
|
12
|
-
chains,
|
|
13
|
-
projectId,
|
|
14
|
-
walletConnectOptions,
|
|
15
|
-
walletConnectVersion = "2"
|
|
16
|
-
}) => ({
|
|
17
|
-
id: "omni",
|
|
18
|
-
name: "Omni",
|
|
19
|
-
iconUrl: async () => (await import("./omniWallet-VF54LPLK.js")).default,
|
|
20
|
-
iconBackground: "#000",
|
|
21
|
-
downloadUrls: {
|
|
22
|
-
android: "https://play.google.com/store/apps/details?id=fi.steakwallet.app",
|
|
23
|
-
ios: "https://itunes.apple.com/us/app/id1569375204",
|
|
24
|
-
mobile: "https://omniwallet.app.link",
|
|
25
|
-
qrCode: "https://omniwallet.app.link"
|
|
26
|
-
},
|
|
27
|
-
createConnector: () => {
|
|
28
|
-
const connector = getWalletConnectConnector({
|
|
29
|
-
projectId,
|
|
30
|
-
chains,
|
|
31
|
-
version: walletConnectVersion,
|
|
32
|
-
options: walletConnectOptions
|
|
33
|
-
});
|
|
34
|
-
return {
|
|
35
|
-
connector,
|
|
36
|
-
mobile: {
|
|
37
|
-
getUri: async () => {
|
|
38
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
39
|
-
return isAndroid() ? uri : `omni://wc?uri=${encodeURIComponent(uri)}`;
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
qrCode: {
|
|
43
|
-
getUri: async () => getWalletConnectUri(connector, walletConnectVersion),
|
|
44
|
-
instructions: {
|
|
45
|
-
learnMoreUrl: "https://omni.app/support",
|
|
46
|
-
steps: [
|
|
47
|
-
{
|
|
48
|
-
description: "wallet_connectors.omni.qr_code.step1.description",
|
|
49
|
-
step: "install",
|
|
50
|
-
title: "wallet_connectors.omni.qr_code.step1.title"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: "wallet_connectors.omni.qr_code.step2.description",
|
|
54
|
-
step: "create",
|
|
55
|
-
title: "wallet_connectors.omni.qr_code.step2.title"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
description: "wallet_connectors.omni.qr_code.step3.description",
|
|
59
|
-
step: "scan",
|
|
60
|
-
title: "wallet_connectors.omni.qr_code.step3.title"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
export {
|
|
70
|
-
omniWallet
|
|
71
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-4ACOCJJZ.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/oktoWallet/oktoWallet.ts
|
|
11
|
-
var oktoWallet = ({
|
|
12
|
-
chains,
|
|
13
|
-
projectId,
|
|
14
|
-
walletConnectOptions,
|
|
15
|
-
walletConnectVersion = "2"
|
|
16
|
-
}) => ({
|
|
17
|
-
id: "Okto",
|
|
18
|
-
name: "Okto",
|
|
19
|
-
iconUrl: async () => (await import("./oktoWallet-3LTNTBG3.js")).default,
|
|
20
|
-
iconBackground: "#fff",
|
|
21
|
-
downloadUrls: {
|
|
22
|
-
android: "https://play.google.com/store/apps/details?id=im.okto.contractwalletclient",
|
|
23
|
-
ios: "https://apps.apple.com/in/app/okto-wallet/id6450688229",
|
|
24
|
-
mobile: "https://okto.tech/",
|
|
25
|
-
qrCode: "https://okto.tech/"
|
|
26
|
-
},
|
|
27
|
-
createConnector: () => {
|
|
28
|
-
const connector = getWalletConnectConnector({
|
|
29
|
-
projectId,
|
|
30
|
-
chains,
|
|
31
|
-
version: walletConnectVersion,
|
|
32
|
-
options: walletConnectOptions
|
|
33
|
-
});
|
|
34
|
-
return {
|
|
35
|
-
connector,
|
|
36
|
-
mobile: {
|
|
37
|
-
getUri: async () => {
|
|
38
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
39
|
-
return isAndroid() ? uri : `okto://wc?uri=${encodeURIComponent(uri)}`;
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
qrCode: {
|
|
43
|
-
getUri: async () => getWalletConnectUri(connector, walletConnectVersion),
|
|
44
|
-
instructions: {
|
|
45
|
-
learnMoreUrl: "https://okto.tech/",
|
|
46
|
-
steps: [
|
|
47
|
-
{
|
|
48
|
-
description: "wallet_connectors.okto.qr_code.step1.description",
|
|
49
|
-
step: "install",
|
|
50
|
-
title: "wallet_connectors.okto.qr_code.step1.title"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: "wallet_connectors.okto.qr_code.step2.description",
|
|
54
|
-
step: "create",
|
|
55
|
-
title: "wallet_connectors.okto.qr_code.step2.title"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
description: "wallet_connectors.okto.qr_code.step3.description",
|
|
59
|
-
step: "scan",
|
|
60
|
-
title: "wallet_connectors.okto.qr_code.step3.title"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
export {
|
|
70
|
-
oktoWallet
|
|
71
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-4ACOCJJZ.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/ledgerWallet/ledgerWallet.ts
|
|
11
|
-
var ledgerWallet = ({
|
|
12
|
-
chains,
|
|
13
|
-
projectId,
|
|
14
|
-
walletConnectOptions,
|
|
15
|
-
walletConnectVersion = "2"
|
|
16
|
-
}) => ({
|
|
17
|
-
id: "ledger",
|
|
18
|
-
iconBackground: "#000",
|
|
19
|
-
iconAccent: "#000",
|
|
20
|
-
name: "Ledger",
|
|
21
|
-
iconUrl: async () => (await import("./ledgerWallet-DIS4VM6H.js")).default,
|
|
22
|
-
downloadUrls: {
|
|
23
|
-
android: "https://play.google.com/store/apps/details?id=com.ledger.live",
|
|
24
|
-
ios: "https://apps.apple.com/us/app/ledger-live-web3-wallet/id1361671700",
|
|
25
|
-
mobile: "https://www.ledger.com/ledger-live",
|
|
26
|
-
qrCode: "https://r354.adj.st/?adj_t=t2esmlk",
|
|
27
|
-
windows: "https://www.ledger.com/ledger-live/download",
|
|
28
|
-
macos: "https://www.ledger.com/ledger-live/download",
|
|
29
|
-
linux: "https://www.ledger.com/ledger-live/download",
|
|
30
|
-
desktop: "https://www.ledger.com/ledger-live"
|
|
31
|
-
},
|
|
32
|
-
createConnector: () => {
|
|
33
|
-
const connector = getWalletConnectConnector({
|
|
34
|
-
projectId,
|
|
35
|
-
chains,
|
|
36
|
-
version: walletConnectVersion,
|
|
37
|
-
options: walletConnectOptions
|
|
38
|
-
});
|
|
39
|
-
return {
|
|
40
|
-
connector,
|
|
41
|
-
mobile: {
|
|
42
|
-
getUri: async () => {
|
|
43
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
44
|
-
return isAndroid() ? uri : `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
desktop: {
|
|
48
|
-
getUri: async () => {
|
|
49
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
50
|
-
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
51
|
-
},
|
|
52
|
-
instructions: {
|
|
53
|
-
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
54
|
-
steps: [
|
|
55
|
-
{
|
|
56
|
-
description: "wallet_connectors.ledger.desktop.step1.description",
|
|
57
|
-
step: "install",
|
|
58
|
-
title: "wallet_connectors.ledger.desktop.step1.title"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
description: "wallet_connectors.ledger.desktop.step2.description",
|
|
62
|
-
step: "create",
|
|
63
|
-
title: "wallet_connectors.ledger.desktop.step2.title"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.ledger.desktop.step3.description",
|
|
67
|
-
step: "connect",
|
|
68
|
-
title: "wallet_connectors.ledger.desktop.step3.title"
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
qrCode: {
|
|
74
|
-
getUri: async () => {
|
|
75
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
76
|
-
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
77
|
-
},
|
|
78
|
-
instructions: {
|
|
79
|
-
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
80
|
-
steps: [
|
|
81
|
-
{
|
|
82
|
-
description: "wallet_connectors.ledger.qr_code.step1.description",
|
|
83
|
-
step: "install",
|
|
84
|
-
title: "wallet_connectors.ledger.qr_code.step1.title"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
description: "wallet_connectors.ledger.qr_code.step2.description",
|
|
88
|
-
step: "create",
|
|
89
|
-
title: "wallet_connectors.ledger.qr_code.step2.title"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
description: "wallet_connectors.ledger.qr_code.step3.description",
|
|
93
|
-
step: "scan",
|
|
94
|
-
title: "wallet_connectors.ledger.qr_code.step3.title"
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
|
|
103
|
-
export {
|
|
104
|
-
ledgerWallet
|
|
105
|
-
};
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-4ACOCJJZ.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
11
|
-
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
12
|
-
var bitgetWallet = ({
|
|
13
|
-
chains,
|
|
14
|
-
projectId,
|
|
15
|
-
walletConnectOptions,
|
|
16
|
-
walletConnectVersion = "2",
|
|
17
|
-
...options
|
|
18
|
-
}) => {
|
|
19
|
-
const isBitKeepInjected = typeof window !== "undefined" && window.bitkeep !== void 0 && window.bitkeep.ethereum !== void 0 && window.bitkeep.ethereum.isBitKeep === true;
|
|
20
|
-
const shouldUseWalletConnect = !isBitKeepInjected;
|
|
21
|
-
return {
|
|
22
|
-
id: "bitget",
|
|
23
|
-
name: "Bitget Wallet",
|
|
24
|
-
iconUrl: async () => (await import("./bitgetWallet-JVNCB4EB.js")).default,
|
|
25
|
-
iconAccent: "#f6851a",
|
|
26
|
-
iconBackground: "#fff",
|
|
27
|
-
installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
|
|
28
|
-
downloadUrls: {
|
|
29
|
-
android: "https://web3.bitget.com/en/wallet-download?type=0",
|
|
30
|
-
ios: "https://apps.apple.com/app/bitkeep/id1395301115",
|
|
31
|
-
mobile: "https://web3.bitget.com/en/wallet-download?type=2",
|
|
32
|
-
qrCode: "https://web3.bitget.com/en/wallet-download",
|
|
33
|
-
chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
|
|
34
|
-
browserExtension: "https://web3.bitget.com/en/wallet-download"
|
|
35
|
-
},
|
|
36
|
-
createConnector: () => {
|
|
37
|
-
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
38
|
-
chains,
|
|
39
|
-
options: walletConnectOptions,
|
|
40
|
-
projectId,
|
|
41
|
-
version: walletConnectVersion
|
|
42
|
-
}) : new InjectedConnector({
|
|
43
|
-
chains,
|
|
44
|
-
options: {
|
|
45
|
-
getProvider: () => window.bitkeep.ethereum,
|
|
46
|
-
...options
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
const getUri = async () => {
|
|
50
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
51
|
-
return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
|
|
52
|
-
};
|
|
53
|
-
return {
|
|
54
|
-
connector,
|
|
55
|
-
extension: {
|
|
56
|
-
instructions: {
|
|
57
|
-
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
58
|
-
steps: [
|
|
59
|
-
{
|
|
60
|
-
description: "wallet_connectors.bitget.extension.step1.description",
|
|
61
|
-
step: "install",
|
|
62
|
-
title: "wallet_connectors.bitget.extension.step1.title"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
description: "wallet_connectors.bitget.extension.step2.description",
|
|
66
|
-
step: "create",
|
|
67
|
-
title: "wallet_connectors.bitget.extension.step2.title"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
description: "wallet_connectors.bitget.extension.step3.description",
|
|
71
|
-
step: "refresh",
|
|
72
|
-
title: "wallet_connectors.bitget.extension.step3.description"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
mobile: {
|
|
78
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
79
|
-
},
|
|
80
|
-
qrCode: shouldUseWalletConnect ? {
|
|
81
|
-
getUri: async () => getWalletConnectUri(connector, walletConnectVersion),
|
|
82
|
-
instructions: {
|
|
83
|
-
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
84
|
-
steps: [
|
|
85
|
-
{
|
|
86
|
-
description: "wallet_connectors.bitget.qr_code.step1.description",
|
|
87
|
-
step: "install",
|
|
88
|
-
title: "wallet_connectors.bitget.qr_code.step1.title"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
description: "wallet_connectors.bitget.qr_code.step2.description",
|
|
92
|
-
step: "create",
|
|
93
|
-
title: "wallet_connectors.bitget.qr_code.step2.title"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
description: "wallet_connectors.bitget.qr_code.step3.description",
|
|
97
|
-
step: "scan",
|
|
98
|
-
title: "wallet_connectors.bitget.qr_code.step3.title"
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
} : void 0
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
var bitKeepWallet = bitgetWallet;
|
|
108
|
-
|
|
109
|
-
export {
|
|
110
|
-
bitgetWallet,
|
|
111
|
-
bitKeepWallet
|
|
112
|
-
};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-4ACOCJJZ.js";
|
|
6
|
-
import {
|
|
7
|
-
isMobile
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
|
|
11
|
-
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
12
|
-
var tokenPocketWallet = ({
|
|
13
|
-
chains,
|
|
14
|
-
projectId,
|
|
15
|
-
walletConnectOptions,
|
|
16
|
-
walletConnectVersion = "2"
|
|
17
|
-
}) => {
|
|
18
|
-
const isTokenPocketInjected = typeof window !== "undefined" && window.ethereum?.isTokenPocket === true;
|
|
19
|
-
const shouldUseWalletConnect = !isTokenPocketInjected;
|
|
20
|
-
return {
|
|
21
|
-
id: "tokenPocket",
|
|
22
|
-
name: "TokenPocket",
|
|
23
|
-
iconUrl: async () => (await import("./tokenPocketWallet-UYD66DEM.js")).default,
|
|
24
|
-
iconBackground: "#2980FE",
|
|
25
|
-
installed: !shouldUseWalletConnect ? isTokenPocketInjected : void 0,
|
|
26
|
-
downloadUrls: {
|
|
27
|
-
chrome: "https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii",
|
|
28
|
-
browserExtension: "https://extension.tokenpocket.pro/",
|
|
29
|
-
android: "https://play.google.com/store/apps/details?id=vip.mytokenpocket",
|
|
30
|
-
ios: "https://apps.apple.com/us/app/tp-global-wallet/id6444625622",
|
|
31
|
-
qrCode: "https://tokenpocket.pro/en/download/app",
|
|
32
|
-
mobile: "https://tokenpocket.pro/en/download/app"
|
|
33
|
-
},
|
|
34
|
-
createConnector: () => {
|
|
35
|
-
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
36
|
-
chains,
|
|
37
|
-
projectId,
|
|
38
|
-
options: walletConnectOptions,
|
|
39
|
-
version: walletConnectVersion
|
|
40
|
-
}) : new InjectedConnector({ chains });
|
|
41
|
-
const getUri = async () => {
|
|
42
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
43
|
-
return isMobile() ? `tpoutside://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
44
|
-
};
|
|
45
|
-
return {
|
|
46
|
-
connector,
|
|
47
|
-
mobile: {
|
|
48
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
49
|
-
},
|
|
50
|
-
qrCode: shouldUseWalletConnect ? {
|
|
51
|
-
getUri,
|
|
52
|
-
instructions: {
|
|
53
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/",
|
|
54
|
-
steps: [
|
|
55
|
-
{
|
|
56
|
-
description: "wallet_connectors.token_pocket.qr_code.step1.description",
|
|
57
|
-
step: "install",
|
|
58
|
-
title: "wallet_connectors.token_pocket.qr_code.step1.title"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
description: "wallet_connectors.token_pocket.qr_code.step2.description",
|
|
62
|
-
step: "create",
|
|
63
|
-
title: "wallet_connectors.token_pocket.qr_code.step2.title"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.token_pocket.qr_code.step3.description",
|
|
67
|
-
step: "scan",
|
|
68
|
-
title: "wallet_connectors.token_pocket.qr_code.step3.title"
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
} : void 0,
|
|
73
|
-
extension: {
|
|
74
|
-
instructions: {
|
|
75
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/extension-wallet/faq/installation-tutorial",
|
|
76
|
-
steps: [
|
|
77
|
-
{
|
|
78
|
-
description: "wallet_connectors.token_pocket.extension.step1.description",
|
|
79
|
-
step: "install",
|
|
80
|
-
title: "wallet_connectors.token_pocket.extension.step1.title"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
description: "wallet_connectors.token_pocket.extension.step2.description",
|
|
84
|
-
step: "create",
|
|
85
|
-
title: "wallet_connectors.token_pocket.extension.step2.title"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
description: "wallet_connectors.token_pocket.extension.step3.description",
|
|
89
|
-
step: "refresh",
|
|
90
|
-
title: "wallet_connectors.token_pocket.extension.step3.title"
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
export {
|
|
101
|
-
tokenPocketWallet
|
|
102
|
-
};
|