@compass-labs/api-sdk 2.2.39 → 2.2.40-rc.1

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 (878) hide show
  1. package/dist/commonjs/funcs/aaveV3AaveAaveSupportedTokens.d.ts.map +1 -1
  2. package/dist/commonjs/funcs/aaveV3AaveAaveSupportedTokens.js +2 -1
  3. package/dist/commonjs/funcs/aaveV3AaveAaveSupportedTokens.js.map +1 -1
  4. package/dist/commonjs/funcs/aaveV3AaveAvgRate.d.ts.map +1 -1
  5. package/dist/commonjs/funcs/aaveV3AaveAvgRate.js +2 -1
  6. package/dist/commonjs/funcs/aaveV3AaveAvgRate.js.map +1 -1
  7. package/dist/commonjs/funcs/aaveV3AaveBorrow.d.ts.map +1 -1
  8. package/dist/commonjs/funcs/aaveV3AaveBorrow.js +2 -1
  9. package/dist/commonjs/funcs/aaveV3AaveBorrow.js.map +1 -1
  10. package/dist/commonjs/funcs/aaveV3AaveHistoricalTransactions.d.ts.map +1 -1
  11. package/dist/commonjs/funcs/aaveV3AaveHistoricalTransactions.js +2 -1
  12. package/dist/commonjs/funcs/aaveV3AaveHistoricalTransactions.js.map +1 -1
  13. package/dist/commonjs/funcs/aaveV3AaveLiquidityChange.d.ts.map +1 -1
  14. package/dist/commonjs/funcs/aaveV3AaveLiquidityChange.js +2 -1
  15. package/dist/commonjs/funcs/aaveV3AaveLiquidityChange.js.map +1 -1
  16. package/dist/commonjs/funcs/aaveV3AaveRate.d.ts.map +1 -1
  17. package/dist/commonjs/funcs/aaveV3AaveRate.js +2 -1
  18. package/dist/commonjs/funcs/aaveV3AaveRate.js.map +1 -1
  19. package/dist/commonjs/funcs/aaveV3AaveRepay.d.ts.map +1 -1
  20. package/dist/commonjs/funcs/aaveV3AaveRepay.js +2 -1
  21. package/dist/commonjs/funcs/aaveV3AaveRepay.js.map +1 -1
  22. package/dist/commonjs/funcs/aaveV3AaveReserveOverview.d.ts.map +1 -1
  23. package/dist/commonjs/funcs/aaveV3AaveReserveOverview.js +2 -1
  24. package/dist/commonjs/funcs/aaveV3AaveReserveOverview.js.map +1 -1
  25. package/dist/commonjs/funcs/aaveV3AaveSetUserEmode.d.ts.map +1 -1
  26. package/dist/commonjs/funcs/aaveV3AaveSetUserEmode.js +2 -1
  27. package/dist/commonjs/funcs/aaveV3AaveSetUserEmode.js.map +1 -1
  28. package/dist/commonjs/funcs/aaveV3AaveStdRate.d.ts.map +1 -1
  29. package/dist/commonjs/funcs/aaveV3AaveStdRate.js +2 -1
  30. package/dist/commonjs/funcs/aaveV3AaveStdRate.js.map +1 -1
  31. package/dist/commonjs/funcs/aaveV3AaveSupply.d.ts.map +1 -1
  32. package/dist/commonjs/funcs/aaveV3AaveSupply.js +2 -1
  33. package/dist/commonjs/funcs/aaveV3AaveSupply.js.map +1 -1
  34. package/dist/commonjs/funcs/aaveV3AaveTokenPrice.d.ts.map +1 -1
  35. package/dist/commonjs/funcs/aaveV3AaveTokenPrice.js +2 -1
  36. package/dist/commonjs/funcs/aaveV3AaveTokenPrice.js.map +1 -1
  37. package/dist/commonjs/funcs/aaveV3AaveUserPositionPerToken.d.ts.map +1 -1
  38. package/dist/commonjs/funcs/aaveV3AaveUserPositionPerToken.js +2 -1
  39. package/dist/commonjs/funcs/aaveV3AaveUserPositionPerToken.js.map +1 -1
  40. package/dist/commonjs/funcs/aaveV3AaveUserPositionSummary.d.ts.map +1 -1
  41. package/dist/commonjs/funcs/aaveV3AaveUserPositionSummary.js +2 -1
  42. package/dist/commonjs/funcs/aaveV3AaveUserPositionSummary.js.map +1 -1
  43. package/dist/commonjs/funcs/aaveV3AaveWithdraw.d.ts.map +1 -1
  44. package/dist/commonjs/funcs/aaveV3AaveWithdraw.js +2 -1
  45. package/dist/commonjs/funcs/aaveV3AaveWithdraw.js.map +1 -1
  46. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
  47. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.js +2 -1
  48. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.js.map +1 -1
  49. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
  50. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.js +2 -1
  51. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.js.map +1 -1
  52. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.d.ts.map +1 -1
  53. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.js +2 -1
  54. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.js.map +1 -1
  55. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
  56. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.js +2 -1
  57. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
  58. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.d.ts.map +1 -1
  59. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.js +2 -1
  60. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.js.map +1 -1
  61. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.d.ts.map +1 -1
  62. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.js +2 -1
  63. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.js.map +1 -1
  64. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.d.ts.map +1 -1
  65. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.js +2 -1
  66. package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.js.map +1 -1
  67. package/dist/commonjs/funcs/bridgeCctpBurn.d.ts.map +1 -1
  68. package/dist/commonjs/funcs/bridgeCctpBurn.js +2 -1
  69. package/dist/commonjs/funcs/bridgeCctpBurn.js.map +1 -1
  70. package/dist/commonjs/funcs/bridgeCctpMint.d.ts.map +1 -1
  71. package/dist/commonjs/funcs/bridgeCctpMint.js +2 -1
  72. package/dist/commonjs/funcs/bridgeCctpMint.js.map +1 -1
  73. package/dist/commonjs/funcs/creditCreditBalances.d.ts.map +1 -1
  74. package/dist/commonjs/funcs/creditCreditBalances.js +2 -1
  75. package/dist/commonjs/funcs/creditCreditBalances.js.map +1 -1
  76. package/dist/commonjs/funcs/creditCreditBorrow.d.ts.map +1 -1
  77. package/dist/commonjs/funcs/creditCreditBorrow.js +2 -1
  78. package/dist/commonjs/funcs/creditCreditBorrow.js.map +1 -1
  79. package/dist/commonjs/funcs/creditCreditBundle.d.ts.map +1 -1
  80. package/dist/commonjs/funcs/creditCreditBundle.js +2 -1
  81. package/dist/commonjs/funcs/creditCreditBundle.js.map +1 -1
  82. package/dist/commonjs/funcs/creditCreditCreateAccount.d.ts.map +1 -1
  83. package/dist/commonjs/funcs/creditCreditCreateAccount.js +2 -1
  84. package/dist/commonjs/funcs/creditCreditCreateAccount.js.map +1 -1
  85. package/dist/commonjs/funcs/creditCreditPositions.d.ts.map +1 -1
  86. package/dist/commonjs/funcs/creditCreditPositions.js +2 -1
  87. package/dist/commonjs/funcs/creditCreditPositions.js.map +1 -1
  88. package/dist/commonjs/funcs/creditCreditRepay.d.ts.map +1 -1
  89. package/dist/commonjs/funcs/creditCreditRepay.js +2 -1
  90. package/dist/commonjs/funcs/creditCreditRepay.js.map +1 -1
  91. package/dist/commonjs/funcs/creditCreditTransfer.d.ts.map +1 -1
  92. package/dist/commonjs/funcs/creditCreditTransfer.js +2 -1
  93. package/dist/commonjs/funcs/creditCreditTransfer.js.map +1 -1
  94. package/dist/commonjs/funcs/earnEarnAaveMarkets.d.ts.map +1 -1
  95. package/dist/commonjs/funcs/earnEarnAaveMarkets.js +2 -1
  96. package/dist/commonjs/funcs/earnEarnAaveMarkets.js.map +1 -1
  97. package/dist/commonjs/funcs/earnEarnBalances.d.ts.map +1 -1
  98. package/dist/commonjs/funcs/earnEarnBalances.js +2 -1
  99. package/dist/commonjs/funcs/earnEarnBalances.js.map +1 -1
  100. package/dist/commonjs/funcs/earnEarnBundle.d.ts.map +1 -1
  101. package/dist/commonjs/funcs/earnEarnBundle.js +2 -1
  102. package/dist/commonjs/funcs/earnEarnBundle.js.map +1 -1
  103. package/dist/commonjs/funcs/earnEarnCreateAccount.d.ts.map +1 -1
  104. package/dist/commonjs/funcs/earnEarnCreateAccount.js +2 -1
  105. package/dist/commonjs/funcs/earnEarnCreateAccount.js.map +1 -1
  106. package/dist/commonjs/funcs/earnEarnManage.d.ts.map +1 -1
  107. package/dist/commonjs/funcs/earnEarnManage.js +2 -1
  108. package/dist/commonjs/funcs/earnEarnManage.js.map +1 -1
  109. package/dist/commonjs/funcs/earnEarnPendleMarkets.d.ts.map +1 -1
  110. package/dist/commonjs/funcs/earnEarnPendleMarkets.js +2 -1
  111. package/dist/commonjs/funcs/earnEarnPendleMarkets.js.map +1 -1
  112. package/dist/commonjs/funcs/earnEarnPositions.d.ts.map +1 -1
  113. package/dist/commonjs/funcs/earnEarnPositions.js +2 -1
  114. package/dist/commonjs/funcs/earnEarnPositions.js.map +1 -1
  115. package/dist/commonjs/funcs/earnEarnPositionsAll.d.ts.map +1 -1
  116. package/dist/commonjs/funcs/earnEarnPositionsAll.js +2 -1
  117. package/dist/commonjs/funcs/earnEarnPositionsAll.js.map +1 -1
  118. package/dist/commonjs/funcs/earnEarnSwap.d.ts.map +1 -1
  119. package/dist/commonjs/funcs/earnEarnSwap.js +2 -1
  120. package/dist/commonjs/funcs/earnEarnSwap.js.map +1 -1
  121. package/dist/commonjs/funcs/earnEarnTransfer.d.ts.map +1 -1
  122. package/dist/commonjs/funcs/earnEarnTransfer.js +2 -1
  123. package/dist/commonjs/funcs/earnEarnTransfer.js.map +1 -1
  124. package/dist/commonjs/funcs/earnEarnVaults.d.ts.map +1 -1
  125. package/dist/commonjs/funcs/earnEarnVaults.js +2 -1
  126. package/dist/commonjs/funcs/earnEarnVaults.js.map +1 -1
  127. package/dist/commonjs/funcs/erc4626VaultsVaultsDeposit.d.ts.map +1 -1
  128. package/dist/commonjs/funcs/erc4626VaultsVaultsDeposit.js +2 -1
  129. package/dist/commonjs/funcs/erc4626VaultsVaultsDeposit.js.map +1 -1
  130. package/dist/commonjs/funcs/erc4626VaultsVaultsVault.d.ts.map +1 -1
  131. package/dist/commonjs/funcs/erc4626VaultsVaultsVault.js +2 -1
  132. package/dist/commonjs/funcs/erc4626VaultsVaultsVault.js.map +1 -1
  133. package/dist/commonjs/funcs/erc4626VaultsVaultsWithdraw.d.ts.map +1 -1
  134. package/dist/commonjs/funcs/erc4626VaultsVaultsWithdraw.js +2 -1
  135. package/dist/commonjs/funcs/erc4626VaultsVaultsWithdraw.js.map +1 -1
  136. package/dist/commonjs/funcs/ethenaEthenaDeposit.d.ts.map +1 -1
  137. package/dist/commonjs/funcs/ethenaEthenaDeposit.js +2 -1
  138. package/dist/commonjs/funcs/ethenaEthenaDeposit.js.map +1 -1
  139. package/dist/commonjs/funcs/ethenaEthenaRequest.d.ts.map +1 -1
  140. package/dist/commonjs/funcs/ethenaEthenaRequest.js +2 -1
  141. package/dist/commonjs/funcs/ethenaEthenaRequest.js.map +1 -1
  142. package/dist/commonjs/funcs/ethenaEthenaUnstake.d.ts.map +1 -1
  143. package/dist/commonjs/funcs/ethenaEthenaUnstake.js +2 -1
  144. package/dist/commonjs/funcs/ethenaEthenaUnstake.js.map +1 -1
  145. package/dist/commonjs/funcs/ethenaEthenaVault.d.ts.map +1 -1
  146. package/dist/commonjs/funcs/ethenaEthenaVault.js +2 -1
  147. package/dist/commonjs/funcs/ethenaEthenaVault.js.map +1 -1
  148. package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipApproveTransfer.d.ts.map +1 -1
  149. package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipApproveTransfer.js +2 -1
  150. package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipApproveTransfer.js.map +1 -1
  151. package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipPrepare.d.ts.map +1 -1
  152. package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipPrepare.js +2 -1
  153. package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipPrepare.js.map +1 -1
  154. package/dist/commonjs/funcs/morphoMorphoBorrow.d.ts.map +1 -1
  155. package/dist/commonjs/funcs/morphoMorphoBorrow.js +2 -1
  156. package/dist/commonjs/funcs/morphoMorphoBorrow.js.map +1 -1
  157. package/dist/commonjs/funcs/morphoMorphoDeposit.d.ts.map +1 -1
  158. package/dist/commonjs/funcs/morphoMorphoDeposit.js +2 -1
  159. package/dist/commonjs/funcs/morphoMorphoDeposit.js.map +1 -1
  160. package/dist/commonjs/funcs/morphoMorphoMarket.d.ts.map +1 -1
  161. package/dist/commonjs/funcs/morphoMorphoMarket.js +2 -1
  162. package/dist/commonjs/funcs/morphoMorphoMarket.js.map +1 -1
  163. package/dist/commonjs/funcs/morphoMorphoMarketPosition.d.ts.map +1 -1
  164. package/dist/commonjs/funcs/morphoMorphoMarketPosition.js +2 -1
  165. package/dist/commonjs/funcs/morphoMorphoMarketPosition.js.map +1 -1
  166. package/dist/commonjs/funcs/morphoMorphoMarkets.d.ts.map +1 -1
  167. package/dist/commonjs/funcs/morphoMorphoMarkets.js +2 -1
  168. package/dist/commonjs/funcs/morphoMorphoMarkets.js.map +1 -1
  169. package/dist/commonjs/funcs/morphoMorphoRepay.d.ts.map +1 -1
  170. package/dist/commonjs/funcs/morphoMorphoRepay.js +2 -1
  171. package/dist/commonjs/funcs/morphoMorphoRepay.js.map +1 -1
  172. package/dist/commonjs/funcs/morphoMorphoSupplyCollateral.d.ts.map +1 -1
  173. package/dist/commonjs/funcs/morphoMorphoSupplyCollateral.js +2 -1
  174. package/dist/commonjs/funcs/morphoMorphoSupplyCollateral.js.map +1 -1
  175. package/dist/commonjs/funcs/morphoMorphoUserPosition.d.ts.map +1 -1
  176. package/dist/commonjs/funcs/morphoMorphoUserPosition.js +2 -1
  177. package/dist/commonjs/funcs/morphoMorphoUserPosition.js.map +1 -1
  178. package/dist/commonjs/funcs/morphoMorphoVault.d.ts.map +1 -1
  179. package/dist/commonjs/funcs/morphoMorphoVault.js +2 -1
  180. package/dist/commonjs/funcs/morphoMorphoVault.js.map +1 -1
  181. package/dist/commonjs/funcs/morphoMorphoVaults.d.ts.map +1 -1
  182. package/dist/commonjs/funcs/morphoMorphoVaults.js +2 -1
  183. package/dist/commonjs/funcs/morphoMorphoVaults.js.map +1 -1
  184. package/dist/commonjs/funcs/morphoMorphoWithdraw.d.ts.map +1 -1
  185. package/dist/commonjs/funcs/morphoMorphoWithdraw.js +2 -1
  186. package/dist/commonjs/funcs/morphoMorphoWithdraw.js.map +1 -1
  187. package/dist/commonjs/funcs/morphoMorphoWithdrawCollateral.d.ts.map +1 -1
  188. package/dist/commonjs/funcs/morphoMorphoWithdrawCollateral.js +2 -1
  189. package/dist/commonjs/funcs/morphoMorphoWithdrawCollateral.js.map +1 -1
  190. package/dist/commonjs/funcs/pendlePendleLiquidity.d.ts.map +1 -1
  191. package/dist/commonjs/funcs/pendlePendleLiquidity.js +2 -1
  192. package/dist/commonjs/funcs/pendlePendleLiquidity.js.map +1 -1
  193. package/dist/commonjs/funcs/pendlePendleMarket.d.ts.map +1 -1
  194. package/dist/commonjs/funcs/pendlePendleMarket.js +2 -1
  195. package/dist/commonjs/funcs/pendlePendleMarket.js.map +1 -1
  196. package/dist/commonjs/funcs/pendlePendleMarkets.d.ts.map +1 -1
  197. package/dist/commonjs/funcs/pendlePendleMarkets.js +2 -1
  198. package/dist/commonjs/funcs/pendlePendleMarkets.js.map +1 -1
  199. package/dist/commonjs/funcs/pendlePendlePositions.d.ts.map +1 -1
  200. package/dist/commonjs/funcs/pendlePendlePositions.js +2 -1
  201. package/dist/commonjs/funcs/pendlePendlePositions.js.map +1 -1
  202. package/dist/commonjs/funcs/pendlePendlePt.d.ts.map +1 -1
  203. package/dist/commonjs/funcs/pendlePendlePt.js +2 -1
  204. package/dist/commonjs/funcs/pendlePendlePt.js.map +1 -1
  205. package/dist/commonjs/funcs/pendlePendleRedeemYield.d.ts.map +1 -1
  206. package/dist/commonjs/funcs/pendlePendleRedeemYield.js +2 -1
  207. package/dist/commonjs/funcs/pendlePendleRedeemYield.js.map +1 -1
  208. package/dist/commonjs/funcs/pendlePendleYt.d.ts.map +1 -1
  209. package/dist/commonjs/funcs/pendlePendleYt.js +2 -1
  210. package/dist/commonjs/funcs/pendlePendleYt.js.map +1 -1
  211. package/dist/commonjs/funcs/skySkyBuy.d.ts.map +1 -1
  212. package/dist/commonjs/funcs/skySkyBuy.js +2 -1
  213. package/dist/commonjs/funcs/skySkyBuy.js.map +1 -1
  214. package/dist/commonjs/funcs/skySkyDeposit.d.ts.map +1 -1
  215. package/dist/commonjs/funcs/skySkyDeposit.js +2 -1
  216. package/dist/commonjs/funcs/skySkyDeposit.js.map +1 -1
  217. package/dist/commonjs/funcs/skySkyPosition.d.ts.map +1 -1
  218. package/dist/commonjs/funcs/skySkyPosition.js +2 -1
  219. package/dist/commonjs/funcs/skySkyPosition.js.map +1 -1
  220. package/dist/commonjs/funcs/skySkySell.d.ts.map +1 -1
  221. package/dist/commonjs/funcs/skySkySell.js +2 -1
  222. package/dist/commonjs/funcs/skySkySell.js.map +1 -1
  223. package/dist/commonjs/funcs/skySkyWithdraw.d.ts.map +1 -1
  224. package/dist/commonjs/funcs/skySkyWithdraw.js +2 -1
  225. package/dist/commonjs/funcs/skySkyWithdraw.js.map +1 -1
  226. package/dist/commonjs/funcs/smartAccountSmartAccountBatchedUserOperations.d.ts.map +1 -1
  227. package/dist/commonjs/funcs/smartAccountSmartAccountBatchedUserOperations.js +2 -1
  228. package/dist/commonjs/funcs/smartAccountSmartAccountBatchedUserOperations.js.map +1 -1
  229. package/dist/commonjs/funcs/swapSwapOdos.d.ts.map +1 -1
  230. package/dist/commonjs/funcs/swapSwapOdos.js +2 -1
  231. package/dist/commonjs/funcs/swapSwapOdos.js.map +1 -1
  232. package/dist/commonjs/funcs/tokenTokenBalance.d.ts.map +1 -1
  233. package/dist/commonjs/funcs/tokenTokenBalance.js +2 -1
  234. package/dist/commonjs/funcs/tokenTokenBalance.js.map +1 -1
  235. package/dist/commonjs/funcs/tokenTokenList.d.ts.map +1 -1
  236. package/dist/commonjs/funcs/tokenTokenList.js +2 -1
  237. package/dist/commonjs/funcs/tokenTokenList.js.map +1 -1
  238. package/dist/commonjs/funcs/tokenTokenPrice.d.ts.map +1 -1
  239. package/dist/commonjs/funcs/tokenTokenPrice.js +2 -1
  240. package/dist/commonjs/funcs/tokenTokenPrice.js.map +1 -1
  241. package/dist/commonjs/funcs/tokenTokenTransfer.d.ts.map +1 -1
  242. package/dist/commonjs/funcs/tokenTokenTransfer.js +2 -1
  243. package/dist/commonjs/funcs/tokenTokenTransfer.js.map +1 -1
  244. package/dist/commonjs/funcs/tokenTokenUnwrapWeth.d.ts.map +1 -1
  245. package/dist/commonjs/funcs/tokenTokenUnwrapWeth.js +2 -1
  246. package/dist/commonjs/funcs/tokenTokenUnwrapWeth.js.map +1 -1
  247. package/dist/commonjs/funcs/tokenTokenWrapEth.d.ts.map +1 -1
  248. package/dist/commonjs/funcs/tokenTokenWrapEth.js +2 -1
  249. package/dist/commonjs/funcs/tokenTokenWrapEth.js.map +1 -1
  250. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.d.ts.map +1 -1
  251. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.js +2 -1
  252. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.js.map +1 -1
  253. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingCancelOrder.d.ts.map +1 -1
  254. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingCancelOrder.js +2 -1
  255. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingCancelOrder.js.map +1 -1
  256. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingDeposit.d.ts.map +1 -1
  257. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingDeposit.js +2 -1
  258. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingDeposit.js.map +1 -1
  259. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.d.ts.map +1 -1
  260. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.js +2 -1
  261. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.js.map +1 -1
  262. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.d.ts.map +1 -1
  263. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.js +2 -1
  264. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.js.map +1 -1
  265. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingExecute.d.ts.map +1 -1
  266. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingExecute.js +2 -1
  267. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingExecute.js.map +1 -1
  268. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingLimitOrder.d.ts.map +1 -1
  269. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingLimitOrder.js +2 -1
  270. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingLimitOrder.js.map +1 -1
  271. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingMarketOrder.d.ts.map +1 -1
  272. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingMarketOrder.js +2 -1
  273. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingMarketOrder.js.map +1 -1
  274. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingOpportunities.d.ts.map +1 -1
  275. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingOpportunities.js +2 -1
  276. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingOpportunities.js.map +1 -1
  277. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingPositions.d.ts.map +1 -1
  278. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingPositions.js +2 -1
  279. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingPositions.js.map +1 -1
  280. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingWithdraw.d.ts.map +1 -1
  281. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingWithdraw.js +2 -1
  282. package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingWithdraw.js.map +1 -1
  283. package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAaveLoop.d.ts.map +1 -1
  284. package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAaveLoop.js +2 -1
  285. package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAaveLoop.js.map +1 -1
  286. package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAuthorization.d.ts.map +1 -1
  287. package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAuthorization.js +2 -1
  288. package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAuthorization.js.map +1 -1
  289. package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.d.ts.map +1 -1
  290. package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.js +2 -1
  291. package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.js.map +1 -1
  292. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionInRange.d.ts.map +1 -1
  293. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionInRange.js +2 -1
  294. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionInRange.js.map +1 -1
  295. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionIncrease.d.ts.map +1 -1
  296. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionIncrease.js +2 -1
  297. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionIncrease.js.map +1 -1
  298. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionMint.d.ts.map +1 -1
  299. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionMint.js +2 -1
  300. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionMint.js.map +1 -1
  301. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionPositions.d.ts.map +1 -1
  302. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionPositions.js +2 -1
  303. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionPositions.js.map +1 -1
  304. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.d.ts.map +1 -1
  305. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.js +2 -1
  306. package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.js.map +1 -1
  307. package/dist/commonjs/funcs/uniswapV3UniswapPoolPrice.d.ts.map +1 -1
  308. package/dist/commonjs/funcs/uniswapV3UniswapPoolPrice.js +2 -1
  309. package/dist/commonjs/funcs/uniswapV3UniswapPoolPrice.js.map +1 -1
  310. package/dist/commonjs/funcs/uniswapV3UniswapQuoteBuyExactly.d.ts.map +1 -1
  311. package/dist/commonjs/funcs/uniswapV3UniswapQuoteBuyExactly.js +2 -1
  312. package/dist/commonjs/funcs/uniswapV3UniswapQuoteBuyExactly.js.map +1 -1
  313. package/dist/commonjs/funcs/uniswapV3UniswapQuoteSellExactly.d.ts.map +1 -1
  314. package/dist/commonjs/funcs/uniswapV3UniswapQuoteSellExactly.js +2 -1
  315. package/dist/commonjs/funcs/uniswapV3UniswapQuoteSellExactly.js.map +1 -1
  316. package/dist/commonjs/funcs/uniswapV3UniswapSwapBuyExactly.d.ts.map +1 -1
  317. package/dist/commonjs/funcs/uniswapV3UniswapSwapBuyExactly.js +2 -1
  318. package/dist/commonjs/funcs/uniswapV3UniswapSwapBuyExactly.js.map +1 -1
  319. package/dist/commonjs/funcs/uniswapV3UniswapSwapSellExactly.d.ts.map +1 -1
  320. package/dist/commonjs/funcs/uniswapV3UniswapSwapSellExactly.js +2 -1
  321. package/dist/commonjs/funcs/uniswapV3UniswapSwapSellExactly.js.map +1 -1
  322. package/dist/commonjs/funcs/universalGenericAllowance.d.ts.map +1 -1
  323. package/dist/commonjs/funcs/universalGenericAllowance.js +2 -1
  324. package/dist/commonjs/funcs/universalGenericAllowance.js.map +1 -1
  325. package/dist/commonjs/funcs/universalGenericAllowanceSet.d.ts.map +1 -1
  326. package/dist/commonjs/funcs/universalGenericAllowanceSet.js +2 -1
  327. package/dist/commonjs/funcs/universalGenericAllowanceSet.js.map +1 -1
  328. package/dist/commonjs/funcs/universalGenericEns.d.ts.map +1 -1
  329. package/dist/commonjs/funcs/universalGenericEns.js +2 -1
  330. package/dist/commonjs/funcs/universalGenericEns.js.map +1 -1
  331. package/dist/commonjs/funcs/universalGenericPortfolio.d.ts.map +1 -1
  332. package/dist/commonjs/funcs/universalGenericPortfolio.js +2 -1
  333. package/dist/commonjs/funcs/universalGenericPortfolio.js.map +1 -1
  334. package/dist/commonjs/funcs/universalGenericSupportedChains.d.ts.map +1 -1
  335. package/dist/commonjs/funcs/universalGenericSupportedChains.js +2 -1
  336. package/dist/commonjs/funcs/universalGenericSupportedChains.js.map +1 -1
  337. package/dist/commonjs/funcs/wildcatWildcatMarket.d.ts.map +1 -1
  338. package/dist/commonjs/funcs/wildcatWildcatMarket.js +2 -1
  339. package/dist/commonjs/funcs/wildcatWildcatMarket.js.map +1 -1
  340. package/dist/commonjs/lib/config.d.ts +2 -2
  341. package/dist/commonjs/lib/config.js +2 -2
  342. package/dist/commonjs/lib/config.js.map +1 -1
  343. package/dist/commonjs/lib/sdks.d.ts +1 -1
  344. package/dist/commonjs/lib/sdks.d.ts.map +1 -1
  345. package/dist/commonjs/lib/sdks.js +2 -2
  346. package/dist/commonjs/lib/sdks.js.map +1 -1
  347. package/dist/commonjs/models/components/creditborrowparams.d.ts +6 -0
  348. package/dist/commonjs/models/components/creditborrowparams.d.ts.map +1 -1
  349. package/dist/commonjs/models/components/creditborrowparams.js +2 -0
  350. package/dist/commonjs/models/components/creditborrowparams.js.map +1 -1
  351. package/dist/commonjs/models/components/creditborrowrequest.d.ts +6 -0
  352. package/dist/commonjs/models/components/creditborrowrequest.d.ts.map +1 -1
  353. package/dist/commonjs/models/components/creditborrowrequest.js +2 -0
  354. package/dist/commonjs/models/components/creditborrowrequest.js.map +1 -1
  355. package/dist/commonjs/models/components/creditborrowresponse.d.ts +4 -0
  356. package/dist/commonjs/models/components/creditborrowresponse.d.ts.map +1 -1
  357. package/dist/commonjs/models/components/creditborrowresponse.js +2 -0
  358. package/dist/commonjs/models/components/creditborrowresponse.js.map +1 -1
  359. package/dist/commonjs/models/components/creditfee.d.ts +57 -0
  360. package/dist/commonjs/models/components/creditfee.d.ts.map +1 -0
  361. package/dist/commonjs/models/components/creditfee.js +66 -0
  362. package/dist/commonjs/models/components/creditfee.js.map +1 -0
  363. package/dist/commonjs/models/components/fee.d.ts +4 -4
  364. package/dist/commonjs/models/components/fee.d.ts.map +1 -1
  365. package/dist/commonjs/models/components/fee.js +4 -4
  366. package/dist/commonjs/models/components/fee.js.map +1 -1
  367. package/dist/commonjs/models/components/index.d.ts +1 -0
  368. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  369. package/dist/commonjs/models/components/index.js +1 -0
  370. package/dist/commonjs/models/components/index.js.map +1 -1
  371. package/dist/esm/funcs/aaveV3AaveAaveSupportedTokens.d.ts.map +1 -1
  372. package/dist/esm/funcs/aaveV3AaveAaveSupportedTokens.js +2 -1
  373. package/dist/esm/funcs/aaveV3AaveAaveSupportedTokens.js.map +1 -1
  374. package/dist/esm/funcs/aaveV3AaveAvgRate.d.ts.map +1 -1
  375. package/dist/esm/funcs/aaveV3AaveAvgRate.js +2 -1
  376. package/dist/esm/funcs/aaveV3AaveAvgRate.js.map +1 -1
  377. package/dist/esm/funcs/aaveV3AaveBorrow.d.ts.map +1 -1
  378. package/dist/esm/funcs/aaveV3AaveBorrow.js +2 -1
  379. package/dist/esm/funcs/aaveV3AaveBorrow.js.map +1 -1
  380. package/dist/esm/funcs/aaveV3AaveHistoricalTransactions.d.ts.map +1 -1
  381. package/dist/esm/funcs/aaveV3AaveHistoricalTransactions.js +2 -1
  382. package/dist/esm/funcs/aaveV3AaveHistoricalTransactions.js.map +1 -1
  383. package/dist/esm/funcs/aaveV3AaveLiquidityChange.d.ts.map +1 -1
  384. package/dist/esm/funcs/aaveV3AaveLiquidityChange.js +2 -1
  385. package/dist/esm/funcs/aaveV3AaveLiquidityChange.js.map +1 -1
  386. package/dist/esm/funcs/aaveV3AaveRate.d.ts.map +1 -1
  387. package/dist/esm/funcs/aaveV3AaveRate.js +2 -1
  388. package/dist/esm/funcs/aaveV3AaveRate.js.map +1 -1
  389. package/dist/esm/funcs/aaveV3AaveRepay.d.ts.map +1 -1
  390. package/dist/esm/funcs/aaveV3AaveRepay.js +2 -1
  391. package/dist/esm/funcs/aaveV3AaveRepay.js.map +1 -1
  392. package/dist/esm/funcs/aaveV3AaveReserveOverview.d.ts.map +1 -1
  393. package/dist/esm/funcs/aaveV3AaveReserveOverview.js +2 -1
  394. package/dist/esm/funcs/aaveV3AaveReserveOverview.js.map +1 -1
  395. package/dist/esm/funcs/aaveV3AaveSetUserEmode.d.ts.map +1 -1
  396. package/dist/esm/funcs/aaveV3AaveSetUserEmode.js +2 -1
  397. package/dist/esm/funcs/aaveV3AaveSetUserEmode.js.map +1 -1
  398. package/dist/esm/funcs/aaveV3AaveStdRate.d.ts.map +1 -1
  399. package/dist/esm/funcs/aaveV3AaveStdRate.js +2 -1
  400. package/dist/esm/funcs/aaveV3AaveStdRate.js.map +1 -1
  401. package/dist/esm/funcs/aaveV3AaveSupply.d.ts.map +1 -1
  402. package/dist/esm/funcs/aaveV3AaveSupply.js +2 -1
  403. package/dist/esm/funcs/aaveV3AaveSupply.js.map +1 -1
  404. package/dist/esm/funcs/aaveV3AaveTokenPrice.d.ts.map +1 -1
  405. package/dist/esm/funcs/aaveV3AaveTokenPrice.js +2 -1
  406. package/dist/esm/funcs/aaveV3AaveTokenPrice.js.map +1 -1
  407. package/dist/esm/funcs/aaveV3AaveUserPositionPerToken.d.ts.map +1 -1
  408. package/dist/esm/funcs/aaveV3AaveUserPositionPerToken.js +2 -1
  409. package/dist/esm/funcs/aaveV3AaveUserPositionPerToken.js.map +1 -1
  410. package/dist/esm/funcs/aaveV3AaveUserPositionSummary.d.ts.map +1 -1
  411. package/dist/esm/funcs/aaveV3AaveUserPositionSummary.js +2 -1
  412. package/dist/esm/funcs/aaveV3AaveUserPositionSummary.js.map +1 -1
  413. package/dist/esm/funcs/aaveV3AaveWithdraw.d.ts.map +1 -1
  414. package/dist/esm/funcs/aaveV3AaveWithdraw.js +2 -1
  415. package/dist/esm/funcs/aaveV3AaveWithdraw.js.map +1 -1
  416. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
  417. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.js +2 -1
  418. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.js.map +1 -1
  419. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
  420. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.js +2 -1
  421. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.js.map +1 -1
  422. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.d.ts.map +1 -1
  423. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.js +2 -1
  424. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.js.map +1 -1
  425. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
  426. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.js +2 -1
  427. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
  428. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.d.ts.map +1 -1
  429. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.js +2 -1
  430. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.js.map +1 -1
  431. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.d.ts.map +1 -1
  432. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.js +2 -1
  433. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.js.map +1 -1
  434. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.d.ts.map +1 -1
  435. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.js +2 -1
  436. package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.js.map +1 -1
  437. package/dist/esm/funcs/bridgeCctpBurn.d.ts.map +1 -1
  438. package/dist/esm/funcs/bridgeCctpBurn.js +2 -1
  439. package/dist/esm/funcs/bridgeCctpBurn.js.map +1 -1
  440. package/dist/esm/funcs/bridgeCctpMint.d.ts.map +1 -1
  441. package/dist/esm/funcs/bridgeCctpMint.js +2 -1
  442. package/dist/esm/funcs/bridgeCctpMint.js.map +1 -1
  443. package/dist/esm/funcs/creditCreditBalances.d.ts.map +1 -1
  444. package/dist/esm/funcs/creditCreditBalances.js +2 -1
  445. package/dist/esm/funcs/creditCreditBalances.js.map +1 -1
  446. package/dist/esm/funcs/creditCreditBorrow.d.ts.map +1 -1
  447. package/dist/esm/funcs/creditCreditBorrow.js +2 -1
  448. package/dist/esm/funcs/creditCreditBorrow.js.map +1 -1
  449. package/dist/esm/funcs/creditCreditBundle.d.ts.map +1 -1
  450. package/dist/esm/funcs/creditCreditBundle.js +2 -1
  451. package/dist/esm/funcs/creditCreditBundle.js.map +1 -1
  452. package/dist/esm/funcs/creditCreditCreateAccount.d.ts.map +1 -1
  453. package/dist/esm/funcs/creditCreditCreateAccount.js +2 -1
  454. package/dist/esm/funcs/creditCreditCreateAccount.js.map +1 -1
  455. package/dist/esm/funcs/creditCreditPositions.d.ts.map +1 -1
  456. package/dist/esm/funcs/creditCreditPositions.js +2 -1
  457. package/dist/esm/funcs/creditCreditPositions.js.map +1 -1
  458. package/dist/esm/funcs/creditCreditRepay.d.ts.map +1 -1
  459. package/dist/esm/funcs/creditCreditRepay.js +2 -1
  460. package/dist/esm/funcs/creditCreditRepay.js.map +1 -1
  461. package/dist/esm/funcs/creditCreditTransfer.d.ts.map +1 -1
  462. package/dist/esm/funcs/creditCreditTransfer.js +2 -1
  463. package/dist/esm/funcs/creditCreditTransfer.js.map +1 -1
  464. package/dist/esm/funcs/earnEarnAaveMarkets.d.ts.map +1 -1
  465. package/dist/esm/funcs/earnEarnAaveMarkets.js +2 -1
  466. package/dist/esm/funcs/earnEarnAaveMarkets.js.map +1 -1
  467. package/dist/esm/funcs/earnEarnBalances.d.ts.map +1 -1
  468. package/dist/esm/funcs/earnEarnBalances.js +2 -1
  469. package/dist/esm/funcs/earnEarnBalances.js.map +1 -1
  470. package/dist/esm/funcs/earnEarnBundle.d.ts.map +1 -1
  471. package/dist/esm/funcs/earnEarnBundle.js +2 -1
  472. package/dist/esm/funcs/earnEarnBundle.js.map +1 -1
  473. package/dist/esm/funcs/earnEarnCreateAccount.d.ts.map +1 -1
  474. package/dist/esm/funcs/earnEarnCreateAccount.js +2 -1
  475. package/dist/esm/funcs/earnEarnCreateAccount.js.map +1 -1
  476. package/dist/esm/funcs/earnEarnManage.d.ts.map +1 -1
  477. package/dist/esm/funcs/earnEarnManage.js +2 -1
  478. package/dist/esm/funcs/earnEarnManage.js.map +1 -1
  479. package/dist/esm/funcs/earnEarnPendleMarkets.d.ts.map +1 -1
  480. package/dist/esm/funcs/earnEarnPendleMarkets.js +2 -1
  481. package/dist/esm/funcs/earnEarnPendleMarkets.js.map +1 -1
  482. package/dist/esm/funcs/earnEarnPositions.d.ts.map +1 -1
  483. package/dist/esm/funcs/earnEarnPositions.js +2 -1
  484. package/dist/esm/funcs/earnEarnPositions.js.map +1 -1
  485. package/dist/esm/funcs/earnEarnPositionsAll.d.ts.map +1 -1
  486. package/dist/esm/funcs/earnEarnPositionsAll.js +2 -1
  487. package/dist/esm/funcs/earnEarnPositionsAll.js.map +1 -1
  488. package/dist/esm/funcs/earnEarnSwap.d.ts.map +1 -1
  489. package/dist/esm/funcs/earnEarnSwap.js +2 -1
  490. package/dist/esm/funcs/earnEarnSwap.js.map +1 -1
  491. package/dist/esm/funcs/earnEarnTransfer.d.ts.map +1 -1
  492. package/dist/esm/funcs/earnEarnTransfer.js +2 -1
  493. package/dist/esm/funcs/earnEarnTransfer.js.map +1 -1
  494. package/dist/esm/funcs/earnEarnVaults.d.ts.map +1 -1
  495. package/dist/esm/funcs/earnEarnVaults.js +2 -1
  496. package/dist/esm/funcs/earnEarnVaults.js.map +1 -1
  497. package/dist/esm/funcs/erc4626VaultsVaultsDeposit.d.ts.map +1 -1
  498. package/dist/esm/funcs/erc4626VaultsVaultsDeposit.js +2 -1
  499. package/dist/esm/funcs/erc4626VaultsVaultsDeposit.js.map +1 -1
  500. package/dist/esm/funcs/erc4626VaultsVaultsVault.d.ts.map +1 -1
  501. package/dist/esm/funcs/erc4626VaultsVaultsVault.js +2 -1
  502. package/dist/esm/funcs/erc4626VaultsVaultsVault.js.map +1 -1
  503. package/dist/esm/funcs/erc4626VaultsVaultsWithdraw.d.ts.map +1 -1
  504. package/dist/esm/funcs/erc4626VaultsVaultsWithdraw.js +2 -1
  505. package/dist/esm/funcs/erc4626VaultsVaultsWithdraw.js.map +1 -1
  506. package/dist/esm/funcs/ethenaEthenaDeposit.d.ts.map +1 -1
  507. package/dist/esm/funcs/ethenaEthenaDeposit.js +2 -1
  508. package/dist/esm/funcs/ethenaEthenaDeposit.js.map +1 -1
  509. package/dist/esm/funcs/ethenaEthenaRequest.d.ts.map +1 -1
  510. package/dist/esm/funcs/ethenaEthenaRequest.js +2 -1
  511. package/dist/esm/funcs/ethenaEthenaRequest.js.map +1 -1
  512. package/dist/esm/funcs/ethenaEthenaUnstake.d.ts.map +1 -1
  513. package/dist/esm/funcs/ethenaEthenaUnstake.js +2 -1
  514. package/dist/esm/funcs/ethenaEthenaUnstake.js.map +1 -1
  515. package/dist/esm/funcs/ethenaEthenaVault.d.ts.map +1 -1
  516. package/dist/esm/funcs/ethenaEthenaVault.js +2 -1
  517. package/dist/esm/funcs/ethenaEthenaVault.js.map +1 -1
  518. package/dist/esm/funcs/gasSponsorshipGasSponsorshipApproveTransfer.d.ts.map +1 -1
  519. package/dist/esm/funcs/gasSponsorshipGasSponsorshipApproveTransfer.js +2 -1
  520. package/dist/esm/funcs/gasSponsorshipGasSponsorshipApproveTransfer.js.map +1 -1
  521. package/dist/esm/funcs/gasSponsorshipGasSponsorshipPrepare.d.ts.map +1 -1
  522. package/dist/esm/funcs/gasSponsorshipGasSponsorshipPrepare.js +2 -1
  523. package/dist/esm/funcs/gasSponsorshipGasSponsorshipPrepare.js.map +1 -1
  524. package/dist/esm/funcs/morphoMorphoBorrow.d.ts.map +1 -1
  525. package/dist/esm/funcs/morphoMorphoBorrow.js +2 -1
  526. package/dist/esm/funcs/morphoMorphoBorrow.js.map +1 -1
  527. package/dist/esm/funcs/morphoMorphoDeposit.d.ts.map +1 -1
  528. package/dist/esm/funcs/morphoMorphoDeposit.js +2 -1
  529. package/dist/esm/funcs/morphoMorphoDeposit.js.map +1 -1
  530. package/dist/esm/funcs/morphoMorphoMarket.d.ts.map +1 -1
  531. package/dist/esm/funcs/morphoMorphoMarket.js +2 -1
  532. package/dist/esm/funcs/morphoMorphoMarket.js.map +1 -1
  533. package/dist/esm/funcs/morphoMorphoMarketPosition.d.ts.map +1 -1
  534. package/dist/esm/funcs/morphoMorphoMarketPosition.js +2 -1
  535. package/dist/esm/funcs/morphoMorphoMarketPosition.js.map +1 -1
  536. package/dist/esm/funcs/morphoMorphoMarkets.d.ts.map +1 -1
  537. package/dist/esm/funcs/morphoMorphoMarkets.js +2 -1
  538. package/dist/esm/funcs/morphoMorphoMarkets.js.map +1 -1
  539. package/dist/esm/funcs/morphoMorphoRepay.d.ts.map +1 -1
  540. package/dist/esm/funcs/morphoMorphoRepay.js +2 -1
  541. package/dist/esm/funcs/morphoMorphoRepay.js.map +1 -1
  542. package/dist/esm/funcs/morphoMorphoSupplyCollateral.d.ts.map +1 -1
  543. package/dist/esm/funcs/morphoMorphoSupplyCollateral.js +2 -1
  544. package/dist/esm/funcs/morphoMorphoSupplyCollateral.js.map +1 -1
  545. package/dist/esm/funcs/morphoMorphoUserPosition.d.ts.map +1 -1
  546. package/dist/esm/funcs/morphoMorphoUserPosition.js +2 -1
  547. package/dist/esm/funcs/morphoMorphoUserPosition.js.map +1 -1
  548. package/dist/esm/funcs/morphoMorphoVault.d.ts.map +1 -1
  549. package/dist/esm/funcs/morphoMorphoVault.js +2 -1
  550. package/dist/esm/funcs/morphoMorphoVault.js.map +1 -1
  551. package/dist/esm/funcs/morphoMorphoVaults.d.ts.map +1 -1
  552. package/dist/esm/funcs/morphoMorphoVaults.js +2 -1
  553. package/dist/esm/funcs/morphoMorphoVaults.js.map +1 -1
  554. package/dist/esm/funcs/morphoMorphoWithdraw.d.ts.map +1 -1
  555. package/dist/esm/funcs/morphoMorphoWithdraw.js +2 -1
  556. package/dist/esm/funcs/morphoMorphoWithdraw.js.map +1 -1
  557. package/dist/esm/funcs/morphoMorphoWithdrawCollateral.d.ts.map +1 -1
  558. package/dist/esm/funcs/morphoMorphoWithdrawCollateral.js +2 -1
  559. package/dist/esm/funcs/morphoMorphoWithdrawCollateral.js.map +1 -1
  560. package/dist/esm/funcs/pendlePendleLiquidity.d.ts.map +1 -1
  561. package/dist/esm/funcs/pendlePendleLiquidity.js +2 -1
  562. package/dist/esm/funcs/pendlePendleLiquidity.js.map +1 -1
  563. package/dist/esm/funcs/pendlePendleMarket.d.ts.map +1 -1
  564. package/dist/esm/funcs/pendlePendleMarket.js +2 -1
  565. package/dist/esm/funcs/pendlePendleMarket.js.map +1 -1
  566. package/dist/esm/funcs/pendlePendleMarkets.d.ts.map +1 -1
  567. package/dist/esm/funcs/pendlePendleMarkets.js +2 -1
  568. package/dist/esm/funcs/pendlePendleMarkets.js.map +1 -1
  569. package/dist/esm/funcs/pendlePendlePositions.d.ts.map +1 -1
  570. package/dist/esm/funcs/pendlePendlePositions.js +2 -1
  571. package/dist/esm/funcs/pendlePendlePositions.js.map +1 -1
  572. package/dist/esm/funcs/pendlePendlePt.d.ts.map +1 -1
  573. package/dist/esm/funcs/pendlePendlePt.js +2 -1
  574. package/dist/esm/funcs/pendlePendlePt.js.map +1 -1
  575. package/dist/esm/funcs/pendlePendleRedeemYield.d.ts.map +1 -1
  576. package/dist/esm/funcs/pendlePendleRedeemYield.js +2 -1
  577. package/dist/esm/funcs/pendlePendleRedeemYield.js.map +1 -1
  578. package/dist/esm/funcs/pendlePendleYt.d.ts.map +1 -1
  579. package/dist/esm/funcs/pendlePendleYt.js +2 -1
  580. package/dist/esm/funcs/pendlePendleYt.js.map +1 -1
  581. package/dist/esm/funcs/skySkyBuy.d.ts.map +1 -1
  582. package/dist/esm/funcs/skySkyBuy.js +2 -1
  583. package/dist/esm/funcs/skySkyBuy.js.map +1 -1
  584. package/dist/esm/funcs/skySkyDeposit.d.ts.map +1 -1
  585. package/dist/esm/funcs/skySkyDeposit.js +2 -1
  586. package/dist/esm/funcs/skySkyDeposit.js.map +1 -1
  587. package/dist/esm/funcs/skySkyPosition.d.ts.map +1 -1
  588. package/dist/esm/funcs/skySkyPosition.js +2 -1
  589. package/dist/esm/funcs/skySkyPosition.js.map +1 -1
  590. package/dist/esm/funcs/skySkySell.d.ts.map +1 -1
  591. package/dist/esm/funcs/skySkySell.js +2 -1
  592. package/dist/esm/funcs/skySkySell.js.map +1 -1
  593. package/dist/esm/funcs/skySkyWithdraw.d.ts.map +1 -1
  594. package/dist/esm/funcs/skySkyWithdraw.js +2 -1
  595. package/dist/esm/funcs/skySkyWithdraw.js.map +1 -1
  596. package/dist/esm/funcs/smartAccountSmartAccountBatchedUserOperations.d.ts.map +1 -1
  597. package/dist/esm/funcs/smartAccountSmartAccountBatchedUserOperations.js +2 -1
  598. package/dist/esm/funcs/smartAccountSmartAccountBatchedUserOperations.js.map +1 -1
  599. package/dist/esm/funcs/swapSwapOdos.d.ts.map +1 -1
  600. package/dist/esm/funcs/swapSwapOdos.js +2 -1
  601. package/dist/esm/funcs/swapSwapOdos.js.map +1 -1
  602. package/dist/esm/funcs/tokenTokenBalance.d.ts.map +1 -1
  603. package/dist/esm/funcs/tokenTokenBalance.js +2 -1
  604. package/dist/esm/funcs/tokenTokenBalance.js.map +1 -1
  605. package/dist/esm/funcs/tokenTokenList.d.ts.map +1 -1
  606. package/dist/esm/funcs/tokenTokenList.js +2 -1
  607. package/dist/esm/funcs/tokenTokenList.js.map +1 -1
  608. package/dist/esm/funcs/tokenTokenPrice.d.ts.map +1 -1
  609. package/dist/esm/funcs/tokenTokenPrice.js +2 -1
  610. package/dist/esm/funcs/tokenTokenPrice.js.map +1 -1
  611. package/dist/esm/funcs/tokenTokenTransfer.d.ts.map +1 -1
  612. package/dist/esm/funcs/tokenTokenTransfer.js +2 -1
  613. package/dist/esm/funcs/tokenTokenTransfer.js.map +1 -1
  614. package/dist/esm/funcs/tokenTokenUnwrapWeth.d.ts.map +1 -1
  615. package/dist/esm/funcs/tokenTokenUnwrapWeth.js +2 -1
  616. package/dist/esm/funcs/tokenTokenUnwrapWeth.js.map +1 -1
  617. package/dist/esm/funcs/tokenTokenWrapEth.d.ts.map +1 -1
  618. package/dist/esm/funcs/tokenTokenWrapEth.js +2 -1
  619. package/dist/esm/funcs/tokenTokenWrapEth.js.map +1 -1
  620. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.d.ts.map +1 -1
  621. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.js +2 -1
  622. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.js.map +1 -1
  623. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingCancelOrder.d.ts.map +1 -1
  624. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingCancelOrder.js +2 -1
  625. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingCancelOrder.js.map +1 -1
  626. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingDeposit.d.ts.map +1 -1
  627. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingDeposit.js +2 -1
  628. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingDeposit.js.map +1 -1
  629. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.d.ts.map +1 -1
  630. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.js +2 -1
  631. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.js.map +1 -1
  632. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.d.ts.map +1 -1
  633. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.js +2 -1
  634. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.js.map +1 -1
  635. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingExecute.d.ts.map +1 -1
  636. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingExecute.js +2 -1
  637. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingExecute.js.map +1 -1
  638. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingLimitOrder.d.ts.map +1 -1
  639. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingLimitOrder.js +2 -1
  640. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingLimitOrder.js.map +1 -1
  641. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingMarketOrder.d.ts.map +1 -1
  642. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingMarketOrder.js +2 -1
  643. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingMarketOrder.js.map +1 -1
  644. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingOpportunities.d.ts.map +1 -1
  645. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingOpportunities.js +2 -1
  646. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingOpportunities.js.map +1 -1
  647. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingPositions.d.ts.map +1 -1
  648. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingPositions.js +2 -1
  649. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingPositions.js.map +1 -1
  650. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingWithdraw.d.ts.map +1 -1
  651. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingWithdraw.js +2 -1
  652. package/dist/esm/funcs/traditionalInvestingTraditionalInvestingWithdraw.js.map +1 -1
  653. package/dist/esm/funcs/transactionBundlerTransactionBundlerAaveLoop.d.ts.map +1 -1
  654. package/dist/esm/funcs/transactionBundlerTransactionBundlerAaveLoop.js +2 -1
  655. package/dist/esm/funcs/transactionBundlerTransactionBundlerAaveLoop.js.map +1 -1
  656. package/dist/esm/funcs/transactionBundlerTransactionBundlerAuthorization.d.ts.map +1 -1
  657. package/dist/esm/funcs/transactionBundlerTransactionBundlerAuthorization.js +2 -1
  658. package/dist/esm/funcs/transactionBundlerTransactionBundlerAuthorization.js.map +1 -1
  659. package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.d.ts.map +1 -1
  660. package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.js +2 -1
  661. package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.js.map +1 -1
  662. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionInRange.d.ts.map +1 -1
  663. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionInRange.js +2 -1
  664. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionInRange.js.map +1 -1
  665. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionIncrease.d.ts.map +1 -1
  666. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionIncrease.js +2 -1
  667. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionIncrease.js.map +1 -1
  668. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionMint.d.ts.map +1 -1
  669. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionMint.js +2 -1
  670. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionMint.js.map +1 -1
  671. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionPositions.d.ts.map +1 -1
  672. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionPositions.js +2 -1
  673. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionPositions.js.map +1 -1
  674. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.d.ts.map +1 -1
  675. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.js +2 -1
  676. package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.js.map +1 -1
  677. package/dist/esm/funcs/uniswapV3UniswapPoolPrice.d.ts.map +1 -1
  678. package/dist/esm/funcs/uniswapV3UniswapPoolPrice.js +2 -1
  679. package/dist/esm/funcs/uniswapV3UniswapPoolPrice.js.map +1 -1
  680. package/dist/esm/funcs/uniswapV3UniswapQuoteBuyExactly.d.ts.map +1 -1
  681. package/dist/esm/funcs/uniswapV3UniswapQuoteBuyExactly.js +2 -1
  682. package/dist/esm/funcs/uniswapV3UniswapQuoteBuyExactly.js.map +1 -1
  683. package/dist/esm/funcs/uniswapV3UniswapQuoteSellExactly.d.ts.map +1 -1
  684. package/dist/esm/funcs/uniswapV3UniswapQuoteSellExactly.js +2 -1
  685. package/dist/esm/funcs/uniswapV3UniswapQuoteSellExactly.js.map +1 -1
  686. package/dist/esm/funcs/uniswapV3UniswapSwapBuyExactly.d.ts.map +1 -1
  687. package/dist/esm/funcs/uniswapV3UniswapSwapBuyExactly.js +2 -1
  688. package/dist/esm/funcs/uniswapV3UniswapSwapBuyExactly.js.map +1 -1
  689. package/dist/esm/funcs/uniswapV3UniswapSwapSellExactly.d.ts.map +1 -1
  690. package/dist/esm/funcs/uniswapV3UniswapSwapSellExactly.js +2 -1
  691. package/dist/esm/funcs/uniswapV3UniswapSwapSellExactly.js.map +1 -1
  692. package/dist/esm/funcs/universalGenericAllowance.d.ts.map +1 -1
  693. package/dist/esm/funcs/universalGenericAllowance.js +2 -1
  694. package/dist/esm/funcs/universalGenericAllowance.js.map +1 -1
  695. package/dist/esm/funcs/universalGenericAllowanceSet.d.ts.map +1 -1
  696. package/dist/esm/funcs/universalGenericAllowanceSet.js +2 -1
  697. package/dist/esm/funcs/universalGenericAllowanceSet.js.map +1 -1
  698. package/dist/esm/funcs/universalGenericEns.d.ts.map +1 -1
  699. package/dist/esm/funcs/universalGenericEns.js +2 -1
  700. package/dist/esm/funcs/universalGenericEns.js.map +1 -1
  701. package/dist/esm/funcs/universalGenericPortfolio.d.ts.map +1 -1
  702. package/dist/esm/funcs/universalGenericPortfolio.js +2 -1
  703. package/dist/esm/funcs/universalGenericPortfolio.js.map +1 -1
  704. package/dist/esm/funcs/universalGenericSupportedChains.d.ts.map +1 -1
  705. package/dist/esm/funcs/universalGenericSupportedChains.js +2 -1
  706. package/dist/esm/funcs/universalGenericSupportedChains.js.map +1 -1
  707. package/dist/esm/funcs/wildcatWildcatMarket.d.ts.map +1 -1
  708. package/dist/esm/funcs/wildcatWildcatMarket.js +2 -1
  709. package/dist/esm/funcs/wildcatWildcatMarket.js.map +1 -1
  710. package/dist/esm/lib/config.d.ts +2 -2
  711. package/dist/esm/lib/config.js +2 -2
  712. package/dist/esm/lib/config.js.map +1 -1
  713. package/dist/esm/lib/sdks.d.ts +1 -1
  714. package/dist/esm/lib/sdks.d.ts.map +1 -1
  715. package/dist/esm/lib/sdks.js +3 -3
  716. package/dist/esm/lib/sdks.js.map +1 -1
  717. package/dist/esm/models/components/creditborrowparams.d.ts +6 -0
  718. package/dist/esm/models/components/creditborrowparams.d.ts.map +1 -1
  719. package/dist/esm/models/components/creditborrowparams.js +2 -0
  720. package/dist/esm/models/components/creditborrowparams.js.map +1 -1
  721. package/dist/esm/models/components/creditborrowrequest.d.ts +6 -0
  722. package/dist/esm/models/components/creditborrowrequest.d.ts.map +1 -1
  723. package/dist/esm/models/components/creditborrowrequest.js +2 -0
  724. package/dist/esm/models/components/creditborrowrequest.js.map +1 -1
  725. package/dist/esm/models/components/creditborrowresponse.d.ts +4 -0
  726. package/dist/esm/models/components/creditborrowresponse.d.ts.map +1 -1
  727. package/dist/esm/models/components/creditborrowresponse.js +2 -0
  728. package/dist/esm/models/components/creditborrowresponse.js.map +1 -1
  729. package/dist/esm/models/components/creditfee.d.ts +57 -0
  730. package/dist/esm/models/components/creditfee.d.ts.map +1 -0
  731. package/dist/esm/models/components/creditfee.js +28 -0
  732. package/dist/esm/models/components/creditfee.js.map +1 -0
  733. package/dist/esm/models/components/fee.d.ts +4 -4
  734. package/dist/esm/models/components/fee.d.ts.map +1 -1
  735. package/dist/esm/models/components/fee.js +3 -3
  736. package/dist/esm/models/components/fee.js.map +1 -1
  737. package/dist/esm/models/components/index.d.ts +1 -0
  738. package/dist/esm/models/components/index.d.ts.map +1 -1
  739. package/dist/esm/models/components/index.js +1 -0
  740. package/dist/esm/models/components/index.js.map +1 -1
  741. package/docs/models/components/creditborrowparams.md +7 -1
  742. package/docs/models/components/creditborrowrequest.md +1 -0
  743. package/docs/models/components/creditborrowresponse.md +2 -1
  744. package/docs/models/components/creditfee.md +27 -0
  745. package/docs/models/components/creditfeeamount.md +19 -0
  746. package/docs/models/components/creditfeedenomination.md +17 -0
  747. package/docs/models/components/credituseroperationbody.md +5 -0
  748. package/docs/models/components/fee.md +1 -1
  749. package/docs/models/components/{denomination.md → feedenomination.md} +3 -3
  750. package/examples/node_modules/get-tsconfig/README.md +37 -4
  751. package/examples/node_modules/get-tsconfig/dist/index.cjs +7 -7
  752. package/examples/node_modules/get-tsconfig/dist/index.d.cts +33 -5
  753. package/examples/node_modules/get-tsconfig/dist/index.d.mts +33 -5
  754. package/examples/node_modules/get-tsconfig/dist/index.mjs +7 -7
  755. package/examples/node_modules/get-tsconfig/package.json +1 -1
  756. package/examples/package-lock.json +3 -3
  757. package/package.json +1 -1
  758. package/src/funcs/aaveV3AaveAaveSupportedTokens.ts +3 -1
  759. package/src/funcs/aaveV3AaveAvgRate.ts +3 -1
  760. package/src/funcs/aaveV3AaveBorrow.ts +3 -1
  761. package/src/funcs/aaveV3AaveHistoricalTransactions.ts +3 -1
  762. package/src/funcs/aaveV3AaveLiquidityChange.ts +3 -1
  763. package/src/funcs/aaveV3AaveRate.ts +3 -1
  764. package/src/funcs/aaveV3AaveRepay.ts +3 -1
  765. package/src/funcs/aaveV3AaveReserveOverview.ts +3 -1
  766. package/src/funcs/aaveV3AaveSetUserEmode.ts +3 -1
  767. package/src/funcs/aaveV3AaveStdRate.ts +3 -1
  768. package/src/funcs/aaveV3AaveSupply.ts +3 -1
  769. package/src/funcs/aaveV3AaveTokenPrice.ts +3 -1
  770. package/src/funcs/aaveV3AaveUserPositionPerToken.ts +3 -1
  771. package/src/funcs/aaveV3AaveUserPositionSummary.ts +3 -1
  772. package/src/funcs/aaveV3AaveWithdraw.ts +3 -1
  773. package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.ts +3 -1
  774. package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.ts +3 -1
  775. package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.ts +3 -1
  776. package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.ts +3 -1
  777. package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.ts +3 -1
  778. package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.ts +3 -1
  779. package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.ts +3 -1
  780. package/src/funcs/bridgeCctpBurn.ts +3 -1
  781. package/src/funcs/bridgeCctpMint.ts +3 -1
  782. package/src/funcs/creditCreditBalances.ts +3 -1
  783. package/src/funcs/creditCreditBorrow.ts +3 -1
  784. package/src/funcs/creditCreditBundle.ts +3 -1
  785. package/src/funcs/creditCreditCreateAccount.ts +3 -1
  786. package/src/funcs/creditCreditPositions.ts +3 -1
  787. package/src/funcs/creditCreditRepay.ts +3 -1
  788. package/src/funcs/creditCreditTransfer.ts +3 -1
  789. package/src/funcs/earnEarnAaveMarkets.ts +3 -1
  790. package/src/funcs/earnEarnBalances.ts +3 -1
  791. package/src/funcs/earnEarnBundle.ts +3 -1
  792. package/src/funcs/earnEarnCreateAccount.ts +3 -1
  793. package/src/funcs/earnEarnManage.ts +3 -1
  794. package/src/funcs/earnEarnPendleMarkets.ts +3 -1
  795. package/src/funcs/earnEarnPositions.ts +3 -1
  796. package/src/funcs/earnEarnPositionsAll.ts +3 -1
  797. package/src/funcs/earnEarnSwap.ts +3 -1
  798. package/src/funcs/earnEarnTransfer.ts +3 -1
  799. package/src/funcs/earnEarnVaults.ts +3 -1
  800. package/src/funcs/erc4626VaultsVaultsDeposit.ts +3 -1
  801. package/src/funcs/erc4626VaultsVaultsVault.ts +3 -1
  802. package/src/funcs/erc4626VaultsVaultsWithdraw.ts +3 -1
  803. package/src/funcs/ethenaEthenaDeposit.ts +3 -1
  804. package/src/funcs/ethenaEthenaRequest.ts +3 -1
  805. package/src/funcs/ethenaEthenaUnstake.ts +3 -1
  806. package/src/funcs/ethenaEthenaVault.ts +3 -1
  807. package/src/funcs/gasSponsorshipGasSponsorshipApproveTransfer.ts +3 -1
  808. package/src/funcs/gasSponsorshipGasSponsorshipPrepare.ts +3 -1
  809. package/src/funcs/morphoMorphoBorrow.ts +3 -1
  810. package/src/funcs/morphoMorphoDeposit.ts +3 -1
  811. package/src/funcs/morphoMorphoMarket.ts +3 -1
  812. package/src/funcs/morphoMorphoMarketPosition.ts +3 -1
  813. package/src/funcs/morphoMorphoMarkets.ts +3 -1
  814. package/src/funcs/morphoMorphoRepay.ts +3 -1
  815. package/src/funcs/morphoMorphoSupplyCollateral.ts +3 -1
  816. package/src/funcs/morphoMorphoUserPosition.ts +3 -1
  817. package/src/funcs/morphoMorphoVault.ts +3 -1
  818. package/src/funcs/morphoMorphoVaults.ts +3 -1
  819. package/src/funcs/morphoMorphoWithdraw.ts +3 -1
  820. package/src/funcs/morphoMorphoWithdrawCollateral.ts +3 -1
  821. package/src/funcs/pendlePendleLiquidity.ts +3 -1
  822. package/src/funcs/pendlePendleMarket.ts +3 -1
  823. package/src/funcs/pendlePendleMarkets.ts +3 -1
  824. package/src/funcs/pendlePendlePositions.ts +3 -1
  825. package/src/funcs/pendlePendlePt.ts +3 -1
  826. package/src/funcs/pendlePendleRedeemYield.ts +3 -1
  827. package/src/funcs/pendlePendleYt.ts +3 -1
  828. package/src/funcs/skySkyBuy.ts +3 -1
  829. package/src/funcs/skySkyDeposit.ts +3 -1
  830. package/src/funcs/skySkyPosition.ts +3 -1
  831. package/src/funcs/skySkySell.ts +3 -1
  832. package/src/funcs/skySkyWithdraw.ts +3 -1
  833. package/src/funcs/smartAccountSmartAccountBatchedUserOperations.ts +3 -1
  834. package/src/funcs/swapSwapOdos.ts +3 -1
  835. package/src/funcs/tokenTokenBalance.ts +3 -1
  836. package/src/funcs/tokenTokenList.ts +3 -1
  837. package/src/funcs/tokenTokenPrice.ts +3 -1
  838. package/src/funcs/tokenTokenTransfer.ts +3 -1
  839. package/src/funcs/tokenTokenUnwrapWeth.ts +3 -1
  840. package/src/funcs/tokenTokenWrapEth.ts +3 -1
  841. package/src/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.ts +3 -1
  842. package/src/funcs/traditionalInvestingTraditionalInvestingCancelOrder.ts +3 -1
  843. package/src/funcs/traditionalInvestingTraditionalInvestingDeposit.ts +3 -1
  844. package/src/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.ts +3 -1
  845. package/src/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.ts +3 -1
  846. package/src/funcs/traditionalInvestingTraditionalInvestingExecute.ts +3 -1
  847. package/src/funcs/traditionalInvestingTraditionalInvestingLimitOrder.ts +3 -1
  848. package/src/funcs/traditionalInvestingTraditionalInvestingMarketOrder.ts +3 -1
  849. package/src/funcs/traditionalInvestingTraditionalInvestingOpportunities.ts +3 -1
  850. package/src/funcs/traditionalInvestingTraditionalInvestingPositions.ts +3 -1
  851. package/src/funcs/traditionalInvestingTraditionalInvestingWithdraw.ts +3 -1
  852. package/src/funcs/transactionBundlerTransactionBundlerAaveLoop.ts +3 -1
  853. package/src/funcs/transactionBundlerTransactionBundlerAuthorization.ts +3 -1
  854. package/src/funcs/transactionBundlerTransactionBundlerExecute.ts +3 -1
  855. package/src/funcs/uniswapV3UniswapLiquidityProvisionInRange.ts +3 -1
  856. package/src/funcs/uniswapV3UniswapLiquidityProvisionIncrease.ts +3 -1
  857. package/src/funcs/uniswapV3UniswapLiquidityProvisionMint.ts +3 -1
  858. package/src/funcs/uniswapV3UniswapLiquidityProvisionPositions.ts +3 -1
  859. package/src/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.ts +3 -1
  860. package/src/funcs/uniswapV3UniswapPoolPrice.ts +3 -1
  861. package/src/funcs/uniswapV3UniswapQuoteBuyExactly.ts +3 -1
  862. package/src/funcs/uniswapV3UniswapQuoteSellExactly.ts +3 -1
  863. package/src/funcs/uniswapV3UniswapSwapBuyExactly.ts +3 -1
  864. package/src/funcs/uniswapV3UniswapSwapSellExactly.ts +3 -1
  865. package/src/funcs/universalGenericAllowance.ts +3 -1
  866. package/src/funcs/universalGenericAllowanceSet.ts +3 -1
  867. package/src/funcs/universalGenericEns.ts +3 -1
  868. package/src/funcs/universalGenericPortfolio.ts +3 -1
  869. package/src/funcs/universalGenericSupportedChains.ts +3 -1
  870. package/src/funcs/wildcatWildcatMarket.ts +3 -1
  871. package/src/lib/config.ts +2 -2
  872. package/src/lib/sdks.ts +3 -4
  873. package/src/models/components/creditborrowparams.ts +11 -0
  874. package/src/models/components/creditborrowrequest.ts +11 -0
  875. package/src/models/components/creditborrowresponse.ts +6 -0
  876. package/src/models/components/creditfee.ts +90 -0
  877. package/src/models/components/fee.ts +7 -6
  878. package/src/models/components/index.ts +1 -0
@@ -11,6 +11,11 @@ let value: CreditBorrowParams = {
11
11
  actionType: "CREDIT_BORROW",
12
12
  token: "<value>",
13
13
  amount: "528.33",
14
+ fee: {
15
+ recipient: "<value>",
16
+ amount: "886.22",
17
+ denomination: "PERCENTAGE",
18
+ },
14
19
  };
15
20
  ```
16
21
 
@@ -21,4 +26,5 @@ let value: CreditBorrowParams = {
21
26
  | `actionType` | *"CREDIT_BORROW"* | :heavy_check_mark: | N/A | CREDIT_BORROW |
22
27
  | `token` | *string* | :heavy_check_mark: | Token to borrow from Aave. | |
23
28
  | `amount` | *components.CreditBorrowParamsAmount* | :heavy_check_mark: | Amount in token units to borrow. | |
24
- | `interestRateMode` | [components.InterestRateMode](../../models/components/interestratemode.md) | :heavy_minus_sign: | On AAVE there are 2 different interest modes.<br/><br/>A stable (but typically higher rate), or a variable rate. | |
29
+ | `interestRateMode` | [components.InterestRateMode](../../models/components/interestratemode.md) | :heavy_minus_sign: | On AAVE there are 2 different interest modes.<br/><br/>A stable (but typically higher rate), or a variable rate. | |
30
+ | `fee` | [components.CreditFee](../../models/components/creditfee.md) | :heavy_minus_sign: | Optional fee on the borrowed amount. | |
@@ -33,6 +33,7 @@ let value: CreditBorrowRequest = {
33
33
  | `interestRateMode` | [components.InterestRateMode](../../models/components/interestratemode.md) | :heavy_minus_sign: | On AAVE there are 2 different interest modes.<br/><br/>A stable (but typically higher rate), or a variable rate. | |
34
34
  | `slippage` | *components.CreditBorrowRequestSlippage* | :heavy_minus_sign: | Maximum slippage tolerance as a percentage (e.g., 0.5 = 0.5%). Only used when a swap is needed. | 0.5 |
35
35
  | `gasSponsorship` | *boolean* | :heavy_minus_sign: | If true, returns EIP-712 signature data instead of an unsigned transaction. | false |
36
+ | `fee` | [components.CreditFee](../../models/components/creditfee.md) | :heavy_minus_sign: | Optional fee configuration. If provided, a fee will be deducted from the borrowed amount and sent to the specified recipient address. | |
36
37
  | `permit2Signature` | *string* | :heavy_minus_sign: | The EOA owner's signature of the Permit2 PermitTransferFrom typed data. When provided, the borrow bundle will first pull token_in from the owner's EOA into the Credit Account via Permit2. Obtain by calling /v2/credit/transfer and signing the returned EIP-712 data. | |
37
38
  | `permit2Nonce` | *number* | :heavy_minus_sign: | The nonce used in the Permit2 signature (from the signed typed data). | |
38
39
  | `permit2Deadline` | *number* | :heavy_minus_sign: | The deadline timestamp used in the Permit2 signature (from the signed typed data). | |
@@ -14,4 +14,5 @@ let value: CreditBorrowResponse = {};
14
14
  | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
15
15
  | `transaction` | [components.UnsignedTransaction](../../models/components/unsignedtransaction.md) | :heavy_minus_sign: | Unsigned transaction to execute the borrow bundle. Present when gas_sponsorship is false. |
16
16
  | `eip712` | [components.BatchedSafeOperationsResponseOutput](../../models/components/batchedsafeoperationsresponseoutput.md) | :heavy_minus_sign: | EIP-712 typed data for gas-sponsored execution. Present when gas_sponsorship is true. |
17
- | `estimatedCollateralAmount` | *string* | :heavy_minus_sign: | Estimated amount of collateral token received from swap. Only present when token_in differs from collateral_token. |
17
+ | `estimatedCollateralAmount` | *string* | :heavy_minus_sign: | Estimated amount of collateral token received from swap. Only present when token_in differs from collateral_token. |
18
+ | `feeAmount` | *string* | :heavy_minus_sign: | The fee amount charged on the borrow, in borrow token units. Present when a fee was applied. |
@@ -0,0 +1,27 @@
1
+ # CreditFee
2
+
3
+ Fee configuration for credit-product actions.
4
+
5
+ Same shape as `Fee`, but narrows `denomination` to the values supported by
6
+ credit borrows. PERFORMANCE is not supported because realized-profit fees
7
+ are not meaningful for debt positions.
8
+
9
+ ## Example Usage
10
+
11
+ ```typescript
12
+ import { CreditFee } from "@compass-labs/api-sdk/models/components";
13
+
14
+ let value: CreditFee = {
15
+ recipient: "<value>",
16
+ amount: "653.22",
17
+ denomination: "PERCENTAGE",
18
+ };
19
+ ```
20
+
21
+ ## Fields
22
+
23
+ | Field | Type | Required | Description | Example |
24
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
25
+ | `recipient` | *string* | :heavy_check_mark: | The wallet address that will receive the fee. | |
26
+ | `amount` | *components.CreditFeeAmount* | :heavy_check_mark: | The fee amount. If `denomination` is 'PERCENTAGE', this is a percentage of the transaction amount (e.g., 1.5 for 1.5%). If `denomination` is 'FIXED', this is a fixed amount in token units (e.g., 0.1 for 0.1 tokens). If `denomination` is 'PERFORMANCE', this is a percentage of realized profit calculated using FIFO cost basis (e.g., 10 for 10% of profit). | |
27
+ | `denomination` | [components.CreditFeeDenomination](../../models/components/creditfeedenomination.md) | :heavy_minus_sign: | The unit type for the fee amount. Use 'PERCENTAGE' for a percentage-based fee (e.g., 1.5 means 1.5% of the borrow amount), or 'FIXED' for a fixed token amount (e.g., 0.1 means 0.1 tokens). | PERCENTAGE |
@@ -0,0 +1,19 @@
1
+ # CreditFeeAmount
2
+
3
+ The fee amount. If `denomination` is 'PERCENTAGE', this is a percentage of the transaction amount (e.g., 1.5 for 1.5%). If `denomination` is 'FIXED', this is a fixed amount in token units (e.g., 0.1 for 0.1 tokens). If `denomination` is 'PERFORMANCE', this is a percentage of realized profit calculated using FIFO cost basis (e.g., 10 for 10% of profit).
4
+
5
+
6
+ ## Supported Types
7
+
8
+ ### `number`
9
+
10
+ ```typescript
11
+ const value: number = 1284.03;
12
+ ```
13
+
14
+ ### `string`
15
+
16
+ ```typescript
17
+ const value: string = "<value>";
18
+ ```
19
+
@@ -0,0 +1,17 @@
1
+ # CreditFeeDenomination
2
+
3
+ The unit type for the fee amount. Use 'PERCENTAGE' for a percentage-based fee (e.g., 1.5 means 1.5% of the borrow amount), or 'FIXED' for a fixed token amount (e.g., 0.1 means 0.1 tokens).
4
+
5
+ ## Example Usage
6
+
7
+ ```typescript
8
+ import { CreditFeeDenomination } from "@compass-labs/api-sdk/models/components";
9
+
10
+ let value: CreditFeeDenomination = "PERCENTAGE";
11
+ ```
12
+
13
+ ## Values
14
+
15
+ ```typescript
16
+ "PERCENTAGE" | "FIXED"
17
+ ```
@@ -10,6 +10,11 @@ const value: components.CreditBorrowParams = {
10
10
  actionType: "CREDIT_BORROW",
11
11
  token: "<value>",
12
12
  amount: "528.33",
13
+ fee: {
14
+ recipient: "<value>",
15
+ amount: "886.22",
16
+ denomination: "PERCENTAGE",
17
+ },
13
18
  };
14
19
  ```
15
20
 
@@ -18,4 +18,4 @@ let value: Fee = {
18
18
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
19
19
  | `recipient` | *string* | :heavy_check_mark: | The wallet address that will receive the fee. | |
20
20
  | `amount` | *components.FeeAmount* | :heavy_check_mark: | The fee amount. If `denomination` is 'PERCENTAGE', this is a percentage of the transaction amount (e.g., 1.5 for 1.5%). If `denomination` is 'FIXED', this is a fixed amount in token units (e.g., 0.1 for 0.1 tokens). If `denomination` is 'PERFORMANCE', this is a percentage of realized profit calculated using FIFO cost basis (e.g., 10 for 10% of profit). | |
21
- | `denomination` | [components.Denomination](../../models/components/denomination.md) | :heavy_minus_sign: | The unit type for the fee amount. Use 'PERCENTAGE' for a percentage-based fee (e.g., 1.5 means 1.5% of the transaction amount), 'FIXED' for a fixed token amount (e.g., 0.1 means 0.1 tokens), or 'PERFORMANCE' for a fee based on realized profit using FIFO cost basis (e.g., 10 means 10% of profit). | PERCENTAGE |
21
+ | `denomination` | [components.FeeDenomination](../../models/components/feedenomination.md) | :heavy_minus_sign: | The unit type for the fee amount. Use 'PERCENTAGE' for a percentage-based fee (e.g., 1.5 means 1.5% of the transaction amount), 'FIXED' for a fixed token amount (e.g., 0.1 means 0.1 tokens), or 'PERFORMANCE' for a fee based on realized profit using FIFO cost basis (e.g., 10 means 10% of profit). | PERCENTAGE |
@@ -1,13 +1,13 @@
1
- # Denomination
1
+ # FeeDenomination
2
2
 
3
3
  The unit type for the fee amount. Use 'PERCENTAGE' for a percentage-based fee (e.g., 1.5 means 1.5% of the transaction amount), 'FIXED' for a fixed token amount (e.g., 0.1 means 0.1 tokens), or 'PERFORMANCE' for a fee based on realized profit using FIFO cost basis (e.g., 10 means 10% of profit).
4
4
 
5
5
  ## Example Usage
6
6
 
7
7
  ```typescript
8
- import { Denomination } from "@compass-labs/api-sdk/models/components";
8
+ import { FeeDenomination } from "@compass-labs/api-sdk/models/components";
9
9
 
10
- let value: Denomination = "PERCENTAGE";
10
+ let value: FeeDenomination = "PERCENTAGE";
11
11
  ```
12
12
 
13
13
  ## Values
@@ -37,7 +37,7 @@ For TypeScript related tooling to correctly parse `tsconfig.json` file without d
37
37
 
38
38
  ## API
39
39
 
40
- ### getTsconfig(searchPath?, configName?, cache?)
40
+ ### getTsconfig(searchPath?, configName?, cache?, includes?)
41
41
 
42
42
  Searches for a tsconfig file (defaults to `tsconfig.json`) in the `searchPath` and parses it. (If you already know the tsconfig path, use [`parseTsconfig`](#parsetsconfigtsconfigpath-cache) instead). Returns `null` if a config file cannot be found, or an object containing the path and parsed TSConfig object if found.
43
43
 
@@ -63,7 +63,7 @@ Type: `string`
63
63
 
64
64
  Default: `process.cwd()`
65
65
 
66
- Accepts a path to a file or directory to search up for a `tsconfig.json` file.
66
+ Path to a source file or directory. The directory tree is searched up for a `tsconfig.json` file. Typically a TypeScript/JavaScript file path (e.g. `./src/index.ts`), but a directory path also works if you don't have a specific file.
67
67
 
68
68
  #### configName
69
69
  Type: `string`
@@ -79,6 +79,15 @@ Default: `new Map()`
79
79
 
80
80
  Optional cache for fs operations.
81
81
 
82
+ #### includes
83
+ Type: `boolean`
84
+
85
+ Default: `false`
86
+
87
+ When `true` and `searchPath` is a file path, validates that the found tsconfig applies to the file (via `files`, `include`, and `exclude`). If the file isn't matched, continues searching parent directories.
88
+
89
+ By default, `getTsconfig` returns the nearest tsconfig — matching `tsc` CLI behavior ([`findConfigFile()`](https://github.com/microsoft/TypeScript/blob/b19a9da2a3b8/src/compiler/program.ts#L328)). With `includes`, it checks the file is included by `include`/`files` and not excluded by `exclude` before accepting the tsconfig — matching VS Code's TypeScript Language Server behavior ([`isMatchedByConfig()`](https://github.com/microsoft/TypeScript/blob/b19a9da2a3b8/src/server/editorServices.ts#L4486)).
90
+
82
91
  #### Example
83
92
 
84
93
  ```ts
@@ -98,6 +107,30 @@ console.log(getTsconfig('./path/to/tsconfig.json'))
98
107
 
99
108
  // Search for jsconfig.json - https://code.visualstudio.com/docs/languages/jsconfig
100
109
  console.log(getTsconfig('.', 'jsconfig.json'))
110
+
111
+ // Find the tsconfig that actually applies to a file (Language Server behavior)
112
+ // Skips tsconfig files where the file is excluded or not included
113
+ console.log(getTsconfig('./src/index.ts', 'tsconfig.json', new Map(), true))
114
+ ```
115
+
116
+ ---
117
+
118
+ ### findTsconfig(searchPath?, configName?, cache?, includes?)
119
+
120
+ Searches for a tsconfig file by walking up the directory tree. Returns the path to the found tsconfig file, or `undefined` if not found.
121
+
122
+ Supports the same [`includes`](#includes) option as `getTsconfig` to validate that the tsconfig applies to the `searchPath` file.
123
+
124
+ #### Example
125
+
126
+ ```ts
127
+ import { findTsconfig } from 'get-tsconfig'
128
+
129
+ // Find the tsconfig.json path
130
+ findTsconfig()
131
+
132
+ // Find the tsconfig that includes the file
133
+ findTsconfig('./src/index.ts', 'tsconfig.json', new Map(), true)
101
134
  ```
102
135
 
103
136
  ---
@@ -129,7 +162,7 @@ console.log(parseTsconfig('./path/to/tsconfig.custom.json'))
129
162
 
130
163
  ---
131
164
 
132
- ### createFileMatcher(tsconfig: TsconfigResult, caseSensitivePaths?: boolean)
165
+ ### createFilesMatcher(tsconfig: TsconfigResult, caseSensitivePaths?: boolean)
133
166
 
134
167
  Given a `tsconfig.json` file, it returns a file-matcher function that determines whether it should apply to a file path.
135
168
 
@@ -155,7 +188,7 @@ For example, if it's called with a `tsconfig.json` file that has `include`/`excl
155
188
 
156
189
  ```ts
157
190
  const tsconfig = getTsconfig()
158
- const fileMatcher = tsconfig && createFileMatcher(tsconfig)
191
+ const fileMatcher = tsconfig && createFilesMatcher(tsconfig)
159
192
 
160
193
  /*
161
194
  * Returns tsconfig.json if it matches the file,
@@ -1,7 +1,7 @@
1
- "use strict";var Le=Object.defineProperty;var o=(e,t)=>Le(e,"name",{value:t,configurable:!0});var w=require("node:path"),re=require("node:fs"),he=require("node:module"),Ee=require("resolve-pkg-maps"),Be=require("fs"),xe=require("os"),Ie=require("path");function h(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}o(h,"slash");const Y=o(e=>{const t=re[e];return(s,...n)=>{const i=`${e}:${n.join(":")}`;let l=s==null?void 0:s.get(i);return l===void 0&&(l=Reflect.apply(t,re,n),s==null||s.set(i,l)),l}},"cacheFs"),E=Y("existsSync"),$e=Y("readFileSync"),G=Y("statSync"),fe=o((e,t,s)=>{for(;;){const n=w.posix.join(e,t);if(E(s,n))return n;const i=w.dirname(e);if(i===e)return;e=i}},"findUp"),Z=/^\.{1,2}(\/.*)?$/,K=o(e=>{const t=h(e);return Z.test(t)?t:`./${t}`},"normalizeRelativePath");function Ue(e,t=!1){const s=e.length;let n=0,i="",l=0,u=16,a=0,r=0,g=0,v=0,d=0;function _(c,y){let A=0,b=0;for(;A<c;){let k=e.charCodeAt(n);if(k>=48&&k<=57)b=b*16+k-48;else if(k>=65&&k<=70)b=b*16+k-65+10;else if(k>=97&&k<=102)b=b*16+k-97+10;else break;n++,A++}return A<c&&(b=-1),b}o(_,"scanHexDigits");function p(c){n=c,i="",l=0,u=16,d=0}o(p,"setPosition");function D(){let c=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&P(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&P(e.charCodeAt(n)))for(n++;n<e.length&&P(e.charCodeAt(n));)n++;else return d=3,e.substring(c,n);let y=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&P(e.charCodeAt(n))){for(n++;n<e.length&&P(e.charCodeAt(n));)n++;y=n}else d=3;return e.substring(c,y)}o(D,"scanNumber");function L(){let c="",y=n;for(;;){if(n>=s){c+=e.substring(y,n),d=2;break}const A=e.charCodeAt(n);if(A===34){c+=e.substring(y,n),n++;break}if(A===92){if(c+=e.substring(y,n),n++,n>=s){d=2;break}switch(e.charCodeAt(n++)){case 34:c+='"';break;case 92:c+="\\";break;case 47:c+="/";break;case 98:c+="\b";break;case 102:c+="\f";break;case 110:c+=`
2
- `;break;case 114:c+="\r";break;case 116:c+=" ";break;case 117:const k=_(4);k>=0?c+=String.fromCharCode(k):d=4;break;default:d=5}y=n;continue}if(A>=0&&A<=31)if(M(A)){c+=e.substring(y,n),d=2;break}else d=6;n++}return c}o(L,"scanString");function T(){if(i="",d=0,l=n,r=a,v=g,n>=s)return l=s,u=17;let c=e.charCodeAt(n);if(O(c)){do n++,i+=String.fromCharCode(c),c=e.charCodeAt(n);while(O(c));return u=15}if(M(c))return n++,i+=String.fromCharCode(c),c===13&&e.charCodeAt(n)===10&&(n++,i+=`
3
- `),a++,g=n,u=14;switch(c){case 123:return n++,u=1;case 125:return n++,u=2;case 91:return n++,u=3;case 93:return n++,u=4;case 58:return n++,u=6;case 44:return n++,u=5;case 34:return n++,i=L(),u=10;case 47:const y=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<s&&!M(e.charCodeAt(n));)n++;return i=e.substring(y,n),u=12}if(e.charCodeAt(n+1)===42){n+=2;const A=s-1;let b=!1;for(;n<A;){const k=e.charCodeAt(n);if(k===42&&e.charCodeAt(n+1)===47){n+=2,b=!0;break}n++,M(k)&&(k===13&&e.charCodeAt(n)===10&&n++,a++,g=n)}return b||(n++,d=1),i=e.substring(y,n),u=13}return i+=String.fromCharCode(c),n++,u=16;case 45:if(i+=String.fromCharCode(c),n++,n===s||!P(e.charCodeAt(n)))return u=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=D(),u=11;default:for(;n<s&&F(c);)n++,c=e.charCodeAt(n);if(l!==n){switch(i=e.substring(l,n),i){case"true":return u=8;case"false":return u=9;case"null":return u=7}return u=16}return i+=String.fromCharCode(c),n++,u=16}}o(T,"scanNext");function F(c){if(O(c)||M(c))return!1;switch(c){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}o(F,"isUnknownContentCharacter");function B(){let c;do c=T();while(c>=12&&c<=15);return c}return o(B,"scanNextNonTrivia"),{setPosition:p,getPosition:o(()=>n,"getPosition"),scan:t?B:T,getToken:o(()=>u,"getToken"),getTokenValue:o(()=>i,"getTokenValue"),getTokenOffset:o(()=>l,"getTokenOffset"),getTokenLength:o(()=>n-l,"getTokenLength"),getTokenStartLine:o(()=>r,"getTokenStartLine"),getTokenStartCharacter:o(()=>l-v,"getTokenStartCharacter"),getTokenError:o(()=>d,"getTokenError")}}o(Ue,"createScanner");function O(e){return e===32||e===9}o(O,"isWhiteSpace");function M(e){return e===10||e===13}o(M,"isLineBreak");function P(e){return e>=48&&e<=57}o(P,"isDigit");var ae;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(ae||(ae={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const N=200;new Array(N).fill(0).map((e,t)=>`
4
- `+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>`\r
5
- `+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>`
6
- `+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>`\r
7
- `+" ".repeat(t));var q;(function(e){e.DEFAULT={allowTrailingComma:!1}})(q||(q={}));function Pe(e,t=[],s=q.DEFAULT){let n=null,i=[];const l=[];function u(r){Array.isArray(i)?i.push(r):n!==null&&(i[n]=r)}return o(u,"onValue"),Ne(e,{onObjectBegin:o(()=>{const r={};u(r),l.push(i),i=r,n=null},"onObjectBegin"),onObjectProperty:o(r=>{n=r},"onObjectProperty"),onObjectEnd:o(()=>{i=l.pop()},"onObjectEnd"),onArrayBegin:o(()=>{const r=[];u(r),l.push(i),i=r,n=null},"onArrayBegin"),onArrayEnd:o(()=>{i=l.pop()},"onArrayEnd"),onLiteralValue:u,onError:o((r,g,v)=>{t.push({error:r,offset:g,length:v})},"onError")},s),i[0]}o(Pe,"parse$1");function Ne(e,t,s=q.DEFAULT){const n=Ue(e,!1),i=[];let l=0;function u(m){return m?()=>l===0&&m(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}o(u,"toNoArgVisit");function a(m){return m?j=>l===0&&m(j,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}o(a,"toOneArgVisit");function r(m){return m?j=>l===0&&m(j,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>i.slice()):()=>!0}o(r,"toOneArgVisitWithPath");function g(m){return m?()=>{l>0?l++:m(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>i.slice())===!1&&(l=1)}:()=>!0}o(g,"toBeginVisit");function v(m){return m?()=>{l>0&&l--,l===0&&m(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:()=>!0}o(v,"toEndVisit");const d=g(t.onObjectBegin),_=r(t.onObjectProperty),p=v(t.onObjectEnd),D=g(t.onArrayBegin),L=v(t.onArrayEnd),T=r(t.onLiteralValue),F=a(t.onSeparator),B=u(t.onComment),c=a(t.onError),y=s&&s.disallowComments,A=s&&s.allowTrailingComma;function b(){for(;;){const m=n.scan();switch(n.getTokenError()){case 4:k(14);break;case 5:k(15);break;case 3:k(13);break;case 1:y||k(11);break;case 2:k(12);break;case 6:k(16);break}switch(m){case 12:case 13:y?k(10):B();break;case 16:k(1);break;case 15:case 14:break;default:return m}}}o(b,"scanNext");function k(m,j=[],S=[]){if(c(m),j.length+S.length>0){let $=n.getToken();for(;$!==17;){if(j.indexOf($)!==-1){b();break}else if(S.indexOf($)!==-1)break;$=b()}}}o(k,"handleError");function R(m){const j=n.getTokenValue();return m?T(j):(_(j),i.push(j)),b(),!0}o(R,"parseString");function J(){switch(n.getToken()){case 11:const m=n.getTokenValue();let j=Number(m);isNaN(j)&&(k(2),j=0),T(j);break;case 7:T(null);break;case 8:T(!0);break;case 9:T(!1);break;default:return!1}return b(),!0}o(J,"parseLiteral");function W(){return n.getToken()!==10?(k(3,[],[2,5]),!1):(R(!1),n.getToken()===6?(F(":"),b(),U()||k(4,[],[2,5])):k(5,[],[2,5]),i.pop(),!0)}o(W,"parseProperty");function V(){d(),b();let m=!1;for(;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(m||k(4,[],[]),F(","),b(),n.getToken()===2&&A)break}else m&&k(6,[],[]);W()||k(4,[],[2,5]),m=!0}return p(),n.getToken()!==2?k(7,[2],[]):b(),!0}o(V,"parseObject");function z(){D(),b();let m=!0,j=!1;for(;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if(j||k(4,[],[]),F(","),b(),n.getToken()===4&&A)break}else j&&k(6,[],[]);m?(i.push(0),m=!1):i[i.length-1]++,U()||k(4,[],[4,5]),j=!0}return L(),m||i.pop(),n.getToken()!==4?k(8,[4],[]):b(),!0}o(z,"parseArray");function U(){switch(n.getToken()){case 3:return z();case 1:return V();case 10:return R(!0);default:return J()}}return o(U,"parseValue"),b(),n.getToken()===17?s.allowEmptyContent?!0:(k(4,[],[]),!1):U()?(n.getToken()!==17&&k(9,[],[]),!0):(k(4,[],[]),!1)}o(Ne,"visit");var ce;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(ce||(ce={}));var ge;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(ge||(ge={}));const Re=Pe;var ke;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(ke||(ke={}));const we=o((e,t)=>Re($e(t,e,"utf8")),"readJsonc"),C=Symbol("implicitBaseUrl"),I="${configDir}",Se=o(()=>{const{findPnpApi:e}=he;return e&&e(process.cwd())},"getPnpApi"),ee=o((e,t,s,n)=>{const i=`resolveFromPackageJsonPath:${e}:${t}:${s}`;if(n!=null&&n.has(i))return n.get(i);const l=we(e,n);if(!l)return;let u=t||"tsconfig.json";if(!s&&l.exports)try{const[a]=Ee.resolveExports(l.exports,t,["require","types"]);u=a}catch{return!1}else!t&&l.tsconfig&&(u=l.tsconfig);return u=w.join(e,"..",u),n==null||n.set(i,u),u},"resolveFromPackageJsonPath"),ne="package.json",te="tsconfig.json",Me=o((e,t,s)=>{let n=e;if(e===".."&&(n=w.join(n,te)),e[0]==="."&&(n=w.resolve(t,n)),w.isAbsolute(n)){if(E(s,n)){if(G(s,n).isFile())return n}else if(!n.endsWith(".json")){const p=`${n}.json`;if(E(s,p))return p}return}const[i,...l]=e.split("/"),u=i[0]==="@"?`${i}/${l.shift()}`:i,a=l.join("/"),r=Se();if(r){const{resolveRequest:p}=r;try{if(u===e){const D=p(w.join(u,ne),t);if(D){const L=ee(D,a,!1,s);if(L&&E(s,L))return L}}else{let D;try{D=p(e,t,{extensions:[".json"]})}catch{D=p(w.join(e,te),t)}if(D)return D}}catch{}}const g=fe(w.resolve(t),w.join("node_modules",u),s);if(!g||!G(s,g).isDirectory())return;const v=w.join(g,ne);if(E(s,v)){const p=ee(v,a,!1,s);if(p===!1)return;if(p&&E(s,p)&&G(s,p).isFile())return p}const d=w.join(g,a),_=d.endsWith(".json");if(!_){const p=`${d}.json`;if(E(s,p))return p}if(E(s,d)){if(G(s,d).isDirectory()){const p=w.join(d,ne);if(E(s,p)){const L=ee(p,"",!0,s);if(L&&E(s,L))return L}const D=w.join(d,te);if(E(s,D))return D}else if(_)return d}},"resolveExtendsPath"),se=o((e,t)=>K(w.relative(e,t)),"pathRelative"),me=["files","include","exclude"],de=o((e,t,s)=>{const n=w.join(t,s),i=w.relative(e,n);return h(i)||"./"},"resolveAndRelativize"),Je=o((e,t,s)=>{const n=w.relative(e,t);if(!n)return s;const i=s.startsWith("./")?s.slice(2):s;return h(`${n}/${i}`)},"prefixPattern"),We=o((e,t,s,n)=>{const i=Me(e,t,n);if(!i)throw new Error(`File '${e}' not found.`);if(s.has(i))throw new Error(`Circularity detected while resolving configuration: ${i}`);s.add(i);const l=w.dirname(i),u=ve(i,n,s);delete u.references;const{compilerOptions:a}=u;if(a){const{baseUrl:r}=a;r&&!r.startsWith(I)&&(a.baseUrl=de(t,l,r));const{outDir:g}=a;g&&!g.startsWith(I)&&(a.outDir=de(t,l,g))}for(const r of me){const g=u[r];g&&(u[r]=g.map(v=>v.startsWith(I)?v:Je(t,l,v)))}return u},"resolveExtends"),be=["outDir","declarationDir"],ve=o((e,t,s=new Set)=>{let n;try{n=we(e,t)||{}}catch{throw new Error(`Cannot resolve tsconfig at path: ${e}`)}if(typeof n!="object")throw new SyntaxError(`Failed to parse tsconfig at: ${e}`);const i=w.dirname(e);if(n.compilerOptions){const{compilerOptions:l}=n;l.paths&&!l.baseUrl&&(l[C]=i)}if(n.extends){const l=Array.isArray(n.extends)?n.extends:[n.extends];delete n.extends;for(const u of l.reverse()){const a=We(u,i,new Set(s),t),r={...a,...n,compilerOptions:{...a.compilerOptions,...n.compilerOptions}};a.watchOptions&&(r.watchOptions={...a.watchOptions,...n.watchOptions}),n=r}}if(n.compilerOptions){const{compilerOptions:l}=n,u=["baseUrl","rootDir"];for(const a of u){const r=l[a];if(r&&!r.startsWith(I)){const g=w.resolve(i,r),v=se(i,g);l[a]=v}}for(const a of be){let r=l[a];r&&(Array.isArray(n.exclude)||(n.exclude=be.map(g=>l[g]).filter(Boolean)),r.startsWith(I)||(r=K(r)),l[a]=r)}}else n.compilerOptions={};if(n.include&&(n.include=n.include.map(h)),n.files&&(n.files=n.files.map(l=>l.startsWith(I)?l:K(l))),n.watchOptions){const{watchOptions:l}=n;l.excludeDirectories&&(l.excludeDirectories=l.excludeDirectories.map(u=>h(w.resolve(i,u)))),l.excludeFiles&&(l.excludeFiles=l.excludeFiles.map(u=>h(w.resolve(i,u)))),l.watchFile&&(l.watchFile=l.watchFile.toLowerCase()),l.watchDirectory&&(l.watchDirectory=l.watchDirectory.toLowerCase()),l.fallbackPolling&&(l.fallbackPolling=l.fallbackPolling.toLowerCase())}return n},"_parseTsconfig"),Q=o((e,t)=>{if(e.startsWith(I))return h(w.join(t,e.slice(I.length)))},"interpolateConfigDir"),Ve=["outDir","declarationDir","outFile","rootDir","baseUrl","tsBuildInfoFile"],ze=o(e=>{var t,s,n,i,l,u,a,r,g,v,d,_,p,D,L,T,F,B,c,y,A,b,k,R,J,W,V,z,U,m,j,S,$;if(e.strict){const f=["noImplicitAny","noImplicitThis","strictNullChecks","strictFunctionTypes","strictBindCallApply","strictPropertyInitialization","strictBuiltinIteratorReturn","alwaysStrict","useUnknownInCatchVariables"];for(const x of f)e[x]===void 0&&(e[x]=!0)}if(e.composite&&((t=e.declaration)!=null||(e.declaration=!0),(s=e.incremental)!=null||(e.incremental=!0)),e.target){let f=e.target.toLowerCase();f==="es2015"&&(f="es6"),e.target=f,f==="esnext"&&((n=e.module)!=null||(e.module="es6"),(i=e.useDefineForClassFields)!=null||(e.useDefineForClassFields=!0)),(f==="es6"||f==="es2016"||f==="es2017"||f==="es2018"||f==="es2019"||f==="es2020"||f==="es2021"||f==="es2022"||f==="es2023"||f==="es2024")&&((l=e.module)!=null||(e.module="es6")),(f==="es2022"||f==="es2023"||f==="es2024")&&((u=e.useDefineForClassFields)!=null||(e.useDefineForClassFields=!0))}if(e.module){let f=e.module.toLowerCase();if(f==="es2015"&&(f="es6"),e.module=f,(f==="es6"||f==="es2020"||f==="es2022"||f==="esnext"||f==="none"||f==="system"||f==="umd"||f==="amd")&&((a=e.moduleResolution)!=null||(e.moduleResolution="classic")),f==="system"&&((r=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0)),(f==="node16"||f==="node18"||f==="node20"||f==="nodenext"||f==="preserve")&&((g=e.esModuleInterop)!=null||(e.esModuleInterop=!0),(v=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0)),(f==="node16"||f==="node18"||f==="node20"||f==="nodenext")&&((d=e.moduleDetection)!=null||(e.moduleDetection="force")),f==="node16"&&((_=e.target)!=null||(e.target="es2022"),(p=e.moduleResolution)!=null||(e.moduleResolution="node16")),f==="node18"&&((D=e.target)!=null||(e.target="es2022"),(L=e.moduleResolution)!=null||(e.moduleResolution="node16")),f==="node20"&&((T=e.target)!=null||(e.target="es2023"),(F=e.moduleResolution)!=null||(e.moduleResolution="node16"),(B=e.resolveJsonModule)!=null||(e.resolveJsonModule=!0)),f==="nodenext"&&((c=e.target)!=null||(e.target="esnext"),(y=e.moduleResolution)!=null||(e.moduleResolution="nodenext"),(A=e.resolveJsonModule)!=null||(e.resolveJsonModule=!0)),f==="node16"||f==="node18"||f==="node20"||f==="nodenext"){const x=e.target;(x==="es3"||x==="es2022"||x==="es2023"||x==="es2024"||x==="esnext")&&((b=e.useDefineForClassFields)!=null||(e.useDefineForClassFields=!0))}f==="preserve"&&((k=e.moduleResolution)!=null||(e.moduleResolution="bundler"))}if(e.moduleResolution){let f=e.moduleResolution.toLowerCase();f==="node"&&(f="node10"),e.moduleResolution=f,(f==="node16"||f==="nodenext"||f==="bundler")&&((R=e.resolvePackageJsonExports)!=null||(e.resolvePackageJsonExports=!0),(J=e.resolvePackageJsonImports)!=null||(e.resolvePackageJsonImports=!0)),f==="bundler"&&((W=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0),(V=e.resolveJsonModule)!=null||(e.resolveJsonModule=!0))}e.jsx&&(e.jsx=e.jsx.toLowerCase()),e.moduleDetection&&(e.moduleDetection=e.moduleDetection.toLowerCase()),e.importsNotUsedAsValues&&(e.importsNotUsedAsValues=e.importsNotUsedAsValues.toLowerCase()),e.newLine&&(e.newLine=e.newLine.toLowerCase()),e.esModuleInterop&&((z=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0)),e.verbatimModuleSyntax&&((U=e.isolatedModules)!=null||(e.isolatedModules=!0),(m=e.preserveConstEnums)!=null||(e.preserveConstEnums=!0)),e.isolatedModules&&((j=e.preserveConstEnums)!=null||(e.preserveConstEnums=!0)),e.rewriteRelativeImportExtensions&&((S=e.allowImportingTsExtensions)!=null||(e.allowImportingTsExtensions=!0)),e.lib&&(e.lib=e.lib.map(f=>f.toLowerCase())),e.checkJs&&(($=e.allowJs)!=null||(e.allowJs=!0))},"normalizeCompilerOptions"),pe=o((e,t=new Map)=>{const s=w.resolve(e),n=ve(s,t),i=w.dirname(s),{compilerOptions:l}=n;if(l){for(const a of Ve){const r=l[a];if(r){const g=Q(r,i);l[a]=g?se(i,g):r}}for(const a of["rootDirs","typeRoots"]){const r=l[a];r&&(l[a]=r.map(g=>{const v=Q(g,i);return v?se(i,v):g}))}const{paths:u}=l;if(u)for(const a of Object.keys(u))u[a]=u[a].map(r=>{var g;return(g=Q(r,i))!=null?g:r});ze(l)}for(const u of me){const a=n[u];a&&(n[u]=a.map(r=>{var g;return(g=Q(r,i))!=null?g:r}))}return n},"parseTsconfig"),Ge=o((e=process.cwd(),t="tsconfig.json",s=new Map)=>{const n=fe(h(e),t,s);if(!n)return null;const i=pe(n,s);return{path:n,config:i}},"getTsconfig"),qe=/\*/g,Te=o((e,t)=>{const s=e.match(qe);if(s&&s.length>1)throw new Error(t)},"assertStarCount"),Qe=o(e=>{if(e.includes("*")){const[t,s]=e.split("*");return{prefix:t,suffix:s}}return e},"parsePattern"),He=o(({prefix:e,suffix:t},s)=>s.startsWith(e)&&s.endsWith(t),"isPatternMatch"),Xe=o((e,t,s)=>Object.entries(e).map(([n,i])=>(Te(n,`Pattern '${n}' can have at most one '*' character.`),{pattern:Qe(n),substitutions:i.map(l=>{if(Te(l,`Substitution '${l}' in pattern '${n}' can have at most one '*' character.`),!t&&!Z.test(l)&&!w.isAbsolute(l))throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");return w.resolve(s,l)})})),"parsePaths"),Ye=o(e=>{const{compilerOptions:t}=e.config;if(!t)return null;const{baseUrl:s,paths:n}=t;if(!s&&!n)return null;const i=C in t&&t[C],l=w.resolve(w.dirname(e.path),s||i||"."),u=n?Xe(n,s,l):[];return a=>{if(Z.test(a))return[];const r=[];for(const _ of u){if(_.pattern===a)return _.substitutions.map(h);typeof _.pattern!="string"&&r.push(_)}let g,v=-1;for(const _ of r)He(_.pattern,a)&&_.pattern.prefix.length>v&&(v=_.pattern.prefix.length,g=_);if(!g)return s?[h(w.join(l,a))]:[];const d=a.slice(g.pattern.prefix.length,a.length-g.pattern.suffix.length);return g.substitutions.map(_=>h(_.replace("*",d)))}},"createPathsMatcher");var Ze=Object.defineProperty,H=o((e,t)=>Ze(e,"name",{value:t,configurable:!0}),"s");const Ae=H(e=>{let t="";for(let s=0;s<e.length;s+=1){const n=e[s],i=n.toUpperCase();t+=n===i?n.toLowerCase():i}return t},"invertCase"),le=new Map,_e=H((e,t)=>{const s=Ie.join(e,`.is-fs-case-sensitive-test-${process.pid}`);try{return t.writeFileSync(s,""),!t.existsSync(Ae(s))}finally{try{t.unlinkSync(s)}catch{}}},"checkDirectoryCaseWithWrite"),Ke=H((e,t,s)=>{try{return _e(e,s)}catch(n){if(t===void 0)return _e(xe.tmpdir(),s);throw n}},"checkDirectoryCaseWithFallback"),Oe=H((e,t=Be,s=!0)=>{const n=e!=null?e:process.cwd();if(s&&le.has(n))return le.get(n);let i;const l=Ae(n);return l!==n&&t.existsSync(n)?i=!t.existsSync(l):i=Ke(n,e,t),s&&le.set(n,i),i},"isFsCaseSensitive"),{join:ye}=w.posix,ie={ts:[".ts",".tsx",".d.ts"],cts:[".cts",".d.cts"],mts:[".mts",".d.mts"]},Ce=o(e=>{const t=[...ie.ts],s=[...ie.cts],n=[...ie.mts];return e!=null&&e.allowJs&&(t.push(".js",".jsx"),s.push(".cjs"),n.push(".mjs")),[...t,...s,...n]},"getSupportedExtensions"),en=o(e=>{const t=[];if(!e)return t;const{outDir:s,declarationDir:n}=e;return s&&t.push(s),n&&t.push(n),t},"getDefaultExcludeSpec"),je=o(e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),"escapeForRegexp"),nn=["node_modules","bower_components","jspm_packages"],oe=`(?!(${nn.join("|")})(/|$))`,tn=/(?:^|\/)[^.*?]+$/,Fe="**/*",X="[^/]",ue="[^./]",De=process.platform==="win32",sn=o(({config:e,path:t},s=Oe())=>{if("extends"in e)throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");if(!w.isAbsolute(t))throw new Error("The tsconfig path must be absolute");De&&(t=h(t));const n=w.dirname(t),{files:i,include:l,exclude:u,compilerOptions:a}=e,r=o(T=>w.isAbsolute(T)?T:ye(n,T),"resolvePattern"),g=i==null?void 0:i.map(r),v=Ce(a),d=s?"":"i",p=(u||en(a)).map(T=>{const F=r(T),B=je(F).replaceAll(String.raw`\*\*/`,"(.+/)?").replaceAll(String.raw`\*`,`${X}*`).replaceAll(String.raw`\?`,X);return new RegExp(`^${B}($|/)`,d)}),D=i||l?l:[Fe],L=D?D.map(T=>{let F=r(T);tn.test(F)&&(F=ye(F,Fe));const B=je(F).replaceAll(String.raw`/\*\*`,`(/${oe}${ue}${X}*)*?`).replaceAll(/(\/)?\\\*/g,(c,y)=>{const A=`(${ue}|(\\.(?!min\\.js$))?)*`;return y?`/${oe}${ue}${A}`:A}).replaceAll(/(\/)?\\\?/g,(c,y)=>{const A=X;return y?`/${oe}${A}`:A});return new RegExp(`^${B}$`,d)}):void 0;return T=>{if(!w.isAbsolute(T))throw new Error("filePath must be absolute");if(De&&(T=h(T)),g!=null&&g.includes(T))return e;if(!(!v.some(F=>T.endsWith(F))||p.some(F=>F.test(T)))&&L&&L.some(F=>F.test(T)))return e}},"createFilesMatcher");exports.createFilesMatcher=sn,exports.createPathsMatcher=Ye,exports.getTsconfig=Ge,exports.parseTsconfig=pe;
1
+ "use strict";var Be=Object.defineProperty;var r=(e,t)=>Be(e,"name",{value:t,configurable:!0});var d=require("node:path"),ce=require("node:fs"),xe=require("node:module"),Ie=require("resolve-pkg-maps"),$e=require("fs"),Ue=require("os"),Re=require("path");function h(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}r(h,"slash");const K=r(e=>{const t=ce[e];return(s,...n)=>{const i=`${e}:${n.join(":")}`;let l=s==null?void 0:s.get(i);return l===void 0&&(l=Reflect.apply(t,ce,n),s==null||s.set(i,l)),l}},"cacheFs"),B=K("existsSync"),Se=K("readFileSync"),q=K("statSync"),O=r((e,t,s)=>{for(;;){const n=d.posix.join(e,t);if(B(s,n))return n;const i=d.dirname(e);if(i===e)return;e=i}},"findUp"),C=/^\.{1,2}(\/.*)?$/,Q=r(e=>{const t=h(e);return C.test(t)?t:`./${t}`},"normalizeRelativePath");function Ne(e,t=!1){const s=e.length;let n=0,i="",l=0,o=16,f=0,u=0,g=0,m=0,w=0;function _(c,j){let y=0,T=0;for(;y<c;){let k=e.charCodeAt(n);if(k>=48&&k<=57)T=T*16+k-48;else if(k>=65&&k<=70)T=T*16+k-65+10;else if(k>=97&&k<=102)T=T*16+k-97+10;else break;n++,y++}return y<c&&(T=-1),T}r(_,"scanHexDigits");function b(c){n=c,i="",l=0,o=16,w=0}r(b,"setPosition");function p(){let c=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&R(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&R(e.charCodeAt(n)))for(n++;n<e.length&&R(e.charCodeAt(n));)n++;else return w=3,e.substring(c,n);let j=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&R(e.charCodeAt(n))){for(n++;n<e.length&&R(e.charCodeAt(n));)n++;j=n}else w=3;return e.substring(c,j)}r(p,"scanNumber");function L(){let c="",j=n;for(;;){if(n>=s){c+=e.substring(j,n),w=2;break}const y=e.charCodeAt(n);if(y===34){c+=e.substring(j,n),n++;break}if(y===92){if(c+=e.substring(j,n),n++,n>=s){w=2;break}switch(e.charCodeAt(n++)){case 34:c+='"';break;case 92:c+="\\";break;case 47:c+="/";break;case 98:c+="\b";break;case 102:c+="\f";break;case 110:c+=`
2
+ `;break;case 114:c+="\r";break;case 116:c+=" ";break;case 117:const k=_(4);k>=0?c+=String.fromCharCode(k):w=4;break;default:w=5}j=n;continue}if(y>=0&&y<=31)if(M(y)){c+=e.substring(j,n),w=2;break}else w=6;n++}return c}r(L,"scanString");function A(){if(i="",w=0,l=n,u=f,m=g,n>=s)return l=s,o=17;let c=e.charCodeAt(n);if(ee(c)){do n++,i+=String.fromCharCode(c),c=e.charCodeAt(n);while(ee(c));return o=15}if(M(c))return n++,i+=String.fromCharCode(c),c===13&&e.charCodeAt(n)===10&&(n++,i+=`
3
+ `),f++,g=n,o=14;switch(c){case 123:return n++,o=1;case 125:return n++,o=2;case 91:return n++,o=3;case 93:return n++,o=4;case 58:return n++,o=6;case 44:return n++,o=5;case 34:return n++,i=L(),o=10;case 47:const j=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<s&&!M(e.charCodeAt(n));)n++;return i=e.substring(j,n),o=12}if(e.charCodeAt(n+1)===42){n+=2;const y=s-1;let T=!1;for(;n<y;){const k=e.charCodeAt(n);if(k===42&&e.charCodeAt(n+1)===47){n+=2,T=!0;break}n++,M(k)&&(k===13&&e.charCodeAt(n)===10&&n++,f++,g=n)}return T||(n++,w=1),i=e.substring(j,n),o=13}return i+=String.fromCharCode(c),n++,o=16;case 45:if(i+=String.fromCharCode(c),n++,n===s||!R(e.charCodeAt(n)))return o=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=p(),o=11;default:for(;n<s&&D(c);)n++,c=e.charCodeAt(n);if(l!==n){switch(i=e.substring(l,n),i){case"true":return o=8;case"false":return o=9;case"null":return o=7}return o=16}return i+=String.fromCharCode(c),n++,o=16}}r(A,"scanNext");function D(c){if(ee(c)||M(c))return!1;switch(c){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}r(D,"isUnknownContentCharacter");function x(){let c;do c=A();while(c>=12&&c<=15);return c}return r(x,"scanNextNonTrivia"),{setPosition:b,getPosition:r(()=>n,"getPosition"),scan:t?x:A,getToken:r(()=>o,"getToken"),getTokenValue:r(()=>i,"getTokenValue"),getTokenOffset:r(()=>l,"getTokenOffset"),getTokenLength:r(()=>n-l,"getTokenLength"),getTokenStartLine:r(()=>u,"getTokenStartLine"),getTokenStartCharacter:r(()=>l-m,"getTokenStartCharacter"),getTokenError:r(()=>w,"getTokenError")}}r(Ne,"createScanner");function ee(e){return e===32||e===9}r(ee,"isWhiteSpace");function M(e){return e===10||e===13}r(M,"isLineBreak");function R(e){return e>=48&&e<=57}r(R,"isDigit");var ge;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(ge||(ge={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const S=200;new Array(S).fill(0).map((e,t)=>`
4
+ `+" ".repeat(t)),new Array(S).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(S).fill(0).map((e,t)=>`\r
5
+ `+" ".repeat(t)),new Array(S).fill(0).map((e,t)=>`
6
+ `+" ".repeat(t)),new Array(S).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(S).fill(0).map((e,t)=>`\r
7
+ `+" ".repeat(t));var H;(function(e){e.DEFAULT={allowTrailingComma:!1}})(H||(H={}));function Pe(e,t=[],s=H.DEFAULT){let n=null,i=[];const l=[];function o(u){Array.isArray(i)?i.push(u):n!==null&&(i[n]=u)}return r(o,"onValue"),We(e,{onObjectBegin:r(()=>{const u={};o(u),l.push(i),i=u,n=null},"onObjectBegin"),onObjectProperty:r(u=>{n=u},"onObjectProperty"),onObjectEnd:r(()=>{i=l.pop()},"onObjectEnd"),onArrayBegin:r(()=>{const u=[];o(u),l.push(i),i=u,n=null},"onArrayBegin"),onArrayEnd:r(()=>{i=l.pop()},"onArrayEnd"),onLiteralValue:o,onError:r((u,g,m)=>{t.push({error:u,offset:g,length:m})},"onError")},s),i[0]}r(Pe,"parse$1");function We(e,t,s=H.DEFAULT){const n=Ne(e,!1),i=[];let l=0;function o(v){return v?()=>l===0&&v(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}r(o,"toNoArgVisit");function f(v){return v?F=>l===0&&v(F,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}r(f,"toOneArgVisit");function u(v){return v?F=>l===0&&v(F,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>i.slice()):()=>!0}r(u,"toOneArgVisitWithPath");function g(v){return v?()=>{l>0?l++:v(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>i.slice())===!1&&(l=1)}:()=>!0}r(g,"toBeginVisit");function m(v){return v?()=>{l>0&&l--,l===0&&v(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:()=>!0}r(m,"toEndVisit");const w=g(t.onObjectBegin),_=u(t.onObjectProperty),b=m(t.onObjectEnd),p=g(t.onArrayBegin),L=m(t.onArrayEnd),A=u(t.onLiteralValue),D=f(t.onSeparator),x=o(t.onComment),c=f(t.onError),j=s&&s.disallowComments,y=s&&s.allowTrailingComma;function T(){for(;;){const v=n.scan();switch(n.getTokenError()){case 4:k(14);break;case 5:k(15);break;case 3:k(13);break;case 1:j||k(11);break;case 2:k(12);break;case 6:k(16);break}switch(v){case 12:case 13:j?k(10):x();break;case 16:k(1);break;case 15:case 14:break;default:return v}}}r(T,"scanNext");function k(v,F=[],W=[]){if(c(v),F.length+W.length>0){let $=n.getToken();for(;$!==17;){if(F.indexOf($)!==-1){T();break}else if(W.indexOf($)!==-1)break;$=T()}}}r(k,"handleError");function P(v){const F=n.getTokenValue();return v?A(F):(_(F),i.push(F)),T(),!0}r(P,"parseString");function J(){switch(n.getToken()){case 11:const v=n.getTokenValue();let F=Number(v);isNaN(F)&&(k(2),F=0),A(F);break;case 7:A(null);break;case 8:A(!0);break;case 9:A(!1);break;default:return!1}return T(),!0}r(J,"parseLiteral");function V(){return n.getToken()!==10?(k(3,[],[2,5]),!1):(P(!1),n.getToken()===6?(D(":"),T(),U()||k(4,[],[2,5])):k(5,[],[2,5]),i.pop(),!0)}r(V,"parseProperty");function z(){w(),T();let v=!1;for(;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(v||k(4,[],[]),D(","),T(),n.getToken()===2&&y)break}else v&&k(6,[],[]);V()||k(4,[],[2,5]),v=!0}return b(),n.getToken()!==2?k(7,[2],[]):T(),!0}r(z,"parseObject");function G(){p(),T();let v=!0,F=!1;for(;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if(F||k(4,[],[]),D(","),T(),n.getToken()===4&&y)break}else F&&k(6,[],[]);v?(i.push(0),v=!1):i[i.length-1]++,U()||k(4,[],[4,5]),F=!0}return L(),v||i.pop(),n.getToken()!==4?k(8,[4],[]):T(),!0}r(G,"parseArray");function U(){switch(n.getToken()){case 3:return G();case 1:return z();case 10:return P(!0);default:return J()}}return r(U,"parseValue"),T(),n.getToken()===17?s.allowEmptyContent?!0:(k(4,[],[]),!1):U()?(n.getToken()!==17&&k(9,[],[]),!0):(k(4,[],[]),!1)}r(We,"visit");var ke;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(ke||(ke={}));var de;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(de||(de={}));const Me=Pe;var we;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(we||(we={}));const me=r((e,t)=>Me(Se(t,e,"utf8")),"readJsonc"),ne=Symbol("implicitBaseUrl"),E="${configDir}",Je=r(()=>{const{findPnpApi:e}=xe;return e&&e(process.cwd())},"getPnpApi"),te=r((e,t,s,n)=>{const i=`resolveFromPackageJsonPath:${e}:${t}:${s}`;if(n!=null&&n.has(i))return n.get(i);const l=me(e,n);if(!l)return;let o=t||"tsconfig.json";if(!s&&l.exports)try{const[f]=Ie.resolveExports(l.exports,t,["require","types"]);o=f}catch{return!1}else!t&&l.tsconfig&&(o=l.tsconfig);return o=d.join(e,"..",o),n==null||n.set(i,o),o},"resolveFromPackageJsonPath"),se="package.json",le="tsconfig.json",Ve=r((e,t,s)=>{let n=e;if(e===".."&&(n=d.join(n,le)),e[0]==="."&&(n=d.resolve(t,n)),d.isAbsolute(n)){if(B(s,n)){if(q(s,n).isFile())return n}else if(!n.endsWith(".json")){const b=`${n}.json`;if(B(s,b))return b}return}const[i,...l]=e.split("/"),o=i[0]==="@"?`${i}/${l.shift()}`:i,f=l.join("/"),u=Je();if(u){const{resolveRequest:b}=u;try{if(o===e){const p=b(d.join(o,se),t);if(p){const L=te(p,f,!1,s);if(L&&B(s,L))return L}}else{let p;try{p=b(e,t,{extensions:[".json"]})}catch{p=b(d.join(e,le),t)}if(p)return p}}catch{}}const g=O(d.resolve(t),d.join("node_modules",o),s);if(!g||!q(s,g).isDirectory())return;const m=d.join(g,se);if(B(s,m)){const b=te(m,f,!1,s);if(b===!1)return;if(b&&B(s,b)&&q(s,b).isFile())return b}const w=d.join(g,f),_=w.endsWith(".json");if(!_){const b=`${w}.json`;if(B(s,b))return b}if(B(s,w)){if(q(s,w).isDirectory()){const b=d.join(w,se);if(B(s,b)){const L=te(b,"",!0,s);if(L&&B(s,L))return L}const p=d.join(w,le);if(B(s,p))return p}else if(_)return w}},"resolveExtendsPath"),ie=r((e,t)=>Q(d.relative(e,t)),"pathRelative"),ve=["files","include","exclude"],N=r((e,t,s)=>{const n=d.join(t,s),i=d.relative(e,n);return h(i)||"./"},"resolveAndRelativize"),ze=r((e,t,s)=>{const n=d.relative(e,t);if(!n)return s;const i=s.startsWith("./")?s.slice(2):s;return h(`${n}/${i}`)},"prefixPattern"),Ge=r((e,t,s,n)=>{const i=Ve(e,t,n);if(!i)throw new Error(`File '${e}' not found.`);if(s.has(i))throw new Error(`Circularity detected while resolving configuration: ${i}`);s.add(i);const l=d.dirname(i),o=pe(i,n,s);delete o.references;const{compilerOptions:f}=o;if(f){const{baseUrl:u}=f;u&&!u.startsWith(E)&&(f.baseUrl=N(t,l,u));const{outDir:g}=f;g&&!g.startsWith(E)&&(f.outDir=N(t,l,g));const{declarationDir:m}=f;m&&!m.startsWith(E)&&(f.declarationDir=N(t,l,m));const{rootDir:w}=f;w&&!w.startsWith(E)&&(f.rootDir=N(t,l,w));const{rootDirs:_}=f;_&&(f.rootDirs=_.map(p=>p.startsWith(E)?p:N(t,l,p)));const{typeRoots:b}=f;b&&(f.typeRoots=b.map(p=>p.startsWith(E)?p:N(t,l,p)))}for(const u of ve){const g=o[u];g&&(o[u]=g.map(m=>m.startsWith(E)?m:ze(t,l,m)))}return o},"resolveExtends"),be=["outDir","declarationDir"],pe=r((e,t,s=new Set)=>{let n;try{n=me(e,t)||{}}catch{throw new Error(`Cannot resolve tsconfig at path: ${e}`)}if(typeof n!="object")throw new SyntaxError(`Failed to parse tsconfig at: ${e}`);const i=d.dirname(e);if(n.compilerOptions){const{compilerOptions:l}=n;l.paths&&!l.baseUrl&&(l[ne]=i)}if(n.extends){const l=Array.isArray(n.extends)?n.extends:[n.extends];delete n.extends;for(const o of l.reverse()){const f=Ge(o,i,new Set(s),t),u={...f,...n,compilerOptions:{...f.compilerOptions,...n.compilerOptions}};f.watchOptions&&(u.watchOptions={...f.watchOptions,...n.watchOptions}),n=u}}if(n.compilerOptions){const{compilerOptions:l}=n,o=["baseUrl","rootDir"];for(const f of o){const u=l[f];if(u&&!u.startsWith(E)){const g=d.resolve(i,u),m=ie(i,g);l[f]=m}}for(const f of be){let u=l[f];u&&(Array.isArray(n.exclude)||(n.exclude=be.map(g=>l[g]).filter(Boolean)),u.startsWith(E)||(u=Q(u)),l[f]=u)}}else n.compilerOptions={};if(n.include&&(n.include=n.include.map(h)),n.files&&(n.files=n.files.map(l=>l.startsWith(E)?l:Q(l))),n.watchOptions){const{watchOptions:l}=n;l.excludeDirectories&&(l.excludeDirectories=l.excludeDirectories.map(o=>h(d.resolve(i,o)))),l.excludeFiles&&(l.excludeFiles=l.excludeFiles.map(o=>h(d.resolve(i,o)))),l.watchFile&&(l.watchFile=l.watchFile.toLowerCase()),l.watchDirectory&&(l.watchDirectory=l.watchDirectory.toLowerCase()),l.fallbackPolling&&(l.fallbackPolling=l.fallbackPolling.toLowerCase())}return n},"_parseTsconfig"),X=r((e,t)=>{if(e.startsWith(E))return h(d.join(t,e.slice(E.length)))},"interpolateConfigDir"),qe=["outDir","declarationDir","outFile","rootDir","baseUrl","tsBuildInfoFile"],Qe=r(e=>{var t,s,n,i,l,o,f,u,g,m,w,_,b,p,L,A,D,x,c,j,y,T,k,P,J,V,z,G,U,v,F,W,$;if(e.strict){const a=["noImplicitAny","noImplicitThis","strictNullChecks","strictFunctionTypes","strictBindCallApply","strictPropertyInitialization","strictBuiltinIteratorReturn","alwaysStrict","useUnknownInCatchVariables"];for(const I of a)e[I]===void 0&&(e[I]=!0)}if(e.composite&&((t=e.declaration)!=null||(e.declaration=!0),(s=e.incremental)!=null||(e.incremental=!0)),e.target){let a=e.target.toLowerCase();a==="es2015"&&(a="es6"),e.target=a,a==="esnext"&&((n=e.module)!=null||(e.module="es6"),(i=e.useDefineForClassFields)!=null||(e.useDefineForClassFields=!0)),(a==="es6"||a==="es2016"||a==="es2017"||a==="es2018"||a==="es2019"||a==="es2020"||a==="es2021"||a==="es2022"||a==="es2023"||a==="es2024")&&((l=e.module)!=null||(e.module="es6")),(a==="es2022"||a==="es2023"||a==="es2024")&&((o=e.useDefineForClassFields)!=null||(e.useDefineForClassFields=!0))}if(e.module){let a=e.module.toLowerCase();if(a==="es2015"&&(a="es6"),e.module=a,(a==="es6"||a==="es2020"||a==="es2022"||a==="esnext"||a==="none"||a==="system"||a==="umd"||a==="amd")&&((f=e.moduleResolution)!=null||(e.moduleResolution="classic")),a==="system"&&((u=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0)),(a==="node16"||a==="node18"||a==="node20"||a==="nodenext"||a==="preserve")&&((g=e.esModuleInterop)!=null||(e.esModuleInterop=!0),(m=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0)),(a==="node16"||a==="node18"||a==="node20"||a==="nodenext")&&((w=e.moduleDetection)!=null||(e.moduleDetection="force")),a==="node16"&&((_=e.target)!=null||(e.target="es2022"),(b=e.moduleResolution)!=null||(e.moduleResolution="node16")),a==="node18"&&((p=e.target)!=null||(e.target="es2022"),(L=e.moduleResolution)!=null||(e.moduleResolution="node16")),a==="node20"&&((A=e.target)!=null||(e.target="es2023"),(D=e.moduleResolution)!=null||(e.moduleResolution="node16"),(x=e.resolveJsonModule)!=null||(e.resolveJsonModule=!0)),a==="nodenext"&&((c=e.target)!=null||(e.target="esnext"),(j=e.moduleResolution)!=null||(e.moduleResolution="nodenext"),(y=e.resolveJsonModule)!=null||(e.resolveJsonModule=!0)),a==="node16"||a==="node18"||a==="node20"||a==="nodenext"){const I=e.target;(I==="es3"||I==="es2022"||I==="es2023"||I==="es2024"||I==="esnext")&&((T=e.useDefineForClassFields)!=null||(e.useDefineForClassFields=!0))}a==="preserve"&&((k=e.moduleResolution)!=null||(e.moduleResolution="bundler"))}if(e.moduleResolution){let a=e.moduleResolution.toLowerCase();a==="node"&&(a="node10"),e.moduleResolution=a,(a==="node16"||a==="nodenext"||a==="bundler")&&((P=e.resolvePackageJsonExports)!=null||(e.resolvePackageJsonExports=!0),(J=e.resolvePackageJsonImports)!=null||(e.resolvePackageJsonImports=!0)),a==="bundler"&&((V=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0),(z=e.resolveJsonModule)!=null||(e.resolveJsonModule=!0))}e.jsx&&(e.jsx=e.jsx.toLowerCase()),e.moduleDetection&&(e.moduleDetection=e.moduleDetection.toLowerCase()),e.importsNotUsedAsValues&&(e.importsNotUsedAsValues=e.importsNotUsedAsValues.toLowerCase()),e.newLine&&(e.newLine=e.newLine.toLowerCase()),e.esModuleInterop&&((G=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0)),e.verbatimModuleSyntax&&((U=e.isolatedModules)!=null||(e.isolatedModules=!0),(v=e.preserveConstEnums)!=null||(e.preserveConstEnums=!0)),e.isolatedModules&&((F=e.preserveConstEnums)!=null||(e.preserveConstEnums=!0)),e.rewriteRelativeImportExtensions&&((W=e.allowImportingTsExtensions)!=null||(e.allowImportingTsExtensions=!0)),e.lib&&(e.lib=e.lib.map(a=>a.toLowerCase())),e.checkJs&&(($=e.allowJs)!=null||(e.allowJs=!0))},"normalizeCompilerOptions"),oe=r((e,t=new Map)=>{const s=d.resolve(e),n=pe(s,t),i=d.dirname(s),{compilerOptions:l}=n;if(l){for(const f of qe){const u=l[f];if(u){const g=X(u,i);l[f]=g?ie(i,g):u}}for(const f of["rootDirs","typeRoots"]){const u=l[f];u&&(l[f]=u.map(g=>{const m=X(g,i);return m?ie(i,m):Q(g)}))}const{paths:o}=l;if(o)for(const f of Object.keys(o))o[f]=o[f].map(u=>{var g;return(g=X(u,i))!=null?g:u});Qe(l)}for(const o of ve){const f=n[o];f&&(n[o]=f.map(u=>{var g;return(g=X(u,i))!=null?g:u}))}return n},"parseTsconfig");var He=Object.defineProperty,Y=r((e,t)=>He(e,"name",{value:t,configurable:!0}),"s");const Te=Y(e=>{let t="";for(let s=0;s<e.length;s+=1){const n=e[s],i=n.toUpperCase();t+=n===i?n.toLowerCase():i}return t},"invertCase"),re=new Map,Ae=Y((e,t)=>{const s=Re.join(e,`.is-fs-case-sensitive-test-${process.pid}`);try{return t.writeFileSync(s,""),!t.existsSync(Te(s))}finally{try{t.unlinkSync(s)}catch{}}},"checkDirectoryCaseWithWrite"),Xe=Y((e,t,s)=>{try{return Ae(e,s)}catch(n){if(t===void 0)return Ae(Ue.tmpdir(),s);throw n}},"checkDirectoryCaseWithFallback"),Ye=Y((e,t=$e,s=!0)=>{const n=e!=null?e:process.cwd();if(s&&re.has(n))return re.get(n);let i;const l=Te(n);return l!==n&&t.existsSync(n)?i=!t.existsSync(l):i=Xe(n,e,t),s&&re.set(n,i),i},"isFsCaseSensitive"),{join:_e}=d.posix,ue={ts:[".ts",".tsx",".d.ts"],cts:[".cts",".d.cts"],mts:[".mts",".d.mts"]},Ze=r(e=>{const t=[...ue.ts],s=[...ue.cts],n=[...ue.mts];return e!=null&&e.allowJs&&(t.push(".js",".jsx"),s.push(".cjs"),n.push(".mjs")),[...t,...s,...n]},"getSupportedExtensions"),Ke=r(e=>{const t=[];if(!e)return t;const{outDir:s,declarationDir:n}=e;return s&&t.push(s),n&&t.push(n),t},"getDefaultExcludeSpec"),ye=r(e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),"escapeForRegexp"),Oe=["node_modules","bower_components","jspm_packages"],fe=`(?!(${Oe.join("|")})(/|$))`,Ce=/(?:^|\/)[^.*?]+$/,je="**/*",Z="[^/]",ae="[^./]",Fe=process.platform==="win32",De=r(({config:e,path:t},s=Ye())=>{if("extends"in e)throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");if(!d.isAbsolute(t))throw new Error("The tsconfig path must be absolute");Fe&&(t=h(t));const n=d.dirname(t),{files:i,include:l,exclude:o,compilerOptions:f}=e,u=r(A=>d.isAbsolute(A)?A:_e(n,A),"resolvePattern"),g=i==null?void 0:i.map(u),m=Ze(f),w=s?"":"i",b=(o||Ke(f)).map(A=>{const D=u(A),x=ye(D).replaceAll(String.raw`\*\*/`,"(.+/)?").replaceAll(String.raw`\*`,`${Z}*`).replaceAll(String.raw`\?`,Z);return new RegExp(`^${x}($|/)`,w)}),p=i||l?l:[je],L=p?p.map(A=>{let D=u(A);Ce.test(D)&&(D=_e(D,je));const x=ye(D).replaceAll(String.raw`/\*\*`,`(/${fe}${ae}${Z}*)*?`).replaceAll(/(\/)?\\\*/g,(c,j)=>{const y=`(${ae}|(\\.(?!min\\.js$))?)*`;return j?`/${fe}${ae}${y}`:y}).replaceAll(/(\/)?\\\?/g,(c,j)=>{const y=Z;return j?`/${fe}${y}`:y});return new RegExp(`^${x}$`,w)}):void 0;return A=>{if(!d.isAbsolute(A))throw new Error("filePath must be absolute");if(Fe&&(A=h(A)),g!=null&&g.includes(A))return e;if(!(!m.some(D=>A.endsWith(D))||b.some(D=>D.test(A)))&&L&&L.some(D=>D.test(A)))return e}},"createFilesMatcher"),Le=r((e,t,s)=>{const n=d.resolve(e);let i=h(e);for(;;){const l=O(i,t,s);if(!l)return;const o=d.resolve(l),f=oe(o,s),u={path:h(o),config:f};if(De(u)(n))return u;const m=d.dirname(l),w=d.dirname(m);if(w===m)return;i=w}},"findConfigApplicable"),he=r((e=process.cwd(),t="tsconfig.json",s=new Map,n=!1)=>{var i;return n?(i=Le(e,t,s))==null?void 0:i.path:O(h(e),t,s)},"findTsconfig"),en=r((e=process.cwd(),t="tsconfig.json",s=new Map,n=!1)=>{var i;if(!n){const l=he(e,t,s);if(!l)return null;const o=oe(l,s);return{path:l,config:o}}return(i=Le(e,t,s))!=null?i:null},"getTsconfig"),nn=/\*/g,Ee=r((e,t)=>{const s=e.match(nn);if(s&&s.length>1)throw new Error(t)},"assertStarCount"),tn=r(e=>{if(e.includes("*")){const[t,s]=e.split("*");return{prefix:t,suffix:s}}return e},"parsePattern"),sn=r(({prefix:e,suffix:t},s)=>s.startsWith(e)&&s.endsWith(t),"isPatternMatch"),ln=r((e,t,s)=>Object.entries(e).map(([n,i])=>(Ee(n,`Pattern '${n}' can have at most one '*' character.`),{pattern:tn(n),substitutions:i.map(l=>{if(Ee(l,`Substitution '${l}' in pattern '${n}' can have at most one '*' character.`),!t&&!C.test(l)&&!d.isAbsolute(l))throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");return d.resolve(s,l)})})),"parsePaths"),on=r(e=>{const{compilerOptions:t}=e.config;if(!t)return null;const{baseUrl:s,paths:n}=t;if(!s&&!n)return null;const i=ne in t&&t[ne],l=d.resolve(d.dirname(e.path),s||i||"."),o=n?ln(n,s,l):[];return f=>{if(C.test(f))return[];const u=[];for(const _ of o){if(_.pattern===f)return _.substitutions.map(h);typeof _.pattern!="string"&&u.push(_)}let g,m=-1;for(const _ of u)sn(_.pattern,f)&&_.pattern.prefix.length>m&&(m=_.pattern.prefix.length,g=_);if(!g)return s?[h(d.join(l,f))]:[];const w=f.slice(g.pattern.prefix.length,f.length-g.pattern.suffix.length);return g.substitutions.map(_=>h(_.replace("*",w)))}},"createPathsMatcher");exports.createFilesMatcher=De,exports.createPathsMatcher=on,exports.findTsconfig=he,exports.getTsconfig=en,exports.parseTsconfig=oe;
@@ -2055,17 +2055,45 @@ type TsConfigResult = {
2055
2055
  */
2056
2056
  config: TsConfigJsonResolved;
2057
2057
  };
2058
+ type PathsMatcher = (specifier: string) => string[];
2058
2059
  type Cache<value = any> = Map<string, value>;
2059
2060
 
2060
2061
  /**
2061
- * Finds a tsconfig file, defaulting to `tsconfig.json`, starting from a given path.
2062
+ * Searches for a tsconfig file by walking up the directory tree.
2062
2063
  *
2063
- * @param searchPath Starting directory (default: `process.cwd()`).
2064
+ * @param searchPath Path to a source file or directory to search from (default: `process.cwd()`).
2064
2065
  * @param configName Config file name (default: `tsconfig.json`).
2065
2066
  * @param cache Cache for previous results (default: new `Map()`).
2067
+ * @param includes When true, validates that the tsconfig applies to the
2068
+ * `searchPath` file via `include`/`exclude`/`files`. See {@link getTsconfig}
2069
+ * for details. Default: `false`.
2070
+ * @returns The path to the found tsconfig file, or `undefined` if not found.
2071
+ */
2072
+ declare const findTsconfig: (searchPath?: string, configName?: string, cache?: Cache, includes?: boolean) => string | undefined;
2073
+ /**
2074
+ * Finds and reads a tsconfig file by walking up the directory tree.
2075
+ *
2076
+ * By default, returns the nearest tsconfig found (matching `tsc` CLI behavior).
2077
+ *
2078
+ * When `includes` is true and `searchPath` is a file path, validates
2079
+ * that the found tsconfig applies to the file (via `files`, `include`, and
2080
+ * `exclude`). If the file isn't matched, continues searching parent directories.
2081
+ * This matches VS Code's TypeScript Language Server behavior.
2082
+ *
2083
+ * Reference:
2084
+ * - `tsc` CLI uses `findConfigFile()` which returns the nearest tsconfig without validation:
2085
+ * https://github.com/microsoft/TypeScript/blob/b19a9da2a3b8/src/compiler/program.ts#L328
2086
+ * - Language Server uses `isMatchedByConfig()` to verify the file belongs to the project:
2087
+ * https://github.com/microsoft/TypeScript/blob/b19a9da2a3b8/src/server/editorServices.ts#L4486
2088
+ *
2089
+ * @param searchPath Path to a source file or directory to search from (default: `process.cwd()`).
2090
+ * @param configName Config file name (default: `tsconfig.json`).
2091
+ * @param cache Cache for previous results (default: new `Map()`).
2092
+ * @param includes When true, validates that the tsconfig applies to the
2093
+ * `searchPath` file via `include`/`exclude`/`files`. Default: `false`.
2066
2094
  * @returns The tsconfig file path and parsed contents, or `null` if not found.
2067
2095
  */
2068
- declare const getTsconfig: (searchPath?: string, configName?: string, cache?: Cache) => TsConfigResult | null;
2096
+ declare const getTsconfig: (searchPath?: string, configName?: string, cache?: Cache, includes?: boolean) => TsConfigResult | null;
2069
2097
 
2070
2098
  /**
2071
2099
  * Parses a tsconfig file at a given path
@@ -2080,9 +2108,9 @@ declare const parseTsconfig: (tsconfigPath: string, cache?: Cache<string>) => Ts
2080
2108
  * Reference:
2081
2109
  * https://github.com/microsoft/TypeScript/blob/3ccbe804f850f40d228d3c875be952d94d39aa1d/src/compiler/moduleNameResolver.ts#L2465
2082
2110
  */
2083
- declare const createPathsMatcher: (tsconfig: TsConfigResult) => ((specifier: string) => string[]) | null;
2111
+ declare const createPathsMatcher: (tsconfig: TsConfigResult) => PathsMatcher | null;
2084
2112
 
2085
2113
  type FileMatcher = (filePath: string) => (TsConfigJsonResolved | undefined);
2086
2114
  declare const createFilesMatcher: ({ config, path: tsconfigPath, }: TsConfigResult, caseSensitivePaths?: boolean) => FileMatcher;
2087
2115
 
2088
- export { type Cache, type FileMatcher, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, createFilesMatcher, createPathsMatcher, getTsconfig, parseTsconfig };
2116
+ export { type Cache, type FileMatcher, type PathsMatcher, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, createFilesMatcher, createPathsMatcher, findTsconfig, getTsconfig, parseTsconfig };
@@ -2055,17 +2055,45 @@ type TsConfigResult = {
2055
2055
  */
2056
2056
  config: TsConfigJsonResolved;
2057
2057
  };
2058
+ type PathsMatcher = (specifier: string) => string[];
2058
2059
  type Cache<value = any> = Map<string, value>;
2059
2060
 
2060
2061
  /**
2061
- * Finds a tsconfig file, defaulting to `tsconfig.json`, starting from a given path.
2062
+ * Searches for a tsconfig file by walking up the directory tree.
2062
2063
  *
2063
- * @param searchPath Starting directory (default: `process.cwd()`).
2064
+ * @param searchPath Path to a source file or directory to search from (default: `process.cwd()`).
2064
2065
  * @param configName Config file name (default: `tsconfig.json`).
2065
2066
  * @param cache Cache for previous results (default: new `Map()`).
2067
+ * @param includes When true, validates that the tsconfig applies to the
2068
+ * `searchPath` file via `include`/`exclude`/`files`. See {@link getTsconfig}
2069
+ * for details. Default: `false`.
2070
+ * @returns The path to the found tsconfig file, or `undefined` if not found.
2071
+ */
2072
+ declare const findTsconfig: (searchPath?: string, configName?: string, cache?: Cache, includes?: boolean) => string | undefined;
2073
+ /**
2074
+ * Finds and reads a tsconfig file by walking up the directory tree.
2075
+ *
2076
+ * By default, returns the nearest tsconfig found (matching `tsc` CLI behavior).
2077
+ *
2078
+ * When `includes` is true and `searchPath` is a file path, validates
2079
+ * that the found tsconfig applies to the file (via `files`, `include`, and
2080
+ * `exclude`). If the file isn't matched, continues searching parent directories.
2081
+ * This matches VS Code's TypeScript Language Server behavior.
2082
+ *
2083
+ * Reference:
2084
+ * - `tsc` CLI uses `findConfigFile()` which returns the nearest tsconfig without validation:
2085
+ * https://github.com/microsoft/TypeScript/blob/b19a9da2a3b8/src/compiler/program.ts#L328
2086
+ * - Language Server uses `isMatchedByConfig()` to verify the file belongs to the project:
2087
+ * https://github.com/microsoft/TypeScript/blob/b19a9da2a3b8/src/server/editorServices.ts#L4486
2088
+ *
2089
+ * @param searchPath Path to a source file or directory to search from (default: `process.cwd()`).
2090
+ * @param configName Config file name (default: `tsconfig.json`).
2091
+ * @param cache Cache for previous results (default: new `Map()`).
2092
+ * @param includes When true, validates that the tsconfig applies to the
2093
+ * `searchPath` file via `include`/`exclude`/`files`. Default: `false`.
2066
2094
  * @returns The tsconfig file path and parsed contents, or `null` if not found.
2067
2095
  */
2068
- declare const getTsconfig: (searchPath?: string, configName?: string, cache?: Cache) => TsConfigResult | null;
2096
+ declare const getTsconfig: (searchPath?: string, configName?: string, cache?: Cache, includes?: boolean) => TsConfigResult | null;
2069
2097
 
2070
2098
  /**
2071
2099
  * Parses a tsconfig file at a given path
@@ -2080,9 +2108,9 @@ declare const parseTsconfig: (tsconfigPath: string, cache?: Cache<string>) => Ts
2080
2108
  * Reference:
2081
2109
  * https://github.com/microsoft/TypeScript/blob/3ccbe804f850f40d228d3c875be952d94d39aa1d/src/compiler/moduleNameResolver.ts#L2465
2082
2110
  */
2083
- declare const createPathsMatcher: (tsconfig: TsConfigResult) => ((specifier: string) => string[]) | null;
2111
+ declare const createPathsMatcher: (tsconfig: TsConfigResult) => PathsMatcher | null;
2084
2112
 
2085
2113
  type FileMatcher = (filePath: string) => (TsConfigJsonResolved | undefined);
2086
2114
  declare const createFilesMatcher: ({ config, path: tsconfigPath, }: TsConfigResult, caseSensitivePaths?: boolean) => FileMatcher;
2087
2115
 
2088
- export { type Cache, type FileMatcher, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, createFilesMatcher, createPathsMatcher, getTsconfig, parseTsconfig };
2116
+ export { type Cache, type FileMatcher, type PathsMatcher, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, createFilesMatcher, createPathsMatcher, findTsconfig, getTsconfig, parseTsconfig };