@compass-labs/api-sdk 2.2.39 → 2.2.40-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/funcs/aaveV3AaveAaveSupportedTokens.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveAaveSupportedTokens.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveAaveSupportedTokens.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveAvgRate.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveAvgRate.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveAvgRate.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveBorrow.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveBorrow.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveBorrow.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveHistoricalTransactions.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveHistoricalTransactions.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveHistoricalTransactions.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveLiquidityChange.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveLiquidityChange.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveLiquidityChange.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveRate.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveRate.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveRate.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveRepay.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveRepay.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveRepay.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveReserveOverview.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveReserveOverview.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveReserveOverview.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveSetUserEmode.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveSetUserEmode.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveSetUserEmode.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveStdRate.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveStdRate.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveStdRate.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveSupply.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveSupply.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveSupply.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveTokenPrice.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveTokenPrice.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveTokenPrice.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveUserPositionPerToken.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveUserPositionPerToken.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveUserPositionPerToken.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveUserPositionSummary.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveUserPositionSummary.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveUserPositionSummary.js.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/aaveV3AaveWithdraw.js +2 -1
- package/dist/commonjs/funcs/aaveV3AaveWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.js +2 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.js +2 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.js +2 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.js +2 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.js +2 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.js +2 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.js +2 -1
- package/dist/commonjs/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/commonjs/funcs/bridgeCctpBurn.d.ts.map +1 -1
- package/dist/commonjs/funcs/bridgeCctpBurn.js +2 -1
- package/dist/commonjs/funcs/bridgeCctpBurn.js.map +1 -1
- package/dist/commonjs/funcs/bridgeCctpMint.d.ts.map +1 -1
- package/dist/commonjs/funcs/bridgeCctpMint.js +2 -1
- package/dist/commonjs/funcs/bridgeCctpMint.js.map +1 -1
- package/dist/commonjs/funcs/creditCreditBalances.d.ts.map +1 -1
- package/dist/commonjs/funcs/creditCreditBalances.js +2 -1
- package/dist/commonjs/funcs/creditCreditBalances.js.map +1 -1
- package/dist/commonjs/funcs/creditCreditBorrow.d.ts.map +1 -1
- package/dist/commonjs/funcs/creditCreditBorrow.js +2 -1
- package/dist/commonjs/funcs/creditCreditBorrow.js.map +1 -1
- package/dist/commonjs/funcs/creditCreditBundle.d.ts.map +1 -1
- package/dist/commonjs/funcs/creditCreditBundle.js +2 -1
- package/dist/commonjs/funcs/creditCreditBundle.js.map +1 -1
- package/dist/commonjs/funcs/creditCreditCreateAccount.d.ts.map +1 -1
- package/dist/commonjs/funcs/creditCreditCreateAccount.js +2 -1
- package/dist/commonjs/funcs/creditCreditCreateAccount.js.map +1 -1
- package/dist/commonjs/funcs/creditCreditPositions.d.ts.map +1 -1
- package/dist/commonjs/funcs/creditCreditPositions.js +2 -1
- package/dist/commonjs/funcs/creditCreditPositions.js.map +1 -1
- package/dist/commonjs/funcs/creditCreditRepay.d.ts.map +1 -1
- package/dist/commonjs/funcs/creditCreditRepay.js +2 -1
- package/dist/commonjs/funcs/creditCreditRepay.js.map +1 -1
- package/dist/commonjs/funcs/creditCreditTransfer.d.ts.map +1 -1
- package/dist/commonjs/funcs/creditCreditTransfer.js +2 -1
- package/dist/commonjs/funcs/creditCreditTransfer.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnAaveMarkets.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnAaveMarkets.js +2 -1
- package/dist/commonjs/funcs/earnEarnAaveMarkets.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnBalances.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnBalances.js +2 -1
- package/dist/commonjs/funcs/earnEarnBalances.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnBundle.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnBundle.js +2 -1
- package/dist/commonjs/funcs/earnEarnBundle.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnCreateAccount.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnCreateAccount.js +2 -1
- package/dist/commonjs/funcs/earnEarnCreateAccount.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnManage.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnManage.js +2 -1
- package/dist/commonjs/funcs/earnEarnManage.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnPendleMarkets.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnPendleMarkets.js +2 -1
- package/dist/commonjs/funcs/earnEarnPendleMarkets.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnPositions.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnPositions.js +2 -1
- package/dist/commonjs/funcs/earnEarnPositions.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnPositionsAll.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnPositionsAll.js +2 -1
- package/dist/commonjs/funcs/earnEarnPositionsAll.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnSwap.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnSwap.js +2 -1
- package/dist/commonjs/funcs/earnEarnSwap.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnTransfer.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnTransfer.js +2 -1
- package/dist/commonjs/funcs/earnEarnTransfer.js.map +1 -1
- package/dist/commonjs/funcs/earnEarnVaults.d.ts.map +1 -1
- package/dist/commonjs/funcs/earnEarnVaults.js +2 -1
- package/dist/commonjs/funcs/earnEarnVaults.js.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsVaultsDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsVaultsDeposit.js +2 -1
- package/dist/commonjs/funcs/erc4626VaultsVaultsDeposit.js.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsVaultsVault.d.ts.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsVaultsVault.js +2 -1
- package/dist/commonjs/funcs/erc4626VaultsVaultsVault.js.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsVaultsWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsVaultsWithdraw.js +2 -1
- package/dist/commonjs/funcs/erc4626VaultsVaultsWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/ethenaEthenaDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/ethenaEthenaDeposit.js +2 -1
- package/dist/commonjs/funcs/ethenaEthenaDeposit.js.map +1 -1
- package/dist/commonjs/funcs/ethenaEthenaRequest.d.ts.map +1 -1
- package/dist/commonjs/funcs/ethenaEthenaRequest.js +2 -1
- package/dist/commonjs/funcs/ethenaEthenaRequest.js.map +1 -1
- package/dist/commonjs/funcs/ethenaEthenaUnstake.d.ts.map +1 -1
- package/dist/commonjs/funcs/ethenaEthenaUnstake.js +2 -1
- package/dist/commonjs/funcs/ethenaEthenaUnstake.js.map +1 -1
- package/dist/commonjs/funcs/ethenaEthenaVault.d.ts.map +1 -1
- package/dist/commonjs/funcs/ethenaEthenaVault.js +2 -1
- package/dist/commonjs/funcs/ethenaEthenaVault.js.map +1 -1
- package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipApproveTransfer.d.ts.map +1 -1
- package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipApproveTransfer.js +2 -1
- package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipApproveTransfer.js.map +1 -1
- package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipPrepare.d.ts.map +1 -1
- package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipPrepare.js +2 -1
- package/dist/commonjs/funcs/gasSponsorshipGasSponsorshipPrepare.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoBorrow.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoBorrow.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoBorrow.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoDeposit.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoDeposit.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoMarket.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoMarket.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoMarket.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoMarketPosition.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoMarketPosition.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoMarketPosition.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoMarkets.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoMarkets.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoMarkets.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoRepay.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoRepay.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoRepay.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoSupplyCollateral.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoSupplyCollateral.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoSupplyCollateral.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoUserPosition.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoUserPosition.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoUserPosition.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoVault.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoVault.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoVault.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoVaults.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoVaults.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoVaults.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoWithdraw.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoWithdrawCollateral.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoMorphoWithdrawCollateral.js +2 -1
- package/dist/commonjs/funcs/morphoMorphoWithdrawCollateral.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendleLiquidity.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendleLiquidity.js +2 -1
- package/dist/commonjs/funcs/pendlePendleLiquidity.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendleMarket.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendleMarket.js +2 -1
- package/dist/commonjs/funcs/pendlePendleMarket.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendleMarkets.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendleMarkets.js +2 -1
- package/dist/commonjs/funcs/pendlePendleMarkets.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendlePositions.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendlePositions.js +2 -1
- package/dist/commonjs/funcs/pendlePendlePositions.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendlePt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendlePt.js +2 -1
- package/dist/commonjs/funcs/pendlePendlePt.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendleRedeemYield.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendleRedeemYield.js +2 -1
- package/dist/commonjs/funcs/pendlePendleRedeemYield.js.map +1 -1
- package/dist/commonjs/funcs/pendlePendleYt.d.ts.map +1 -1
- package/dist/commonjs/funcs/pendlePendleYt.js +2 -1
- package/dist/commonjs/funcs/pendlePendleYt.js.map +1 -1
- package/dist/commonjs/funcs/skySkyBuy.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySkyBuy.js +2 -1
- package/dist/commonjs/funcs/skySkyBuy.js.map +1 -1
- package/dist/commonjs/funcs/skySkyDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySkyDeposit.js +2 -1
- package/dist/commonjs/funcs/skySkyDeposit.js.map +1 -1
- package/dist/commonjs/funcs/skySkyPosition.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySkyPosition.js +2 -1
- package/dist/commonjs/funcs/skySkyPosition.js.map +1 -1
- package/dist/commonjs/funcs/skySkySell.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySkySell.js +2 -1
- package/dist/commonjs/funcs/skySkySell.js.map +1 -1
- package/dist/commonjs/funcs/skySkyWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/skySkyWithdraw.js +2 -1
- package/dist/commonjs/funcs/skySkyWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/smartAccountSmartAccountBatchedUserOperations.d.ts.map +1 -1
- package/dist/commonjs/funcs/smartAccountSmartAccountBatchedUserOperations.js +2 -1
- package/dist/commonjs/funcs/smartAccountSmartAccountBatchedUserOperations.js.map +1 -1
- package/dist/commonjs/funcs/swapSwapOdos.d.ts.map +1 -1
- package/dist/commonjs/funcs/swapSwapOdos.js +2 -1
- package/dist/commonjs/funcs/swapSwapOdos.js.map +1 -1
- package/dist/commonjs/funcs/tokenTokenBalance.d.ts.map +1 -1
- package/dist/commonjs/funcs/tokenTokenBalance.js +2 -1
- package/dist/commonjs/funcs/tokenTokenBalance.js.map +1 -1
- package/dist/commonjs/funcs/tokenTokenList.d.ts.map +1 -1
- package/dist/commonjs/funcs/tokenTokenList.js +2 -1
- package/dist/commonjs/funcs/tokenTokenList.js.map +1 -1
- package/dist/commonjs/funcs/tokenTokenPrice.d.ts.map +1 -1
- package/dist/commonjs/funcs/tokenTokenPrice.js +2 -1
- package/dist/commonjs/funcs/tokenTokenPrice.js.map +1 -1
- package/dist/commonjs/funcs/tokenTokenTransfer.d.ts.map +1 -1
- package/dist/commonjs/funcs/tokenTokenTransfer.js +2 -1
- package/dist/commonjs/funcs/tokenTokenTransfer.js.map +1 -1
- package/dist/commonjs/funcs/tokenTokenUnwrapWeth.d.ts.map +1 -1
- package/dist/commonjs/funcs/tokenTokenUnwrapWeth.js +2 -1
- package/dist/commonjs/funcs/tokenTokenUnwrapWeth.js.map +1 -1
- package/dist/commonjs/funcs/tokenTokenWrapEth.d.ts.map +1 -1
- package/dist/commonjs/funcs/tokenTokenWrapEth.js +2 -1
- package/dist/commonjs/funcs/tokenTokenWrapEth.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingCancelOrder.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingCancelOrder.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingCancelOrder.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingDeposit.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingDeposit.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingDeposit.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingExecute.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingExecute.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingExecute.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingLimitOrder.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingLimitOrder.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingLimitOrder.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingMarketOrder.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingMarketOrder.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingMarketOrder.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingOpportunities.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingOpportunities.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingOpportunities.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingPositions.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingPositions.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingPositions.js.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingWithdraw.js +2 -1
- package/dist/commonjs/funcs/traditionalInvestingTraditionalInvestingWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAaveLoop.d.ts.map +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAaveLoop.js +2 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAaveLoop.js.map +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAuthorization.d.ts.map +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAuthorization.js +2 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerAuthorization.js.map +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.d.ts.map +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.js +2 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionInRange.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionInRange.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionInRange.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionIncrease.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionIncrease.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionMint.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionMint.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionPositions.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionPositions.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionPositions.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapPoolPrice.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapPoolPrice.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapPoolPrice.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapQuoteBuyExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapQuoteBuyExactly.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapQuoteBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapQuoteSellExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapQuoteSellExactly.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapQuoteSellExactly.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapSwapBuyExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapSwapBuyExactly.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapSwapBuyExactly.js.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapSwapSellExactly.d.ts.map +1 -1
- package/dist/commonjs/funcs/uniswapV3UniswapSwapSellExactly.js +2 -1
- package/dist/commonjs/funcs/uniswapV3UniswapSwapSellExactly.js.map +1 -1
- package/dist/commonjs/funcs/universalGenericAllowance.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalGenericAllowance.js +2 -1
- package/dist/commonjs/funcs/universalGenericAllowance.js.map +1 -1
- package/dist/commonjs/funcs/universalGenericAllowanceSet.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalGenericAllowanceSet.js +2 -1
- package/dist/commonjs/funcs/universalGenericAllowanceSet.js.map +1 -1
- package/dist/commonjs/funcs/universalGenericEns.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalGenericEns.js +2 -1
- package/dist/commonjs/funcs/universalGenericEns.js.map +1 -1
- package/dist/commonjs/funcs/universalGenericPortfolio.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalGenericPortfolio.js +2 -1
- package/dist/commonjs/funcs/universalGenericPortfolio.js.map +1 -1
- package/dist/commonjs/funcs/universalGenericSupportedChains.d.ts.map +1 -1
- package/dist/commonjs/funcs/universalGenericSupportedChains.js +2 -1
- package/dist/commonjs/funcs/universalGenericSupportedChains.js.map +1 -1
- package/dist/commonjs/funcs/wildcatWildcatMarket.d.ts.map +1 -1
- package/dist/commonjs/funcs/wildcatWildcatMarket.js +2 -1
- package/dist/commonjs/funcs/wildcatWildcatMarket.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/sdks.d.ts +1 -1
- package/dist/commonjs/lib/sdks.d.ts.map +1 -1
- package/dist/commonjs/lib/sdks.js +2 -2
- package/dist/commonjs/lib/sdks.js.map +1 -1
- package/dist/commonjs/models/components/creditborrowparams.d.ts +6 -0
- package/dist/commonjs/models/components/creditborrowparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/creditborrowparams.js +2 -0
- package/dist/commonjs/models/components/creditborrowparams.js.map +1 -1
- package/dist/commonjs/models/components/creditborrowrequest.d.ts +6 -0
- package/dist/commonjs/models/components/creditborrowrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/creditborrowrequest.js +2 -0
- package/dist/commonjs/models/components/creditborrowrequest.js.map +1 -1
- package/dist/commonjs/models/components/creditborrowresponse.d.ts +4 -0
- package/dist/commonjs/models/components/creditborrowresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/creditborrowresponse.js +2 -0
- package/dist/commonjs/models/components/creditborrowresponse.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveAaveSupportedTokens.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveAaveSupportedTokens.js +2 -1
- package/dist/esm/funcs/aaveV3AaveAaveSupportedTokens.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveAvgRate.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveAvgRate.js +2 -1
- package/dist/esm/funcs/aaveV3AaveAvgRate.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveBorrow.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveBorrow.js +2 -1
- package/dist/esm/funcs/aaveV3AaveBorrow.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveHistoricalTransactions.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveHistoricalTransactions.js +2 -1
- package/dist/esm/funcs/aaveV3AaveHistoricalTransactions.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveLiquidityChange.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveLiquidityChange.js +2 -1
- package/dist/esm/funcs/aaveV3AaveLiquidityChange.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveRate.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveRate.js +2 -1
- package/dist/esm/funcs/aaveV3AaveRate.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveRepay.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveRepay.js +2 -1
- package/dist/esm/funcs/aaveV3AaveRepay.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveReserveOverview.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveReserveOverview.js +2 -1
- package/dist/esm/funcs/aaveV3AaveReserveOverview.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveSetUserEmode.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveSetUserEmode.js +2 -1
- package/dist/esm/funcs/aaveV3AaveSetUserEmode.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveStdRate.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveStdRate.js +2 -1
- package/dist/esm/funcs/aaveV3AaveStdRate.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveSupply.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveSupply.js +2 -1
- package/dist/esm/funcs/aaveV3AaveSupply.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveTokenPrice.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveTokenPrice.js +2 -1
- package/dist/esm/funcs/aaveV3AaveTokenPrice.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveUserPositionPerToken.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveUserPositionPerToken.js +2 -1
- package/dist/esm/funcs/aaveV3AaveUserPositionPerToken.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveUserPositionSummary.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveUserPositionSummary.js +2 -1
- package/dist/esm/funcs/aaveV3AaveUserPositionSummary.js.map +1 -1
- package/dist/esm/funcs/aaveV3AaveWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/aaveV3AaveWithdraw.js +2 -1
- package/dist/esm/funcs/aaveV3AaveWithdraw.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.js +2 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.js +2 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.js +2 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.js +2 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.js +2 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.js +2 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.js.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.d.ts.map +1 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.js +2 -1
- package/dist/esm/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.js.map +1 -1
- package/dist/esm/funcs/bridgeCctpBurn.d.ts.map +1 -1
- package/dist/esm/funcs/bridgeCctpBurn.js +2 -1
- package/dist/esm/funcs/bridgeCctpBurn.js.map +1 -1
- package/dist/esm/funcs/bridgeCctpMint.d.ts.map +1 -1
- package/dist/esm/funcs/bridgeCctpMint.js +2 -1
- package/dist/esm/funcs/bridgeCctpMint.js.map +1 -1
- package/dist/esm/funcs/creditCreditBalances.d.ts.map +1 -1
- package/dist/esm/funcs/creditCreditBalances.js +2 -1
- package/dist/esm/funcs/creditCreditBalances.js.map +1 -1
- package/dist/esm/funcs/creditCreditBorrow.d.ts.map +1 -1
- package/dist/esm/funcs/creditCreditBorrow.js +2 -1
- package/dist/esm/funcs/creditCreditBorrow.js.map +1 -1
- package/dist/esm/funcs/creditCreditBundle.d.ts.map +1 -1
- package/dist/esm/funcs/creditCreditBundle.js +2 -1
- package/dist/esm/funcs/creditCreditBundle.js.map +1 -1
- package/dist/esm/funcs/creditCreditCreateAccount.d.ts.map +1 -1
- package/dist/esm/funcs/creditCreditCreateAccount.js +2 -1
- package/dist/esm/funcs/creditCreditCreateAccount.js.map +1 -1
- package/dist/esm/funcs/creditCreditPositions.d.ts.map +1 -1
- package/dist/esm/funcs/creditCreditPositions.js +2 -1
- package/dist/esm/funcs/creditCreditPositions.js.map +1 -1
- package/dist/esm/funcs/creditCreditRepay.d.ts.map +1 -1
- package/dist/esm/funcs/creditCreditRepay.js +2 -1
- package/dist/esm/funcs/creditCreditRepay.js.map +1 -1
- package/dist/esm/funcs/creditCreditTransfer.d.ts.map +1 -1
- package/dist/esm/funcs/creditCreditTransfer.js +2 -1
- package/dist/esm/funcs/creditCreditTransfer.js.map +1 -1
- package/dist/esm/funcs/earnEarnAaveMarkets.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnAaveMarkets.js +2 -1
- package/dist/esm/funcs/earnEarnAaveMarkets.js.map +1 -1
- package/dist/esm/funcs/earnEarnBalances.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnBalances.js +2 -1
- package/dist/esm/funcs/earnEarnBalances.js.map +1 -1
- package/dist/esm/funcs/earnEarnBundle.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnBundle.js +2 -1
- package/dist/esm/funcs/earnEarnBundle.js.map +1 -1
- package/dist/esm/funcs/earnEarnCreateAccount.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnCreateAccount.js +2 -1
- package/dist/esm/funcs/earnEarnCreateAccount.js.map +1 -1
- package/dist/esm/funcs/earnEarnManage.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnManage.js +2 -1
- package/dist/esm/funcs/earnEarnManage.js.map +1 -1
- package/dist/esm/funcs/earnEarnPendleMarkets.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnPendleMarkets.js +2 -1
- package/dist/esm/funcs/earnEarnPendleMarkets.js.map +1 -1
- package/dist/esm/funcs/earnEarnPositions.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnPositions.js +2 -1
- package/dist/esm/funcs/earnEarnPositions.js.map +1 -1
- package/dist/esm/funcs/earnEarnPositionsAll.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnPositionsAll.js +2 -1
- package/dist/esm/funcs/earnEarnPositionsAll.js.map +1 -1
- package/dist/esm/funcs/earnEarnSwap.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnSwap.js +2 -1
- package/dist/esm/funcs/earnEarnSwap.js.map +1 -1
- package/dist/esm/funcs/earnEarnTransfer.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnTransfer.js +2 -1
- package/dist/esm/funcs/earnEarnTransfer.js.map +1 -1
- package/dist/esm/funcs/earnEarnVaults.d.ts.map +1 -1
- package/dist/esm/funcs/earnEarnVaults.js +2 -1
- package/dist/esm/funcs/earnEarnVaults.js.map +1 -1
- package/dist/esm/funcs/erc4626VaultsVaultsDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/erc4626VaultsVaultsDeposit.js +2 -1
- package/dist/esm/funcs/erc4626VaultsVaultsDeposit.js.map +1 -1
- package/dist/esm/funcs/erc4626VaultsVaultsVault.d.ts.map +1 -1
- package/dist/esm/funcs/erc4626VaultsVaultsVault.js +2 -1
- package/dist/esm/funcs/erc4626VaultsVaultsVault.js.map +1 -1
- package/dist/esm/funcs/erc4626VaultsVaultsWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/erc4626VaultsVaultsWithdraw.js +2 -1
- package/dist/esm/funcs/erc4626VaultsVaultsWithdraw.js.map +1 -1
- package/dist/esm/funcs/ethenaEthenaDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/ethenaEthenaDeposit.js +2 -1
- package/dist/esm/funcs/ethenaEthenaDeposit.js.map +1 -1
- package/dist/esm/funcs/ethenaEthenaRequest.d.ts.map +1 -1
- package/dist/esm/funcs/ethenaEthenaRequest.js +2 -1
- package/dist/esm/funcs/ethenaEthenaRequest.js.map +1 -1
- package/dist/esm/funcs/ethenaEthenaUnstake.d.ts.map +1 -1
- package/dist/esm/funcs/ethenaEthenaUnstake.js +2 -1
- package/dist/esm/funcs/ethenaEthenaUnstake.js.map +1 -1
- package/dist/esm/funcs/ethenaEthenaVault.d.ts.map +1 -1
- package/dist/esm/funcs/ethenaEthenaVault.js +2 -1
- package/dist/esm/funcs/ethenaEthenaVault.js.map +1 -1
- package/dist/esm/funcs/gasSponsorshipGasSponsorshipApproveTransfer.d.ts.map +1 -1
- package/dist/esm/funcs/gasSponsorshipGasSponsorshipApproveTransfer.js +2 -1
- package/dist/esm/funcs/gasSponsorshipGasSponsorshipApproveTransfer.js.map +1 -1
- package/dist/esm/funcs/gasSponsorshipGasSponsorshipPrepare.d.ts.map +1 -1
- package/dist/esm/funcs/gasSponsorshipGasSponsorshipPrepare.js +2 -1
- package/dist/esm/funcs/gasSponsorshipGasSponsorshipPrepare.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoBorrow.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoBorrow.js +2 -1
- package/dist/esm/funcs/morphoMorphoBorrow.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoDeposit.js +2 -1
- package/dist/esm/funcs/morphoMorphoDeposit.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoMarket.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoMarket.js +2 -1
- package/dist/esm/funcs/morphoMorphoMarket.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoMarketPosition.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoMarketPosition.js +2 -1
- package/dist/esm/funcs/morphoMorphoMarketPosition.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoMarkets.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoMarkets.js +2 -1
- package/dist/esm/funcs/morphoMorphoMarkets.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoRepay.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoRepay.js +2 -1
- package/dist/esm/funcs/morphoMorphoRepay.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoSupplyCollateral.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoSupplyCollateral.js +2 -1
- package/dist/esm/funcs/morphoMorphoSupplyCollateral.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoUserPosition.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoUserPosition.js +2 -1
- package/dist/esm/funcs/morphoMorphoUserPosition.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoVault.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoVault.js +2 -1
- package/dist/esm/funcs/morphoMorphoVault.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoVaults.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoVaults.js +2 -1
- package/dist/esm/funcs/morphoMorphoVaults.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoWithdraw.js +2 -1
- package/dist/esm/funcs/morphoMorphoWithdraw.js.map +1 -1
- package/dist/esm/funcs/morphoMorphoWithdrawCollateral.d.ts.map +1 -1
- package/dist/esm/funcs/morphoMorphoWithdrawCollateral.js +2 -1
- package/dist/esm/funcs/morphoMorphoWithdrawCollateral.js.map +1 -1
- package/dist/esm/funcs/pendlePendleLiquidity.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendleLiquidity.js +2 -1
- package/dist/esm/funcs/pendlePendleLiquidity.js.map +1 -1
- package/dist/esm/funcs/pendlePendleMarket.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendleMarket.js +2 -1
- package/dist/esm/funcs/pendlePendleMarket.js.map +1 -1
- package/dist/esm/funcs/pendlePendleMarkets.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendleMarkets.js +2 -1
- package/dist/esm/funcs/pendlePendleMarkets.js.map +1 -1
- package/dist/esm/funcs/pendlePendlePositions.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendlePositions.js +2 -1
- package/dist/esm/funcs/pendlePendlePositions.js.map +1 -1
- package/dist/esm/funcs/pendlePendlePt.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendlePt.js +2 -1
- package/dist/esm/funcs/pendlePendlePt.js.map +1 -1
- package/dist/esm/funcs/pendlePendleRedeemYield.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendleRedeemYield.js +2 -1
- package/dist/esm/funcs/pendlePendleRedeemYield.js.map +1 -1
- package/dist/esm/funcs/pendlePendleYt.d.ts.map +1 -1
- package/dist/esm/funcs/pendlePendleYt.js +2 -1
- package/dist/esm/funcs/pendlePendleYt.js.map +1 -1
- package/dist/esm/funcs/skySkyBuy.d.ts.map +1 -1
- package/dist/esm/funcs/skySkyBuy.js +2 -1
- package/dist/esm/funcs/skySkyBuy.js.map +1 -1
- package/dist/esm/funcs/skySkyDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/skySkyDeposit.js +2 -1
- package/dist/esm/funcs/skySkyDeposit.js.map +1 -1
- package/dist/esm/funcs/skySkyPosition.d.ts.map +1 -1
- package/dist/esm/funcs/skySkyPosition.js +2 -1
- package/dist/esm/funcs/skySkyPosition.js.map +1 -1
- package/dist/esm/funcs/skySkySell.d.ts.map +1 -1
- package/dist/esm/funcs/skySkySell.js +2 -1
- package/dist/esm/funcs/skySkySell.js.map +1 -1
- package/dist/esm/funcs/skySkyWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/skySkyWithdraw.js +2 -1
- package/dist/esm/funcs/skySkyWithdraw.js.map +1 -1
- package/dist/esm/funcs/smartAccountSmartAccountBatchedUserOperations.d.ts.map +1 -1
- package/dist/esm/funcs/smartAccountSmartAccountBatchedUserOperations.js +2 -1
- package/dist/esm/funcs/smartAccountSmartAccountBatchedUserOperations.js.map +1 -1
- package/dist/esm/funcs/swapSwapOdos.d.ts.map +1 -1
- package/dist/esm/funcs/swapSwapOdos.js +2 -1
- package/dist/esm/funcs/swapSwapOdos.js.map +1 -1
- package/dist/esm/funcs/tokenTokenBalance.d.ts.map +1 -1
- package/dist/esm/funcs/tokenTokenBalance.js +2 -1
- package/dist/esm/funcs/tokenTokenBalance.js.map +1 -1
- package/dist/esm/funcs/tokenTokenList.d.ts.map +1 -1
- package/dist/esm/funcs/tokenTokenList.js +2 -1
- package/dist/esm/funcs/tokenTokenList.js.map +1 -1
- package/dist/esm/funcs/tokenTokenPrice.d.ts.map +1 -1
- package/dist/esm/funcs/tokenTokenPrice.js +2 -1
- package/dist/esm/funcs/tokenTokenPrice.js.map +1 -1
- package/dist/esm/funcs/tokenTokenTransfer.d.ts.map +1 -1
- package/dist/esm/funcs/tokenTokenTransfer.js +2 -1
- package/dist/esm/funcs/tokenTokenTransfer.js.map +1 -1
- package/dist/esm/funcs/tokenTokenUnwrapWeth.d.ts.map +1 -1
- package/dist/esm/funcs/tokenTokenUnwrapWeth.js +2 -1
- package/dist/esm/funcs/tokenTokenUnwrapWeth.js.map +1 -1
- package/dist/esm/funcs/tokenTokenWrapEth.d.ts.map +1 -1
- package/dist/esm/funcs/tokenTokenWrapEth.js +2 -1
- package/dist/esm/funcs/tokenTokenWrapEth.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingCancelOrder.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingCancelOrder.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingCancelOrder.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingDeposit.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingDeposit.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingDeposit.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingExecute.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingExecute.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingExecute.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingLimitOrder.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingLimitOrder.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingLimitOrder.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingMarketOrder.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingMarketOrder.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingMarketOrder.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingOpportunities.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingOpportunities.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingOpportunities.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingPositions.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingPositions.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingPositions.js.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingWithdraw.js +2 -1
- package/dist/esm/funcs/traditionalInvestingTraditionalInvestingWithdraw.js.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerAaveLoop.d.ts.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerAaveLoop.js +2 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerAaveLoop.js.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerAuthorization.d.ts.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerAuthorization.js +2 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerAuthorization.js.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.d.ts.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.js +2 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionInRange.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionInRange.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionInRange.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionIncrease.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionIncrease.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionIncrease.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionMint.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionMint.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionMint.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionPositions.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionPositions.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionPositions.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapPoolPrice.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapPoolPrice.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapPoolPrice.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapQuoteBuyExactly.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapQuoteBuyExactly.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapQuoteBuyExactly.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapQuoteSellExactly.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapQuoteSellExactly.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapQuoteSellExactly.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapSwapBuyExactly.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapSwapBuyExactly.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapSwapBuyExactly.js.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapSwapSellExactly.d.ts.map +1 -1
- package/dist/esm/funcs/uniswapV3UniswapSwapSellExactly.js +2 -1
- package/dist/esm/funcs/uniswapV3UniswapSwapSellExactly.js.map +1 -1
- package/dist/esm/funcs/universalGenericAllowance.d.ts.map +1 -1
- package/dist/esm/funcs/universalGenericAllowance.js +2 -1
- package/dist/esm/funcs/universalGenericAllowance.js.map +1 -1
- package/dist/esm/funcs/universalGenericAllowanceSet.d.ts.map +1 -1
- package/dist/esm/funcs/universalGenericAllowanceSet.js +2 -1
- package/dist/esm/funcs/universalGenericAllowanceSet.js.map +1 -1
- package/dist/esm/funcs/universalGenericEns.d.ts.map +1 -1
- package/dist/esm/funcs/universalGenericEns.js +2 -1
- package/dist/esm/funcs/universalGenericEns.js.map +1 -1
- package/dist/esm/funcs/universalGenericPortfolio.d.ts.map +1 -1
- package/dist/esm/funcs/universalGenericPortfolio.js +2 -1
- package/dist/esm/funcs/universalGenericPortfolio.js.map +1 -1
- package/dist/esm/funcs/universalGenericSupportedChains.d.ts.map +1 -1
- package/dist/esm/funcs/universalGenericSupportedChains.js +2 -1
- package/dist/esm/funcs/universalGenericSupportedChains.js.map +1 -1
- package/dist/esm/funcs/wildcatWildcatMarket.d.ts.map +1 -1
- package/dist/esm/funcs/wildcatWildcatMarket.js +2 -1
- package/dist/esm/funcs/wildcatWildcatMarket.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/sdks.d.ts +1 -1
- package/dist/esm/lib/sdks.d.ts.map +1 -1
- package/dist/esm/lib/sdks.js +3 -3
- package/dist/esm/lib/sdks.js.map +1 -1
- package/dist/esm/models/components/creditborrowparams.d.ts +6 -0
- package/dist/esm/models/components/creditborrowparams.d.ts.map +1 -1
- package/dist/esm/models/components/creditborrowparams.js +2 -0
- package/dist/esm/models/components/creditborrowparams.js.map +1 -1
- package/dist/esm/models/components/creditborrowrequest.d.ts +6 -0
- package/dist/esm/models/components/creditborrowrequest.d.ts.map +1 -1
- package/dist/esm/models/components/creditborrowrequest.js +2 -0
- package/dist/esm/models/components/creditborrowrequest.js.map +1 -1
- package/dist/esm/models/components/creditborrowresponse.d.ts +4 -0
- package/dist/esm/models/components/creditborrowresponse.d.ts.map +1 -1
- package/dist/esm/models/components/creditborrowresponse.js +2 -0
- package/dist/esm/models/components/creditborrowresponse.js.map +1 -1
- package/docs/models/components/creditborrowparams.md +7 -1
- package/docs/models/components/creditborrowrequest.md +1 -0
- package/docs/models/components/creditborrowresponse.md +2 -1
- package/docs/models/components/credituseroperationbody.md +5 -0
- package/examples/node_modules/get-tsconfig/README.md +37 -4
- package/examples/node_modules/get-tsconfig/dist/index.cjs +7 -7
- package/examples/node_modules/get-tsconfig/dist/index.d.cts +33 -5
- package/examples/node_modules/get-tsconfig/dist/index.d.mts +33 -5
- package/examples/node_modules/get-tsconfig/dist/index.mjs +7 -7
- package/examples/node_modules/get-tsconfig/package.json +1 -1
- package/examples/package-lock.json +3 -3
- package/package.json +1 -1
- package/src/funcs/aaveV3AaveAaveSupportedTokens.ts +3 -1
- package/src/funcs/aaveV3AaveAvgRate.ts +3 -1
- package/src/funcs/aaveV3AaveBorrow.ts +3 -1
- package/src/funcs/aaveV3AaveHistoricalTransactions.ts +3 -1
- package/src/funcs/aaveV3AaveLiquidityChange.ts +3 -1
- package/src/funcs/aaveV3AaveRate.ts +3 -1
- package/src/funcs/aaveV3AaveRepay.ts +3 -1
- package/src/funcs/aaveV3AaveReserveOverview.ts +3 -1
- package/src/funcs/aaveV3AaveSetUserEmode.ts +3 -1
- package/src/funcs/aaveV3AaveStdRate.ts +3 -1
- package/src/funcs/aaveV3AaveSupply.ts +3 -1
- package/src/funcs/aaveV3AaveTokenPrice.ts +3 -1
- package/src/funcs/aaveV3AaveUserPositionPerToken.ts +3 -1
- package/src/funcs/aaveV3AaveUserPositionSummary.ts +3 -1
- package/src/funcs/aaveV3AaveWithdraw.ts +3 -1
- package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionIncrease.ts +3 -1
- package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionMint.ts +3 -1
- package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionPositions.ts +3 -1
- package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamLiquidityProvisionWithdraw.ts +3 -1
- package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamPoolPrice.ts +3 -1
- package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapBuyExactly.ts +3 -1
- package/src/funcs/aerodromeSlipstreamAerodromeSlipstreamSwapSellExactly.ts +3 -1
- package/src/funcs/bridgeCctpBurn.ts +3 -1
- package/src/funcs/bridgeCctpMint.ts +3 -1
- package/src/funcs/creditCreditBalances.ts +3 -1
- package/src/funcs/creditCreditBorrow.ts +3 -1
- package/src/funcs/creditCreditBundle.ts +3 -1
- package/src/funcs/creditCreditCreateAccount.ts +3 -1
- package/src/funcs/creditCreditPositions.ts +3 -1
- package/src/funcs/creditCreditRepay.ts +3 -1
- package/src/funcs/creditCreditTransfer.ts +3 -1
- package/src/funcs/earnEarnAaveMarkets.ts +3 -1
- package/src/funcs/earnEarnBalances.ts +3 -1
- package/src/funcs/earnEarnBundle.ts +3 -1
- package/src/funcs/earnEarnCreateAccount.ts +3 -1
- package/src/funcs/earnEarnManage.ts +3 -1
- package/src/funcs/earnEarnPendleMarkets.ts +3 -1
- package/src/funcs/earnEarnPositions.ts +3 -1
- package/src/funcs/earnEarnPositionsAll.ts +3 -1
- package/src/funcs/earnEarnSwap.ts +3 -1
- package/src/funcs/earnEarnTransfer.ts +3 -1
- package/src/funcs/earnEarnVaults.ts +3 -1
- package/src/funcs/erc4626VaultsVaultsDeposit.ts +3 -1
- package/src/funcs/erc4626VaultsVaultsVault.ts +3 -1
- package/src/funcs/erc4626VaultsVaultsWithdraw.ts +3 -1
- package/src/funcs/ethenaEthenaDeposit.ts +3 -1
- package/src/funcs/ethenaEthenaRequest.ts +3 -1
- package/src/funcs/ethenaEthenaUnstake.ts +3 -1
- package/src/funcs/ethenaEthenaVault.ts +3 -1
- package/src/funcs/gasSponsorshipGasSponsorshipApproveTransfer.ts +3 -1
- package/src/funcs/gasSponsorshipGasSponsorshipPrepare.ts +3 -1
- package/src/funcs/morphoMorphoBorrow.ts +3 -1
- package/src/funcs/morphoMorphoDeposit.ts +3 -1
- package/src/funcs/morphoMorphoMarket.ts +3 -1
- package/src/funcs/morphoMorphoMarketPosition.ts +3 -1
- package/src/funcs/morphoMorphoMarkets.ts +3 -1
- package/src/funcs/morphoMorphoRepay.ts +3 -1
- package/src/funcs/morphoMorphoSupplyCollateral.ts +3 -1
- package/src/funcs/morphoMorphoUserPosition.ts +3 -1
- package/src/funcs/morphoMorphoVault.ts +3 -1
- package/src/funcs/morphoMorphoVaults.ts +3 -1
- package/src/funcs/morphoMorphoWithdraw.ts +3 -1
- package/src/funcs/morphoMorphoWithdrawCollateral.ts +3 -1
- package/src/funcs/pendlePendleLiquidity.ts +3 -1
- package/src/funcs/pendlePendleMarket.ts +3 -1
- package/src/funcs/pendlePendleMarkets.ts +3 -1
- package/src/funcs/pendlePendlePositions.ts +3 -1
- package/src/funcs/pendlePendlePt.ts +3 -1
- package/src/funcs/pendlePendleRedeemYield.ts +3 -1
- package/src/funcs/pendlePendleYt.ts +3 -1
- package/src/funcs/skySkyBuy.ts +3 -1
- package/src/funcs/skySkyDeposit.ts +3 -1
- package/src/funcs/skySkyPosition.ts +3 -1
- package/src/funcs/skySkySell.ts +3 -1
- package/src/funcs/skySkyWithdraw.ts +3 -1
- package/src/funcs/smartAccountSmartAccountBatchedUserOperations.ts +3 -1
- package/src/funcs/swapSwapOdos.ts +3 -1
- package/src/funcs/tokenTokenBalance.ts +3 -1
- package/src/funcs/tokenTokenList.ts +3 -1
- package/src/funcs/tokenTokenPrice.ts +3 -1
- package/src/funcs/tokenTokenTransfer.ts +3 -1
- package/src/funcs/tokenTokenUnwrapWeth.ts +3 -1
- package/src/funcs/tokenTokenWrapEth.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingApproveBuilderFee.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingCancelOrder.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingDeposit.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingEnableUnifiedAccount.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingEnsureLeverage.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingExecute.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingLimitOrder.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingMarketOrder.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingOpportunities.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingPositions.ts +3 -1
- package/src/funcs/traditionalInvestingTraditionalInvestingWithdraw.ts +3 -1
- package/src/funcs/transactionBundlerTransactionBundlerAaveLoop.ts +3 -1
- package/src/funcs/transactionBundlerTransactionBundlerAuthorization.ts +3 -1
- package/src/funcs/transactionBundlerTransactionBundlerExecute.ts +3 -1
- package/src/funcs/uniswapV3UniswapLiquidityProvisionInRange.ts +3 -1
- package/src/funcs/uniswapV3UniswapLiquidityProvisionIncrease.ts +3 -1
- package/src/funcs/uniswapV3UniswapLiquidityProvisionMint.ts +3 -1
- package/src/funcs/uniswapV3UniswapLiquidityProvisionPositions.ts +3 -1
- package/src/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.ts +3 -1
- package/src/funcs/uniswapV3UniswapPoolPrice.ts +3 -1
- package/src/funcs/uniswapV3UniswapQuoteBuyExactly.ts +3 -1
- package/src/funcs/uniswapV3UniswapQuoteSellExactly.ts +3 -1
- package/src/funcs/uniswapV3UniswapSwapBuyExactly.ts +3 -1
- package/src/funcs/uniswapV3UniswapSwapSellExactly.ts +3 -1
- package/src/funcs/universalGenericAllowance.ts +3 -1
- package/src/funcs/universalGenericAllowanceSet.ts +3 -1
- package/src/funcs/universalGenericEns.ts +3 -1
- package/src/funcs/universalGenericPortfolio.ts +3 -1
- package/src/funcs/universalGenericSupportedChains.ts +3 -1
- package/src/funcs/wildcatWildcatMarket.ts +3 -1
- package/src/lib/config.ts +2 -2
- package/src/lib/sdks.ts +3 -4
- package/src/models/components/creditborrowparams.ts +7 -0
- package/src/models/components/creditborrowrequest.ts +7 -0
- package/src/models/components/creditborrowresponse.ts +6 -0
|
@@ -16,6 +16,10 @@ export type CreditBorrowResponse = {
|
|
|
16
16
|
* Estimated amount of collateral token received from swap. Only present when token_in differs from collateral_token.
|
|
17
17
|
*/
|
|
18
18
|
estimatedCollateralAmount?: string | null | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The fee amount charged on the borrow, in borrow token units. Present when a fee was applied.
|
|
21
|
+
*/
|
|
22
|
+
feeAmount?: string | null | undefined;
|
|
19
23
|
};
|
|
20
24
|
/** @internal */
|
|
21
25
|
export declare const CreditBorrowResponse$inboundSchema: z.ZodType<CreditBorrowResponse, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creditborrowresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/creditborrowresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mCAAmC,EAEpC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,WAAW,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,mCAAmC,GAAG,IAAI,GAAG,SAAS,CAAC;IAChE;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"creditborrowresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/creditborrowresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mCAAmC,EAEpC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,WAAW,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,mCAAmC,GAAG,IAAI,GAAG,SAAS,CAAC;IAChE;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -12,10 +12,12 @@ export const CreditBorrowResponse$inboundSchema = z.object({
|
|
|
12
12
|
eip_712: z.nullable(BatchedSafeOperationsResponseOutput$inboundSchema)
|
|
13
13
|
.optional(),
|
|
14
14
|
estimated_collateral_amount: z.nullable(z.string()).optional(),
|
|
15
|
+
fee_amount: z.nullable(z.string()).optional(),
|
|
15
16
|
}).transform((v) => {
|
|
16
17
|
return remap$(v, {
|
|
17
18
|
"eip_712": "eip712",
|
|
18
19
|
"estimated_collateral_amount": "estimatedCollateralAmount",
|
|
20
|
+
"fee_amount": "feeAmount",
|
|
19
21
|
});
|
|
20
22
|
});
|
|
21
23
|
export function creditBorrowResponseFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creditborrowresponse.js","sourceRoot":"","sources":["../../../../src/models/components/creditborrowresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,iDAAiD,GAClD,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAEL,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"creditborrowresponse.js","sourceRoot":"","sources":["../../../../src/models/components/creditborrowresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,iDAAiD,GAClD,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAEL,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;AAqBlC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC,CAAC,QAAQ,EAAE;IACrE,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,iDAAiD,CAAC;SACnE,QAAQ,EAAE;IACb,2BAA2B,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;QACnB,6BAA6B,EAAE,2BAA2B;QAC1D,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -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: 3873.3,
|
|
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.Fee](../../models/components/fee.md) | :heavy_minus_sign: | Optional fee on the borrowed amount. Only PERCENTAGE and FIXED denominations are supported. | |
|
|
@@ -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.Fee](../../models/components/fee.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. Only PERCENTAGE and FIXED denominations are supported. | |
|
|
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. |
|
|
@@ -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
|
-
|
|
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
|
-
###
|
|
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 &&
|
|
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
|
|
2
|
-
`;break;case 114:c+="\r";break;case 116:c+=" ";break;case 117:const k=_(4);k>=0?c+=String.fromCharCode(k):
|
|
3
|
-
`),
|
|
4
|
-
`+" ".repeat(t)),new Array(
|
|
5
|
-
`+" ".repeat(t)),new Array(
|
|
6
|
-
`+" ".repeat(t)),new Array(
|
|
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
|
-
*
|
|
2062
|
+
* Searches for a tsconfig file by walking up the directory tree.
|
|
2062
2063
|
*
|
|
2063
|
-
* @param searchPath
|
|
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) =>
|
|
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
|
-
*
|
|
2062
|
+
* Searches for a tsconfig file by walking up the directory tree.
|
|
2062
2063
|
*
|
|
2063
|
-
* @param searchPath
|
|
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) =>
|
|
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 };
|