@talken/talkenkit 2.8.1 → 2.8.3
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/{abcWallet-TMP56C3B.js → abcWallet-7ZZXHG7O.js} +1 -1
- package/dist/{chunk-WEQ3DKBC.js → chunk-HX6JUKSS.js} +0 -6
- package/dist/gasless/types.d.ts +33 -2
- package/dist/gasless/utils/fiatFormatter.d.ts +32 -0
- package/dist/index.css +13 -13
- package/dist/index.d.ts +2 -0
- package/dist/index.js +341 -211
- package/dist/wallets/walletConnectors/abcWallet/abcConnector.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/abcProvider.js +1 -1
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaProvider.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/abcWallet.js +5 -5
- package/dist/wallets/walletConnectors/abcWallet/api/TalkenApiClient.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/api/index.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/index.js +8 -8
- package/dist/wallets/walletConnectors/abcWallet/kakaoAuth.d.ts +10 -21
- package/dist/wallets/walletConnectors/abcWallet/kakaoAuth.js +118 -141
- package/dist/wallets/walletConnectors/chunk-4K2V7RCL.js +96 -0
- package/dist/wallets/walletConnectors/chunk-76M232IF.js +101 -0
- package/dist/wallets/walletConnectors/{chunk-73ENA2TK.js → chunk-7DLZKN46.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-CTAFZ5RQ.js +71 -0
- package/dist/wallets/walletConnectors/chunk-FE2BFYJB.js +73 -0
- package/dist/wallets/walletConnectors/chunk-GNF5CHDQ.js +102 -0
- package/dist/wallets/walletConnectors/chunk-GZPGNUNF.js +94 -0
- package/dist/wallets/walletConnectors/{chunk-DKWXI7IR.js → chunk-HM73RD2O.js} +0 -6
- package/dist/wallets/walletConnectors/chunk-KNNHGFKJ.js +98 -0
- package/dist/wallets/walletConnectors/chunk-KQROIRBW.js +27 -0
- package/dist/wallets/walletConnectors/chunk-LKNK2KKU.js +76 -0
- package/dist/wallets/walletConnectors/{chunk-R3SLVZUQ.js → chunk-M4YGDOD5.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-NM7YUGLV.js +186 -0
- package/dist/wallets/walletConnectors/chunk-U5UPCM5V.js +66 -0
- package/dist/wallets/walletConnectors/chunk-WZMFQQ6R.js +108 -0
- package/dist/wallets/walletConnectors/chunk-XSJUQHR7.js +95 -0
- package/dist/wallets/walletConnectors/index.js +56 -56
- package/package.json +12 -11
- package/LICENSE +0 -9
- package/dist/wallets/walletConnectors/chunk-24AEUYOZ.js +0 -58
- package/dist/wallets/walletConnectors/chunk-2DROHKQL.js +0 -341
- package/dist/wallets/walletConnectors/chunk-I7QLXYSA.js +0 -341
- package/dist/wallets/walletConnectors/chunk-L7ZETI2T.js +0 -58
- package/dist/wallets/walletConnectors/chunk-PYIAXFRD.js +0 -370
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PONHGUSY.js";
|
|
6
|
+
import {
|
|
7
|
+
isAndroid,
|
|
8
|
+
isIOS
|
|
9
|
+
} from "./chunk-RETKWSKD.js";
|
|
10
|
+
import {
|
|
11
|
+
getWalletConnectConnector
|
|
12
|
+
} from "./chunk-PODFK4OS.js";
|
|
13
|
+
|
|
14
|
+
// src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
|
|
15
|
+
function isMetaMask(ethereum) {
|
|
16
|
+
if (!ethereum?.isMetaMask)
|
|
17
|
+
return false;
|
|
18
|
+
if (ethereum.isBraveWallet && !ethereum._events && !ethereum._state)
|
|
19
|
+
return false;
|
|
20
|
+
if (ethereum.isApexWallet)
|
|
21
|
+
return false;
|
|
22
|
+
if (ethereum.isAvalanche)
|
|
23
|
+
return false;
|
|
24
|
+
if (ethereum.isBackpack)
|
|
25
|
+
return false;
|
|
26
|
+
if (ethereum.isBifrost)
|
|
27
|
+
return false;
|
|
28
|
+
if (ethereum.isBitKeep)
|
|
29
|
+
return false;
|
|
30
|
+
if (ethereum.isBitski)
|
|
31
|
+
return false;
|
|
32
|
+
if (ethereum.isBlockWallet)
|
|
33
|
+
return false;
|
|
34
|
+
if (ethereum.isCoinbaseWallet)
|
|
35
|
+
return false;
|
|
36
|
+
if (ethereum.isDawn)
|
|
37
|
+
return false;
|
|
38
|
+
if (ethereum.isEnkrypt)
|
|
39
|
+
return false;
|
|
40
|
+
if (ethereum.isExodus)
|
|
41
|
+
return false;
|
|
42
|
+
if (ethereum.isFrame)
|
|
43
|
+
return false;
|
|
44
|
+
if (ethereum.isFrontier)
|
|
45
|
+
return false;
|
|
46
|
+
if (ethereum.isGamestop)
|
|
47
|
+
return false;
|
|
48
|
+
if (ethereum.isHyperPay)
|
|
49
|
+
return false;
|
|
50
|
+
if (ethereum.isImToken)
|
|
51
|
+
return false;
|
|
52
|
+
if (ethereum.isKuCoinWallet)
|
|
53
|
+
return false;
|
|
54
|
+
if (ethereum.isMathWallet)
|
|
55
|
+
return false;
|
|
56
|
+
if (ethereum.isNestWallet)
|
|
57
|
+
return false;
|
|
58
|
+
if (ethereum.isOkxWallet || ethereum.isOKExWallet)
|
|
59
|
+
return false;
|
|
60
|
+
if (ethereum.isOneInchIOSWallet || ethereum.isOneInchAndroidWallet)
|
|
61
|
+
return false;
|
|
62
|
+
if (ethereum.isOpera)
|
|
63
|
+
return false;
|
|
64
|
+
if (ethereum.isPhantom)
|
|
65
|
+
return false;
|
|
66
|
+
if (ethereum.isPortal)
|
|
67
|
+
return false;
|
|
68
|
+
if (ethereum.isRabby)
|
|
69
|
+
return false;
|
|
70
|
+
if (ethereum.isRainbow)
|
|
71
|
+
return false;
|
|
72
|
+
if (ethereum.isStatus)
|
|
73
|
+
return false;
|
|
74
|
+
if (ethereum.isTalisman)
|
|
75
|
+
return false;
|
|
76
|
+
if (ethereum.isTally)
|
|
77
|
+
return false;
|
|
78
|
+
if (ethereum.isTokenPocket)
|
|
79
|
+
return false;
|
|
80
|
+
if (ethereum.isTokenary)
|
|
81
|
+
return false;
|
|
82
|
+
if (ethereum.isTrust || ethereum.isTrustWallet)
|
|
83
|
+
return false;
|
|
84
|
+
if (ethereum.isXDEFI)
|
|
85
|
+
return false;
|
|
86
|
+
if (ethereum.isZeal)
|
|
87
|
+
return false;
|
|
88
|
+
if (ethereum.isZerion)
|
|
89
|
+
return false;
|
|
90
|
+
if (ethereum.__seif)
|
|
91
|
+
return false;
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
var metaMaskWallet = ({
|
|
95
|
+
projectId,
|
|
96
|
+
walletConnectParameters
|
|
97
|
+
}) => {
|
|
98
|
+
const isMetaMaskInjected = hasInjectedProvider({ flag: "isMetaMask" });
|
|
99
|
+
const shouldUseWalletConnect = !isMetaMaskInjected;
|
|
100
|
+
const getUri = (uri) => {
|
|
101
|
+
return isAndroid() ? uri : isIOS() ? (
|
|
102
|
+
// currently broken in MetaMask v6.5.0 https://github.com/MetaMask/metamask-mobile/issues/6457
|
|
103
|
+
`metamask://wc?uri=${encodeURIComponent(uri)}`
|
|
104
|
+
) : `https://metamask.app.link/wc?uri=${encodeURIComponent(uri)}`;
|
|
105
|
+
};
|
|
106
|
+
return {
|
|
107
|
+
id: "metaMask",
|
|
108
|
+
name: "MetaMask",
|
|
109
|
+
rdns: "io.metamask",
|
|
110
|
+
iconUrl: async () => (await import("./metaMaskWallet-YFHEHW7V.js")).default,
|
|
111
|
+
iconAccent: "#f6851a",
|
|
112
|
+
iconBackground: "#fff",
|
|
113
|
+
installed: !shouldUseWalletConnect ? isMetaMaskInjected : void 0,
|
|
114
|
+
downloadUrls: {
|
|
115
|
+
android: "https://play.google.com/store/apps/details?id=io.metamask",
|
|
116
|
+
ios: "https://apps.apple.com/us/app/metamask/id1438144202",
|
|
117
|
+
mobile: "https://metamask.io/download",
|
|
118
|
+
qrCode: "https://metamask.io/download",
|
|
119
|
+
chrome: "https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",
|
|
120
|
+
edge: "https://microsoftedge.microsoft.com/addons/detail/metamask/ejbalbakoplchlghecdalmeeeajnimhm",
|
|
121
|
+
firefox: "https://addons.mozilla.org/firefox/addon/ether-metamask",
|
|
122
|
+
opera: "https://addons.opera.com/extensions/details/metamask-10",
|
|
123
|
+
browserExtension: "https://metamask.io/download"
|
|
124
|
+
},
|
|
125
|
+
mobile: {
|
|
126
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
127
|
+
},
|
|
128
|
+
qrCode: shouldUseWalletConnect ? {
|
|
129
|
+
getUri,
|
|
130
|
+
instructions: {
|
|
131
|
+
learnMoreUrl: "https://metamask.io/faqs/",
|
|
132
|
+
steps: [
|
|
133
|
+
{
|
|
134
|
+
description: "wallet_connectors.metamask.qr_code.step1.description",
|
|
135
|
+
step: "install",
|
|
136
|
+
title: "wallet_connectors.metamask.qr_code.step1.title"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
description: "wallet_connectors.metamask.qr_code.step2.description",
|
|
140
|
+
step: "create",
|
|
141
|
+
title: "wallet_connectors.metamask.qr_code.step2.title"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
description: "wallet_connectors.metamask.qr_code.step3.description",
|
|
145
|
+
step: "refresh",
|
|
146
|
+
title: "wallet_connectors.metamask.qr_code.step3.title"
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
} : void 0,
|
|
151
|
+
extension: {
|
|
152
|
+
instructions: {
|
|
153
|
+
learnMoreUrl: "https://metamask.io/faqs/",
|
|
154
|
+
steps: [
|
|
155
|
+
{
|
|
156
|
+
description: "wallet_connectors.metamask.extension.step1.description",
|
|
157
|
+
step: "install",
|
|
158
|
+
title: "wallet_connectors.metamask.extension.step1.title"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
description: "wallet_connectors.metamask.extension.step2.description",
|
|
162
|
+
step: "create",
|
|
163
|
+
title: "wallet_connectors.metamask.extension.step2.title"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
description: "wallet_connectors.metamask.extension.step3.description",
|
|
167
|
+
step: "refresh",
|
|
168
|
+
title: "wallet_connectors.metamask.extension.step3.title"
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
174
|
+
projectId,
|
|
175
|
+
walletConnectParameters
|
|
176
|
+
}) : getInjectedConnector({
|
|
177
|
+
target: typeof window !== "undefined" ? window.ethereum?.providers?.find(
|
|
178
|
+
isMetaMask
|
|
179
|
+
) ?? window.ethereum : void 0
|
|
180
|
+
})
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
export {
|
|
185
|
+
metaMaskWallet
|
|
186
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector
|
|
4
|
+
} from "./chunk-PONHGUSY.js";
|
|
5
|
+
import {
|
|
6
|
+
isAndroid
|
|
7
|
+
} from "./chunk-RETKWSKD.js";
|
|
8
|
+
import {
|
|
9
|
+
getWalletConnectConnector
|
|
10
|
+
} from "./chunk-PODFK4OS.js";
|
|
11
|
+
|
|
12
|
+
// src/wallets/walletConnectors/iopayWallet/iopayWallet.ts
|
|
13
|
+
function isIoPayMobile() {
|
|
14
|
+
return typeof navigator !== "undefined" && typeof navigator.userAgent !== "undefined" && (navigator?.userAgent.includes("IoPayAndroid") || navigator?.userAgent.includes("IoPayiOs"));
|
|
15
|
+
}
|
|
16
|
+
var iopayWallet = ({
|
|
17
|
+
projectId,
|
|
18
|
+
walletConnectParameters
|
|
19
|
+
}) => ({
|
|
20
|
+
id: "iopay",
|
|
21
|
+
name: "ioPay Wallet",
|
|
22
|
+
iconUrl: async () => (await import("./iopayWallet-IJHJ7NYT.js")).default,
|
|
23
|
+
iconBackground: "#fff",
|
|
24
|
+
downloadUrls: {
|
|
25
|
+
android: "https://play.google.com/store/apps/details?id=io.iotex.iopay.gp&pli=1",
|
|
26
|
+
ios: "https://apps.apple.com/us/app/iopay-multichain-crypto-wallet/id1478086371",
|
|
27
|
+
qrCode: "https://iopay.me/",
|
|
28
|
+
browserExtension: "https://iopay.me/"
|
|
29
|
+
},
|
|
30
|
+
mobile: {
|
|
31
|
+
getUri: (uri) => {
|
|
32
|
+
return isAndroid() ? uri : `iopay://wc?uri=${encodeURIComponent(uri)}`;
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
qrCode: {
|
|
36
|
+
getUri: (uri) => uri,
|
|
37
|
+
instructions: {
|
|
38
|
+
learnMoreUrl: "https://iopay.me/",
|
|
39
|
+
steps: [
|
|
40
|
+
{
|
|
41
|
+
description: "wallet_connectors.iopay.qr_code.step1.description",
|
|
42
|
+
step: "install",
|
|
43
|
+
title: "wallet_connectors.iopay.qr_code.step1.title"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
description: "wallet_connectors.iopay.qr_code.step2.description",
|
|
47
|
+
step: "create",
|
|
48
|
+
title: "wallet_connectors.iopay.qr_code.step2.title"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
description: "wallet_connectors.iopay.qr_code.step3.description",
|
|
52
|
+
step: "scan",
|
|
53
|
+
title: "wallet_connectors.iopay.qr_code.step3.title"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
createConnector: isIoPayMobile() ? getInjectedConnector({}) : getWalletConnectConnector({
|
|
59
|
+
projectId,
|
|
60
|
+
walletConnectParameters
|
|
61
|
+
})
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export {
|
|
65
|
+
iopayWallet
|
|
66
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PONHGUSY.js";
|
|
6
|
+
import {
|
|
7
|
+
isMobile
|
|
8
|
+
} from "./chunk-RETKWSKD.js";
|
|
9
|
+
import {
|
|
10
|
+
getWalletConnectConnector
|
|
11
|
+
} from "./chunk-PODFK4OS.js";
|
|
12
|
+
|
|
13
|
+
// src/wallets/walletConnectors/trustWallet/trustWallet.ts
|
|
14
|
+
var trustWallet = ({
|
|
15
|
+
projectId,
|
|
16
|
+
walletConnectParameters
|
|
17
|
+
}) => {
|
|
18
|
+
const isTrustWalletInjected = isMobile() ? hasInjectedProvider({ flag: "isTrust" }) : hasInjectedProvider({ flag: "isTrustWallet" });
|
|
19
|
+
const shouldUseWalletConnect = !isTrustWalletInjected;
|
|
20
|
+
const getUriMobile = (uri) => {
|
|
21
|
+
return `trust://wc?uri=${encodeURIComponent(uri)}`;
|
|
22
|
+
};
|
|
23
|
+
const getUriQR = (uri) => {
|
|
24
|
+
return uri;
|
|
25
|
+
};
|
|
26
|
+
const mobileConnector = {
|
|
27
|
+
getUri: shouldUseWalletConnect ? getUriMobile : void 0
|
|
28
|
+
};
|
|
29
|
+
let qrConnector = void 0;
|
|
30
|
+
if (shouldUseWalletConnect) {
|
|
31
|
+
qrConnector = {
|
|
32
|
+
getUri: getUriQR,
|
|
33
|
+
instructions: {
|
|
34
|
+
learnMoreUrl: "https://trustwallet.com/",
|
|
35
|
+
steps: [
|
|
36
|
+
{
|
|
37
|
+
description: "wallet_connectors.trust.qr_code.step1.description",
|
|
38
|
+
step: "install",
|
|
39
|
+
title: "wallet_connectors.trust.qr_code.step1.title"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
description: "wallet_connectors.trust.qr_code.step2.description",
|
|
43
|
+
step: "create",
|
|
44
|
+
title: "wallet_connectors.trust.qr_code.step2.title"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
description: "wallet_connectors.trust.qr_code.step3.description",
|
|
48
|
+
step: "scan",
|
|
49
|
+
title: "wallet_connectors.trust.qr_code.step3.title"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
const extensionConnector = {
|
|
56
|
+
instructions: {
|
|
57
|
+
learnMoreUrl: "https://trustwallet.com/browser-extension",
|
|
58
|
+
steps: [
|
|
59
|
+
{
|
|
60
|
+
description: "wallet_connectors.trust.extension.step1.description",
|
|
61
|
+
step: "install",
|
|
62
|
+
title: "wallet_connectors.trust.extension.step1.title"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
description: "wallet_connectors.trust.extension.step2.description",
|
|
66
|
+
step: "create",
|
|
67
|
+
title: "wallet_connectors.trust.extension.step2.title"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
description: "wallet_connectors.trust.extension.step3.description",
|
|
71
|
+
step: "refresh",
|
|
72
|
+
title: "wallet_connectors.trust.extension.step3.title"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
return {
|
|
78
|
+
id: "trust",
|
|
79
|
+
name: "Trust Wallet",
|
|
80
|
+
rdns: "com.trustwallet.app",
|
|
81
|
+
iconUrl: async () => (await import("./trustWallet-E2GVGE4U.js")).default,
|
|
82
|
+
// Note that we never resolve `installed` to `false` because the
|
|
83
|
+
// Trust Wallet provider falls back to other connection methods if
|
|
84
|
+
// the injected connector isn't available
|
|
85
|
+
installed: isTrustWalletInjected || void 0,
|
|
86
|
+
iconAccent: "#3375BB",
|
|
87
|
+
iconBackground: "#fff",
|
|
88
|
+
downloadUrls: {
|
|
89
|
+
android: "https://play.google.com/store/apps/details?id=com.wallet.crypto.trustapp",
|
|
90
|
+
ios: "https://apps.apple.com/us/app/trust-crypto-bitcoin-wallet/id1288339409",
|
|
91
|
+
mobile: "https://trustwallet.com/download",
|
|
92
|
+
qrCode: "https://trustwallet.com/download",
|
|
93
|
+
chrome: "https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph",
|
|
94
|
+
browserExtension: "https://trustwallet.com/browser-extension"
|
|
95
|
+
},
|
|
96
|
+
mobile: mobileConnector,
|
|
97
|
+
qrCode: qrConnector,
|
|
98
|
+
extension: extensionConnector,
|
|
99
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
100
|
+
projectId,
|
|
101
|
+
walletConnectParameters
|
|
102
|
+
}) : isMobile() ? getInjectedConnector({ flag: "isTrust" }) : getInjectedConnector({ flag: "isTrustWallet" })
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
export {
|
|
107
|
+
trustWallet
|
|
108
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PONHGUSY.js";
|
|
6
|
+
import {
|
|
7
|
+
isMobile
|
|
8
|
+
} from "./chunk-RETKWSKD.js";
|
|
9
|
+
import {
|
|
10
|
+
getWalletConnectConnector
|
|
11
|
+
} from "./chunk-PODFK4OS.js";
|
|
12
|
+
|
|
13
|
+
// src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
|
|
14
|
+
var tokenPocketWallet = ({
|
|
15
|
+
projectId,
|
|
16
|
+
walletConnectParameters
|
|
17
|
+
}) => {
|
|
18
|
+
const isTokenPocketInjected = hasInjectedProvider({ flag: "isTokenPocket" });
|
|
19
|
+
const shouldUseWalletConnect = !isTokenPocketInjected;
|
|
20
|
+
const getUri = (uri) => {
|
|
21
|
+
return isMobile() ? `tpoutside://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
22
|
+
};
|
|
23
|
+
return {
|
|
24
|
+
id: "tokenPocket",
|
|
25
|
+
name: "TokenPocket",
|
|
26
|
+
rdns: "pro.tokenpocket",
|
|
27
|
+
iconUrl: async () => (await import("./tokenPocketWallet-BVMBOYTC.js")).default,
|
|
28
|
+
iconBackground: "#2980FE",
|
|
29
|
+
installed: !shouldUseWalletConnect ? isTokenPocketInjected : void 0,
|
|
30
|
+
downloadUrls: {
|
|
31
|
+
chrome: "https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii",
|
|
32
|
+
browserExtension: "https://extension.tokenpocket.pro/",
|
|
33
|
+
android: "https://play.google.com/store/apps/details?id=vip.mytokenpocket",
|
|
34
|
+
ios: "https://apps.apple.com/us/app/tp-global-wallet/id6444625622",
|
|
35
|
+
qrCode: "https://tokenpocket.pro/en/download/app",
|
|
36
|
+
mobile: "https://tokenpocket.pro/en/download/app"
|
|
37
|
+
},
|
|
38
|
+
mobile: {
|
|
39
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
40
|
+
},
|
|
41
|
+
qrCode: shouldUseWalletConnect ? {
|
|
42
|
+
getUri,
|
|
43
|
+
instructions: {
|
|
44
|
+
learnMoreUrl: "https://help.tokenpocket.pro/en/",
|
|
45
|
+
steps: [
|
|
46
|
+
{
|
|
47
|
+
description: "wallet_connectors.token_pocket.qr_code.step1.description",
|
|
48
|
+
step: "install",
|
|
49
|
+
title: "wallet_connectors.token_pocket.qr_code.step1.title"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
description: "wallet_connectors.token_pocket.qr_code.step2.description",
|
|
53
|
+
step: "create",
|
|
54
|
+
title: "wallet_connectors.token_pocket.qr_code.step2.title"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
description: "wallet_connectors.token_pocket.qr_code.step3.description",
|
|
58
|
+
step: "scan",
|
|
59
|
+
title: "wallet_connectors.token_pocket.qr_code.step3.title"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
} : void 0,
|
|
64
|
+
extension: {
|
|
65
|
+
instructions: {
|
|
66
|
+
learnMoreUrl: "https://help.tokenpocket.pro/en/extension-wallet/faq/installation-tutorial",
|
|
67
|
+
steps: [
|
|
68
|
+
{
|
|
69
|
+
description: "wallet_connectors.token_pocket.extension.step1.description",
|
|
70
|
+
step: "install",
|
|
71
|
+
title: "wallet_connectors.token_pocket.extension.step1.title"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
description: "wallet_connectors.token_pocket.extension.step2.description",
|
|
75
|
+
step: "create",
|
|
76
|
+
title: "wallet_connectors.token_pocket.extension.step2.title"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
description: "wallet_connectors.token_pocket.extension.step3.description",
|
|
80
|
+
step: "refresh",
|
|
81
|
+
title: "wallet_connectors.token_pocket.extension.step3.title"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
87
|
+
projectId,
|
|
88
|
+
walletConnectParameters
|
|
89
|
+
}) : getInjectedConnector({ flag: "isTokenPocket" })
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
export {
|
|
94
|
+
tokenPocketWallet
|
|
95
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
abcWallet
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-M4YGDOD5.js";
|
|
5
|
+
import "./chunk-7DLZKN46.js";
|
|
6
|
+
import "./chunk-HM73RD2O.js";
|
|
7
|
+
import "./chunk-CXWASK7L.js";
|
|
8
8
|
import "./chunk-XDNFWX2X.js";
|
|
9
9
|
import "./chunk-4Y7YP4IR.js";
|
|
10
10
|
import "./chunk-ICGK5DGY.js";
|
|
11
|
-
import "./chunk-TYJR3KGY.js";
|
|
12
11
|
import "./chunk-3NWM24MH.js";
|
|
12
|
+
import "./chunk-TYJR3KGY.js";
|
|
13
13
|
import "./chunk-2LOET2LX.js";
|
|
14
14
|
import "./chunk-2LH53QET.js";
|
|
15
15
|
import "./chunk-ZOBSRU6L.js";
|
|
16
16
|
import "./chunk-GFWUFYT2.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
zerionWallet
|
|
19
|
+
} from "./chunk-55PYSSYF.js";
|
|
20
20
|
import "./chunk-YNE2UX2Z.js";
|
|
21
21
|
import "./chunk-3DHUDD4U.js";
|
|
22
22
|
import "./chunk-R6ZE7JAZ.js";
|
|
@@ -33,18 +33,21 @@ import "./chunk-BUAWEYGV.js";
|
|
|
33
33
|
import "./chunk-RKQS3OQG.js";
|
|
34
34
|
import "./chunk-NEMEHJ72.js";
|
|
35
35
|
import "./chunk-3Z5DO42M.js";
|
|
36
|
+
import {
|
|
37
|
+
tokenaryWallet
|
|
38
|
+
} from "./chunk-AGYNSAGV.js";
|
|
36
39
|
import {
|
|
37
40
|
uniswapWallet
|
|
38
41
|
} from "./chunk-DLDZUVTB.js";
|
|
42
|
+
import {
|
|
43
|
+
talismanWallet
|
|
44
|
+
} from "./chunk-CV5HJWQX.js";
|
|
39
45
|
import {
|
|
40
46
|
valoraWallet
|
|
41
47
|
} from "./chunk-CVUEWUDI.js";
|
|
42
48
|
import {
|
|
43
49
|
walletConnectWallet
|
|
44
50
|
} from "./chunk-KU5R3WAJ.js";
|
|
45
|
-
import {
|
|
46
|
-
wigwamWallet
|
|
47
|
-
} from "./chunk-XHES3UIX.js";
|
|
48
51
|
import {
|
|
49
52
|
xdefiWallet
|
|
50
53
|
} from "./chunk-LAXV47ZW.js";
|
|
@@ -52,11 +55,14 @@ import {
|
|
|
52
55
|
zealWallet
|
|
53
56
|
} from "./chunk-NPZ2IXNP.js";
|
|
54
57
|
import {
|
|
55
|
-
|
|
56
|
-
} from "./chunk-
|
|
58
|
+
wigwamWallet
|
|
59
|
+
} from "./chunk-XHES3UIX.js";
|
|
57
60
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./chunk-
|
|
61
|
+
safeWallet
|
|
62
|
+
} from "./chunk-Z2QCE6O6.js";
|
|
63
|
+
import {
|
|
64
|
+
safeheronWallet
|
|
65
|
+
} from "./chunk-GFZKT4IO.js";
|
|
60
66
|
import {
|
|
61
67
|
safepalWallet
|
|
62
68
|
} from "./chunk-6UT4SIPZ.js";
|
|
@@ -69,18 +75,18 @@ import {
|
|
|
69
75
|
import {
|
|
70
76
|
tahoWallet
|
|
71
77
|
} from "./chunk-ETH7KTEX.js";
|
|
72
|
-
import {
|
|
73
|
-
talismanWallet
|
|
74
|
-
} from "./chunk-CV5HJWQX.js";
|
|
75
78
|
import {
|
|
76
79
|
tokenPocketWallet
|
|
77
80
|
} from "./chunk-D24ZTR45.js";
|
|
78
|
-
import {
|
|
79
|
-
tokenaryWallet
|
|
80
|
-
} from "./chunk-AGYNSAGV.js";
|
|
81
81
|
import {
|
|
82
82
|
trustWallet
|
|
83
83
|
} from "./chunk-PK5F7QCO.js";
|
|
84
|
+
import {
|
|
85
|
+
omniWallet
|
|
86
|
+
} from "./chunk-RGPO7AY3.js";
|
|
87
|
+
import {
|
|
88
|
+
oneKeyWallet
|
|
89
|
+
} from "./chunk-WQX4JNSR.js";
|
|
84
90
|
import {
|
|
85
91
|
paraSwapWallet
|
|
86
92
|
} from "./chunk-FF7ZXD5C.js";
|
|
@@ -100,14 +106,14 @@ import {
|
|
|
100
106
|
roninWallet
|
|
101
107
|
} from "./chunk-TP7VE6CR.js";
|
|
102
108
|
import {
|
|
103
|
-
|
|
104
|
-
} from "./chunk-
|
|
109
|
+
kresusWallet
|
|
110
|
+
} from "./chunk-CM3VR7OM.js";
|
|
105
111
|
import {
|
|
106
|
-
|
|
107
|
-
} from "./chunk-
|
|
112
|
+
metaMaskWallet
|
|
113
|
+
} from "./chunk-YYWOGELV.js";
|
|
108
114
|
import {
|
|
109
|
-
|
|
110
|
-
} from "./chunk-
|
|
115
|
+
magicEdenWallet
|
|
116
|
+
} from "./chunk-6MKGDGZC.js";
|
|
111
117
|
import {
|
|
112
118
|
mewWallet
|
|
113
119
|
} from "./chunk-T4UIU4M2.js";
|
|
@@ -120,18 +126,18 @@ import {
|
|
|
120
126
|
import {
|
|
121
127
|
okxWallet
|
|
122
128
|
} from "./chunk-N4US77B2.js";
|
|
123
|
-
import {
|
|
124
|
-
omniWallet
|
|
125
|
-
} from "./chunk-RGPO7AY3.js";
|
|
126
129
|
import {
|
|
127
130
|
oneInchWallet
|
|
128
131
|
} from "./chunk-OJT577AY.js";
|
|
129
132
|
import {
|
|
130
|
-
|
|
131
|
-
} from "./chunk-
|
|
133
|
+
injectedWallet
|
|
134
|
+
} from "./chunk-DWN4FQRW.js";
|
|
132
135
|
import {
|
|
133
|
-
|
|
134
|
-
} from "./chunk-
|
|
136
|
+
imTokenWallet
|
|
137
|
+
} from "./chunk-EHE2536P.js";
|
|
138
|
+
import {
|
|
139
|
+
iopayWallet
|
|
140
|
+
} from "./chunk-4KTCNBEZ.js";
|
|
135
141
|
import {
|
|
136
142
|
kaiaWallet
|
|
137
143
|
} from "./chunk-X3BXCZPF.js";
|
|
@@ -142,29 +148,26 @@ import {
|
|
|
142
148
|
klipWallet
|
|
143
149
|
} from "./chunk-WDL3NM5W.js";
|
|
144
150
|
import {
|
|
145
|
-
|
|
146
|
-
} from "./chunk-
|
|
151
|
+
krakenWallet
|
|
152
|
+
} from "./chunk-CYOZFCR6.js";
|
|
147
153
|
import {
|
|
148
154
|
ledgerWallet
|
|
149
155
|
} from "./chunk-BF3VSNPL.js";
|
|
150
156
|
import {
|
|
151
|
-
|
|
152
|
-
} from "./chunk-
|
|
153
|
-
import {
|
|
154
|
-
metaMaskWallet
|
|
155
|
-
} from "./chunk-YYWOGELV.js";
|
|
157
|
+
coinbaseWallet
|
|
158
|
+
} from "./chunk-PNEDRY6O.js";
|
|
156
159
|
import {
|
|
157
160
|
dawnWallet
|
|
158
161
|
} from "./chunk-GYKXFIR2.js";
|
|
159
162
|
import {
|
|
160
163
|
desigWallet
|
|
161
164
|
} from "./chunk-5DEGWPQO.js";
|
|
162
|
-
import {
|
|
163
|
-
enkryptWallet
|
|
164
|
-
} from "./chunk-UHVWJDT6.js";
|
|
165
165
|
import {
|
|
166
166
|
foxWallet
|
|
167
167
|
} from "./chunk-WJY36N2I.js";
|
|
168
|
+
import {
|
|
169
|
+
enkryptWallet
|
|
170
|
+
} from "./chunk-UHVWJDT6.js";
|
|
168
171
|
import {
|
|
169
172
|
frameWallet
|
|
170
173
|
} from "./chunk-DM3JOHQX.js";
|
|
@@ -174,21 +177,18 @@ import {
|
|
|
174
177
|
import {
|
|
175
178
|
gateWallet
|
|
176
179
|
} from "./chunk-S25DFPKE.js";
|
|
177
|
-
import {
|
|
178
|
-
imTokenWallet
|
|
179
|
-
} from "./chunk-EHE2536P.js";
|
|
180
180
|
import {
|
|
181
181
|
bitverseWallet
|
|
182
182
|
} from "./chunk-6HCSSBZY.js";
|
|
183
183
|
import {
|
|
184
184
|
bloomWallet
|
|
185
185
|
} from "./chunk-3KPCADAF.js";
|
|
186
|
-
import {
|
|
187
|
-
bybitWallet
|
|
188
|
-
} from "./chunk-2AJYFWBT.js";
|
|
189
186
|
import {
|
|
190
187
|
braveWallet
|
|
191
188
|
} from "./chunk-7AOQK5GH.js";
|
|
189
|
+
import {
|
|
190
|
+
bybitWallet
|
|
191
|
+
} from "./chunk-2AJYFWBT.js";
|
|
192
192
|
import {
|
|
193
193
|
clvWallet
|
|
194
194
|
} from "./chunk-QHXBBEB2.js";
|
|
@@ -204,6 +204,9 @@ import {
|
|
|
204
204
|
import {
|
|
205
205
|
argentWallet
|
|
206
206
|
} from "./chunk-XT2WYPN5.js";
|
|
207
|
+
import {
|
|
208
|
+
bestWallet
|
|
209
|
+
} from "./chunk-OPAPBEA5.js";
|
|
207
210
|
import {
|
|
208
211
|
berasigWallet
|
|
209
212
|
} from "./chunk-6WB5NVHI.js";
|
|
@@ -211,17 +214,14 @@ import {
|
|
|
211
214
|
bifrostWallet
|
|
212
215
|
} from "./chunk-KOZORVBW.js";
|
|
213
216
|
import {
|
|
214
|
-
|
|
215
|
-
} from "./chunk-
|
|
216
|
-
import {
|
|
217
|
-
bitgetWallet
|
|
218
|
-
} from "./chunk-DKEP5NZT.js";
|
|
217
|
+
binanceWallet
|
|
218
|
+
} from "./chunk-LGGIEH7O.js";
|
|
219
219
|
import {
|
|
220
220
|
bitskiWallet
|
|
221
221
|
} from "./chunk-QIR4GIBB.js";
|
|
222
222
|
import {
|
|
223
|
-
|
|
224
|
-
} from "./chunk-
|
|
223
|
+
bitgetWallet
|
|
224
|
+
} from "./chunk-DKEP5NZT.js";
|
|
225
225
|
import "./chunk-RETKWSKD.js";
|
|
226
226
|
import "./chunk-PODFK4OS.js";
|
|
227
227
|
import "./chunk-PONHGUSY.js";
|