@funkit/connect 9.21.1-next.0 → 9.23.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 +26 -18
- package/dist/clients/aave.d.ts +2 -0
- package/dist/clients/aave.js +3 -0
- package/dist/clients/{chunk-7HNGV6JU.js → chunk-KSSSSWR6.js} +1 -1
- package/dist/clients/{chunk-4HCOSF4M.js → chunk-NCCAYPLO.js} +1 -1
- package/dist/clients/{chunk-NCUPPJ2Z.js → chunk-OWXKWC7I.js} +8 -8
- package/dist/clients/{chunk-NUJ6ZM5F.js → chunk-ZMVXBMON.js} +1 -1
- package/dist/clients/fanatics.css +1 -1
- package/dist/clients/fanatics.js +3 -3
- package/dist/clients/lighter.css +1 -1
- package/dist/clients/lighter.js +3 -3
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +11 -11
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +5 -5
- package/dist/clients/polymarket/index.css +11 -11
- package/dist/clients/polymarket/index.js +5 -5
- package/dist/components/Icons/New/ArrowCircleUpRightIcon.d.ts +4 -0
- package/dist/domains/swapped.d.ts +10 -1
- package/dist/hooks/queries/useRecentCheckouts.d.ts +4 -2
- package/dist/hooks/queries/useRecentDeposits.d.ts +4 -9
- package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
- package/dist/hooks/useEffectEvent.d.ts +1 -3
- package/dist/hooks/usePaymentMethodTabs.d.ts +5 -0
- package/dist/hooks/usePaymentSources.d.ts +1 -1
- package/dist/hooks/useTokenTransferConfig.d.ts +0 -7
- package/dist/index.css +11 -11
- package/dist/index.js +1470 -1250
- package/dist/interfaces/identity.d.ts +7 -0
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLayout.d.ts +6 -1
- package/dist/modals/CheckoutModal/SourceChange/CryptoCashToggle.d.ts +2 -2
- package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +31 -0
- package/dist/providers/FunkitConfigContext.d.ts +2 -0
- package/dist/providers/SwappedProvider.d.ts +2 -2
- package/dist/utils/checkout.d.ts +18 -20
- package/dist/utils/customer.d.ts +13 -1
- package/dist/utils/tokenTransfer/disabledList.d.ts +14 -1
- package/dist/utils/tokenTransfer/types.d.ts +30 -5
- package/dist/wallets/walletConnectors/index.js +48 -48
- package/package.json +2 -2
- package/dist/__generated__/default_configs.d.ts +0 -901
- package/dist/__generated__/default_feature_gates.d.ts +0 -20
- package/dist/chunk-6K4U3Z4Z.js +0 -375
- package/dist/chunk-NBECXHBY.js +0 -249
- package/dist/chunk-PFIXC5YK.js +0 -249
- package/dist/clients/chunk-25ICASD7.js +0 -2371
- package/dist/clients/chunk-7GWX2ZS4.js +0 -69
- package/dist/clients/chunk-EGMA6ATZ.js +0 -2371
- package/dist/clients/chunk-GGXTLJ7J.js +0 -290
- package/dist/clients/chunk-HRWCNZJA.js +0 -230
- package/dist/clients/chunk-JTGKAPID.js +0 -2382
- package/dist/clients/chunk-L7PABCF2.js +0 -54
- package/dist/clients/chunk-OJLDTEKB.js +0 -54
- package/dist/clients/chunk-SSSQQ32F.js +0 -186
- package/dist/clients/chunk-UVWNEQMD.js +0 -186
- package/dist/clients/chunk-YLZ7COFH.js +0 -230
- package/dist/clients/chunk-ZEFHAWRH.js +0 -69
- package/dist/clients/polymarket.d.ts +0 -161
- package/dist/clients/polymarket.js +0 -688
- package/dist/interfaces/logTransport.d.ts +0 -51
- package/dist/interfaces/swapped-transport.d.ts +0 -78
- package/dist/modals/CheckoutModal/SourceChange/EmptyFormOfPaymentsMessage.d.ts +0 -4
- package/dist/modals/CheckoutModal/SourceChange/useUpdateSourceAssetForCard.d.ts +0 -4
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedErrorMessage.d.ts +0 -6
- package/dist/utils/flags/resolver.d.ts +0 -34
- package/dist/wallets/walletConnectors/chunk-2VP2F6EK.js +0 -70
- package/dist/wallets/walletConnectors/chunk-4T6ZSRJF.js +0 -69
- package/dist/wallets/walletConnectors/chunk-6BW3HLBG.js +0 -96
- package/dist/wallets/walletConnectors/chunk-CCQV2ZET.js +0 -218
- package/dist/wallets/walletConnectors/chunk-CPI4TD43.js +0 -99
- package/dist/wallets/walletConnectors/chunk-F5XEEVG6.js +0 -98
- package/dist/wallets/walletConnectors/chunk-HNRB7KJU.js +0 -92
- package/dist/wallets/walletConnectors/chunk-HTHAK6XB.js +0 -93
- package/dist/wallets/walletConnectors/chunk-MIQTHJ6X.js +0 -66
- package/dist/wallets/walletConnectors/chunk-RB3HR4R2.js +0 -95
- package/dist/wallets/walletConnectors/chunk-RVOY537T.js +0 -100
- package/dist/wallets/walletConnectors/chunk-STVVP43G.js +0 -94
- package/dist/wallets/walletConnectors/chunk-UK7C2JXW.js +0 -87
- package/dist/wallets/walletConnectors/chunk-VAPGUPHO.js +0 -92
- package/dist/wallets/walletConnectors/chunk-VTM6EECM.js +0 -110
- package/dist/wallets/walletConnectors/chunk-X6CGV36L.js +0 -103
- package/dist/wallets/walletConnectors/chunk-YEZM4CK4.js +0 -96
- package/dist/wallets/walletConnectors/chunk-ZNX4EMPB.js +0 -106
- /package/dist/clients/{chunk-JD3FIVZ7.js → chunk-52NKHZS2.js} +0 -0
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
11
|
-
import { isAndroid } from "@funkit/utils";
|
|
12
|
-
var bitgetWallet = ({
|
|
13
|
-
projectId,
|
|
14
|
-
walletConnectParameters
|
|
15
|
-
}) => {
|
|
16
|
-
const isBitKeepInjected = hasInjectedProvider({
|
|
17
|
-
namespace: "bitkeep.ethereum",
|
|
18
|
-
flag: "isBitKeep"
|
|
19
|
-
});
|
|
20
|
-
const shouldUseWalletConnect = !isBitKeepInjected;
|
|
21
|
-
return {
|
|
22
|
-
id: "bitget",
|
|
23
|
-
name: "Bitget Wallet",
|
|
24
|
-
rdns: "com.bitget.web3",
|
|
25
|
-
iconUrl: async () => (await import("./bitgetWallet-CBQAJOIK.js")).default,
|
|
26
|
-
iconAccent: "#f6851a",
|
|
27
|
-
iconBackground: "#fff",
|
|
28
|
-
installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
|
|
29
|
-
downloadUrls: {
|
|
30
|
-
android: "https://web3.bitget.com/en/wallet-download?type=0",
|
|
31
|
-
ios: "https://apps.apple.com/app/bitkeep/id1395301115",
|
|
32
|
-
mobile: "https://web3.bitget.com/en/wallet-download?type=2",
|
|
33
|
-
qrCode: "https://web3.bitget.com/en/wallet-download",
|
|
34
|
-
chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
|
|
35
|
-
browserExtension: "https://web3.bitget.com/en/wallet-download"
|
|
36
|
-
},
|
|
37
|
-
extension: {
|
|
38
|
-
instructions: {
|
|
39
|
-
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
40
|
-
steps: [
|
|
41
|
-
{
|
|
42
|
-
description: "wallet_connectors.bitget.extension.step1.description",
|
|
43
|
-
step: "install",
|
|
44
|
-
title: "wallet_connectors.bitget.extension.step1.title"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
description: "wallet_connectors.bitget.extension.step2.description",
|
|
48
|
-
step: "create",
|
|
49
|
-
title: "wallet_connectors.bitget.extension.step2.title"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
description: "wallet_connectors.bitget.extension.step3.description",
|
|
53
|
-
step: "refresh",
|
|
54
|
-
title: "wallet_connectors.bitget.extension.step3.description"
|
|
55
|
-
}
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
mobile: {
|
|
60
|
-
getUri: shouldUseWalletConnect ? (uri) => {
|
|
61
|
-
return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
|
|
62
|
-
} : void 0
|
|
63
|
-
},
|
|
64
|
-
qrCode: shouldUseWalletConnect ? {
|
|
65
|
-
getUri: (uri) => uri,
|
|
66
|
-
instructions: {
|
|
67
|
-
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
68
|
-
steps: [
|
|
69
|
-
{
|
|
70
|
-
description: "wallet_connectors.bitget.qr_code.step1.description",
|
|
71
|
-
step: "install",
|
|
72
|
-
title: "wallet_connectors.bitget.qr_code.step1.title"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
description: "wallet_connectors.bitget.qr_code.step2.description",
|
|
76
|
-
step: "create",
|
|
77
|
-
title: "wallet_connectors.bitget.qr_code.step2.title"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
description: "wallet_connectors.bitget.qr_code.step3.description",
|
|
81
|
-
step: "scan",
|
|
82
|
-
title: "wallet_connectors.bitget.qr_code.step3.title"
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
} : void 0,
|
|
87
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
88
|
-
projectId,
|
|
89
|
-
walletConnectParameters
|
|
90
|
-
}) : getInjectedConnector({
|
|
91
|
-
namespace: "bitkeep.ethereum",
|
|
92
|
-
flag: "isBitKeep"
|
|
93
|
-
})
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
export {
|
|
98
|
-
bitgetWallet
|
|
99
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.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-GOPAS32Q.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,92 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/gateWallet/gateWallet.ts
|
|
11
|
-
import { isAndroid } from "@funkit/utils";
|
|
12
|
-
var gateWallet = ({
|
|
13
|
-
projectId,
|
|
14
|
-
walletConnectParameters
|
|
15
|
-
}) => {
|
|
16
|
-
const isGateInjected = hasInjectedProvider({ namespace: "gatewallet" });
|
|
17
|
-
const shouldUseWalletConnect = !isGateInjected;
|
|
18
|
-
return {
|
|
19
|
-
id: "gate",
|
|
20
|
-
name: "Gate Wallet",
|
|
21
|
-
rdns: "io.gate.wallet",
|
|
22
|
-
iconUrl: async () => (await import("./gateWallet-CJNGQQCV.js")).default,
|
|
23
|
-
iconAccent: "#fff",
|
|
24
|
-
iconBackground: "#fff",
|
|
25
|
-
downloadUrls: {
|
|
26
|
-
android: "https://play.google.com/store/apps/details?id=com.gateio.gateio",
|
|
27
|
-
ios: "https://apps.apple.com/us/app/gate-io-buy-bitcoin-crypto/id1294998195",
|
|
28
|
-
mobile: "https://www.gate.io/mobileapp",
|
|
29
|
-
qrCode: "https://www.gate.io/web3",
|
|
30
|
-
chrome: "https://chromewebstore.google.com/detail/gate-wallet/cpmkedoipcpimgecpmgpldfpohjplkpp",
|
|
31
|
-
browserExtension: "https://www.gate.io/web3"
|
|
32
|
-
},
|
|
33
|
-
mobile: {
|
|
34
|
-
getUri: shouldUseWalletConnect ? (uri) => {
|
|
35
|
-
return isAndroid() ? uri : `gtweb3wallet://wc?uri=${encodeURIComponent(uri)}`;
|
|
36
|
-
} : void 0
|
|
37
|
-
},
|
|
38
|
-
qrCode: shouldUseWalletConnect ? {
|
|
39
|
-
getUri: (uri) => uri,
|
|
40
|
-
instructions: {
|
|
41
|
-
learnMoreUrl: "https://www.gate.io/learn",
|
|
42
|
-
steps: [
|
|
43
|
-
{
|
|
44
|
-
description: "wallet_connectors.gate.qr_code.step1.description",
|
|
45
|
-
step: "install",
|
|
46
|
-
title: "wallet_connectors.gate.qr_code.step1.title"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
description: "wallet_connectors.gate.qr_code.step2.description",
|
|
50
|
-
step: "create",
|
|
51
|
-
title: "wallet_connectors.gate.qr_code.step2.title"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
description: "wallet_connectors.gate.qr_code.step3.description",
|
|
55
|
-
step: "scan",
|
|
56
|
-
title: "wallet_connectors.gate.qr_code.step3.title"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
} : void 0,
|
|
61
|
-
extension: {
|
|
62
|
-
instructions: {
|
|
63
|
-
learnMoreUrl: "https://www.gate.io/learn",
|
|
64
|
-
steps: [
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.gate.extension.step1.description",
|
|
67
|
-
step: "install",
|
|
68
|
-
title: "wallet_connectors.gate.extension.step1.title"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.gate.extension.step2.description",
|
|
72
|
-
step: "create",
|
|
73
|
-
title: "wallet_connectors.gate.extension.step2.title"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
description: "wallet_connectors.gate.extension.step3.description",
|
|
77
|
-
step: "refresh",
|
|
78
|
-
title: "wallet_connectors.gate.extension.step3.title"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
84
|
-
projectId,
|
|
85
|
-
walletConnectParameters
|
|
86
|
-
}) : getInjectedConnector({ namespace: "gatewallet" })
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export {
|
|
91
|
-
gateWallet
|
|
92
|
-
};
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
|
|
11
|
-
import { isMobile } from "@funkit/utils";
|
|
12
|
-
var tokenPocketWallet = ({
|
|
13
|
-
projectId,
|
|
14
|
-
walletConnectParameters
|
|
15
|
-
}) => {
|
|
16
|
-
const isTokenPocketInjected = hasInjectedProvider({ flag: "isTokenPocket" });
|
|
17
|
-
const shouldUseWalletConnect = !isTokenPocketInjected;
|
|
18
|
-
const getUri = (uri) => {
|
|
19
|
-
return isMobile() ? `tpoutside://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
20
|
-
};
|
|
21
|
-
return {
|
|
22
|
-
id: "tokenPocket",
|
|
23
|
-
name: "TokenPocket",
|
|
24
|
-
rdns: "pro.tokenpocket",
|
|
25
|
-
iconUrl: async () => (await import("./tokenPocketWallet-FLFG3JUQ.js")).default,
|
|
26
|
-
iconBackground: "#2980FE",
|
|
27
|
-
installed: !shouldUseWalletConnect ? isTokenPocketInjected : void 0,
|
|
28
|
-
downloadUrls: {
|
|
29
|
-
chrome: "https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii",
|
|
30
|
-
browserExtension: "https://extension.tokenpocket.pro/",
|
|
31
|
-
android: "https://play.google.com/store/apps/details?id=vip.mytokenpocket",
|
|
32
|
-
ios: "https://apps.apple.com/us/app/tp-global-wallet/id6444625622",
|
|
33
|
-
qrCode: "https://tokenpocket.pro/en/download/app",
|
|
34
|
-
mobile: "https://tokenpocket.pro/en/download/app"
|
|
35
|
-
},
|
|
36
|
-
mobile: {
|
|
37
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
38
|
-
},
|
|
39
|
-
qrCode: shouldUseWalletConnect ? {
|
|
40
|
-
getUri,
|
|
41
|
-
instructions: {
|
|
42
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/",
|
|
43
|
-
steps: [
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.token_pocket.qr_code.step1.description",
|
|
46
|
-
step: "install",
|
|
47
|
-
title: "wallet_connectors.token_pocket.qr_code.step1.title"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.token_pocket.qr_code.step2.description",
|
|
51
|
-
step: "create",
|
|
52
|
-
title: "wallet_connectors.token_pocket.qr_code.step2.title"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
description: "wallet_connectors.token_pocket.qr_code.step3.description",
|
|
56
|
-
step: "scan",
|
|
57
|
-
title: "wallet_connectors.token_pocket.qr_code.step3.title"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
} : void 0,
|
|
62
|
-
extension: {
|
|
63
|
-
instructions: {
|
|
64
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/extension-wallet/faq/installation-tutorial",
|
|
65
|
-
steps: [
|
|
66
|
-
{
|
|
67
|
-
description: "wallet_connectors.token_pocket.extension.step1.description",
|
|
68
|
-
step: "install",
|
|
69
|
-
title: "wallet_connectors.token_pocket.extension.step1.title"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.token_pocket.extension.step2.description",
|
|
73
|
-
step: "create",
|
|
74
|
-
title: "wallet_connectors.token_pocket.extension.step2.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.token_pocket.extension.step3.description",
|
|
78
|
-
step: "refresh",
|
|
79
|
-
title: "wallet_connectors.token_pocket.extension.step3.title"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
85
|
-
projectId,
|
|
86
|
-
walletConnectParameters
|
|
87
|
-
}) : getInjectedConnector({ flag: "isTokenPocket" })
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
export {
|
|
92
|
-
tokenPocketWallet
|
|
93
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/foxWallet/foxWallet.ts
|
|
11
|
-
var foxWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isFoxInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "foxwallet.ethereum"
|
|
17
|
-
});
|
|
18
|
-
const shouldUseWalletConnect = !isFoxInjected;
|
|
19
|
-
return {
|
|
20
|
-
id: "foxwallet",
|
|
21
|
-
name: "FoxWallet",
|
|
22
|
-
iconUrl: async () => (await import("./foxWallet-I7D5KIW4.js")).default,
|
|
23
|
-
iconBackground: "#fff",
|
|
24
|
-
downloadUrls: {
|
|
25
|
-
android: "https://play.google.com/store/apps/details?id=com.foxwallet.play",
|
|
26
|
-
ios: "https://apps.apple.com/app/foxwallet-crypto-web3/id1590983231",
|
|
27
|
-
qrCode: "https://foxwallet.com/download"
|
|
28
|
-
},
|
|
29
|
-
mobile: {
|
|
30
|
-
getUri: shouldUseWalletConnect ? (uri) => {
|
|
31
|
-
return `foxwallet://wc?uri=${encodeURIComponent(uri)}`;
|
|
32
|
-
} : void 0
|
|
33
|
-
},
|
|
34
|
-
qrCode: shouldUseWalletConnect ? {
|
|
35
|
-
getUri: (uri) => uri,
|
|
36
|
-
instructions: {
|
|
37
|
-
learnMoreUrl: "https://foxwallet.com",
|
|
38
|
-
steps: [
|
|
39
|
-
{
|
|
40
|
-
description: "wallet_connectors.fox.qr_code.step1.description",
|
|
41
|
-
step: "install",
|
|
42
|
-
title: "wallet_connectors.fox.qr_code.step1.title"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.fox.qr_code.step2.description",
|
|
46
|
-
step: "create",
|
|
47
|
-
title: "wallet_connectors.fox.qr_code.step2.title"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.fox.qr_code.step3.description",
|
|
51
|
-
step: "scan",
|
|
52
|
-
title: "wallet_connectors.fox.qr_code.step3.title"
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
} : void 0,
|
|
57
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
58
|
-
projectId,
|
|
59
|
-
walletConnectParameters
|
|
60
|
-
}) : getInjectedConnector({ namespace: "foxwallet.ethereum" })
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export {
|
|
65
|
-
foxWallet
|
|
66
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/coreWallet/coreWallet.ts
|
|
11
|
-
var coreWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isCoreInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "avalanche",
|
|
17
|
-
flag: "isAvalanche"
|
|
18
|
-
});
|
|
19
|
-
const shouldUseWalletConnect = !isCoreInjected;
|
|
20
|
-
return {
|
|
21
|
-
id: "core",
|
|
22
|
-
name: "Core",
|
|
23
|
-
rdns: "app.core.extension",
|
|
24
|
-
iconUrl: async () => (await import("./coreWallet-RFVUHOVE.js")).default,
|
|
25
|
-
iconBackground: "#1A1A1C",
|
|
26
|
-
installed: !shouldUseWalletConnect ? isCoreInjected : void 0,
|
|
27
|
-
downloadUrls: {
|
|
28
|
-
android: "https://play.google.com/store/apps/details?id=com.avaxwallet",
|
|
29
|
-
ios: "https://apps.apple.com/us/app/core-wallet/id6443685999",
|
|
30
|
-
mobile: "https://core.app/?downloadCoreMobile=1",
|
|
31
|
-
qrCode: "https://core.app/?downloadCoreMobile=1",
|
|
32
|
-
chrome: "https://chrome.google.com/webstore/detail/core-crypto-wallet-nft-ex/agoakfejjabomempkjlepdflaleeobhb",
|
|
33
|
-
browserExtension: "https://extension.core.app/"
|
|
34
|
-
},
|
|
35
|
-
mobile: {
|
|
36
|
-
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
37
|
-
},
|
|
38
|
-
qrCode: shouldUseWalletConnect ? {
|
|
39
|
-
getUri: (uri) => uri,
|
|
40
|
-
instructions: {
|
|
41
|
-
learnMoreUrl: "https://support.avax.network/en/articles/6115608-core-mobile-how-to-add-the-core-mobile-to-my-phone",
|
|
42
|
-
steps: [
|
|
43
|
-
{
|
|
44
|
-
description: "wallet_connectors.core.qr_code.step1.description",
|
|
45
|
-
step: "install",
|
|
46
|
-
title: "wallet_connectors.core.qr_code.step1.title"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
description: "wallet_connectors.core.qr_code.step2.description",
|
|
50
|
-
step: "create",
|
|
51
|
-
title: "wallet_connectors.core.qr_code.step2.title"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
description: "wallet_connectors.core.qr_code.step3.description",
|
|
55
|
-
step: "scan",
|
|
56
|
-
title: "wallet_connectors.core.qr_code.step3.title"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
} : void 0,
|
|
61
|
-
extension: {
|
|
62
|
-
instructions: {
|
|
63
|
-
learnMoreUrl: "https://extension.core.app/",
|
|
64
|
-
steps: [
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.core.extension.step1.description",
|
|
67
|
-
step: "install",
|
|
68
|
-
title: "wallet_connectors.core.extension.step1.title"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.core.extension.step2.description",
|
|
72
|
-
step: "create",
|
|
73
|
-
title: "wallet_connectors.core.extension.step2.title"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
description: "wallet_connectors.core.extension.step3.description",
|
|
77
|
-
step: "refresh",
|
|
78
|
-
title: "wallet_connectors.core.extension.step3.title"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
84
|
-
projectId,
|
|
85
|
-
walletConnectParameters
|
|
86
|
-
}) : getInjectedConnector({
|
|
87
|
-
namespace: "avalanche",
|
|
88
|
-
flag: "isAvalanche"
|
|
89
|
-
})
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export {
|
|
94
|
-
coreWallet
|
|
95
|
-
};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
|
|
11
|
-
import { isIOS } from "@funkit/utils";
|
|
12
|
-
var zerionWallet = ({
|
|
13
|
-
projectId,
|
|
14
|
-
walletConnectParameters
|
|
15
|
-
}) => {
|
|
16
|
-
const isZerionInjected = hasInjectedProvider({
|
|
17
|
-
namespace: "zerionWallet",
|
|
18
|
-
flag: "isZerion"
|
|
19
|
-
});
|
|
20
|
-
const shouldUseWalletConnect = !isZerionInjected;
|
|
21
|
-
const getUri = (uri) => {
|
|
22
|
-
return isIOS() ? `zerion://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
23
|
-
};
|
|
24
|
-
return {
|
|
25
|
-
id: "zerion",
|
|
26
|
-
name: "Zerion",
|
|
27
|
-
rdns: "io.zerion.wallet",
|
|
28
|
-
iconUrl: async () => (await import("./zerionWallet-SEPREHKH.js")).default,
|
|
29
|
-
iconAccent: "#2962ef",
|
|
30
|
-
iconBackground: "#2962ef",
|
|
31
|
-
installed: !shouldUseWalletConnect ? isZerionInjected : void 0,
|
|
32
|
-
downloadUrls: {
|
|
33
|
-
android: "https://play.google.com/store/apps/details?id=io.zerion.android",
|
|
34
|
-
ios: "https://apps.apple.com/app/apple-store/id1456732565",
|
|
35
|
-
mobile: "https://link.zerion.io/pt3gdRP0njb",
|
|
36
|
-
qrCode: "https://link.zerion.io/pt3gdRP0njb",
|
|
37
|
-
chrome: "https://chrome.google.com/webstore/detail/klghhnkeealcohjjanjjdaeeggmfmlpl",
|
|
38
|
-
browserExtension: "https://zerion.io/extension"
|
|
39
|
-
},
|
|
40
|
-
mobile: {
|
|
41
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
42
|
-
},
|
|
43
|
-
qrCode: shouldUseWalletConnect ? {
|
|
44
|
-
getUri,
|
|
45
|
-
instructions: {
|
|
46
|
-
learnMoreUrl: "https://zerion.io/blog/announcing-the-zerion-smart-wallet/",
|
|
47
|
-
steps: [
|
|
48
|
-
{
|
|
49
|
-
description: "wallet_connectors.zerion.qr_code.step1.description",
|
|
50
|
-
step: "install",
|
|
51
|
-
title: "wallet_connectors.zerion.qr_code.step1.title"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
description: "wallet_connectors.zerion.qr_code.step2.description",
|
|
55
|
-
step: "create",
|
|
56
|
-
title: "wallet_connectors.zerion.qr_code.step2.title"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
description: "wallet_connectors.zerion.qr_code.step3.description",
|
|
60
|
-
step: "scan",
|
|
61
|
-
title: "wallet_connectors.zerion.qr_code.step3.title"
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
} : void 0,
|
|
66
|
-
extension: {
|
|
67
|
-
instructions: {
|
|
68
|
-
learnMoreUrl: "https://help.zerion.io/en/",
|
|
69
|
-
steps: [
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.zerion.extension.step1.description",
|
|
72
|
-
step: "install",
|
|
73
|
-
title: "wallet_connectors.zerion.extension.step1.title"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
description: "wallet_connectors.zerion.extension.step2.description",
|
|
77
|
-
step: "create",
|
|
78
|
-
title: "wallet_connectors.zerion.extension.step2.title"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
description: "wallet_connectors.zerion.extension.step3.description",
|
|
82
|
-
step: "refresh",
|
|
83
|
-
title: "wallet_connectors.zerion.extension.step3.title"
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
89
|
-
projectId,
|
|
90
|
-
walletConnectParameters
|
|
91
|
-
}) : getInjectedConnector({
|
|
92
|
-
namespace: "zerionWallet",
|
|
93
|
-
flag: "isZerion"
|
|
94
|
-
})
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
export {
|
|
99
|
-
zerionWallet
|
|
100
|
-
};
|