Skip to content

Releases: deltadefi-protocol/typescript-sdk

v1.1.5

20 Apr 10:01
66ac403

Choose a tag to compare

fix: update methond (#49)

v1.1.4

20 Apr 09:22
57baa6f

Choose a tag to compare

What's Changed

Full Changelog: v1.1.3...v1.1.4

v1.1.3

03 Mar 05:59

Choose a tag to compare

Full Changelog: v1.1.2...v1.1.3

v1.1.2

13 Jan 08:46

Choose a tag to compare

Fixes

  • fix(types): return OrderResponse directly from postOrder

v1.1.1

11 Jan 09:46

Choose a tag to compare

What's Changed

Breaking Changes

  • feat(types)!: sync SDK with Espresso API develop branch

Fixes

  • fix(types): change quantity fields from number to string for precision
  • fix(types): align CancelAllOrdersResponse with Espresso API
  • fix(types): sync SDK types and endpoints with Espresso API

Migration Notes

  • AccountBalance.free and AccountBalance.locked are now string (was number)
  • AssetRecord.qty and TransferalAsset.qty are now string (was number)
  • CancelAllOrdersResponse now has symbol and order_ids fields
  • Order request uses base_quantity/quote_quantity instead of quantity

v1.1.0

11 Jan 07:53

Choose a tag to compare

What's Changed

Features

  • Sync SDK with Espresso API updates

Fixes

  • Add closed status to OrderStatus type

Chores

  • Fix package

Full Changelog: v1.0.2...v1.1.0

v1.0.2

16 Nov 22:00

Choose a tag to compare

Full Changelog: v1.0.1...v1.0.2

v1.0.1

10 Nov 23:26

Choose a tag to compare

Full Changelog: v1.0.0...v1.0.1

v1.0.0

10 Nov 09:59

Choose a tag to compare

Release Notes - v1.0.0

Features

Mainnet Support

  • Added production mainnet configuration support
  • Default network now set to mainnet (networkId: 1)
  • Production API endpoint: https://api.deltadefi.io
  • Production WebSocket endpoint: wss://stream.deltadefi.io
  • Staging endpoints remain available when specifying network: 'preprod'

Enhanced Order Management

  • Added cancelAllOrders() method to cancel all open orders with a single transaction

Breaking Changes

  • Default network changed from preprod (testnet) to mainnet
  • WebSocket URLs updated for both mainnet and preprod environments

Migration Guide

To continue using preprod/testnet, explicitly specify the network:

const client = new ApiClient({network: "preprod", apiKey});

Full Changelog: v0.3.31...v1.0.0

v0.3.31

21 Oct 04:47
df58fde

Choose a tag to compare

What's Changed

  • feat: add transferal type in internal transfer by @kenlau666 in #46

Full Changelog: v0.3.30...v0.3.31