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
4
Versions
1100
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
108

2.4.0-master.0

Diff

crispheaney
published 2.4.0-beta.0 •

crispheaney
published 2.3.0 •

Changelog

Source

[2.3.0] - 2022-12-07

Features

Fixes

  • program: update the amm min/max_base_asset_reserve upon k decreases within update_amm (#282)
  • program: fix amm-jit erroring out when bids/asks are zero (#279)
  • ts-sdk: fix overflow in inventorySpreadScale

Breaking

crispheaney
published 2.3.0-beta.0 •

crispheaney
published 2.2.1 •

crispheaney
published 2.2.0 •

Changelog

Source

[2.2.0] - 2022-12-06

Features

  • ts-sdk: add btc/eth perp market configs for mainnet (#277)
  • program: reduce if stake requirement for better fee tier (#275)
  • program: new oracle order where auction price is oracle price offset (#269).
  • program: block negative pnl settles which would lead to more borrows when quote spot utilization is high (#273).

Fixes

  • ts-sdk: fix bugs in calculateSpreadBN
  • ts-sdk: fix additional bug in calculateSpreadBN (negative nums)

Breaking

crispheaney
published 2.2.0-beta.2 •

crispheaney
published 2.2.0-beta.1 •

crispheaney
published 2.1.2 •

crispheaney
published 2.1.1 •

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