@funkit/connect 10.2.1 → 10.4.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.
Files changed (145) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/{chunk-36KVHK22.js → chunk-L67HP4HQ.js} +1 -1
  3. package/dist/clients/chunk-2YWQL3AO.js +46 -0
  4. package/dist/clients/chunk-APQYFP6X.js +207 -0
  5. package/dist/clients/chunk-BNMZM23Q.js +42 -0
  6. package/dist/clients/chunk-HOORQPSY.js +4660 -0
  7. package/dist/clients/chunk-II5CZTBC.js +18 -0
  8. package/dist/clients/chunk-KNHO756P.js +28 -0
  9. package/dist/clients/chunk-L2KSNS7H.js +112 -0
  10. package/dist/clients/{chunk-ZAXSDMDU.js → chunk-M6C7MBQN.js} +2 -2
  11. package/dist/clients/chunk-OZ3KD24N.js +107 -0
  12. package/dist/clients/{chunk-E3USJY7A.js → chunk-RCMAGKMG.js} +35 -4
  13. package/dist/clients/fanatics.js +1 -1
  14. package/dist/clients/internal/nado/consts.d.ts +16 -0
  15. package/dist/clients/internal/nado/consts.js +13 -0
  16. package/dist/clients/internal/nado/encoding.d.ts +22 -0
  17. package/dist/clients/internal/nado/encoding.js +32 -0
  18. package/dist/clients/internal/nado/errors.d.ts +55 -0
  19. package/dist/clients/internal/nado/errors.js +15 -0
  20. package/dist/clients/internal/nado/fetch.d.ts +15 -0
  21. package/dist/clients/internal/nado/fetch.js +9 -0
  22. package/dist/clients/internal/nado/gateway.d.ts +83 -0
  23. package/dist/clients/internal/nado/gateway.js +23 -0
  24. package/dist/clients/internal/nado/hooks.d.ts +360 -0
  25. package/dist/clients/internal/nado/hooks.js +132 -0
  26. package/dist/clients/internal/nado/indexer.d.ts +43 -0
  27. package/dist/clients/internal/nado/indexer.js +13 -0
  28. package/dist/clients/internal/nado/products.d.ts +36 -0
  29. package/dist/clients/internal/nado/products.js +19 -0
  30. package/dist/clients/internal/nado/typedData.d.ts +80 -0
  31. package/dist/clients/internal/nado/typedData.js +43 -0
  32. package/dist/clients/lighter.css +12 -1
  33. package/dist/clients/lighter.js +118 -42
  34. package/dist/clients/mallard.js +9 -24
  35. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +12 -1
  36. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +3 -3
  37. package/dist/clients/polymarket/index.css +12 -1
  38. package/dist/clients/polymarket/index.js +3 -3
  39. package/dist/components/ChainIcon/ChainIcon.d.ts +16 -0
  40. package/dist/components/Dialog/Dialog.d.ts +1 -1
  41. package/dist/components/Dialog/hooks.d.ts +1 -2
  42. package/dist/components/FreeUsdcBanner/FreeUsdcBanner.d.ts +1 -1
  43. package/dist/components/FunAssetAvatar/FunAssetAvatar.d.ts +1 -2
  44. package/dist/components/FunInput/FunInput.d.ts +2 -0
  45. package/dist/components/FunkitTrans.d.ts +14 -0
  46. package/dist/hooks/useChainMetadata.d.ts +11 -0
  47. package/dist/hooks/useFunkitTranslation.d.ts +3 -1
  48. package/dist/hooks/usePaymentMethodTabs.d.ts +10 -1
  49. package/dist/hooks/useSwappedIframeLifecycle.d.ts +5 -2
  50. package/dist/hooks/useSwappedPreload.d.ts +8 -3
  51. package/dist/hooks/useUserIpInfo.d.ts +1 -19
  52. package/dist/index.css +12 -1
  53. package/dist/index.js +15902 -15844
  54. package/dist/modals/CheckoutModal/InputAmount/InputAmount.css.d.ts +1 -0
  55. package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsList.d.ts +6 -2
  56. package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +29 -0
  57. package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframe.d.ts +4 -1
  58. package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeController.d.ts +3 -0
  59. package/dist/modals/CheckoutModal/Withdrawal/WithdrawalComplete.d.ts +15 -1
  60. package/dist/modals/CheckoutModal/Withdrawal/WithdrawalEnterAmount.d.ts +12 -1
  61. package/dist/modals/CheckoutModal/isWithdrawalStep.d.ts +25 -0
  62. package/dist/modals/WithdrawalModal/WithdrawalContent.d.ts +15 -1
  63. package/dist/modals/WithdrawalModal/WithdrawalMethodSelect.d.ts +5 -1
  64. package/dist/providers/FunkitCheckoutContext/index.d.ts +15 -1
  65. package/dist/providers/FunkitCheckoutContext/types.d.ts +34 -5
  66. package/dist/providers/FunkitConfigContext.d.ts +4 -0
  67. package/dist/providers/FunkitI18nProvider.d.ts +6 -2
  68. package/dist/providers/SwappedProvider.d.ts +5 -3
  69. package/dist/themes/darkTheme.js +1 -1
  70. package/dist/utils/tokenIconUrl.d.ts +5 -0
  71. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  72. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  73. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  74. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  75. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  76. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  77. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  78. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  79. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  80. package/dist/wallets/walletConnectors/index.js +59 -59
  81. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  82. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  83. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  84. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  85. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  86. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  87. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  88. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  89. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  90. package/package.json +7 -5
  91. package/dist/clients/chunk-STLOQEN7.js +0 -11
  92. package/dist/components/FunInput/FunTextAreaInput.css.d.ts +0 -1
  93. package/dist/components/FunInput/FunTextAreaInput.d.ts +0 -3
  94. package/dist/components/Icons/AcornsIcon.d.ts +0 -4
  95. package/dist/components/Icons/AlpacaIcon.d.ts +0 -4
  96. package/dist/components/Icons/BitFlyerIcon.d.ts +0 -4
  97. package/dist/components/Icons/BitfinexIcon.d.ts +0 -4
  98. package/dist/components/Icons/BitstampIcon.d.ts +0 -4
  99. package/dist/components/Icons/BrokerageIcon.d.ts +0 -4
  100. package/dist/components/Icons/CexloIcon.d.ts +0 -4
  101. package/dist/components/Icons/CoinlistIcon.d.ts +0 -4
  102. package/dist/components/Icons/CryptoComIcon.d.ts +0 -4
  103. package/dist/components/Icons/CryptoIcon.d.ts +0 -2
  104. package/dist/components/Icons/DeviceConfirmationIcon.d.ts +0 -2
  105. package/dist/components/Icons/EmailConfirmationIcon.d.ts +0 -2
  106. package/dist/components/Icons/EtoroIcon.d.ts +0 -4
  107. package/dist/components/Icons/EtradeIcon.d.ts +0 -4
  108. package/dist/components/Icons/HuobiIcon.d.ts +0 -4
  109. package/dist/components/Icons/KucoinIcon.d.ts +0 -4
  110. package/dist/components/Icons/LightningBoltIcon.d.ts +0 -4
  111. package/dist/components/Icons/LockIcon.d.ts +0 -4
  112. package/dist/components/Icons/MailIcon.d.ts +0 -6
  113. package/dist/components/Icons/New/LinkExternalIcon.d.ts +0 -4
  114. package/dist/components/Icons/New/MessageIcon.d.ts +0 -2
  115. package/dist/components/Icons/OkcoinIcon.d.ts +0 -4
  116. package/dist/components/Icons/OkxIcon.d.ts +0 -4
  117. package/dist/components/Icons/PublicIcon.d.ts +0 -4
  118. package/dist/components/Icons/RobinhoodIcon.d.ts +0 -4
  119. package/dist/components/Icons/SocialMediaIcons.d.ts +0 -13
  120. package/dist/components/Icons/SocialsIcon.d.ts +0 -2
  121. package/dist/components/Icons/StashIcon.d.ts +0 -4
  122. package/dist/components/Icons/WeBullIcon.d.ts +0 -4
  123. package/dist/components/Icons/WhitelistIcon.d.ts +0 -2
  124. package/dist/hooks/useIsUsUser.d.ts +0 -1
  125. package/dist/utils/privyHelper.d.ts +0 -3
  126. package/dist/utils/safeJSON.d.ts +0 -5
  127. package/dist/utils/tokenTransfer/disabledList.d.ts +0 -1
  128. package/dist/wallets/walletConnectors/{chunk-RB3HR4R2.js → chunk-4NV5BYRP.js} +3 -3
  129. package/dist/wallets/walletConnectors/{chunk-YEZM4CK4.js → chunk-AVDUNQUW.js} +3 -3
  130. package/dist/wallets/walletConnectors/{chunk-MIQTHJ6X.js → chunk-GUQM4QSL.js} +3 -3
  131. package/dist/wallets/walletConnectors/{chunk-4T6ZSRJF.js → chunk-IULPZP2Q.js} +3 -3
  132. package/dist/wallets/walletConnectors/{chunk-HNRB7KJU.js → chunk-JPN6TWIT.js} +3 -3
  133. package/dist/wallets/walletConnectors/{chunk-ZNX4EMPB.js → chunk-KCRO2AGO.js} +3 -3
  134. package/dist/wallets/walletConnectors/{chunk-STVVP43G.js → chunk-KI5Y2BBF.js} +3 -3
  135. package/dist/wallets/walletConnectors/{chunk-X6CGV36L.js → chunk-NR2OGDHQ.js} +3 -3
  136. package/dist/wallets/walletConnectors/{chunk-UK7C2JXW.js → chunk-OEEGYENV.js} +3 -3
  137. package/dist/wallets/walletConnectors/{chunk-F5XEEVG6.js → chunk-OX37G4YT.js} +3 -3
  138. package/dist/wallets/walletConnectors/{chunk-RVOY537T.js → chunk-SWFF3TWJ.js} +3 -3
  139. package/dist/wallets/walletConnectors/{chunk-CPI4TD43.js → chunk-TKB2OY6G.js} +3 -3
  140. package/dist/wallets/walletConnectors/{chunk-2VP2F6EK.js → chunk-W2LCLDPX.js} +3 -3
  141. package/dist/wallets/walletConnectors/{chunk-6BW3HLBG.js → chunk-WAHGI5L7.js} +3 -3
  142. package/dist/wallets/walletConnectors/{chunk-HTHAK6XB.js → chunk-WKNQMP4A.js} +3 -3
  143. package/dist/wallets/walletConnectors/{chunk-VTM6EECM.js → chunk-XCNHV3HS.js} +3 -3
  144. package/dist/wallets/walletConnectors/{chunk-CCQV2ZET.js → chunk-YO2K4MBH.js} +3 -3
  145. package/dist/wallets/walletConnectors/{chunk-VAPGUPHO.js → chunk-YQFGVZGR.js} +3 -3
@@ -1,22 +1,28 @@
1
1
  "use client";
2
2
  import {
3
- uniswapWallet
4
- } from "./chunk-Z3PPW6NC.js";
3
+ zealWallet
4
+ } from "./chunk-52QXXLDS.js";
5
5
  import {
6
- mewWallet
7
- } from "./chunk-MQM45ADF.js";
6
+ zerionWallet
7
+ } from "./chunk-SWFF3TWJ.js";
8
+ import {
9
+ tahoWallet
10
+ } from "./chunk-7ZYCBDQ4.js";
8
11
  import {
9
12
  tokenPocketWallet
10
- } from "./chunk-HTHAK6XB.js";
13
+ } from "./chunk-WKNQMP4A.js";
11
14
  import {
12
15
  tokenaryWallet
13
16
  } from "./chunk-VH3THHJY.js";
17
+ import {
18
+ talismanWallet
19
+ } from "./chunk-4DCO3TGL.js";
14
20
  import {
15
21
  trustWallet
16
- } from "./chunk-ZNX4EMPB.js";
22
+ } from "./chunk-KCRO2AGO.js";
17
23
  import {
18
- oneInchWallet
19
- } from "./chunk-QG6ZHI7B.js";
24
+ uniswapWallet
25
+ } from "./chunk-Z3PPW6NC.js";
20
26
  import {
21
27
  walletConnectWallet
22
28
  } from "./chunk-3FCWJRI4.js";
@@ -24,17 +30,17 @@ import {
24
30
  xdefiWallet
25
31
  } from "./chunk-JN5I3DNC.js";
26
32
  import {
27
- zealWallet
28
- } from "./chunk-52QXXLDS.js";
33
+ rabbyWallet
34
+ } from "./chunk-RB66PKPA.js";
29
35
  import {
30
- zerionWallet
31
- } from "./chunk-RVOY537T.js";
36
+ rainbowWallet
37
+ } from "./chunk-W2LCLDPX.js";
32
38
  import {
33
39
  ramperWallet
34
40
  } from "./chunk-OQB55QXP.js";
35
41
  import {
36
42
  roninWallet
37
- } from "./chunk-VAPGUPHO.js";
43
+ } from "./chunk-YQFGVZGR.js";
38
44
  import {
39
45
  safeWallet
40
46
  } from "./chunk-RCY66YHF.js";
@@ -43,52 +49,46 @@ import {
43
49
  } from "./chunk-76S7R2ND.js";
44
50
  import {
45
51
  safepalWallet
46
- } from "./chunk-VTM6EECM.js";
52
+ } from "./chunk-XCNHV3HS.js";
47
53
  import {
48
54
  subWallet
49
- } from "./chunk-X6CGV36L.js";
50
- import {
51
- tahoWallet
52
- } from "./chunk-7ZYCBDQ4.js";
53
- import {
54
- talismanWallet
55
- } from "./chunk-4DCO3TGL.js";
55
+ } from "./chunk-NR2OGDHQ.js";
56
56
  import {
57
57
  metaMaskWallet
58
- } from "./chunk-CCQV2ZET.js";
58
+ } from "./chunk-YO2K4MBH.js";
59
+ import {
60
+ mewWallet
61
+ } from "./chunk-MQM45ADF.js";
59
62
  import {
60
63
  oktoWallet
61
64
  } from "./chunk-YWOVAU6O.js";
62
- import {
63
- okxWallet
64
- } from "./chunk-STVVP43G.js";
65
65
  import {
66
66
  omniWallet
67
67
  } from "./chunk-2CX7LX4J.js";
68
+ import {
69
+ okxWallet
70
+ } from "./chunk-KI5Y2BBF.js";
71
+ import {
72
+ oneInchWallet
73
+ } from "./chunk-QG6ZHI7B.js";
68
74
  import {
69
75
  oneKeyWallet
70
76
  } from "./chunk-WVT6BBJH.js";
71
77
  import {
72
78
  phantomWallet
73
79
  } from "./chunk-QY53O7WG.js";
74
- import {
75
- rabbyWallet
76
- } from "./chunk-RB66PKPA.js";
77
- import {
78
- rainbowWallet
79
- } from "./chunk-2VP2F6EK.js";
80
80
  import {
81
81
  foxWallet
82
- } from "./chunk-MIQTHJ6X.js";
82
+ } from "./chunk-GUQM4QSL.js";
83
83
  import {
84
84
  frameWallet
85
85
  } from "./chunk-BU3ZAT5X.js";
86
86
  import {
87
87
  frontierWallet
88
- } from "./chunk-YEZM4CK4.js";
88
+ } from "./chunk-AVDUNQUW.js";
89
89
  import {
90
90
  gateWallet
91
- } from "./chunk-HNRB7KJU.js";
91
+ } from "./chunk-JPN6TWIT.js";
92
92
  import {
93
93
  imTokenWallet
94
94
  } from "./chunk-WNAGGFMG.js";
@@ -102,52 +102,52 @@ import {
102
102
  ledgerWallet
103
103
  } from "./chunk-RPV27V2Y.js";
104
104
  import {
105
- coinbaseWallet
106
- } from "./chunk-2DLDAZRH.js";
107
- import {
108
- coreWallet
109
- } from "./chunk-RB3HR4R2.js";
105
+ argentWallet
106
+ } from "./chunk-NTMBEOR2.js";
110
107
  import {
111
- braveWallet
112
- } from "./chunk-DS73TZ6O.js";
108
+ coin98Wallet
109
+ } from "./chunk-WAHGI5L7.js";
113
110
  import {
114
- bloomWallet
115
- } from "./chunk-PJ7Y57EH.js";
111
+ coinbaseWallet
112
+ } from "./chunk-2DLDAZRH.js";
116
113
  import {
117
- dawnWallet
118
- } from "./chunk-G2PHTVL6.js";
114
+ clvWallet
115
+ } from "./chunk-OEEGYENV.js";
119
116
  import {
120
- coin98Wallet
121
- } from "./chunk-6BW3HLBG.js";
117
+ coreWallet
118
+ } from "./chunk-4NV5BYRP.js";
122
119
  import {
123
120
  desigWallet
124
121
  } from "./chunk-FW3WZETT.js";
125
122
  import {
126
123
  enkryptWallet
127
124
  } from "./chunk-HBQK5RD5.js";
125
+ import {
126
+ dawnWallet
127
+ } from "./chunk-G2PHTVL6.js";
128
+ import {
129
+ bifrostWallet
130
+ } from "./chunk-IULPZP2Q.js";
128
131
  import {
129
132
  bitgetWallet
130
- } from "./chunk-CPI4TD43.js";
133
+ } from "./chunk-TKB2OY6G.js";
131
134
  import {
132
- argentWallet
133
- } from "./chunk-NTMBEOR2.js";
135
+ bitverseWallet
136
+ } from "./chunk-NSK6A7TI.js";
134
137
  import {
135
138
  bitskiWallet
136
139
  } from "./chunk-7HRFUZFX.js";
137
140
  import {
138
- bifrostWallet
139
- } from "./chunk-4T6ZSRJF.js";
141
+ bloomWallet
142
+ } from "./chunk-PJ7Y57EH.js";
140
143
  import {
141
- bitverseWallet
142
- } from "./chunk-NSK6A7TI.js";
144
+ braveWallet
145
+ } from "./chunk-DS73TZ6O.js";
143
146
  import {
144
147
  bybitWallet
145
- } from "./chunk-F5XEEVG6.js";
146
- import {
147
- clvWallet
148
- } from "./chunk-UK7C2JXW.js";
149
- import "./chunk-OLZ7626J.js";
148
+ } from "./chunk-OX37G4YT.js";
150
149
  import "./chunk-N4IJLYFY.js";
150
+ import "./chunk-OLZ7626J.js";
151
151
  import "./chunk-IGKXZBTA.js";
152
152
  export {
153
153
  argentWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-CCQV2ZET.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-YO2K4MBH.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  metaMaskWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-STVVP43G.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-KI5Y2BBF.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  okxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-2VP2F6EK.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-W2LCLDPX.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  rainbowWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-VAPGUPHO.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-YQFGVZGR.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  roninWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-VTM6EECM.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-XCNHV3HS.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  safepalWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-X6CGV36L.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-NR2OGDHQ.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  subWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-HTHAK6XB.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-WKNQMP4A.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  tokenPocketWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-ZNX4EMPB.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-KCRO2AGO.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  trustWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-RVOY537T.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-SWFF3TWJ.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  zerionWallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "10.2.1",
3
+ "version": "10.4.0",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -13,6 +13,7 @@
13
13
  ".": "./dist/index.js",
14
14
  "./styles.css": "./dist/index.css",
15
15
  "./wallets": "./dist/wallets/walletConnectors/index.js",
16
+ "./clients/internal/*": null,
16
17
  "./clients/*": "./dist/clients/*.js",
17
18
  "./clients/polymarket": "./dist/clients/polymarket/index.js"
18
19
  },
@@ -61,9 +62,12 @@
61
62
  "@vanilla-extract/private": "^1.0.7",
62
63
  "@vanilla-extract/vite-plugin": "^5.2.2",
63
64
  "@vitejs/plugin-react": "^6.0.2",
65
+ "@vitest/coverage-v8": "^4.1.6",
66
+ "@vitest/ui": "^4.1.6",
64
67
  "autoprefixer": "^10.4.27",
65
68
  "buffer": "^6.0.3",
66
69
  "esbuild-plugin-replace": "^1.4.0",
70
+ "happy-dom": "20.10.6",
67
71
  "jsdom": "^26.1.0",
68
72
  "postcss": "^8.5.10",
69
73
  "postcss-prefix-selector": "^1.16.0",
@@ -75,8 +79,6 @@
75
79
  "util": "^0.12.5",
76
80
  "vite-plugin-node-polyfills": "^0.26.0",
77
81
  "vitest": "^4.1.6",
78
- "@vitest/coverage-v8": "^4.1.6",
79
- "@vitest/ui": "^4.1.6",
80
82
  "wagmi": "2.17.2"
81
83
  },
82
84
  "dependencies": {
@@ -105,9 +107,9 @@
105
107
  "ua-parser-js": "^1.0.37",
106
108
  "use-debounce": "^10.0.5",
107
109
  "uuid": "^11.1.1",
108
- "@funkit/chains": "2.1.3",
109
110
  "@funkit/api-base": "6.0.0",
110
- "@funkit/connect-core": "2.0.0",
111
+ "@funkit/chains": "2.1.3",
112
+ "@funkit/connect-core": "2.1.0",
111
113
  "@funkit/fun-relay": "2.9.0",
112
114
  "@funkit/utils": "4.0.0"
113
115
  },
@@ -1,11 +0,0 @@
1
- "use client";
2
-
3
- // src/hooks/useFunkitTranslation.ts
4
- import { useTranslation } from "react-i18next";
5
- function useFunkitTranslation() {
6
- return useTranslation();
7
- }
8
-
9
- export {
10
- useFunkitTranslation
11
- };
@@ -1 +0,0 @@
1
- export declare const baseStyles: string;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import type { FunInputProps } from './FunInput';
3
- export declare function FunTextAreaInput({ placeholder, value, label, onChange, onKeyDown, onKeySubmit, textWeight, inputStyle, inputProps, error, overrideBorderWidth, overrideBackground, isLoading, }: FunInputProps<HTMLTextAreaElement>): React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const AcornsIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const AlpacaIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const BitFlyerIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const BitfinexIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const BitstampIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const BrokerageIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const CexloIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const CoinlistIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const CryptoComIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const CryptoIcon: () => React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const DeviceConfirmationIcon: () => React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const EmailConfirmationIcon: () => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const EtoroIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const EtradeIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const HuobiIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const KucoinIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const LightningBoltIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const LockIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface MailIconProps {
3
- width?: number;
4
- }
5
- export declare const MailIcon: ({ width }: MailIconProps) => React.JSX.Element;
6
- export {};
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const LinkExternalIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const MessageIcon: () => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const OkcoinIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const OkxIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const PublicIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const RobinhoodIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- export declare const GoogleIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
5
- export declare const TwitterIcon: ({ size }: {
6
- size?: number;
7
- }) => React.JSX.Element;
8
- export declare const AppleIcon: ({ size }: {
9
- size?: number;
10
- }) => React.JSX.Element;
11
- export declare const FarcasterIcon: ({ size }: {
12
- size?: number;
13
- }) => React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const SocialsIcon: () => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const StashIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const WeBullIcon: ({ size }: {
3
- size?: number;
4
- }) => React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const WhitelistIcon: () => React.JSX.Element;
@@ -1 +0,0 @@
1
- export declare function useIsUsUser(): boolean;
@@ -1,3 +0,0 @@
1
- export declare const validateEmailString: (emailInput: string) => boolean;
2
- export declare const validatePhoneString: (phoneInput: string) => boolean;
3
- export declare const removeSpecificURLParameters: (paramsToRemove: string[]) => void;
@@ -1,5 +0,0 @@
1
- /**
2
- * This function is a wrapper around `safeParseJson()` from our `@funkit/utils` package with logging errors to our logger.
3
- */
4
- export declare function safeJSONParse<T>(src?: string): T | null;
5
- export declare function useSafeJSONParse<T>(src?: string): T | null;
@@ -1 +0,0 @@
1
- export { type DisabledChainsAndAssets, isAssetDisabled, isChainDisabled, } from '@funkit/connect-core';
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-N4IJLYFY.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-OLZ7626J.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-N4IJLYFY.js";
9
9
 
10
10
  // src/wallets/walletConnectors/coreWallet/coreWallet.ts
11
11
  var coreWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-N4IJLYFY.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-OLZ7626J.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-N4IJLYFY.js";
9
9
 
10
10
  // src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-N4IJLYFY.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-OLZ7626J.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-N4IJLYFY.js";
9
9
 
10
10
  // src/wallets/walletConnectors/foxWallet/foxWallet.ts
11
11
  var foxWallet = ({