Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@anthropic-ai/sdk

Package Overview
Dependencies
Maintainers
9
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anthropic-ai/sdk - npm Package Versions

23
10

0.33.1

Diff

Changelog

Source

0.33.1 (2024-12-17)

Full Changelog: sdk-v0.33.0...sdk-v0.33.1

Bug Fixes

  • vertex: remove anthropic_version deletion for token counting (88221be)

Chores

zak-anthropic
published 0.33.0 •

Changelog

Source

0.33.0 (2024-12-17)

Full Changelog: sdk-v0.32.1...sdk-v0.33.0

Features

  • api: general availability updates (93d1316)
  • api: general availability updates (#631) (b5c92e5)
  • client: add ._request_id property to object responses (#596) (9d6d584)
  • internal: make git install file structure match npm (#617) (d3dd7d5)
  • vertex: support token counting (9e76b4d)

Bug Fixes

  • docs: add missing await to pagination example (#609) (e303077)
  • types: remove anthropic-instant-1.2 model (#599) (e222a4d)

Chores

Documentation

zak-anthropic
published 0.32.1 •

Changelog

Source

0.32.1 (2024-11-05)

Full Changelog: sdk-v0.32.0...sdk-v0.32.1

Bug Fixes

  • bedrock: don't mutate request body inputs (f83b535)
  • vertex: don't mutate request body inputs (e9a82e5)
zak-anthropic
published 0.32.0 •

Changelog

Source

0.32.0 (2024-11-04)

Full Changelog: sdk-v0.31.0...sdk-v0.32.0

Features

Bug Fixes

  • don't require deno to run build-deno (#586) (0e431d6)
  • types: add missing token-counting-2024-11-01 (#583) (13d629c)

Chores

zak-anthropic
published 0.31.0 •

Changelog

Source

0.31.0 (2024-11-01)

Full Changelog: sdk-v0.30.1...sdk-v0.31.0

Features

  • api: add message token counting & PDFs support (#582) (b593837)

Bug Fixes

  • countTokens: correctly set beta header (1680757)
  • internal: support pnpm git installs (#579) (86bb102)
  • types: add missing token-counting-2024-11-01 (aff1546)

Reverts

  • disable isolatedModules and change imports (#575) (2c3b176)

Chores

Documentation

Refactors

  • enable isolatedModules and change imports (#573) (9068b4b)
  • use type imports for type-only imports (#580) (2c8a337)
zak-anthropic
published 0.30.1 •

Changelog

Source

0.30.1 (2024-10-23)

Full Changelog: sdk-v0.30.0...sdk-v0.30.1

Bug Fixes

  • bedrock: correct messages beta handling (9b57586)
  • vertex: correct messages beta handling (26f21ee)

Chores

  • internal: bumps eslint and related dependencies (#570) (0b3ebb0)
zak-anthropic
published 0.30.0 •

Changelog

Source

0.30.0 (2024-10-22)

Full Changelog: sdk-v0.29.2...sdk-v0.30.0

Features

  • api: add new model and computer-use-2024-10-22 beta (6981d89)
  • bedrock: add beta.messages.create() method (6317592)
  • vertex: add beta.messages.create() (22cfdba)

Bug Fixes

  • client: respect x-stainless-retry-count default headers (#562) (274573f)

Chores

zak-anthropic
published 0.29.2 •

Changelog

Source

0.29.2 (2024-10-17)

Full Changelog: sdk-v0.29.1...sdk-v0.29.2

Bug Fixes

  • types: remove misleading betas TypedDict property for the Batch API (#559) (4de5d0a)
zak-anthropic
published 0.29.1 •

Changelog

Source

0.29.1 (2024-10-15)

Full Changelog: sdk-v0.29.0...sdk-v0.29.1

Bug Fixes

  • beta: merge betas param with the default value (#556) (5520bbc)

Chores

zak-anthropic
published 0.29.0 •

Changelog

Source

0.29.0 (2024-10-08)

Full Changelog: sdk-v0.28.0...sdk-v0.29.0

Features

  • api: add message batches api (4f114d5)

Chores

  • internal: move LineDecoder to a separate file (#541) (fd42469)
  • internal: pass props through internal parser (#549) (dd71955)

Refactors

23
10
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