Releases: cowprotocol/cow-sdk
Releases · cowprotocol/cow-sdk
v2.0.5
Full Changelog: v2.0.4...v2.0.5
v2.0.4
What's Changed
- Back-off and limits strategy for order-book API by @shoom3301 in #122
Full Changelog: v2.0.3...v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.1
Changes
orderBookApi.getQuote(quoteParams, { chainId }).catch((error) => {
console.log('Error', error)
})
Before fix:
ApiError: Error quoting order
After fix:
{
data: { fee_amount: '0x8cafa362dc8a38' },
description: "The sell amount for the sell order is lower than the fee.",
errorType: "SellAmountDoesNotCoverFee",
}
v2.0.0
🎉 CoW protocol SDK v2
- The SDK was split into 3 classes: OrderBookApi, OrderSigningUtils, SubgraphApi
- MetadataApi was moved to @cowprotocol/app-data
- OrderBookApi is based on autogenerated code from Swagger scheme (openapi)
- OrderSigningUtils is fully lazy-loaded
- Added usage examples for CRA, Vanilla JS, Node JS
- Deleted 0x and Paraswap APIs
- ApiContext was simplified
- Added signOrderCancellations method to OrderSigningUtils
Read more:
v2.0.0-alpha.6
v2.0.0-alpha.6
v2.0.0-alpha.5
2.0.0-alpha.5
v2.0.0-alpha.4
Remove Metadata API
v2.0.0-alpha.3
2.0.0-alpha.3