You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@drift-labs/sdk

Package Overview
Dependencies
Maintainers
5
Versions
1346
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drift-labs/sdk - npm Package Versions

1
104106
135

2.32.1-beta.5

Diff
l
lunohomachine
published 2.32.1-beta.5 •
l
lunohomachine
published 2.32.1-beta.4 •
l
lunohomachine
published 2.32.1-beta.3 •
l
lunohomachine
published 2.32.1-beta.2 •
l
lunohomachine
published 2.32.1-beta.1 •
l
lunohomachine
published 2.32.1-beta.0 •
c
crispheaney
published 2.32.0 •

Changelog

Source

[2.32.0] - 2023-06-23

Features

  • ts-sdk: add getMaxSwapAmount ((#488))
  • program: add bulk place orders ix ((#499))
  • ts-sdk: add stakeForMSOL to driftClient ((#500))
  • ts-sdk: driftClient accepts default txParams ((#496))
  • ts-sdk: add method to force inclusion of markets in ix remaining accounts ((#503))

Fixes

  • program: emit lp records in liquidate_perp ((#498))
  • program: check margin enabled in swaps ((#501))

Breaking

  • ts-sdk: remove user.getSpotTokenAmount as its a duplicate
  • ts-sdk: remove RetrySender dependency on Provider ((#497))
l
lunohomachine
published 2.31.1-beta.28 •
l
lunohomachine
published 2.31.1-beta.27 •
l
lunohomachine
published 2.31.1-beta.26 •