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.10.0

Diff

Changelog

Source

[2.10.0] - 2023-01-03

Features

  • program: place order returns early if max ts breached (#317)
  • ts-sdk: batch getMultipleAccount calls in bulkAccountLoader (#315)
  • program: add clippy deny for panic, expect and unwrap
  • program: add market index offset trait (#287)
  • program: add size trait to accounts and events (#286)

Fixes

  • program: add access control for spot market updates similar to perp market (#284)
  • ts-sdk: allow websocket subscriber to skip getAccount call to rpc (#313)
  • ts-sdk: always add market account for cancelOrders if market index included
  • anchor tests: make deterministic to run in ci (#289)
  • ts-sdk: fix deprecated calls to @solana/web3.js (#299)
  • ts-sdk: fix calculateAssetWeight for Maintenance Margin (#308)
  • ts-sdk: fix UserMap for websocket usage (#308)

Breaking

crispheaney
published 2.10.0-beta.5 •

crispheaney
published 2.10.0-beta.4 •

willphan
published 2.10.0-beta.3 •

crispheaney
published 2.10.0-beta.2 •

crispheaney
published 2.10.0-beta.1 •

crispheaney
published 2.10.0-beta.0 •

crispheaney
published 2.9.0 •

Changelog

Source

[2.9.0] - 2022-12-23

Features

  • program: use vamm price to guard against bad fills for limit orders (#304)

Fixes

  • ts-sdk: expect signTransaction from wallet adapters to return a copy (#299)

Breaking

crispheaney
published 2.9.0-beta.0 •

willphan
published 2.8.0 •

Changelog

Source

[2.8.0] - 2022-12-22

Features

  • program: add force_cancel_orders to cancel risk-increasing orders for users with excessive leverage (#298)

Fixes

  • program: fix calculate_availability_borrow_liquidity (#301)
  • program: fix casting in fulfill_spot_order_with_match to handle implied max_base_asset_amounts
  • sdk: fix BulkAccountLoader starvation (#300)

Breaking

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