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

@anthropic-ai/sdk

Package Overview
Dependencies
Maintainers
0
Versions
101
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.36.3

Diff

Changelog

Source

0.36.3 (2025-01-27)

Full Changelog: sdk-v0.36.2...sdk-v0.36.3

Bug Fixes

  • streaming: accumulate citations (#675) (522118f)

Chores

zak-anthropic
published 0.36.2 •

Changelog

Source

0.36.2 (2025-01-23)

Full Changelog: sdk-v0.36.1...sdk-v0.36.2

Bug Fixes

  • bedrock: update streaming util import (255c059)
zak-anthropic
published 0.35.0 •

Changelog

Source

0.35.0 (2025-01-21)

Full Changelog: sdk-v0.34.0...sdk-v0.35.0

Features

  • add beta message streaming helpers (#655) (d7b5af1)
  • stream: add .withResponse() (#654) (b54477f)
  • streaming: add .request_id getter (4572478)

Bug Fixes

  • docs: correct results return type (#657) (4e6d031)
  • examples: add token counting example (2498e2e)
  • send correct Accept header for certain endpoints (#651) (17ffaeb)
  • vertex: add beta.messages.countTokens method (51d3f23)

Chores

Documentation

zak-anthropic
published 0.34.0-alpha.0 •

zak-anthropic
published 0.33.1 •

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)
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