mirror of
https://github.com/lux-amm/v4-sdk.git
synced 2026-10-30 20:47:33 +00:00
1.3 KiB
1.3 KiB
@luxamm/v4-sdk
2.0.0
Major Changes
-
1726505: ### Major: Universal Router 2.1.1
URVersion.V2_1removed — useURVersion.V2_1_1for UR 2.1.1 (orV2_0for older router ABIs). 2.1 had a per-hop slippage precision bug (maxHopSlippagecould fail to enforce on some high–decimal / price–skew pools); 2.1.1 fixes that with higher-precision on-chain math.URVersion.V2_1_1swap ABIs includemaxHopSlippageon single-hop V4 swaps (in addition to multi-hop);V2_0keeps structs without per-hop fields.
1.30.0
Minor Changes
- 58a58d0: Migrate build system from TSDX to tsc with separate CJS/ESM/types outputs. The new
exportsfield ensures correct module resolution for all standard consumers (import/requireof the package root). Deep subpath imports (e.g.,@luxamm/sdk-core/dist/...) are no longer supported — all public APIs are re-exported from the package entry point.tslibis now a runtime dependency (required byimportHelpers). Minimum Node.js version is now 18.
Patch Changes
- Updated dependencies [58a58d0]
1.29.3
Patch Changes
- fix increase liquidity to use
1.29.2
Patch Changes
- Updated dependencies [1779ed4]