New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@drift-labs/sdk

Package Overview
Dependencies
Maintainers
0
Versions
1158
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
116

2.8.0-beta.2

Diff

crispheaney
published 2.8.0-beta.1 •

willphan
published 2.8.0-beta.0 •

crispheaney
published 2.7.0 •

Changelog

Source

[2.7.0] - 2022-12-19

Features

Fixes

program: more leniency in allowing risk decreasing trades for perps (#297) program: fix is_user_being_liquidated in deposit

Breaking

crispheaney
published 2.6.0 •

Changelog

Source

[2.6.0] - 2022-12-16

Features

program: allow keeper to switch user status to active by calling liquidate perp (#296)

Fixes

  • program: more precise update k in prepeg (#294)
  • program: allow duplicative reduce only orders (#293)
  • program: fix should_cancel_reduce_only_order
  • ts-sdk: add Oracle OrderType to dlob idl

Breaking

crispheaney
published 2.6.0-beta.1 •

crispheaney
published 2.6.0-beta.0 •

crispheaney
published 2.5.0 •

Changelog

Source

[2.5.0] - 2022-12-13

Features

Fixes

  • program: disable lower bound check for update amm once it's already been breached (#292)
  • ts-sdk: fix DLOB.updateOrder (#290)
  • ts-sdk: make calculateClaimablePnl mirror on-chain logic (#291)
  • ts-sdk: add margin trading toggle field to user accounts, update toggle margin trading function to add ability to toggle for any subaccount rather than just the active (#285)

Breaking

crispheaney
published 2.4.0 •

Changelog

Source

[2.4.0] - 2022-12-09

Features

  • program: check if place_perp_order can lead to breach in max oi (#283)
  • program: find fallback maker order if passed order id doesnt exist (#281)

Fixes

  • program: fix amm-jit so makers can fill the full size of their order after amm-jit occurs (#280)

Breaking

lunohomachine
published 2.4.0-master.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc