@funkit/connect 5.3.1 → 5.3.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/{chunk-C63T33UV.js → chunk-AIST42FG.js} +8 -7
  3. package/dist/{chunk-LEJS74SX.js → chunk-ZX757M5P.js} +8 -7
  4. package/dist/components/Box/Box.d.ts +28 -28
  5. package/dist/components/Dialog/Dialog.d.ts +1 -5
  6. package/dist/components/Dropdown/BaseDropdown.d.ts +1 -3
  7. package/dist/components/Dropdown/ChainDropdown.d.ts +1 -3
  8. package/dist/components/FunCheckoutModalHeightAnimationWrapper/FunCheckoutModalHeightAnimationWrapper.d.ts +9 -0
  9. package/dist/components/QRCode/QRCodeSkeletonLoader.d.ts +3 -1
  10. package/dist/consts/customers.d.ts +1 -0
  11. package/dist/css/sprinkles.css.d.ts +42 -38
  12. package/dist/domains/relay.d.ts +1 -0
  13. package/dist/index.css +2152 -1984
  14. package/dist/index.js +14499 -14442
  15. package/dist/providers/FunkitThemeProvider.d.ts +21 -15
  16. package/dist/themes/darkTheme.js +1 -1
  17. package/dist/themes/lightTheme.js +1 -1
  18. package/dist/utils/flags/config.d.ts +9 -0
  19. package/dist/wallets/walletConnectors/index.js +49 -49
  20. package/package.json +6 -6
  21. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
  22. package/dist/wallets/walletConnectors/chunk-3NC26XLM.js +0 -92
  23. package/dist/wallets/walletConnectors/chunk-3U3BMEH5.js +0 -94
  24. package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +0 -103
  25. package/dist/wallets/walletConnectors/chunk-545L7Y4M.js +0 -69
  26. package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +0 -110
  27. package/dist/wallets/walletConnectors/chunk-7GSNBOD3.js +0 -99
  28. package/dist/wallets/walletConnectors/chunk-ETTNDQQG.js +0 -100
  29. package/dist/wallets/walletConnectors/chunk-FRGSRLTS.js +0 -93
  30. package/dist/wallets/walletConnectors/chunk-HKV7EMYZ.js +0 -96
  31. package/dist/wallets/walletConnectors/chunk-IPOC2VJX.js +0 -106
  32. package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +0 -95
  33. package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +0 -96
  34. package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +0 -87
  35. package/dist/wallets/walletConnectors/chunk-MOOBCMMB.js +0 -70
  36. package/dist/wallets/walletConnectors/chunk-N2NIIUW6.js +0 -146
  37. package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +0 -98
  38. 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
- };