@funkit/connect 12.19.0 → 12.21.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 (146) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/dist/clients/{chunk-N46CL4ZT.js → chunk-4NWQR25X.js} +1 -1
  3. package/dist/clients/{chunk-AELXD5XA.js → chunk-6XJV626L.js} +1 -1
  4. package/dist/clients/chunk-B67ESBGC.js +108 -0
  5. package/dist/clients/{chunk-KH2HLTHP.js → chunk-DAMICUCH.js} +5 -5
  6. package/dist/clients/{chunk-FOXMRDKD.js → chunk-FIJU6HZM.js} +1 -1
  7. package/dist/clients/{chunk-L6JL2XJY.js → chunk-MTKOZB6U.js} +1 -1
  8. package/dist/clients/{chunk-R25GIAD5.js → chunk-PZSKO3BJ.js} +1 -0
  9. package/dist/clients/{chunk-5NYKSTGH.js → chunk-S4SMCBQ4.js} +1 -1
  10. package/dist/clients/{chunk-Y7ONHWCW.js → chunk-T4Q43DNC.js} +2 -2
  11. package/dist/clients/{chunk-YSAAJSWT.js → chunk-YSQX5Z3F.js} +49 -25
  12. package/dist/clients/fanatics.d.ts +5 -7
  13. package/dist/clients/fanatics.js +4 -4
  14. package/dist/clients/internal/nado/withdrawalCallback.js +4 -4
  15. package/dist/clients/internal/nado/withdrawalErrors.js +2 -2
  16. package/dist/clients/internal/nado/withdrawalForm.js +5 -5
  17. package/dist/clients/internal/nado/withdrawalStatus.js +4 -4
  18. package/dist/clients/lighter.css +8 -1
  19. package/dist/clients/lighter.js +6 -6
  20. package/dist/clients/lighterRh.d.ts +44 -0
  21. package/dist/clients/lighterRh.js +51 -0
  22. package/dist/clients/mallard.js +3 -3
  23. package/dist/clients/nado.js +6 -6
  24. package/dist/clients/polymarket/createPolymarketDepositConfig.js +3 -3
  25. package/dist/clients/polymarket/index.js +3 -3
  26. package/dist/clients/polymarket/polymarket.d.ts +22 -22
  27. package/dist/clients/polymarket/polymarket.js +2 -2
  28. package/dist/components/Avatar/emojiAvatarForAddress.d.ts +35 -35
  29. package/dist/components/Box/Box.d.ts +63 -63
  30. package/dist/components/ConnectButton/ConnectButton.d.ts +16 -15
  31. package/dist/components/Dialog/Dialog.d.ts +12 -4
  32. package/dist/components/Dialog/hooks.d.ts +3 -3
  33. package/dist/components/FreeUsdcBanner/FreeUsdcBanner.d.ts +2 -2
  34. package/dist/components/FunBottomBar/FunBottomBar.d.ts +3 -1
  35. package/dist/components/FunInfoBanner/InfoBanner.d.ts +1 -1
  36. package/dist/components/FunInput/FunInput.d.ts +1 -1
  37. package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
  38. package/dist/components/FunTooltip/FunTooltip.d.ts +2 -2
  39. package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +3 -1
  40. package/dist/components/HighPriceImpactAlert/HighPriceImpactAlert.d.ts +7 -0
  41. package/dist/components/Icons/GreenRoundCheckmark.d.ts +2 -1
  42. package/dist/components/Icons/StatusIcons.css.d.ts +2 -2
  43. package/dist/components/Icons/StatusIcons.d.ts +2 -2
  44. package/dist/components/LargeAmountInput/LargeAmountInput.d.ts +3 -1
  45. package/dist/components/ModalSelection/ModalSelection.d.ts +4 -4
  46. package/dist/components/TokenSwapWidget/TokenSelectButton/TokenSelectButton.d.ts +1 -1
  47. package/dist/components/TokenSwapWidget/TokenSwapCard/TokenSwapCard.d.ts +17 -4
  48. package/dist/components/TokenSwapWidget/TokenSwapPercentOptions/TokenSwapPercentOptions.d.ts +9 -0
  49. package/dist/components/TokenSwapWidget/TokenSwapWidget.d.ts +6 -2
  50. package/dist/components/TokenSwapWidget/TokenSwapWidgetSkeleton/TokenSwapWidgetSkeleton.d.ts +3 -0
  51. package/dist/consts/checkout.d.ts +8 -8
  52. package/dist/consts/customers.d.ts +5 -1
  53. package/dist/consts/polymarket.d.ts +2 -2
  54. package/dist/consts/quote.d.ts +25 -15
  55. package/dist/css/cssObjectFromTheme.d.ts +1 -1
  56. package/dist/css/sprinkles.css.d.ts +78 -78
  57. package/dist/domains/bridge.d.ts +1 -1
  58. package/dist/domains/convert/assets.d.ts +38 -0
  59. package/dist/domains/convert/inputAmount.d.ts +24 -21
  60. package/dist/domains/convert/reducer.d.ts +11 -6
  61. package/dist/domains/convert/screen.d.ts +10 -1
  62. package/dist/domains/convert/view.d.ts +4 -0
  63. package/dist/domains/priceImpact.d.ts +14 -0
  64. package/dist/hooks/queries/useMeldLimits.d.ts +45 -45
  65. package/dist/hooks/queries/useWithdrawalQuote.d.ts +62 -62
  66. package/dist/hooks/track/useTrack.d.ts +1 -1
  67. package/dist/hooks/useCheckoutQuoteNotification.d.ts +3 -3
  68. package/dist/hooks/useConvertBalances.d.ts +1 -1
  69. package/dist/hooks/useConvertQuote.d.ts +1 -1
  70. package/dist/hooks/useDynamicRoutes.d.ts +1 -1
  71. package/dist/hooks/useFrogAccount.d.ts +77 -77
  72. package/dist/hooks/useIsomorphicEffect.d.ts +2 -2
  73. package/dist/hooks/usePaymentMethodIcon.d.ts +1 -1
  74. package/dist/hooks/usePaymentSources.d.ts +1 -1
  75. package/dist/hooks/usePolymarketAccountBalances.d.ts +1 -1
  76. package/dist/index.css +8 -1
  77. package/dist/index.d.ts +2 -0
  78. package/dist/index.js +2149 -1697
  79. package/dist/modals/CheckoutModal/Convert/ConvertAssetList.d.ts +1 -1
  80. package/dist/modals/CheckoutModal/Convert/ConvertAssetRow.d.ts +1 -19
  81. package/dist/modals/CheckoutModal/Convert/ConvertChainRail.d.ts +13 -0
  82. package/dist/modals/CheckoutModal/Convert/ConvertSelectDestinationStep.d.ts +7 -5
  83. package/dist/modals/CheckoutModal/Convert/ConvertSelectSourceStep.d.ts +0 -12
  84. package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframe.d.ts +13 -2
  85. package/dist/modals/PolymarketPerpsTransfer/PolymarketPerpsTransferScreen.d.ts +6 -1
  86. package/dist/modals/PolymarketPerpsTransfer/usePerpsTransferForm.d.ts +6 -1
  87. package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.d.ts +1 -1
  88. package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +1 -1
  89. package/dist/modals/WithdrawalModal/useMultiSourceWithdrawal.d.ts +1 -1
  90. package/dist/providers/ConvertProvider.d.ts +2 -0
  91. package/dist/providers/FunkitCheckoutContext/types.d.ts +3 -0
  92. package/dist/providers/FunkitStatsigProvider.d.ts +1 -1
  93. package/dist/providers/GeneralWalletProvider.d.ts +21 -21
  94. package/dist/providers/ModalSizeContext.d.ts +4 -4
  95. package/dist/shadow-css.js +1 -1
  96. package/dist/themes/baseTheme.d.ts +1 -1
  97. package/dist/themes/darkTheme.d.ts +6 -4
  98. package/dist/themes/lightTheme.d.ts +6 -4
  99. package/dist/utils/checkout.d.ts +1 -1
  100. package/dist/utils/customer.d.ts +96 -96
  101. package/dist/utils/datadogBrowserLogsTransport.d.ts +11 -5
  102. package/dist/utils/datadogPageExit.d.ts +5 -0
  103. package/dist/utils/funError.d.ts +26 -0
  104. package/dist/utils/funLogger.d.ts +2 -1
  105. package/dist/utils/shakeElement.d.ts +7 -0
  106. package/dist/wallets/computeWalletConnectMetaData.d.ts +1 -1
  107. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  108. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  109. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  110. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  111. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  112. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  113. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  114. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  115. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  116. package/dist/wallets/walletConnectors/index.js +51 -51
  117. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  118. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  119. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  120. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  121. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  122. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  123. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  124. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  125. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  126. package/package.json +9 -9
  127. package/dist/clients/chunk-GTPMJGCF.js +0 -52
  128. package/dist/modals/CheckoutModal/Convert/ConvertChainPills.d.ts +0 -14
  129. package/dist/wallets/walletConnectors/{chunk-OVDCDVFX.js → chunk-34B7OJNT.js} +3 -3
  130. package/dist/wallets/walletConnectors/{chunk-JJBLW4IU.js → chunk-4FHNLTR3.js} +3 -3
  131. package/dist/wallets/walletConnectors/{chunk-TM7UBV3Q.js → chunk-ALGPGI6V.js} +3 -3
  132. package/dist/wallets/walletConnectors/{chunk-MWB6LFSG.js → chunk-BBB2J3US.js} +3 -3
  133. package/dist/wallets/walletConnectors/{chunk-IWPW26AL.js → chunk-BBDNB5TQ.js} +3 -3
  134. package/dist/wallets/walletConnectors/{chunk-53MYTA42.js → chunk-CU5J53XR.js} +3 -3
  135. package/dist/wallets/walletConnectors/{chunk-USLZMUJ3.js → chunk-HOCKAU5H.js} +3 -3
  136. package/dist/wallets/walletConnectors/{chunk-RJF2YEZ5.js → chunk-IA5432IR.js} +3 -3
  137. package/dist/wallets/walletConnectors/{chunk-ASTCNVJC.js → chunk-IWOMSW64.js} +3 -3
  138. package/dist/wallets/walletConnectors/{chunk-KE4CWI3A.js → chunk-NXWG6FG2.js} +3 -3
  139. package/dist/wallets/walletConnectors/{chunk-RQYEGJKL.js → chunk-RFCZYLNR.js} +3 -3
  140. package/dist/wallets/walletConnectors/{chunk-ANODOMIN.js → chunk-RXRYHMRI.js} +3 -3
  141. package/dist/wallets/walletConnectors/{chunk-PPQ6L4K2.js → chunk-SR5CZR3L.js} +3 -3
  142. package/dist/wallets/walletConnectors/{chunk-TIHTQ3OB.js → chunk-TRZDAXCQ.js} +3 -3
  143. package/dist/wallets/walletConnectors/{chunk-F45CUFRR.js → chunk-U52QO5HF.js} +3 -3
  144. package/dist/wallets/walletConnectors/{chunk-A5POD5SV.js → chunk-XODA5ESL.js} +3 -3
  145. package/dist/wallets/walletConnectors/{chunk-FYPQ3HP4.js → chunk-YRMBR6NA.js} +3 -3
  146. package/dist/wallets/walletConnectors/{chunk-65ULY6OC.js → chunk-ZSSSLFQF.js} +3 -3
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  xdefiWallet
4
4
  } from "./chunk-HXX4PRE2.js";
5
- import {
6
- zerionWallet
7
- } from "./chunk-OVDCDVFX.js";
8
5
  import {
9
6
  zealWallet
10
7
  } from "./chunk-GLX5FULK.js";
8
+ import {
9
+ zerionWallet
10
+ } from "./chunk-34B7OJNT.js";
11
11
  import {
12
12
  subWallet
13
- } from "./chunk-A5POD5SV.js";
13
+ } from "./chunk-XODA5ESL.js";
14
14
  import {
15
15
  talismanWallet
16
16
  } from "./chunk-IAYYWCVB.js";
@@ -19,58 +19,58 @@ import {
19
19
  } from "./chunk-U74RFZOL.js";
20
20
  import {
21
21
  tokenPocketWallet
22
- } from "./chunk-KE4CWI3A.js";
22
+ } from "./chunk-NXWG6FG2.js";
23
23
  import {
24
24
  tokenaryWallet
25
25
  } from "./chunk-TPM5PUJD.js";
26
26
  import {
27
27
  trustWallet
28
- } from "./chunk-PPQ6L4K2.js";
28
+ } from "./chunk-SR5CZR3L.js";
29
+ import {
30
+ uniswapWallet
31
+ } from "./chunk-UNDWHCDH.js";
29
32
  import {
30
33
  walletConnectWallet
31
34
  } from "./chunk-DUX4XCDV.js";
32
35
  import {
33
- uniswapWallet
34
- } from "./chunk-UNDWHCDH.js";
36
+ phantomWallet
37
+ } from "./chunk-Q27YVDDH.js";
35
38
  import {
36
39
  rabbyWallet
37
40
  } from "./chunk-RQ2GXOJL.js";
38
- import {
39
- ramperWallet
40
- } from "./chunk-GPXIBTWN.js";
41
41
  import {
42
42
  rainbowWallet
43
- } from "./chunk-65ULY6OC.js";
43
+ } from "./chunk-ZSSSLFQF.js";
44
44
  import {
45
- phantomWallet
46
- } from "./chunk-Q27YVDDH.js";
45
+ ramperWallet
46
+ } from "./chunk-GPXIBTWN.js";
47
47
  import {
48
- safeheronWallet
49
- } from "./chunk-UN3ONVNC.js";
48
+ roninWallet
49
+ } from "./chunk-IA5432IR.js";
50
50
  import {
51
51
  safeWallet
52
52
  } from "./chunk-IR3PJMVM.js";
53
53
  import {
54
- roninWallet
55
- } from "./chunk-RJF2YEZ5.js";
54
+ safeheronWallet
55
+ } from "./chunk-UN3ONVNC.js";
56
56
  import {
57
57
  safepalWallet
58
- } from "./chunk-MWB6LFSG.js";
58
+ } from "./chunk-BBB2J3US.js";
59
+ import {
60
+ ledgerWallet
61
+ } from "./chunk-BL4OC2EJ.js";
59
62
  import {
60
63
  metaMaskWallet
61
- } from "./chunk-ANODOMIN.js";
64
+ } from "./chunk-RXRYHMRI.js";
62
65
  import {
63
66
  mewWallet
64
67
  } from "./chunk-DSPQXAB2.js";
65
- import {
66
- ledgerWallet
67
- } from "./chunk-BL4OC2EJ.js";
68
68
  import {
69
69
  oktoWallet
70
70
  } from "./chunk-V4M3SNPS.js";
71
71
  import {
72
72
  okxWallet
73
- } from "./chunk-53MYTA42.js";
73
+ } from "./chunk-CU5J53XR.js";
74
74
  import {
75
75
  omniWallet
76
76
  } from "./chunk-2TAUCVX7.js";
@@ -80,45 +80,45 @@ import {
80
80
  import {
81
81
  oneKeyWallet
82
82
  } from "./chunk-KN32ITJ7.js";
83
+ import {
84
+ foxWallet
85
+ } from "./chunk-U52QO5HF.js";
83
86
  import {
84
87
  enkryptWallet
85
88
  } from "./chunk-Z6LDN2AN.js";
86
- import {
87
- foxWallet
88
- } from "./chunk-F45CUFRR.js";
89
89
  import {
90
90
  frameWallet
91
91
  } from "./chunk-B572YIAQ.js";
92
- import {
93
- gateWallet
94
- } from "./chunk-FYPQ3HP4.js";
95
92
  import {
96
93
  frontierWallet
97
- } from "./chunk-ASTCNVJC.js";
94
+ } from "./chunk-IWOMSW64.js";
98
95
  import {
99
- injectedWallet
100
- } from "./chunk-M75V7OL3.js";
96
+ gateWallet
97
+ } from "./chunk-YRMBR6NA.js";
101
98
  import {
102
99
  imTokenWallet
103
100
  } from "./chunk-YY2JA23M.js";
101
+ import {
102
+ injectedWallet
103
+ } from "./chunk-M75V7OL3.js";
104
104
  import {
105
105
  kresusWallet
106
106
  } from "./chunk-V77ATGZT.js";
107
107
  import {
108
- coin98Wallet
109
- } from "./chunk-RQYEGJKL.js";
108
+ bybitWallet
109
+ } from "./chunk-BBDNB5TQ.js";
110
110
  import {
111
111
  clvWallet
112
- } from "./chunk-JJBLW4IU.js";
112
+ } from "./chunk-4FHNLTR3.js";
113
+ import {
114
+ coin98Wallet
115
+ } from "./chunk-RFCZYLNR.js";
113
116
  import {
114
117
  coinbaseWallet
115
118
  } from "./chunk-SM2A3OSG.js";
116
119
  import {
117
120
  coreWallet
118
- } from "./chunk-TIHTQ3OB.js";
119
- import {
120
- bifrostWallet
121
- } from "./chunk-TM7UBV3Q.js";
121
+ } from "./chunk-TRZDAXCQ.js";
122
122
  import {
123
123
  customWallet
124
124
  } from "./chunk-VKM5M5UK.js";
@@ -128,29 +128,29 @@ import {
128
128
  import {
129
129
  desigWallet
130
130
  } from "./chunk-DFHP75HV.js";
131
+ import {
132
+ argentWallet
133
+ } from "./chunk-XSDTNMQY.js";
134
+ import {
135
+ bifrostWallet
136
+ } from "./chunk-ALGPGI6V.js";
131
137
  import {
132
138
  bitgetWallet
133
- } from "./chunk-USLZMUJ3.js";
139
+ } from "./chunk-HOCKAU5H.js";
134
140
  import {
135
141
  bitskiWallet
136
142
  } from "./chunk-NPITCCJE.js";
137
- import {
138
- argentWallet
139
- } from "./chunk-XSDTNMQY.js";
140
143
  import {
141
144
  bitverseWallet
142
145
  } from "./chunk-5AEWIKRA.js";
143
- import {
144
- braveWallet
145
- } from "./chunk-U2XXV45G.js";
146
- import {
147
- bybitWallet
148
- } from "./chunk-IWPW26AL.js";
149
- import "./chunk-EYWGX5LT.js";
150
146
  import {
151
147
  bloomWallet
152
148
  } from "./chunk-PNHDOC77.js";
153
149
  import "./chunk-AALSJCUR.js";
150
+ import {
151
+ braveWallet
152
+ } from "./chunk-U2XXV45G.js";
153
+ import "./chunk-EYWGX5LT.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-ANODOMIN.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-RXRYHMRI.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.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-53MYTA42.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-CU5J53XR.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.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-65ULY6OC.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-ZSSSLFQF.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.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-RJF2YEZ5.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-IA5432IR.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.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-MWB6LFSG.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-BBB2J3US.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.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-A5POD5SV.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-XODA5ESL.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.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-KE4CWI3A.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-NXWG6FG2.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.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-PPQ6L4K2.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-SR5CZR3L.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.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-OVDCDVFX.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-34B7OJNT.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.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.19.0",
3
+ "version": "12.21.0",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -124,11 +124,11 @@
124
124
  "ua-parser-js": "^1.0.37",
125
125
  "use-debounce": "^10.0.5",
126
126
  "uuid": "^11.1.1",
127
- "@funkit/api-base": "9.1.2",
128
- "@funkit/chains": "2.6.0",
129
- "@funkit/utils": "5.1.0",
130
- "@funkit/fun-relay": "3.2.0",
131
- "@funkit/connect-core": "10.1.0"
127
+ "@funkit/api-base": "10.0.0",
128
+ "@funkit/chains": "2.6.1",
129
+ "@funkit/fun-relay": "3.3.1",
130
+ "@funkit/connect-core": "12.0.0",
131
+ "@funkit/utils": "5.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,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bifrostWallet/bifrostWallet.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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bitgetWallet/bitgetWallet.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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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 = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
11
11
  var coin98Wallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.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-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } 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 = ({