@compass-labs/api-sdk 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (472) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +183 -124
  3. package/bin/mcp-server.js.map +84 -86
  4. package/dist/commonjs/funcs/aaveV3AvgRate.js +2 -0
  5. package/dist/commonjs/funcs/aaveV3AvgRate.js.map +1 -1
  6. package/dist/commonjs/funcs/aaveV3Borrow.js +2 -0
  7. package/dist/commonjs/funcs/aaveV3Borrow.js.map +1 -1
  8. package/dist/commonjs/funcs/aaveV3HistoricalTransactions.js +2 -0
  9. package/dist/commonjs/funcs/aaveV3HistoricalTransactions.js.map +1 -1
  10. package/dist/commonjs/funcs/aaveV3LiquidityChange.js +2 -0
  11. package/dist/commonjs/funcs/aaveV3LiquidityChange.js.map +1 -1
  12. package/dist/commonjs/funcs/aaveV3Rate.js +2 -0
  13. package/dist/commonjs/funcs/aaveV3Rate.js.map +1 -1
  14. package/dist/commonjs/funcs/aaveV3Repay.js +2 -0
  15. package/dist/commonjs/funcs/aaveV3Repay.js.map +1 -1
  16. package/dist/commonjs/funcs/aaveV3ReserveOverview.js +2 -0
  17. package/dist/commonjs/funcs/aaveV3ReserveOverview.js.map +1 -1
  18. package/dist/commonjs/funcs/aaveV3StdRate.js +2 -0
  19. package/dist/commonjs/funcs/aaveV3StdRate.js.map +1 -1
  20. package/dist/commonjs/funcs/aaveV3Supply.js +2 -0
  21. package/dist/commonjs/funcs/aaveV3Supply.js.map +1 -1
  22. package/dist/commonjs/funcs/aaveV3TokenPrice.js +2 -0
  23. package/dist/commonjs/funcs/aaveV3TokenPrice.js.map +1 -1
  24. package/dist/commonjs/funcs/aaveV3UserPositionPerToken.js +2 -0
  25. package/dist/commonjs/funcs/aaveV3UserPositionPerToken.js.map +1 -1
  26. package/dist/commonjs/funcs/aaveV3UserPositionSummary.js +2 -0
  27. package/dist/commonjs/funcs/aaveV3UserPositionSummary.js.map +1 -1
  28. package/dist/commonjs/funcs/aaveV3Withdraw.js +2 -0
  29. package/dist/commonjs/funcs/aaveV3Withdraw.js.map +1 -1
  30. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +2 -0
  31. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
  32. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +2 -0
  33. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
  34. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js +2 -0
  35. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js.map +1 -1
  36. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +2 -0
  37. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
  38. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js +2 -0
  39. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js.map +1 -1
  40. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +2 -0
  41. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
  42. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +2 -0
  43. package/dist/commonjs/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
  44. package/dist/commonjs/funcs/morphoAllowance.js +2 -0
  45. package/dist/commonjs/funcs/morphoAllowance.js.map +1 -1
  46. package/dist/commonjs/funcs/morphoBorrow.js +2 -0
  47. package/dist/commonjs/funcs/morphoBorrow.js.map +1 -1
  48. package/dist/commonjs/funcs/morphoDeposit.js +2 -0
  49. package/dist/commonjs/funcs/morphoDeposit.js.map +1 -1
  50. package/dist/commonjs/funcs/morphoMarket.js +2 -0
  51. package/dist/commonjs/funcs/morphoMarket.js.map +1 -1
  52. package/dist/commonjs/funcs/morphoMarketPosition.js +2 -0
  53. package/dist/commonjs/funcs/morphoMarketPosition.js.map +1 -1
  54. package/dist/commonjs/funcs/morphoMarkets.js +2 -0
  55. package/dist/commonjs/funcs/morphoMarkets.js.map +1 -1
  56. package/dist/commonjs/funcs/morphoRepay.js +2 -0
  57. package/dist/commonjs/funcs/morphoRepay.js.map +1 -1
  58. package/dist/commonjs/funcs/morphoSupplyCollateral.js +2 -0
  59. package/dist/commonjs/funcs/morphoSupplyCollateral.js.map +1 -1
  60. package/dist/commonjs/funcs/morphoUserPosition.js +2 -0
  61. package/dist/commonjs/funcs/morphoUserPosition.js.map +1 -1
  62. package/dist/commonjs/funcs/morphoVault.js +2 -0
  63. package/dist/commonjs/funcs/morphoVault.js.map +1 -1
  64. package/dist/commonjs/funcs/morphoVaultPosition.js +2 -0
  65. package/dist/commonjs/funcs/morphoVaultPosition.js.map +1 -1
  66. package/dist/commonjs/funcs/morphoVaults.js +2 -0
  67. package/dist/commonjs/funcs/morphoVaults.js.map +1 -1
  68. package/dist/commonjs/funcs/morphoWithdraw.js +2 -0
  69. package/dist/commonjs/funcs/morphoWithdraw.js.map +1 -1
  70. package/dist/commonjs/funcs/morphoWithdrawCollateral.js +2 -0
  71. package/dist/commonjs/funcs/morphoWithdrawCollateral.js.map +1 -1
  72. package/dist/commonjs/funcs/pendleMarket.js +2 -1
  73. package/dist/commonjs/funcs/pendleMarket.js.map +1 -1
  74. package/dist/commonjs/funcs/pendleMarkets.js +2 -0
  75. package/dist/commonjs/funcs/pendleMarkets.js.map +1 -1
  76. package/dist/commonjs/funcs/pendlePosition.js +2 -0
  77. package/dist/commonjs/funcs/pendlePosition.js.map +1 -1
  78. package/dist/commonjs/funcs/pendlePositions.js +2 -0
  79. package/dist/commonjs/funcs/pendlePositions.js.map +1 -1
  80. package/dist/commonjs/funcs/skyBuy.js +2 -0
  81. package/dist/commonjs/funcs/skyBuy.js.map +1 -1
  82. package/dist/commonjs/funcs/skyDeposit.js +2 -0
  83. package/dist/commonjs/funcs/skyDeposit.js.map +1 -1
  84. package/dist/commonjs/funcs/skyPosition.js +2 -0
  85. package/dist/commonjs/funcs/skyPosition.js.map +1 -1
  86. package/dist/commonjs/funcs/skySell.js +2 -0
  87. package/dist/commonjs/funcs/skySell.js.map +1 -1
  88. package/dist/commonjs/funcs/skyWithdraw.js +2 -0
  89. package/dist/commonjs/funcs/skyWithdraw.js.map +1 -1
  90. package/dist/commonjs/funcs/smartAccountAccountBatchedUserOperations.js +2 -0
  91. package/dist/commonjs/funcs/smartAccountAccountBatchedUserOperations.js.map +1 -1
  92. package/dist/commonjs/funcs/tokenAddress.js +2 -0
  93. package/dist/commonjs/funcs/tokenAddress.js.map +1 -1
  94. package/dist/commonjs/funcs/tokenBalance.js +2 -0
  95. package/dist/commonjs/funcs/tokenBalance.js.map +1 -1
  96. package/dist/commonjs/funcs/tokenPrice.js +2 -0
  97. package/dist/commonjs/funcs/tokenPrice.js.map +1 -1
  98. package/dist/commonjs/funcs/tokenTransfer.js +2 -0
  99. package/dist/commonjs/funcs/tokenTransfer.js.map +1 -1
  100. package/dist/commonjs/funcs/transactionBatchingAaveLoop.js +2 -0
  101. package/dist/commonjs/funcs/transactionBatchingAaveLoop.js.map +1 -1
  102. package/dist/commonjs/funcs/transactionBatchingAuthorization.js +2 -0
  103. package/dist/commonjs/funcs/transactionBatchingAuthorization.js.map +1 -1
  104. package/dist/commonjs/funcs/transactionBatchingExecute.js +2 -0
  105. package/dist/commonjs/funcs/transactionBatchingExecute.js.map +1 -1
  106. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.js +2 -0
  107. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionInRange.js.map +1 -1
  108. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js +2 -0
  109. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
  110. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.js +2 -0
  111. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionMint.js.map +1 -1
  112. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionPositions.js +2 -0
  113. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionPositions.js.map +1 -1
  114. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js +2 -0
  115. package/dist/commonjs/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
  116. package/dist/commonjs/funcs/uniswapV3PoolPrice.js +2 -0
  117. package/dist/commonjs/funcs/uniswapV3PoolPrice.js.map +1 -1
  118. package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.js +2 -0
  119. package/dist/commonjs/funcs/uniswapV3QuoteBuyExactly.js.map +1 -1
  120. package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.js +2 -0
  121. package/dist/commonjs/funcs/uniswapV3QuoteSellExactly.js.map +1 -1
  122. package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js +2 -0
  123. package/dist/commonjs/funcs/uniswapV3SwapBuyExactly.js.map +1 -1
  124. package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js +2 -0
  125. package/dist/commonjs/funcs/uniswapV3SwapSellExactly.js.map +1 -1
  126. package/dist/commonjs/funcs/universalAllowance.js +2 -0
  127. package/dist/commonjs/funcs/universalAllowance.js.map +1 -1
  128. package/dist/commonjs/funcs/universalAllowanceSet.d.ts +1 -1
  129. package/dist/commonjs/funcs/universalAllowanceSet.js +3 -1
  130. package/dist/commonjs/funcs/universalAllowanceSet.js.map +1 -1
  131. package/dist/commonjs/funcs/universalEns.js +2 -0
  132. package/dist/commonjs/funcs/universalEns.js.map +1 -1
  133. package/dist/commonjs/funcs/universalPortfolio.js +2 -0
  134. package/dist/commonjs/funcs/universalPortfolio.js.map +1 -1
  135. package/dist/commonjs/funcs/universalSupportedTokens.js +2 -0
  136. package/dist/commonjs/funcs/universalSupportedTokens.js.map +1 -1
  137. package/dist/commonjs/funcs/universalUnwrapWeth.js +2 -0
  138. package/dist/commonjs/funcs/universalUnwrapWeth.js.map +1 -1
  139. package/dist/commonjs/funcs/universalVisualizePortfolio.js +2 -0
  140. package/dist/commonjs/funcs/universalVisualizePortfolio.js.map +1 -1
  141. package/dist/commonjs/funcs/universalWrapEth.js +2 -0
  142. package/dist/commonjs/funcs/universalWrapEth.js.map +1 -1
  143. package/dist/commonjs/hooks/types.d.ts +2 -0
  144. package/dist/commonjs/hooks/types.d.ts.map +1 -1
  145. package/dist/commonjs/lib/config.d.ts +7 -3
  146. package/dist/commonjs/lib/config.d.ts.map +1 -1
  147. package/dist/commonjs/lib/config.js +3 -3
  148. package/dist/commonjs/lib/config.js.map +1 -1
  149. package/dist/commonjs/lib/sdks.d.ts +1 -0
  150. package/dist/commonjs/lib/sdks.d.ts.map +1 -1
  151. package/dist/commonjs/lib/sdks.js +3 -3
  152. package/dist/commonjs/lib/sdks.js.map +1 -1
  153. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  154. package/dist/commonjs/mcp-server/server.js +1 -1
  155. package/dist/commonjs/mcp-server/tools/universalAllowanceSet.js +1 -1
  156. package/dist/commonjs/models/components/increaseallowanceparams.d.ts +29 -10
  157. package/dist/commonjs/models/components/increaseallowanceparams.d.ts.map +1 -1
  158. package/dist/commonjs/models/components/increaseallowanceparams.js +26 -3
  159. package/dist/commonjs/models/components/increaseallowanceparams.js.map +1 -1
  160. package/dist/commonjs/models/components/increaseallowancerequest.d.ts +29 -10
  161. package/dist/commonjs/models/components/increaseallowancerequest.d.ts.map +1 -1
  162. package/dist/commonjs/models/components/increaseallowancerequest.js +26 -3
  163. package/dist/commonjs/models/components/increaseallowancerequest.js.map +1 -1
  164. package/dist/commonjs/models/components/index.d.ts +0 -2
  165. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  166. package/dist/commonjs/models/components/index.js +0 -2
  167. package/dist/commonjs/models/components/index.js.map +1 -1
  168. package/dist/commonjs/models/components/multicallactiontype.d.ts +0 -3
  169. package/dist/commonjs/models/components/multicallactiontype.d.ts.map +1 -1
  170. package/dist/commonjs/models/components/multicallactiontype.js +0 -1
  171. package/dist/commonjs/models/components/multicallactiontype.js.map +1 -1
  172. package/dist/commonjs/models/components/tokentransferrequest.d.ts +11 -11
  173. package/dist/commonjs/models/components/tokentransferrequest.d.ts.map +1 -1
  174. package/dist/commonjs/models/components/tokentransferrequest.js +16 -17
  175. package/dist/commonjs/models/components/tokentransferrequest.js.map +1 -1
  176. package/dist/commonjs/models/components/useroperation.d.ts +4 -5
  177. package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
  178. package/dist/commonjs/models/components/useroperation.js +0 -5
  179. package/dist/commonjs/models/components/useroperation.js.map +1 -1
  180. package/dist/commonjs/models/operations/pendlemarket.d.ts +0 -5
  181. package/dist/commonjs/models/operations/pendlemarket.d.ts.map +1 -1
  182. package/dist/commonjs/models/operations/pendlemarket.js +0 -4
  183. package/dist/commonjs/models/operations/pendlemarket.js.map +1 -1
  184. package/dist/commonjs/sdk/universal.d.ts +1 -1
  185. package/dist/commonjs/sdk/universal.js +1 -1
  186. package/dist/esm/funcs/aaveV3AvgRate.js +2 -0
  187. package/dist/esm/funcs/aaveV3AvgRate.js.map +1 -1
  188. package/dist/esm/funcs/aaveV3Borrow.js +2 -0
  189. package/dist/esm/funcs/aaveV3Borrow.js.map +1 -1
  190. package/dist/esm/funcs/aaveV3HistoricalTransactions.js +2 -0
  191. package/dist/esm/funcs/aaveV3HistoricalTransactions.js.map +1 -1
  192. package/dist/esm/funcs/aaveV3LiquidityChange.js +2 -0
  193. package/dist/esm/funcs/aaveV3LiquidityChange.js.map +1 -1
  194. package/dist/esm/funcs/aaveV3Rate.js +2 -0
  195. package/dist/esm/funcs/aaveV3Rate.js.map +1 -1
  196. package/dist/esm/funcs/aaveV3Repay.js +2 -0
  197. package/dist/esm/funcs/aaveV3Repay.js.map +1 -1
  198. package/dist/esm/funcs/aaveV3ReserveOverview.js +2 -0
  199. package/dist/esm/funcs/aaveV3ReserveOverview.js.map +1 -1
  200. package/dist/esm/funcs/aaveV3StdRate.js +2 -0
  201. package/dist/esm/funcs/aaveV3StdRate.js.map +1 -1
  202. package/dist/esm/funcs/aaveV3Supply.js +2 -0
  203. package/dist/esm/funcs/aaveV3Supply.js.map +1 -1
  204. package/dist/esm/funcs/aaveV3TokenPrice.js +2 -0
  205. package/dist/esm/funcs/aaveV3TokenPrice.js.map +1 -1
  206. package/dist/esm/funcs/aaveV3UserPositionPerToken.js +2 -0
  207. package/dist/esm/funcs/aaveV3UserPositionPerToken.js.map +1 -1
  208. package/dist/esm/funcs/aaveV3UserPositionSummary.js +2 -0
  209. package/dist/esm/funcs/aaveV3UserPositionSummary.js.map +1 -1
  210. package/dist/esm/funcs/aaveV3Withdraw.js +2 -0
  211. package/dist/esm/funcs/aaveV3Withdraw.js.map +1 -1
  212. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js +2 -0
  213. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.js.map +1 -1
  214. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js +2 -0
  215. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.js.map +1 -1
  216. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js +2 -0
  217. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.js.map +1 -1
  218. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js +2 -0
  219. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.js.map +1 -1
  220. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js +2 -0
  221. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamPoolPrice.js.map +1 -1
  222. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js +2 -0
  223. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.js.map +1 -1
  224. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js +2 -0
  225. package/dist/esm/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.js.map +1 -1
  226. package/dist/esm/funcs/morphoAllowance.js +2 -0
  227. package/dist/esm/funcs/morphoAllowance.js.map +1 -1
  228. package/dist/esm/funcs/morphoBorrow.js +2 -0
  229. package/dist/esm/funcs/morphoBorrow.js.map +1 -1
  230. package/dist/esm/funcs/morphoDeposit.js +2 -0
  231. package/dist/esm/funcs/morphoDeposit.js.map +1 -1
  232. package/dist/esm/funcs/morphoMarket.js +2 -0
  233. package/dist/esm/funcs/morphoMarket.js.map +1 -1
  234. package/dist/esm/funcs/morphoMarketPosition.js +2 -0
  235. package/dist/esm/funcs/morphoMarketPosition.js.map +1 -1
  236. package/dist/esm/funcs/morphoMarkets.js +2 -0
  237. package/dist/esm/funcs/morphoMarkets.js.map +1 -1
  238. package/dist/esm/funcs/morphoRepay.js +2 -0
  239. package/dist/esm/funcs/morphoRepay.js.map +1 -1
  240. package/dist/esm/funcs/morphoSupplyCollateral.js +2 -0
  241. package/dist/esm/funcs/morphoSupplyCollateral.js.map +1 -1
  242. package/dist/esm/funcs/morphoUserPosition.js +2 -0
  243. package/dist/esm/funcs/morphoUserPosition.js.map +1 -1
  244. package/dist/esm/funcs/morphoVault.js +2 -0
  245. package/dist/esm/funcs/morphoVault.js.map +1 -1
  246. package/dist/esm/funcs/morphoVaultPosition.js +2 -0
  247. package/dist/esm/funcs/morphoVaultPosition.js.map +1 -1
  248. package/dist/esm/funcs/morphoVaults.js +2 -0
  249. package/dist/esm/funcs/morphoVaults.js.map +1 -1
  250. package/dist/esm/funcs/morphoWithdraw.js +2 -0
  251. package/dist/esm/funcs/morphoWithdraw.js.map +1 -1
  252. package/dist/esm/funcs/morphoWithdrawCollateral.js +2 -0
  253. package/dist/esm/funcs/morphoWithdrawCollateral.js.map +1 -1
  254. package/dist/esm/funcs/pendleMarket.js +2 -1
  255. package/dist/esm/funcs/pendleMarket.js.map +1 -1
  256. package/dist/esm/funcs/pendleMarkets.js +2 -0
  257. package/dist/esm/funcs/pendleMarkets.js.map +1 -1
  258. package/dist/esm/funcs/pendlePosition.js +2 -0
  259. package/dist/esm/funcs/pendlePosition.js.map +1 -1
  260. package/dist/esm/funcs/pendlePositions.js +2 -0
  261. package/dist/esm/funcs/pendlePositions.js.map +1 -1
  262. package/dist/esm/funcs/skyBuy.js +2 -0
  263. package/dist/esm/funcs/skyBuy.js.map +1 -1
  264. package/dist/esm/funcs/skyDeposit.js +2 -0
  265. package/dist/esm/funcs/skyDeposit.js.map +1 -1
  266. package/dist/esm/funcs/skyPosition.js +2 -0
  267. package/dist/esm/funcs/skyPosition.js.map +1 -1
  268. package/dist/esm/funcs/skySell.js +2 -0
  269. package/dist/esm/funcs/skySell.js.map +1 -1
  270. package/dist/esm/funcs/skyWithdraw.js +2 -0
  271. package/dist/esm/funcs/skyWithdraw.js.map +1 -1
  272. package/dist/esm/funcs/smartAccountAccountBatchedUserOperations.js +2 -0
  273. package/dist/esm/funcs/smartAccountAccountBatchedUserOperations.js.map +1 -1
  274. package/dist/esm/funcs/tokenAddress.js +2 -0
  275. package/dist/esm/funcs/tokenAddress.js.map +1 -1
  276. package/dist/esm/funcs/tokenBalance.js +2 -0
  277. package/dist/esm/funcs/tokenBalance.js.map +1 -1
  278. package/dist/esm/funcs/tokenPrice.js +2 -0
  279. package/dist/esm/funcs/tokenPrice.js.map +1 -1
  280. package/dist/esm/funcs/tokenTransfer.js +2 -0
  281. package/dist/esm/funcs/tokenTransfer.js.map +1 -1
  282. package/dist/esm/funcs/transactionBatchingAaveLoop.js +2 -0
  283. package/dist/esm/funcs/transactionBatchingAaveLoop.js.map +1 -1
  284. package/dist/esm/funcs/transactionBatchingAuthorization.js +2 -0
  285. package/dist/esm/funcs/transactionBatchingAuthorization.js.map +1 -1
  286. package/dist/esm/funcs/transactionBatchingExecute.js +2 -0
  287. package/dist/esm/funcs/transactionBatchingExecute.js.map +1 -1
  288. package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.js +2 -0
  289. package/dist/esm/funcs/uniswapV3LiquidityProvisionInRange.js.map +1 -1
  290. package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js +2 -0
  291. package/dist/esm/funcs/uniswapV3LiquidityProvisionIncrease.js.map +1 -1
  292. package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.js +2 -0
  293. package/dist/esm/funcs/uniswapV3LiquidityProvisionMint.js.map +1 -1
  294. package/dist/esm/funcs/uniswapV3LiquidityProvisionPositions.js +2 -0
  295. package/dist/esm/funcs/uniswapV3LiquidityProvisionPositions.js.map +1 -1
  296. package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js +2 -0
  297. package/dist/esm/funcs/uniswapV3LiquidityProvisionWithdraw.js.map +1 -1
  298. package/dist/esm/funcs/uniswapV3PoolPrice.js +2 -0
  299. package/dist/esm/funcs/uniswapV3PoolPrice.js.map +1 -1
  300. package/dist/esm/funcs/uniswapV3QuoteBuyExactly.js +2 -0
  301. package/dist/esm/funcs/uniswapV3QuoteBuyExactly.js.map +1 -1
  302. package/dist/esm/funcs/uniswapV3QuoteSellExactly.js +2 -0
  303. package/dist/esm/funcs/uniswapV3QuoteSellExactly.js.map +1 -1
  304. package/dist/esm/funcs/uniswapV3SwapBuyExactly.js +2 -0
  305. package/dist/esm/funcs/uniswapV3SwapBuyExactly.js.map +1 -1
  306. package/dist/esm/funcs/uniswapV3SwapSellExactly.js +2 -0
  307. package/dist/esm/funcs/uniswapV3SwapSellExactly.js.map +1 -1
  308. package/dist/esm/funcs/universalAllowance.js +2 -0
  309. package/dist/esm/funcs/universalAllowance.js.map +1 -1
  310. package/dist/esm/funcs/universalAllowanceSet.d.ts +1 -1
  311. package/dist/esm/funcs/universalAllowanceSet.js +3 -1
  312. package/dist/esm/funcs/universalAllowanceSet.js.map +1 -1
  313. package/dist/esm/funcs/universalEns.js +2 -0
  314. package/dist/esm/funcs/universalEns.js.map +1 -1
  315. package/dist/esm/funcs/universalPortfolio.js +2 -0
  316. package/dist/esm/funcs/universalPortfolio.js.map +1 -1
  317. package/dist/esm/funcs/universalSupportedTokens.js +2 -0
  318. package/dist/esm/funcs/universalSupportedTokens.js.map +1 -1
  319. package/dist/esm/funcs/universalUnwrapWeth.js +2 -0
  320. package/dist/esm/funcs/universalUnwrapWeth.js.map +1 -1
  321. package/dist/esm/funcs/universalVisualizePortfolio.js +2 -0
  322. package/dist/esm/funcs/universalVisualizePortfolio.js.map +1 -1
  323. package/dist/esm/funcs/universalWrapEth.js +2 -0
  324. package/dist/esm/funcs/universalWrapEth.js.map +1 -1
  325. package/dist/esm/hooks/types.d.ts +2 -0
  326. package/dist/esm/hooks/types.d.ts.map +1 -1
  327. package/dist/esm/lib/config.d.ts +7 -3
  328. package/dist/esm/lib/config.d.ts.map +1 -1
  329. package/dist/esm/lib/config.js +3 -3
  330. package/dist/esm/lib/config.js.map +1 -1
  331. package/dist/esm/lib/sdks.d.ts +1 -0
  332. package/dist/esm/lib/sdks.d.ts.map +1 -1
  333. package/dist/esm/lib/sdks.js +3 -3
  334. package/dist/esm/lib/sdks.js.map +1 -1
  335. package/dist/esm/mcp-server/mcp-server.js +1 -1
  336. package/dist/esm/mcp-server/server.js +1 -1
  337. package/dist/esm/mcp-server/tools/universalAllowanceSet.js +1 -1
  338. package/dist/esm/models/components/increaseallowanceparams.d.ts +29 -10
  339. package/dist/esm/models/components/increaseallowanceparams.d.ts.map +1 -1
  340. package/dist/esm/models/components/increaseallowanceparams.js +23 -2
  341. package/dist/esm/models/components/increaseallowanceparams.js.map +1 -1
  342. package/dist/esm/models/components/increaseallowancerequest.d.ts +29 -10
  343. package/dist/esm/models/components/increaseallowancerequest.d.ts.map +1 -1
  344. package/dist/esm/models/components/increaseallowancerequest.js +23 -2
  345. package/dist/esm/models/components/increaseallowancerequest.js.map +1 -1
  346. package/dist/esm/models/components/index.d.ts +0 -2
  347. package/dist/esm/models/components/index.d.ts.map +1 -1
  348. package/dist/esm/models/components/index.js +0 -2
  349. package/dist/esm/models/components/index.js.map +1 -1
  350. package/dist/esm/models/components/multicallactiontype.d.ts +0 -3
  351. package/dist/esm/models/components/multicallactiontype.d.ts.map +1 -1
  352. package/dist/esm/models/components/multicallactiontype.js +0 -1
  353. package/dist/esm/models/components/multicallactiontype.js.map +1 -1
  354. package/dist/esm/models/components/tokentransferrequest.d.ts +11 -11
  355. package/dist/esm/models/components/tokentransferrequest.d.ts.map +1 -1
  356. package/dist/esm/models/components/tokentransferrequest.js +13 -14
  357. package/dist/esm/models/components/tokentransferrequest.js.map +1 -1
  358. package/dist/esm/models/components/useroperation.d.ts +4 -5
  359. package/dist/esm/models/components/useroperation.d.ts.map +1 -1
  360. package/dist/esm/models/components/useroperation.js +0 -5
  361. package/dist/esm/models/components/useroperation.js.map +1 -1
  362. package/dist/esm/models/operations/pendlemarket.d.ts +0 -5
  363. package/dist/esm/models/operations/pendlemarket.d.ts.map +1 -1
  364. package/dist/esm/models/operations/pendlemarket.js +0 -4
  365. package/dist/esm/models/operations/pendlemarket.js.map +1 -1
  366. package/dist/esm/sdk/universal.d.ts +1 -1
  367. package/dist/esm/sdk/universal.js +1 -1
  368. package/docs/sdks/pendle/README.md +0 -2
  369. package/docs/sdks/universal/README.md +3 -3
  370. package/jsr.json +1 -1
  371. package/package.json +1 -1
  372. package/src/funcs/aaveV3AvgRate.ts +2 -0
  373. package/src/funcs/aaveV3Borrow.ts +2 -0
  374. package/src/funcs/aaveV3HistoricalTransactions.ts +2 -0
  375. package/src/funcs/aaveV3LiquidityChange.ts +2 -0
  376. package/src/funcs/aaveV3Rate.ts +2 -0
  377. package/src/funcs/aaveV3Repay.ts +2 -0
  378. package/src/funcs/aaveV3ReserveOverview.ts +2 -0
  379. package/src/funcs/aaveV3StdRate.ts +2 -0
  380. package/src/funcs/aaveV3Supply.ts +2 -0
  381. package/src/funcs/aaveV3TokenPrice.ts +2 -0
  382. package/src/funcs/aaveV3UserPositionPerToken.ts +2 -0
  383. package/src/funcs/aaveV3UserPositionSummary.ts +2 -0
  384. package/src/funcs/aaveV3Withdraw.ts +2 -0
  385. package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts +2 -0
  386. package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts +2 -0
  387. package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts +2 -0
  388. package/src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts +2 -0
  389. package/src/funcs/aerodromeSlipstreamSlipstreamPoolPrice.ts +2 -0
  390. package/src/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts +2 -0
  391. package/src/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.ts +2 -0
  392. package/src/funcs/morphoAllowance.ts +2 -0
  393. package/src/funcs/morphoBorrow.ts +2 -0
  394. package/src/funcs/morphoDeposit.ts +2 -0
  395. package/src/funcs/morphoMarket.ts +2 -0
  396. package/src/funcs/morphoMarketPosition.ts +2 -0
  397. package/src/funcs/morphoMarkets.ts +2 -0
  398. package/src/funcs/morphoRepay.ts +2 -0
  399. package/src/funcs/morphoSupplyCollateral.ts +2 -0
  400. package/src/funcs/morphoUserPosition.ts +2 -0
  401. package/src/funcs/morphoVault.ts +2 -0
  402. package/src/funcs/morphoVaultPosition.ts +2 -0
  403. package/src/funcs/morphoVaults.ts +2 -0
  404. package/src/funcs/morphoWithdraw.ts +2 -0
  405. package/src/funcs/morphoWithdrawCollateral.ts +2 -0
  406. package/src/funcs/pendleMarket.ts +2 -1
  407. package/src/funcs/pendleMarkets.ts +2 -0
  408. package/src/funcs/pendlePosition.ts +2 -0
  409. package/src/funcs/pendlePositions.ts +2 -0
  410. package/src/funcs/skyBuy.ts +2 -0
  411. package/src/funcs/skyDeposit.ts +2 -0
  412. package/src/funcs/skyPosition.ts +2 -0
  413. package/src/funcs/skySell.ts +2 -0
  414. package/src/funcs/skyWithdraw.ts +2 -0
  415. package/src/funcs/smartAccountAccountBatchedUserOperations.ts +2 -0
  416. package/src/funcs/tokenAddress.ts +2 -0
  417. package/src/funcs/tokenBalance.ts +2 -0
  418. package/src/funcs/tokenPrice.ts +2 -0
  419. package/src/funcs/tokenTransfer.ts +2 -0
  420. package/src/funcs/transactionBatchingAaveLoop.ts +2 -0
  421. package/src/funcs/transactionBatchingAuthorization.ts +2 -0
  422. package/src/funcs/transactionBatchingExecute.ts +2 -0
  423. package/src/funcs/uniswapV3LiquidityProvisionInRange.ts +2 -0
  424. package/src/funcs/uniswapV3LiquidityProvisionIncrease.ts +2 -0
  425. package/src/funcs/uniswapV3LiquidityProvisionMint.ts +2 -0
  426. package/src/funcs/uniswapV3LiquidityProvisionPositions.ts +2 -0
  427. package/src/funcs/uniswapV3LiquidityProvisionWithdraw.ts +2 -0
  428. package/src/funcs/uniswapV3PoolPrice.ts +2 -0
  429. package/src/funcs/uniswapV3QuoteBuyExactly.ts +2 -0
  430. package/src/funcs/uniswapV3QuoteSellExactly.ts +2 -0
  431. package/src/funcs/uniswapV3SwapBuyExactly.ts +2 -0
  432. package/src/funcs/uniswapV3SwapSellExactly.ts +2 -0
  433. package/src/funcs/universalAllowance.ts +2 -0
  434. package/src/funcs/universalAllowanceSet.ts +3 -1
  435. package/src/funcs/universalEns.ts +2 -0
  436. package/src/funcs/universalPortfolio.ts +2 -0
  437. package/src/funcs/universalSupportedTokens.ts +2 -0
  438. package/src/funcs/universalUnwrapWeth.ts +2 -0
  439. package/src/funcs/universalVisualizePortfolio.ts +2 -0
  440. package/src/funcs/universalWrapEth.ts +2 -0
  441. package/src/hooks/types.ts +2 -0
  442. package/src/lib/config.ts +7 -3
  443. package/src/lib/sdks.ts +10 -4
  444. package/src/mcp-server/mcp-server.ts +1 -1
  445. package/src/mcp-server/server.ts +1 -1
  446. package/src/mcp-server/tools/universalAllowanceSet.ts +1 -1
  447. package/src/models/components/increaseallowanceparams.ts +62 -12
  448. package/src/models/components/increaseallowancerequest.ts +62 -12
  449. package/src/models/components/index.ts +0 -2
  450. package/src/models/components/multicallactiontype.ts +0 -1
  451. package/src/models/components/tokentransferrequest.ts +27 -20
  452. package/src/models/components/useroperation.ts +0 -14
  453. package/src/models/operations/pendlemarket.ts +0 -11
  454. package/src/sdk/universal.ts +1 -1
  455. package/dist/commonjs/models/components/contractname.d.ts +0 -117
  456. package/dist/commonjs/models/components/contractname.d.ts.map +0 -1
  457. package/dist/commonjs/models/components/contractname.js +0 -92
  458. package/dist/commonjs/models/components/contractname.js.map +0 -1
  459. package/dist/commonjs/models/components/increaseallowanceanyparams.d.ts +0 -80
  460. package/dist/commonjs/models/components/increaseallowanceanyparams.d.ts.map +0 -1
  461. package/dist/commonjs/models/components/increaseallowanceanyparams.js +0 -107
  462. package/dist/commonjs/models/components/increaseallowanceanyparams.js.map +0 -1
  463. package/dist/esm/models/components/contractname.d.ts +0 -117
  464. package/dist/esm/models/components/contractname.d.ts.map +0 -1
  465. package/dist/esm/models/components/contractname.js +0 -56
  466. package/dist/esm/models/components/contractname.js.map +0 -1
  467. package/dist/esm/models/components/increaseallowanceanyparams.d.ts +0 -80
  468. package/dist/esm/models/components/increaseallowanceanyparams.d.ts.map +0 -1
  469. package/dist/esm/models/components/increaseallowanceanyparams.js +0 -67
  470. package/dist/esm/models/components/increaseallowanceanyparams.js.map +0 -1
  471. package/src/models/components/contractname.ts +0 -71
  472. package/src/models/components/increaseallowanceanyparams.ts +0 -169
@@ -111,6 +111,7 @@ async function $do(
111
111
  const requestSecurity = resolveGlobalSecurity(securityInput);
112
112
 
113
113
  const context = {
114
+ options: client._options,
114
115
  baseURL: options?.serverURL ?? client._baseURL ?? "",
115
116
  operationID: "aave_historical_transactions",
116
117
  oAuth2Scopes: [],
@@ -132,6 +133,7 @@ async function $do(
132
133
  headers: headers,
133
134
  query: query,
134
135
  body: body,
136
+ userAgent: client._options.userAgent,
135
137
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
136
138
  }, options);
137
139
  if (!requestRes.ok) {
@@ -116,6 +116,7 @@ async function $do(
116
116
  const requestSecurity = resolveGlobalSecurity(securityInput);
117
117
 
118
118
  const context = {
119
+ options: client._options,
119
120
  baseURL: options?.serverURL ?? client._baseURL ?? "",
120
121
  operationID: "aave_liquidity_change",
121
122
  oAuth2Scopes: [],
@@ -137,6 +138,7 @@ async function $do(
137
138
  headers: headers,
138
139
  query: query,
139
140
  body: body,
141
+ userAgent: client._options.userAgent,
140
142
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
141
143
  }, options);
142
144
  if (!requestRes.ok) {
@@ -116,6 +116,7 @@ async function $do(
116
116
  const requestSecurity = resolveGlobalSecurity(securityInput);
117
117
 
118
118
  const context = {
119
+ options: client._options,
119
120
  baseURL: options?.serverURL ?? client._baseURL ?? "",
120
121
  operationID: "aave_rate",
121
122
  oAuth2Scopes: [],
@@ -137,6 +138,7 @@ async function $do(
137
138
  headers: headers,
138
139
  query: query,
139
140
  body: body,
141
+ userAgent: client._options.userAgent,
140
142
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
141
143
  }, options);
142
144
  if (!requestRes.ok) {
@@ -104,6 +104,7 @@ async function $do(
104
104
  const requestSecurity = resolveGlobalSecurity(securityInput);
105
105
 
106
106
  const context = {
107
+ options: client._options,
107
108
  baseURL: options?.serverURL ?? client._baseURL ?? "",
108
109
  operationID: "aave_repay",
109
110
  oAuth2Scopes: [],
@@ -124,6 +125,7 @@ async function $do(
124
125
  path: path,
125
126
  headers: headers,
126
127
  body: body,
128
+ userAgent: client._options.userAgent,
127
129
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
128
130
  }, options);
129
131
  if (!requestRes.ok) {
@@ -109,6 +109,7 @@ async function $do(
109
109
  const requestSecurity = resolveGlobalSecurity(securityInput);
110
110
 
111
111
  const context = {
112
+ options: client._options,
112
113
  baseURL: options?.serverURL ?? client._baseURL ?? "",
113
114
  operationID: "aave_reserve_overview",
114
115
  oAuth2Scopes: [],
@@ -130,6 +131,7 @@ async function $do(
130
131
  headers: headers,
131
132
  query: query,
132
133
  body: body,
134
+ userAgent: client._options.userAgent,
133
135
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
134
136
  }, options);
135
137
  if (!requestRes.ok) {
@@ -105,6 +105,7 @@ async function $do(
105
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
106
 
107
107
  const context = {
108
+ options: client._options,
108
109
  baseURL: options?.serverURL ?? client._baseURL ?? "",
109
110
  operationID: "aave_std_rate",
110
111
  oAuth2Scopes: [],
@@ -126,6 +127,7 @@ async function $do(
126
127
  headers: headers,
127
128
  query: query,
128
129
  body: body,
130
+ userAgent: client._options.userAgent,
129
131
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
130
132
  }, options);
131
133
  if (!requestRes.ok) {
@@ -105,6 +105,7 @@ async function $do(
105
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
106
 
107
107
  const context = {
108
+ options: client._options,
108
109
  baseURL: options?.serverURL ?? client._baseURL ?? "",
109
110
  operationID: "aave_supply",
110
111
  oAuth2Scopes: [],
@@ -125,6 +126,7 @@ async function $do(
125
126
  path: path,
126
127
  headers: headers,
127
128
  body: body,
129
+ userAgent: client._options.userAgent,
128
130
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
129
131
  }, options);
130
132
  if (!requestRes.ok) {
@@ -110,6 +110,7 @@ async function $do(
110
110
  const requestSecurity = resolveGlobalSecurity(securityInput);
111
111
 
112
112
  const context = {
113
+ options: client._options,
113
114
  baseURL: options?.serverURL ?? client._baseURL ?? "",
114
115
  operationID: "aave_token_price",
115
116
  oAuth2Scopes: [],
@@ -131,6 +132,7 @@ async function $do(
131
132
  headers: headers,
132
133
  query: query,
133
134
  body: body,
135
+ userAgent: client._options.userAgent,
134
136
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
135
137
  }, options);
136
138
  if (!requestRes.ok) {
@@ -113,6 +113,7 @@ async function $do(
113
113
  const requestSecurity = resolveGlobalSecurity(securityInput);
114
114
 
115
115
  const context = {
116
+ options: client._options,
116
117
  baseURL: options?.serverURL ?? client._baseURL ?? "",
117
118
  operationID: "aave_user_position_per_token",
118
119
  oAuth2Scopes: [],
@@ -134,6 +135,7 @@ async function $do(
134
135
  headers: headers,
135
136
  query: query,
136
137
  body: body,
138
+ userAgent: client._options.userAgent,
137
139
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
138
140
  }, options);
139
141
  if (!requestRes.ok) {
@@ -111,6 +111,7 @@ async function $do(
111
111
  const requestSecurity = resolveGlobalSecurity(securityInput);
112
112
 
113
113
  const context = {
114
+ options: client._options,
114
115
  baseURL: options?.serverURL ?? client._baseURL ?? "",
115
116
  operationID: "aave_user_position_summary",
116
117
  oAuth2Scopes: [],
@@ -132,6 +133,7 @@ async function $do(
132
133
  headers: headers,
133
134
  query: query,
134
135
  body: body,
136
+ userAgent: client._options.userAgent,
135
137
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
136
138
  }, options);
137
139
  if (!requestRes.ok) {
@@ -105,6 +105,7 @@ async function $do(
105
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
106
 
107
107
  const context = {
108
+ options: client._options,
108
109
  baseURL: options?.serverURL ?? client._baseURL ?? "",
109
110
  operationID: "aave_withdraw",
110
111
  oAuth2Scopes: [],
@@ -125,6 +126,7 @@ async function $do(
125
126
  path: path,
126
127
  headers: headers,
127
128
  body: body,
129
+ userAgent: client._options.userAgent,
128
130
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
129
131
  }, options);
130
132
  if (!requestRes.ok) {
@@ -112,6 +112,7 @@ async function $do(
112
112
  const requestSecurity = resolveGlobalSecurity(securityInput);
113
113
 
114
114
  const context = {
115
+ options: client._options,
115
116
  baseURL: options?.serverURL ?? client._baseURL ?? "",
116
117
  operationID: "aerodrome_slipstream_liquidity_provision_increase",
117
118
  oAuth2Scopes: [],
@@ -132,6 +133,7 @@ async function $do(
132
133
  path: path,
133
134
  headers: headers,
134
135
  body: body,
136
+ userAgent: client._options.userAgent,
135
137
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
136
138
  }, options);
137
139
  if (!requestRes.ok) {
@@ -109,6 +109,7 @@ async function $do(
109
109
  const requestSecurity = resolveGlobalSecurity(securityInput);
110
110
 
111
111
  const context = {
112
+ options: client._options,
112
113
  baseURL: options?.serverURL ?? client._baseURL ?? "",
113
114
  operationID: "aerodrome_slipstream_liquidity_provision_mint",
114
115
  oAuth2Scopes: [],
@@ -129,6 +130,7 @@ async function $do(
129
130
  path: path,
130
131
  headers: headers,
131
132
  body: body,
133
+ userAgent: client._options.userAgent,
132
134
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
133
135
  }, options);
134
136
  if (!requestRes.ok) {
@@ -116,6 +116,7 @@ async function $do(
116
116
  const requestSecurity = resolveGlobalSecurity(securityInput);
117
117
 
118
118
  const context = {
119
+ options: client._options,
119
120
  baseURL: options?.serverURL ?? client._baseURL ?? "",
120
121
  operationID: "aerodrome_slipstream_liquidity_provision_positions",
121
122
  oAuth2Scopes: [],
@@ -137,6 +138,7 @@ async function $do(
137
138
  headers: headers,
138
139
  query: query,
139
140
  body: body,
141
+ userAgent: client._options.userAgent,
140
142
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
141
143
  }, options);
142
144
  if (!requestRes.ok) {
@@ -112,6 +112,7 @@ async function $do(
112
112
  const requestSecurity = resolveGlobalSecurity(securityInput);
113
113
 
114
114
  const context = {
115
+ options: client._options,
115
116
  baseURL: options?.serverURL ?? client._baseURL ?? "",
116
117
  operationID: "aerodrome_slipstream_liquidity_provision_withdraw",
117
118
  oAuth2Scopes: [],
@@ -132,6 +133,7 @@ async function $do(
132
133
  path: path,
133
134
  headers: headers,
134
135
  body: body,
136
+ userAgent: client._options.userAgent,
135
137
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
136
138
  }, options);
137
139
  if (!requestRes.ok) {
@@ -113,6 +113,7 @@ async function $do(
113
113
  const requestSecurity = resolveGlobalSecurity(securityInput);
114
114
 
115
115
  const context = {
116
+ options: client._options,
116
117
  baseURL: options?.serverURL ?? client._baseURL ?? "",
117
118
  operationID: "aerodrome_slipstream_pool_price",
118
119
  oAuth2Scopes: [],
@@ -134,6 +135,7 @@ async function $do(
134
135
  headers: headers,
135
136
  query: query,
136
137
  body: body,
138
+ userAgent: client._options.userAgent,
137
139
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
138
140
  }, options);
139
141
  if (!requestRes.ok) {
@@ -109,6 +109,7 @@ async function $do(
109
109
  const requestSecurity = resolveGlobalSecurity(securityInput);
110
110
 
111
111
  const context = {
112
+ options: client._options,
112
113
  baseURL: options?.serverURL ?? client._baseURL ?? "",
113
114
  operationID: "aerodrome_slipstream_swap_buy_exactly",
114
115
  oAuth2Scopes: [],
@@ -129,6 +130,7 @@ async function $do(
129
130
  path: path,
130
131
  headers: headers,
131
132
  body: body,
133
+ userAgent: client._options.userAgent,
132
134
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
133
135
  }, options);
134
136
  if (!requestRes.ok) {
@@ -108,6 +108,7 @@ async function $do(
108
108
  const requestSecurity = resolveGlobalSecurity(securityInput);
109
109
 
110
110
  const context = {
111
+ options: client._options,
111
112
  baseURL: options?.serverURL ?? client._baseURL ?? "",
112
113
  operationID: "aerodrome_slipstream_swap_sell_exactly",
113
114
  oAuth2Scopes: [],
@@ -128,6 +129,7 @@ async function $do(
128
129
  path: path,
129
130
  headers: headers,
130
131
  body: body,
132
+ userAgent: client._options.userAgent,
131
133
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
132
134
  }, options);
133
135
  if (!requestRes.ok) {
@@ -102,6 +102,7 @@ async function $do(
102
102
  const requestSecurity = resolveGlobalSecurity(securityInput);
103
103
 
104
104
  const context = {
105
+ options: client._options,
105
106
  baseURL: options?.serverURL ?? client._baseURL ?? "",
106
107
  operationID: "morpho_allowance",
107
108
  oAuth2Scopes: [],
@@ -122,6 +123,7 @@ async function $do(
122
123
  path: path,
123
124
  headers: headers,
124
125
  body: body,
126
+ userAgent: client._options.userAgent,
125
127
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
126
128
  }, options);
127
129
  if (!requestRes.ok) {
@@ -105,6 +105,7 @@ async function $do(
105
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
106
 
107
107
  const context = {
108
+ options: client._options,
108
109
  baseURL: options?.serverURL ?? client._baseURL ?? "",
109
110
  operationID: "morpho_borrow",
110
111
  oAuth2Scopes: [],
@@ -125,6 +126,7 @@ async function $do(
125
126
  path: path,
126
127
  headers: headers,
127
128
  body: body,
129
+ userAgent: client._options.userAgent,
128
130
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
129
131
  }, options);
130
132
  if (!requestRes.ok) {
@@ -107,6 +107,7 @@ async function $do(
107
107
  const requestSecurity = resolveGlobalSecurity(securityInput);
108
108
 
109
109
  const context = {
110
+ options: client._options,
110
111
  baseURL: options?.serverURL ?? client._baseURL ?? "",
111
112
  operationID: "morpho_deposit",
112
113
  oAuth2Scopes: [],
@@ -127,6 +128,7 @@ async function $do(
127
128
  path: path,
128
129
  headers: headers,
129
130
  body: body,
131
+ userAgent: client._options.userAgent,
130
132
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
131
133
  }, options);
132
134
  if (!requestRes.ok) {
@@ -112,6 +112,7 @@ async function $do(
112
112
  const requestSecurity = resolveGlobalSecurity(securityInput);
113
113
 
114
114
  const context = {
115
+ options: client._options,
115
116
  baseURL: options?.serverURL ?? client._baseURL ?? "",
116
117
  operationID: "morpho_market",
117
118
  oAuth2Scopes: [],
@@ -133,6 +134,7 @@ async function $do(
133
134
  headers: headers,
134
135
  query: query,
135
136
  body: body,
137
+ userAgent: client._options.userAgent,
136
138
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
137
139
  }, options);
138
140
  if (!requestRes.ok) {
@@ -106,6 +106,7 @@ async function $do(
106
106
  const requestSecurity = resolveGlobalSecurity(securityInput);
107
107
 
108
108
  const context = {
109
+ options: client._options,
109
110
  baseURL: options?.serverURL ?? client._baseURL ?? "",
110
111
  operationID: "morpho_market_position",
111
112
  oAuth2Scopes: [],
@@ -127,6 +128,7 @@ async function $do(
127
128
  headers: headers,
128
129
  query: query,
129
130
  body: body,
131
+ userAgent: client._options.userAgent,
130
132
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
131
133
  }, options);
132
134
  if (!requestRes.ok) {
@@ -107,6 +107,7 @@ async function $do(
107
107
  const requestSecurity = resolveGlobalSecurity(securityInput);
108
108
 
109
109
  const context = {
110
+ options: client._options,
110
111
  baseURL: options?.serverURL ?? client._baseURL ?? "",
111
112
  operationID: "morpho_markets",
112
113
  oAuth2Scopes: [],
@@ -128,6 +129,7 @@ async function $do(
128
129
  headers: headers,
129
130
  query: query,
130
131
  body: body,
132
+ userAgent: client._options.userAgent,
131
133
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
132
134
  }, options);
133
135
  if (!requestRes.ok) {
@@ -102,6 +102,7 @@ async function $do(
102
102
  const requestSecurity = resolveGlobalSecurity(securityInput);
103
103
 
104
104
  const context = {
105
+ options: client._options,
105
106
  baseURL: options?.serverURL ?? client._baseURL ?? "",
106
107
  operationID: "morpho_repay",
107
108
  oAuth2Scopes: [],
@@ -122,6 +123,7 @@ async function $do(
122
123
  path: path,
123
124
  headers: headers,
124
125
  body: body,
126
+ userAgent: client._options.userAgent,
125
127
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
126
128
  }, options);
127
129
  if (!requestRes.ok) {
@@ -103,6 +103,7 @@ async function $do(
103
103
  const requestSecurity = resolveGlobalSecurity(securityInput);
104
104
 
105
105
  const context = {
106
+ options: client._options,
106
107
  baseURL: options?.serverURL ?? client._baseURL ?? "",
107
108
  operationID: "morpho_supply_collateral",
108
109
  oAuth2Scopes: [],
@@ -123,6 +124,7 @@ async function $do(
123
124
  path: path,
124
125
  headers: headers,
125
126
  body: body,
127
+ userAgent: client._options.userAgent,
126
128
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
127
129
  }, options);
128
130
  if (!requestRes.ok) {
@@ -106,6 +106,7 @@ async function $do(
106
106
  const requestSecurity = resolveGlobalSecurity(securityInput);
107
107
 
108
108
  const context = {
109
+ options: client._options,
109
110
  baseURL: options?.serverURL ?? client._baseURL ?? "",
110
111
  operationID: "morpho_user_position",
111
112
  oAuth2Scopes: [],
@@ -127,6 +128,7 @@ async function $do(
127
128
  headers: headers,
128
129
  query: query,
129
130
  body: body,
131
+ userAgent: client._options.userAgent,
130
132
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
131
133
  }, options);
132
134
  if (!requestRes.ok) {
@@ -110,6 +110,7 @@ async function $do(
110
110
  const requestSecurity = resolveGlobalSecurity(securityInput);
111
111
 
112
112
  const context = {
113
+ options: client._options,
113
114
  baseURL: options?.serverURL ?? client._baseURL ?? "",
114
115
  operationID: "morpho_vault",
115
116
  oAuth2Scopes: [],
@@ -131,6 +132,7 @@ async function $do(
131
132
  headers: headers,
132
133
  query: query,
133
134
  body: body,
135
+ userAgent: client._options.userAgent,
134
136
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
135
137
  }, options);
136
138
  if (!requestRes.ok) {
@@ -106,6 +106,7 @@ async function $do(
106
106
  const requestSecurity = resolveGlobalSecurity(securityInput);
107
107
 
108
108
  const context = {
109
+ options: client._options,
109
110
  baseURL: options?.serverURL ?? client._baseURL ?? "",
110
111
  operationID: "morpho_vault_position",
111
112
  oAuth2Scopes: [],
@@ -127,6 +128,7 @@ async function $do(
127
128
  headers: headers,
128
129
  query: query,
129
130
  body: body,
131
+ userAgent: client._options.userAgent,
130
132
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
131
133
  }, options);
132
134
  if (!requestRes.ok) {
@@ -107,6 +107,7 @@ async function $do(
107
107
  const requestSecurity = resolveGlobalSecurity(securityInput);
108
108
 
109
109
  const context = {
110
+ options: client._options,
110
111
  baseURL: options?.serverURL ?? client._baseURL ?? "",
111
112
  operationID: "morpho_vaults",
112
113
  oAuth2Scopes: [],
@@ -128,6 +129,7 @@ async function $do(
128
129
  headers: headers,
129
130
  query: query,
130
131
  body: body,
132
+ userAgent: client._options.userAgent,
131
133
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
132
134
  }, options);
133
135
  if (!requestRes.ok) {
@@ -107,6 +107,7 @@ async function $do(
107
107
  const requestSecurity = resolveGlobalSecurity(securityInput);
108
108
 
109
109
  const context = {
110
+ options: client._options,
110
111
  baseURL: options?.serverURL ?? client._baseURL ?? "",
111
112
  operationID: "morpho_withdraw",
112
113
  oAuth2Scopes: [],
@@ -127,6 +128,7 @@ async function $do(
127
128
  path: path,
128
129
  headers: headers,
129
130
  body: body,
131
+ userAgent: client._options.userAgent,
130
132
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
131
133
  }, options);
132
134
  if (!requestRes.ok) {
@@ -103,6 +103,7 @@ async function $do(
103
103
  const requestSecurity = resolveGlobalSecurity(securityInput);
104
104
 
105
105
  const context = {
106
+ options: client._options,
106
107
  baseURL: options?.serverURL ?? client._baseURL ?? "",
107
108
  operationID: "morpho_withdraw_collateral",
108
109
  oAuth2Scopes: [],
@@ -123,6 +124,7 @@ async function $do(
123
124
  path: path,
124
125
  headers: headers,
125
126
  body: body,
127
+ userAgent: client._options.userAgent,
126
128
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
127
129
  }, options);
128
130
  if (!requestRes.ok) {
@@ -92,7 +92,6 @@ async function $do(
92
92
  "block": payload.block,
93
93
  "chain": payload.chain,
94
94
  "market_address": payload.market_address,
95
- "user_address": payload.user_address,
96
95
  });
97
96
 
98
97
  const headers = new Headers(compactMap({
@@ -104,6 +103,7 @@ async function $do(
104
103
  const requestSecurity = resolveGlobalSecurity(securityInput);
105
104
 
106
105
  const context = {
106
+ options: client._options,
107
107
  baseURL: options?.serverURL ?? client._baseURL ?? "",
108
108
  operationID: "pendle_market",
109
109
  oAuth2Scopes: [],
@@ -125,6 +125,7 @@ async function $do(
125
125
  headers: headers,
126
126
  query: query,
127
127
  body: body,
128
+ userAgent: client._options.userAgent,
128
129
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
129
130
  }, options);
130
131
  if (!requestRes.ok) {
@@ -102,6 +102,7 @@ async function $do(
102
102
  const requestSecurity = resolveGlobalSecurity(securityInput);
103
103
 
104
104
  const context = {
105
+ options: client._options,
105
106
  baseURL: options?.serverURL ?? client._baseURL ?? "",
106
107
  operationID: "pendle_markets",
107
108
  oAuth2Scopes: [],
@@ -123,6 +124,7 @@ async function $do(
123
124
  headers: headers,
124
125
  query: query,
125
126
  body: body,
127
+ userAgent: client._options.userAgent,
126
128
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
127
129
  }, options);
128
130
  if (!requestRes.ok) {
@@ -104,6 +104,7 @@ async function $do(
104
104
  const requestSecurity = resolveGlobalSecurity(securityInput);
105
105
 
106
106
  const context = {
107
+ options: client._options,
107
108
  baseURL: options?.serverURL ?? client._baseURL ?? "",
108
109
  operationID: "pendle_position",
109
110
  oAuth2Scopes: [],
@@ -125,6 +126,7 @@ async function $do(
125
126
  headers: headers,
126
127
  query: query,
127
128
  body: body,
129
+ userAgent: client._options.userAgent,
128
130
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
129
131
  }, options);
130
132
  if (!requestRes.ok) {
@@ -103,6 +103,7 @@ async function $do(
103
103
  const requestSecurity = resolveGlobalSecurity(securityInput);
104
104
 
105
105
  const context = {
106
+ options: client._options,
106
107
  baseURL: options?.serverURL ?? client._baseURL ?? "",
107
108
  operationID: "pendle_positions",
108
109
  oAuth2Scopes: [],
@@ -124,6 +125,7 @@ async function $do(
124
125
  headers: headers,
125
126
  query: query,
126
127
  body: body,
128
+ userAgent: client._options.userAgent,
127
129
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
128
130
  }, options);
129
131
  if (!requestRes.ok) {
@@ -103,6 +103,7 @@ async function $do(
103
103
  const requestSecurity = resolveGlobalSecurity(securityInput);
104
104
 
105
105
  const context = {
106
+ options: client._options,
106
107
  baseURL: options?.serverURL ?? client._baseURL ?? "",
107
108
  operationID: "sky_buy",
108
109
  oAuth2Scopes: [],
@@ -123,6 +124,7 @@ async function $do(
123
124
  path: path,
124
125
  headers: headers,
125
126
  body: body,
127
+ userAgent: client._options.userAgent,
126
128
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
127
129
  }, options);
128
130
  if (!requestRes.ok) {
@@ -99,6 +99,7 @@ async function $do(
99
99
  const requestSecurity = resolveGlobalSecurity(securityInput);
100
100
 
101
101
  const context = {
102
+ options: client._options,
102
103
  baseURL: options?.serverURL ?? client._baseURL ?? "",
103
104
  operationID: "sky_deposit",
104
105
  oAuth2Scopes: [],
@@ -119,6 +120,7 @@ async function $do(
119
120
  path: path,
120
121
  headers: headers,
121
122
  body: body,
123
+ userAgent: client._options.userAgent,
122
124
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
123
125
  }, options);
124
126
  if (!requestRes.ok) {
@@ -103,6 +103,7 @@ async function $do(
103
103
  const requestSecurity = resolveGlobalSecurity(securityInput);
104
104
 
105
105
  const context = {
106
+ options: client._options,
106
107
  baseURL: options?.serverURL ?? client._baseURL ?? "",
107
108
  operationID: "sky_position",
108
109
  oAuth2Scopes: [],
@@ -124,6 +125,7 @@ async function $do(
124
125
  headers: headers,
125
126
  query: query,
126
127
  body: body,
128
+ userAgent: client._options.userAgent,
127
129
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
128
130
  }, options);
129
131
  if (!requestRes.ok) {