@funkit/connect 5.5.13-next.0 → 5.5.13-next.2
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 +33 -0
- package/dist/components/AnimatedDollarValue/AnimatedDollarValue.d.ts +1 -0
- package/dist/components/Dropdown/ChainDropdown.d.ts +3 -1
- package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +5 -2
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +1 -2
- package/dist/components/TransferTokenDetails/TransferTokenDetails.d.ts +1 -2
- package/dist/components/Withdraw/WithdrawContent.d.ts +5 -3
- package/dist/domains/meld.d.ts +19 -0
- package/dist/hooks/queries/useWithdrawalRisk.d.ts +1 -0
- package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +1 -0
- package/dist/hooks/useCheckoutTransferInit.d.ts +4 -2
- package/dist/hooks/useTokenChain.d.ts +3 -1
- package/dist/hooks/useTokenTransfer.d.ts +4 -1
- package/dist/hooks/useWithdrawal.d.ts +15 -0
- package/dist/index.js +12316 -12231
- package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +1 -0
- package/dist/modals/CheckoutModal/InputAmount/InputAmount.d.ts +1 -0
- package/dist/modals/CheckoutModal/LoadingAccount.d.ts +6 -2
- package/dist/modals/CheckoutModal/SelectAsset.d.ts +1 -0
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +7 -2
- package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +1 -0
- package/dist/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.d.ts +1 -0
- package/dist/providers/FunkitCheckoutContext.d.ts +3 -2
- package/dist/utils/directExecution.d.ts +2 -4
- package/dist/utils/flags/config.d.ts +8 -12
- package/dist/wallets/walletConnectors/index.js +47 -47
- package/package.json +6 -6
- package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
- package/dist/wallets/walletConnectors/chunk-3NC26XLM.js +0 -92
- package/dist/wallets/walletConnectors/chunk-3U3BMEH5.js +0 -94
- package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +0 -103
- package/dist/wallets/walletConnectors/chunk-545L7Y4M.js +0 -69
- package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +0 -110
- package/dist/wallets/walletConnectors/chunk-7GSNBOD3.js +0 -99
- package/dist/wallets/walletConnectors/chunk-ETTNDQQG.js +0 -100
- package/dist/wallets/walletConnectors/chunk-FRGSRLTS.js +0 -93
- package/dist/wallets/walletConnectors/chunk-HKV7EMYZ.js +0 -96
- package/dist/wallets/walletConnectors/chunk-IPOC2VJX.js +0 -106
- package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +0 -95
- package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +0 -96
- package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +0 -87
- package/dist/wallets/walletConnectors/chunk-MOOBCMMB.js +0 -70
- package/dist/wallets/walletConnectors/chunk-N2NIIUW6.js +0 -146
- package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +0 -98
- package/dist/wallets/walletConnectors/chunk-XYBEMO3C.js +0 -66
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-23WIEY36.js";
|
|
9
|
-
|
|
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,66 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-23WIEY36.js";
|
|
9
|
-
|
|
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
|
-
};
|