Releases: VeloraDEX/sdk
v9.5.1
v9.5.0
Full Changelog: v9.4.2...v9.5.0
Release 9.4.2
- update docs (2a45348)
- Merge pull request #227 from VeloraDEX/feat/deltaSlippageParam (47ef072)
- Release 9.4.0 (8063d1a)
- fix tests (2d6b90d)
- restore degenMode param (691a38b)
- Merge branch 'master' of github.com:VeloraDEX/sdk into feat/deltaSlippageParam (c7759ee)
- Merge pull request #228 from VeloraDEX/feat/externalOrders (d5acd2f)
- Merge pull request #229 from VeloraDEX/chore/markDeprecated (5649e0e)
- add External Orders mention (e3b6a9c)
- change default expiry to 10 min (c5a4fc7)
- ExternalOrders docs (fc8bc08)
- correctly convert fee to bps (d0b78e8)
- infer order type from filter (a6fa4bf)
- generic
DeltaAuctiontype (0969469) - add
onChainOrderTypefilter (6569d3c) - merge with base branch (ef7d7b8)
- use
assertfor input validation (fc8f6ec) - Revert "add
outDircompiler option" (90755d1) - add
outDircompiler option (d80d459) - Revert "ignore build artifacts" (0ba6036)
applySlippageto take input object as param (8f66540)- consistent truthfulness check (4943d15)
- strong comparison (7ccbef5)
- fix example delta scripts (84829b7)
- use OrderKind (e590bc7)
- merge with base branch (57676a0)
- remove warnings (93acd65)
- mark limit orders and nft orders as deprecated (bbbacc8)
- remove tests for limit orders and nft orders (2d5e3fc)
- ignore build artifacts (313ab85)
- strict check (03e7871)
- validate slippage param (12d018c)
- use strict compare to narrow types (5ae4415)
- Revert "temporarily skip
/swaptests" (168b62c) - temporarily skip
/swaptests (bd9a3fb) - fix tests (7caf94f)
- pass api from env (8b1c630)
- fix SwapSideUnion import (08c0bb4)
- duplicate partner and slippage resolution logic (c98efb5)
- add external orders type to getter (4be8b35)
- fix external order response typed with wrong order shape (4874d05)
DELTA_DEFAULT_EXPIRYdedup (4e37d83)- presignature abi dedup (9e12958)
- add
slippagefor external order build/submit (99ba949) - Merge branch 'feat/deltaSlippageParam' of github.com:VeloraDEX/sdk into feat/externalOrders (50c439d)
- lint (ec785b9)
- add
sideto discrimination types (ee41a1d) - remove SourceEth error case (be1a8d8)
- remove bigint literals (b4532fc)
- remove SourceEth error case (6607730)
- add
slippageparam for delta build/submit methods (c2dc249) - add example for external delta orders (6dc7492)
- add external delta orders support (8455df8)
Release 9.4.0
What's New
External Delta Orders
New order type that delegates token handling to an external handler contract, enabling complex DeFi strategies (e.g. Aave collateral swaps, debt swaps, repay-with-collateral).
New SDK methods:
buildExternalDeltaOrder— build a signable external ordersignExternalDeltaOrder— EIP-712 signpostExternalDeltaOrder— submit to APIpreSignExternalDeltaOrder— on-chain pre-sign for smart contract walletssubmitExternalDeltaOrder— all-in-one build + sign + post
New types: ExternalDeltaOrder, SignableExternalOrderData, OnChainOrderType
Query support: getDeltaOrders now accepts onChainOrderType: 'ExternalOrder' filter.
Documentation: EXTERNAL_ORDERS.md
Slippage parameter for Delta order building
buildDeltaOrder, submitDeltaOrder, buildExternalDeltaOrder, and submitExternalDeltaOrder now accept a slippage parameter (in bps). The SDK auto-computes
srcAmount/destAmount from the deltaPrice response, removing the need for manual slippage calculation.
Default order expiry changed
Default Delta order expiry reduced from 1 hour to 10 minutes.
Deprecations
- Limit Order APIs (
constructAllLimitOrdersHandlersand related methods) are now marked as@deprecated. - NFT Order APIs (
constructAllNFTOrdersHandlersand related methods) are now marked as@deprecated.
Bug Fixes
- Partner fee fallback now correctly converts percent to bps.
Internal
- Centralized partner-fee and amount resolution into shared helpers.
- Pre-signature ABI deduplicated across Delta and External order modules.
- Removed legacy Limit Order and NFT Order tests and test fixtures.
Release 9.3.6
- Merge branch 'feat/degenMode' of github.com:VeloraDEX/sdk into feat/degenMode (e786e8a)
- Merge branch 'master' of github.com:VeloraDEX/sdk into feat/degenMode (a1e0354)
- Merge pull request #225 from VeloraDEX/feat/update-bridgePrice (f8c59f5)
- Merge branch 'feat/degenMode' of github.com:VeloraDEX/sdk into feat/update-bridgePrice (6c1c2ac)
- Merge pull request #230 from VeloraDEX/feat/delta_refunded-status (b4ceb46)
- remove slash, add maxUSDImpact (f732de0)
- Release 9.3.5-dev.1 (2293f51)
- DeltaPriceParams/maxImpact (3de5c21)
- add degenMode param for traces (d185b36)
- Release 9.3.4-dev.2 (ab4cf29)
- getDeltaPrice/ add new fields to AvailableBridgePrice (4f8a5f3)
Release 9.3.5
Release 9.3.4
What's Changed
- Chore/fetcher extra params by @Velenir in #222
- Feat/delta -- CANCELLING status by @andriy-shymkiv in #224
Full Changelog: v9.3.2...v9.3.4
Release 9.3.3
Release 9.3.2
Release 9.3.1
- chainId param cleanup (78373cc)
- SwapQueryParams & RateQueryParams/ better description for
chainIdparam (7681eb5) - replace
?network=queryParam to?chainId=in every place (45018d2) - QuoteParams/ maxUSDImpact (2936ff5)
- BridgeProtocolResponse/cleanup comment (7ba8a0c)
- fix delta price shape in test snapshots (a129dd5)
- QuoteParams/maxImpact (1216a51)
- Merge branch 'master' of github.com:VeloraDEX/sdk into feat/bridge-price-shape (6410d13)
- update docs (4700c80)
- Merge pull request #219 from VeloraDEX/feat/crosschain_LOs (41db4d1)
- 9.3.0-dev.2 (5e790a5)
- BridgeProtocolResponse/ add icon (0816c5d)
- export AvailableBridge type (6575bf6)
- AvailableBridgePrice/receivedDestUSDBeforeFee (06a64bb)
- update BridgePrice shape + new props (6c99b40)