@funkit/connect 12.20.0 → 12.22.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 (160) hide show
  1. package/CHANGELOG.md +105 -0
  2. package/dist/clients/{chunk-N46CL4ZT.js → chunk-4NWQR25X.js} +1 -1
  3. package/dist/clients/{chunk-2BBOZQLZ.js → chunk-5JVG4MS2.js} +1 -1
  4. package/dist/clients/chunk-B67ESBGC.js +108 -0
  5. package/dist/clients/{chunk-R5VAX6YA.js → chunk-HGLDKRSQ.js} +81 -33
  6. package/dist/clients/{chunk-VFKEUHZT.js → chunk-R7I5OO6C.js} +1 -1
  7. package/dist/clients/{chunk-5NYKSTGH.js → chunk-S4SMCBQ4.js} +1 -1
  8. package/dist/clients/{chunk-Y7ONHWCW.js → chunk-T4Q43DNC.js} +2 -2
  9. package/dist/clients/{chunk-TLFE74BL.js → chunk-UBZOARBX.js} +3 -3
  10. package/dist/clients/{chunk-TFIJZTGQ.js → chunk-Y2O77SJO.js} +1 -1
  11. package/dist/clients/fanatics.d.ts +5 -7
  12. package/dist/clients/fanatics.js +4 -4
  13. package/dist/clients/internal/nado/withdrawalCallback.js +4 -4
  14. package/dist/clients/internal/nado/withdrawalErrors.js +2 -2
  15. package/dist/clients/internal/nado/withdrawalForm.js +4 -4
  16. package/dist/clients/internal/nado/withdrawalStatus.js +4 -4
  17. package/dist/clients/lighter.css +32 -11
  18. package/dist/clients/lighter.js +5 -5
  19. package/dist/clients/lighterRh.js +1 -1
  20. package/dist/clients/mallard.d.ts +34 -1
  21. package/dist/clients/mallard.js +148 -3
  22. package/dist/clients/nado.js +4 -4
  23. package/dist/clients/polymarket/createPolymarketDepositConfig.js +3 -3
  24. package/dist/clients/polymarket/index.js +3 -3
  25. package/dist/clients/polymarket/polymarket.d.ts +22 -22
  26. package/dist/clients/polymarket/polymarket.js +2 -2
  27. package/dist/components/Avatar/emojiAvatarForAddress.d.ts +35 -35
  28. package/dist/components/Box/Box.d.ts +63 -63
  29. package/dist/components/ConnectButton/ConnectButton.d.ts +16 -15
  30. package/dist/components/CustomSlot/CustomSlot.d.ts +8 -0
  31. package/dist/components/CustomSlot/CustomSlotBoundary.d.ts +12 -0
  32. package/dist/components/DestinationSelector/DestinationAssetBalanceLabel.d.ts +6 -0
  33. package/dist/components/DestinationSelector/DestinationSelector.css.d.ts +3 -0
  34. package/dist/components/DestinationSelector/DestinationSelector.d.ts +17 -0
  35. package/dist/components/DestinationSelector/DestinationSelectorSkeleton.d.ts +2 -0
  36. package/dist/components/Dialog/Dialog.d.ts +12 -4
  37. package/dist/components/Dialog/hooks.d.ts +3 -3
  38. package/dist/components/Dropdown/AccountSelectDropdown.d.ts +8 -1
  39. package/dist/components/Dropdown/BaseDropdown.d.ts +3 -1
  40. package/dist/components/Dropdown/BaseDropdownItem.d.ts +3 -1
  41. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +2 -0
  42. package/dist/components/FreeUsdcBanner/FreeUsdcBanner.d.ts +2 -2
  43. package/dist/components/FunBottomBar/FunBottomBar.d.ts +3 -1
  44. package/dist/components/FunInfoBanner/InfoBanner.d.ts +1 -1
  45. package/dist/components/FunInput/FunInput.d.ts +1 -1
  46. package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
  47. package/dist/components/FunTooltip/FunTooltip.d.ts +2 -2
  48. package/dist/components/FunTransactionSummary/DestinationLineItems.d.ts +1 -1
  49. package/dist/components/HighPriceImpactAlert/HighPriceImpactAlert.d.ts +7 -0
  50. package/dist/components/Icons/GreenRoundCheckmark.d.ts +2 -1
  51. package/dist/components/Icons/StatusIcons.css.d.ts +2 -2
  52. package/dist/components/Icons/StatusIcons.d.ts +2 -2
  53. package/dist/components/LargeAmountInput/LargeAmountInput.d.ts +3 -1
  54. package/dist/components/ModalSelection/ModalSelection.d.ts +4 -4
  55. package/dist/components/TokenSwapWidget/TokenSwapCard/TokenSwapCard.d.ts +5 -2
  56. package/dist/components/TokenSwapWidget/TokenSwapWidget.d.ts +2 -0
  57. package/dist/consts/checkout.d.ts +8 -8
  58. package/dist/consts/polymarket.d.ts +2 -2
  59. package/dist/consts/quote.d.ts +25 -15
  60. package/dist/css/cssObjectFromTheme.d.ts +1 -1
  61. package/dist/css/sprinkles.css.d.ts +78 -78
  62. package/dist/domains/asset.d.ts +6 -0
  63. package/dist/domains/bridge.d.ts +1 -1
  64. package/dist/domains/clientMetadata.d.ts +5 -6
  65. package/dist/domains/convert/assets.d.ts +6 -0
  66. package/dist/domains/convert/balances.d.ts +4 -2
  67. package/dist/domains/convert/screen.d.ts +4 -0
  68. package/dist/domains/destinationAccount.d.ts +14 -0
  69. package/dist/domains/destinationAssetBalance.d.ts +39 -0
  70. package/dist/domains/fees.d.ts +13 -0
  71. package/dist/domains/inputAmountComponentContext.d.ts +11 -0
  72. package/dist/hooks/queries/useMeldLimits.d.ts +45 -45
  73. package/dist/hooks/queries/useWithdrawalQuote.d.ts +62 -62
  74. package/dist/hooks/track/useTrack.d.ts +1 -1
  75. package/dist/hooks/useCheckoutQuoteNotification.d.ts +3 -3
  76. package/dist/hooks/useConvertBalances.d.ts +4 -2
  77. package/dist/hooks/useConvertQuote.d.ts +1 -1
  78. package/dist/hooks/useDestinationAccountSelector.d.ts +18 -0
  79. package/dist/hooks/useDestinationAssetBalances.d.ts +5 -0
  80. package/dist/hooks/useDynamicRoutes.d.ts +1 -1
  81. package/dist/hooks/useFrogAccount.d.ts +77 -77
  82. package/dist/hooks/useHighPriceImpactPercent.d.ts +11 -0
  83. package/dist/hooks/useIsomorphicEffect.d.ts +2 -2
  84. package/dist/hooks/usePaymentMethodIcon.d.ts +1 -1
  85. package/dist/hooks/usePaymentSources.d.ts +1 -1
  86. package/dist/hooks/usePolymarketAccountBalances.d.ts +1 -1
  87. package/dist/index.css +32 -11
  88. package/dist/index.d.ts +4 -1
  89. package/dist/index.js +3652 -2674
  90. package/dist/modals/CheckoutModal/Convert/ConvertChainRail.d.ts +13 -0
  91. package/dist/modals/CheckoutModal/Convert/ConvertSelectDestinationStep.d.ts +6 -4
  92. package/dist/modals/CheckoutModal/InputAmount/InputAmountLayout.d.ts +2 -1
  93. package/dist/modals/CheckoutModal/SourceChange/FlatList.d.ts +2 -8
  94. package/dist/modals/CheckoutModal/SourceChange/SourceList.d.ts +1 -2
  95. package/dist/modals/CheckoutModal/SourceChange/useSourceChangeLayout.d.ts +5 -1
  96. package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframe.d.ts +13 -2
  97. package/dist/modals/PolymarketPerpsTransfer/PolymarketPerpsTransferScreen.d.ts +6 -1
  98. package/dist/modals/PolymarketPerpsTransfer/usePerpsTransferForm.d.ts +6 -1
  99. package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.d.ts +1 -1
  100. package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +1 -1
  101. package/dist/modals/WithdrawalModal/useMultiSourceWithdrawal.d.ts +1 -1
  102. package/dist/providers/FunkitCheckoutContext/types.d.ts +55 -11
  103. package/dist/providers/FunkitConfigContext.d.ts +24 -1
  104. package/dist/providers/FunkitStatsigProvider.d.ts +1 -1
  105. package/dist/providers/GeneralWalletProvider.d.ts +21 -21
  106. package/dist/providers/ModalSizeContext.d.ts +4 -4
  107. package/dist/shadow-css.js +1 -1
  108. package/dist/themes/baseTheme.d.ts +1 -1
  109. package/dist/themes/darkTheme.d.ts +6 -4
  110. package/dist/themes/lightTheme.d.ts +6 -4
  111. package/dist/utils/checkout.d.ts +2 -1
  112. package/dist/utils/consts.d.ts +1 -0
  113. package/dist/utils/customer.d.ts +96 -96
  114. package/dist/utils/datadogBrowserLogsTransport.d.ts +11 -5
  115. package/dist/utils/datadogPageExit.d.ts +5 -0
  116. package/dist/utils/funError.d.ts +26 -0
  117. package/dist/utils/funLogger.d.ts +2 -1
  118. package/dist/utils/shakeElement.d.ts +7 -0
  119. package/dist/wallets/computeWalletConnectMetaData.d.ts +1 -1
  120. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  121. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  122. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  123. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  124. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  125. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  126. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  127. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  128. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  129. package/dist/wallets/walletConnectors/index.js +57 -57
  130. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  131. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  132. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  133. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  134. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  135. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  136. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  137. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  138. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  139. package/package.json +10 -10
  140. package/dist/clients/chunk-GTPMJGCF.js +0 -52
  141. package/dist/modals/CheckoutModal/Convert/ConvertChainPills.d.ts +0 -14
  142. package/dist/modals/CheckoutModal/SourceChange/PayPal.d.ts +0 -2
  143. package/dist/wallets/walletConnectors/{chunk-CU5J53XR.js → chunk-53MYTA42.js} +3 -3
  144. package/dist/wallets/walletConnectors/{chunk-ZSSSLFQF.js → chunk-65ULY6OC.js} +3 -3
  145. package/dist/wallets/walletConnectors/{chunk-XODA5ESL.js → chunk-A5POD5SV.js} +3 -3
  146. package/dist/wallets/walletConnectors/{chunk-RXRYHMRI.js → chunk-ANODOMIN.js} +3 -3
  147. package/dist/wallets/walletConnectors/{chunk-IWOMSW64.js → chunk-ASTCNVJC.js} +3 -3
  148. package/dist/wallets/walletConnectors/{chunk-U52QO5HF.js → chunk-F45CUFRR.js} +3 -3
  149. package/dist/wallets/walletConnectors/{chunk-YRMBR6NA.js → chunk-FYPQ3HP4.js} +3 -3
  150. package/dist/wallets/walletConnectors/{chunk-BBDNB5TQ.js → chunk-IWPW26AL.js} +3 -3
  151. package/dist/wallets/walletConnectors/{chunk-4FHNLTR3.js → chunk-JJBLW4IU.js} +3 -3
  152. package/dist/wallets/walletConnectors/{chunk-NXWG6FG2.js → chunk-KE4CWI3A.js} +3 -3
  153. package/dist/wallets/walletConnectors/{chunk-BBB2J3US.js → chunk-MWB6LFSG.js} +3 -3
  154. package/dist/wallets/walletConnectors/{chunk-34B7OJNT.js → chunk-OVDCDVFX.js} +3 -3
  155. package/dist/wallets/walletConnectors/{chunk-SR5CZR3L.js → chunk-PPQ6L4K2.js} +3 -3
  156. package/dist/wallets/walletConnectors/{chunk-IA5432IR.js → chunk-RJF2YEZ5.js} +3 -3
  157. package/dist/wallets/walletConnectors/{chunk-RFCZYLNR.js → chunk-RQYEGJKL.js} +3 -3
  158. package/dist/wallets/walletConnectors/{chunk-TRZDAXCQ.js → chunk-TIHTQ3OB.js} +3 -3
  159. package/dist/wallets/walletConnectors/{chunk-ALGPGI6V.js → chunk-TM7UBV3Q.js} +3 -3
  160. package/dist/wallets/walletConnectors/{chunk-HOCKAU5H.js → chunk-USLZMUJ3.js} +3 -3
@@ -1,16 +1,16 @@
1
1
  "use client";
2
+ import {
3
+ uniswapWallet
4
+ } from "./chunk-UNDWHCDH.js";
2
5
  import {
3
6
  zealWallet
4
7
  } from "./chunk-GLX5FULK.js";
5
- import {
6
- xdefiWallet
7
- } from "./chunk-HXX4PRE2.js";
8
8
  import {
9
9
  zerionWallet
10
- } from "./chunk-34B7OJNT.js";
10
+ } from "./chunk-OVDCDVFX.js";
11
11
  import {
12
12
  subWallet
13
- } from "./chunk-XODA5ESL.js";
13
+ } from "./chunk-A5POD5SV.js";
14
14
  import {
15
15
  tahoWallet
16
16
  } from "./chunk-U74RFZOL.js";
@@ -19,58 +19,58 @@ import {
19
19
  } from "./chunk-IAYYWCVB.js";
20
20
  import {
21
21
  tokenPocketWallet
22
- } from "./chunk-NXWG6FG2.js";
23
- import {
24
- trustWallet
25
- } from "./chunk-SR5CZR3L.js";
22
+ } from "./chunk-KE4CWI3A.js";
26
23
  import {
27
24
  tokenaryWallet
28
25
  } from "./chunk-TPM5PUJD.js";
29
26
  import {
30
- uniswapWallet
31
- } from "./chunk-UNDWHCDH.js";
27
+ trustWallet
28
+ } from "./chunk-PPQ6L4K2.js";
32
29
  import {
33
30
  walletConnectWallet
34
31
  } from "./chunk-DUX4XCDV.js";
35
32
  import {
36
- oneKeyWallet
37
- } from "./chunk-KN32ITJ7.js";
33
+ xdefiWallet
34
+ } from "./chunk-HXX4PRE2.js";
38
35
  import {
39
36
  rabbyWallet
40
37
  } from "./chunk-RQ2GXOJL.js";
38
+ import {
39
+ oneKeyWallet
40
+ } from "./chunk-KN32ITJ7.js";
41
41
  import {
42
42
  rainbowWallet
43
- } from "./chunk-ZSSSLFQF.js";
43
+ } from "./chunk-65ULY6OC.js";
44
44
  import {
45
45
  ramperWallet
46
46
  } from "./chunk-GPXIBTWN.js";
47
- import {
48
- safeWallet
49
- } from "./chunk-IR3PJMVM.js";
50
47
  import {
51
48
  roninWallet
52
- } from "./chunk-IA5432IR.js";
49
+ } from "./chunk-RJF2YEZ5.js";
53
50
  import {
54
51
  safeheronWallet
55
52
  } from "./chunk-UN3ONVNC.js";
53
+ import {
54
+ safeWallet
55
+ } from "./chunk-IR3PJMVM.js";
56
56
  import {
57
57
  safepalWallet
58
- } from "./chunk-BBB2J3US.js";
58
+ } from "./chunk-MWB6LFSG.js";
59
59
  import {
60
60
  ledgerWallet
61
61
  } from "./chunk-BL4OC2EJ.js";
62
- import {
63
- metaMaskWallet
64
- } from "./chunk-RXRYHMRI.js";
65
62
  import {
66
63
  mewWallet
67
64
  } from "./chunk-DSPQXAB2.js";
68
65
  import {
69
- okxWallet
70
- } from "./chunk-CU5J53XR.js";
66
+ metaMaskWallet
67
+ } from "./chunk-ANODOMIN.js";
71
68
  import {
72
69
  oktoWallet
73
70
  } from "./chunk-V4M3SNPS.js";
71
+ import {
72
+ okxWallet
73
+ } from "./chunk-53MYTA42.js";
74
74
  import {
75
75
  omniWallet
76
76
  } from "./chunk-2TAUCVX7.js";
@@ -81,76 +81,76 @@ import {
81
81
  phantomWallet
82
82
  } from "./chunk-Q27YVDDH.js";
83
83
  import {
84
- dawnWallet
85
- } from "./chunk-LV6YV3DE.js";
84
+ enkryptWallet
85
+ } from "./chunk-Z6LDN2AN.js";
86
86
  import {
87
87
  foxWallet
88
- } from "./chunk-U52QO5HF.js";
88
+ } from "./chunk-F45CUFRR.js";
89
+ import {
90
+ gateWallet
91
+ } from "./chunk-FYPQ3HP4.js";
89
92
  import {
90
93
  frontierWallet
91
- } from "./chunk-IWOMSW64.js";
94
+ } from "./chunk-ASTCNVJC.js";
92
95
  import {
93
96
  frameWallet
94
97
  } from "./chunk-B572YIAQ.js";
95
- import {
96
- gateWallet
97
- } from "./chunk-YRMBR6NA.js";
98
98
  import {
99
99
  imTokenWallet
100
100
  } from "./chunk-YY2JA23M.js";
101
- import {
102
- injectedWallet
103
- } from "./chunk-M75V7OL3.js";
104
101
  import {
105
102
  kresusWallet
106
103
  } from "./chunk-V77ATGZT.js";
107
104
  import {
108
- bybitWallet
109
- } from "./chunk-BBDNB5TQ.js";
105
+ injectedWallet
106
+ } from "./chunk-M75V7OL3.js";
107
+ import {
108
+ braveWallet
109
+ } from "./chunk-U2XXV45G.js";
110
110
  import {
111
111
  clvWallet
112
- } from "./chunk-4FHNLTR3.js";
112
+ } from "./chunk-JJBLW4IU.js";
113
113
  import {
114
114
  coin98Wallet
115
- } from "./chunk-RFCZYLNR.js";
115
+ } from "./chunk-RQYEGJKL.js";
116
+ import {
117
+ customWallet
118
+ } from "./chunk-VKM5M5UK.js";
116
119
  import {
117
120
  coinbaseWallet
118
121
  } from "./chunk-SM2A3OSG.js";
119
122
  import {
120
- coreWallet
121
- } from "./chunk-TRZDAXCQ.js";
123
+ dawnWallet
124
+ } from "./chunk-LV6YV3DE.js";
122
125
  import {
123
- customWallet
124
- } from "./chunk-VKM5M5UK.js";
126
+ coreWallet
127
+ } from "./chunk-TIHTQ3OB.js";
125
128
  import {
126
129
  desigWallet
127
130
  } from "./chunk-DFHP75HV.js";
128
131
  import {
129
- enkryptWallet
130
- } from "./chunk-Z6LDN2AN.js";
131
- import {
132
- bitgetWallet
133
- } from "./chunk-HOCKAU5H.js";
132
+ bitskiWallet
133
+ } from "./chunk-NPITCCJE.js";
134
134
  import {
135
- bifrostWallet
136
- } from "./chunk-ALGPGI6V.js";
135
+ argentWallet
136
+ } from "./chunk-XSDTNMQY.js";
137
137
  import {
138
138
  bitverseWallet
139
139
  } from "./chunk-5AEWIKRA.js";
140
- import {
141
- argentWallet
142
- } from "./chunk-XSDTNMQY.js";
143
140
  import {
144
141
  bloomWallet
145
142
  } from "./chunk-PNHDOC77.js";
146
- import "./chunk-AALSJCUR.js";
147
143
  import {
148
- braveWallet
149
- } from "./chunk-U2XXV45G.js";
144
+ bitgetWallet
145
+ } from "./chunk-USLZMUJ3.js";
150
146
  import {
151
- bitskiWallet
152
- } from "./chunk-NPITCCJE.js";
147
+ bifrostWallet
148
+ } from "./chunk-TM7UBV3Q.js";
149
+ import {
150
+ bybitWallet
151
+ } from "./chunk-IWPW26AL.js";
153
152
  import "./chunk-EYWGX5LT.js";
153
+ import "./chunk-AALSJCUR.js";
154
154
  import "./chunk-B454LLKJ.js";
155
155
  export {
156
156
  argentWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-RXRYHMRI.js";
5
- import "../chunk-AALSJCUR.js";
4
+ } from "../chunk-ANODOMIN.js";
6
5
  import "../chunk-EYWGX5LT.js";
6
+ import "../chunk-AALSJCUR.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  metaMaskWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-CU5J53XR.js";
5
- import "../chunk-AALSJCUR.js";
4
+ } from "../chunk-53MYTA42.js";
6
5
  import "../chunk-EYWGX5LT.js";
6
+ import "../chunk-AALSJCUR.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  okxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-ZSSSLFQF.js";
5
- import "../chunk-AALSJCUR.js";
4
+ } from "../chunk-65ULY6OC.js";
6
5
  import "../chunk-EYWGX5LT.js";
6
+ import "../chunk-AALSJCUR.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  rainbowWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-IA5432IR.js";
5
- import "../chunk-AALSJCUR.js";
4
+ } from "../chunk-RJF2YEZ5.js";
6
5
  import "../chunk-EYWGX5LT.js";
6
+ import "../chunk-AALSJCUR.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  roninWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-BBB2J3US.js";
5
- import "../chunk-AALSJCUR.js";
4
+ } from "../chunk-MWB6LFSG.js";
6
5
  import "../chunk-EYWGX5LT.js";
6
+ import "../chunk-AALSJCUR.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  safepalWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-XODA5ESL.js";
5
- import "../chunk-AALSJCUR.js";
4
+ } from "../chunk-A5POD5SV.js";
6
5
  import "../chunk-EYWGX5LT.js";
6
+ import "../chunk-AALSJCUR.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  subWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-NXWG6FG2.js";
5
- import "../chunk-AALSJCUR.js";
4
+ } from "../chunk-KE4CWI3A.js";
6
5
  import "../chunk-EYWGX5LT.js";
6
+ import "../chunk-AALSJCUR.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  tokenPocketWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-SR5CZR3L.js";
5
- import "../chunk-AALSJCUR.js";
4
+ } from "../chunk-PPQ6L4K2.js";
6
5
  import "../chunk-EYWGX5LT.js";
6
+ import "../chunk-AALSJCUR.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  trustWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-34B7OJNT.js";
5
- import "../chunk-AALSJCUR.js";
4
+ } from "../chunk-OVDCDVFX.js";
6
5
  import "../chunk-EYWGX5LT.js";
6
+ import "../chunk-AALSJCUR.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  zerionWallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "12.20.0",
3
+ "version": "12.22.0",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -104,6 +104,11 @@
104
104
  "@bluvo/react": "3.0.0-beta.1",
105
105
  "@bluvo/sdk-ts": "3.0.0-beta.1",
106
106
  "@datadog/browser-logs": "5.22.0",
107
+ "@funkit/api-base": "10.1.0",
108
+ "@funkit/chains": "2.6.1",
109
+ "@funkit/connect-core": "13.0.0",
110
+ "@funkit/fun-relay": "3.3.1",
111
+ "@funkit/utils": "5.1.1",
107
112
  "@number-flow/react": "^0.5.5",
108
113
  "@radix-ui/react-dropdown-menu": "^2.1.7",
109
114
  "@radix-ui/react-tooltip": "^1.2.0",
@@ -123,12 +128,7 @@
123
128
  "react-virtuoso": "4.10.1",
124
129
  "ua-parser-js": "^1.0.37",
125
130
  "use-debounce": "^10.0.5",
126
- "uuid": "^11.1.1",
127
- "@funkit/api-base": "9.1.2",
128
- "@funkit/fun-relay": "3.3.0",
129
- "@funkit/utils": "5.1.0",
130
- "@funkit/connect-core": "11.0.0",
131
- "@funkit/chains": "2.6.0"
131
+ "uuid": "^11.1.1"
132
132
  },
133
133
  "repository": {
134
134
  "type": "git",
@@ -142,9 +142,9 @@
142
142
  "build:watch": "node build.js --watch",
143
143
  "dev": "pnpm build:watch & pnpm typegen:watch",
144
144
  "prebuild": "rm -rf dist && pnpm typegen",
145
- "typecheck": "pnpm tsc --noEmit",
146
- "typegen": "tsc --project tsconfig.build.json --emitDeclarationOnly && tsc-alias",
147
- "typegen:watch": "tsc --project tsconfig.build.json --emitDeclarationOnly --watch & tsc-alias --project tsconfig.build.json --watch",
145
+ "typecheck": "pnpm tsrs --noEmit",
146
+ "typegen": "tsrs --project tsconfig.build.json --emitDeclarationOnly && tsc-alias",
147
+ "typegen:watch": "tsrs --project tsconfig.build.json --emitDeclarationOnly --watch & tsc-alias --project tsconfig.build.json --watch",
148
148
  "lint": "oxlint",
149
149
  "lint:fix": "oxlint --fix",
150
150
  "test": "vitest",
@@ -1,52 +0,0 @@
1
- "use client";
2
-
3
- // src/utils/funLogger.ts
4
- import { FunLogger } from "@funkit/connect-core";
5
-
6
- // src/utils/datadogBrowserLogsTransport.ts
7
- import { datadogLogs } from "@datadog/browser-logs";
8
- var DDOG_CLIENT_TOKEN = "pub4f86c6be8c792cb48dc156a8c17d9a47";
9
- var DatadogBrowserLogsTransport = class {
10
- constructor() {
11
- datadogLogs.init({
12
- clientToken: DDOG_CLIENT_TOKEN,
13
- site: "datadoghq.com",
14
- forwardErrorsToLogs: false,
15
- sessionSampleRate: 100,
16
- service: "connect-sdk",
17
- silentMultipleInit: true
18
- });
19
- }
20
- setEnv(environment) {
21
- datadogLogs.setGlobalContextProperty("env", environment);
22
- }
23
- setTrackingConsent(consent) {
24
- datadogLogs.setTrackingConsent(consent);
25
- }
26
- log({ level, title, context, error }) {
27
- if (typeof window === "undefined") {
28
- return;
29
- }
30
- switch (level) {
31
- case "info":
32
- datadogLogs.logger.info(title, context);
33
- break;
34
- case "debug":
35
- datadogLogs.logger.debug(title, context);
36
- break;
37
- case "warn":
38
- datadogLogs.logger.warn(title, context, error);
39
- break;
40
- case "error":
41
- datadogLogs.logger.error(title, context, error);
42
- break;
43
- }
44
- }
45
- };
46
-
47
- // src/utils/funLogger.ts
48
- var logger = new FunLogger(new DatadogBrowserLogsTransport());
49
-
50
- export {
51
- logger
52
- };
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- interface ConvertChainPillsProps {
3
- chainIds: string[];
4
- activeChainId: string | undefined;
5
- onChange: (chainId: string) => void;
6
- }
7
- /**
8
- * The destination screen's chain picker: one pill per chain, icon only, with
9
- * the active one widened to show its name. The highlight slides to the picked
10
- * pill and the widths ease, like the modal's header tabs. Scrolls sideways
11
- * when the chains don't fit, e.g. eight on a phone.
12
- */
13
- export declare function ConvertChainPills({ chainIds, activeChainId, onChange, }: ConvertChainPillsProps): React.JSX.Element;
14
- export {};
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function PayPal(): React.JSX.Element | null;
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/okxWallet/okxWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
11
11
  import { isAndroid, isIOS } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/subWallet/subWallet.ts
11
11
  var subWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
11
11
  import { isAndroid, isIOS } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.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-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/foxWallet/foxWallet.ts
11
11
  var foxWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/gateWallet/gateWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bybitWallet/bybitWallet.ts
11
11
  var bybitWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/clvWallet/clvWallet.ts
11
11
  var clvWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
11
11
  import { isMobile } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
11
11
  var safepalWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
11
11
  import { isIOS } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/trustWallet/trustWallet.ts
11
11
  import { isMobile } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-AALSJCUR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-EYWGX5LT.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/roninWallet/roninWallet.ts
11
11
  var roninWallet = ({