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

13
10

0.28.0

Diff

Changelog

Source

0.28.0 (2024-10-04)

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

Features

  • api: support disabling parallel tool use (#540) (df0032f)
  • client: allow overriding retry count header (#536) (ec11f91)
  • client: send retry count header (#533) (401b81c)

Bug Fixes

Chores

  • better object fallback behaviour for casting errors (#503) (3660e97)
  • better object fallback behaviour for casting errors (#526) (4ffb2e4)
  • internal: add dev dependency (#531) (a9c127b)

Documentation

zak-anthropic
published 0.27.3 •

Changelog

Source

0.27.3 (2024-09-09)

Full Changelog: sdk-v0.27.2...sdk-v0.27.3

Bug Fixes

  • streaming: correct error message serialisation (#524) (e150fa4)
  • uploads: avoid making redundant memory copies (#520) (b6d2638)

Chores

  • docs: update browser support information (#522) (ce7aeb5)
zak-anthropic
published 0.27.2 •

Changelog

Source

0.27.2 (2024-09-04)

Full Changelog: sdk-v0.27.1...sdk-v0.27.2

Bug Fixes

  • client: correct File construction from node-fetch Responses (#518) (62ae46f)

Chores

zak-anthropic
published 0.27.1 •

Changelog

Source

0.27.1 (2024-08-27)

Full Changelog: sdk-v0.27.0...sdk-v0.27.1

Chores

zak-anthropic
published 0.27.0 •

Changelog

Source

0.27.0 (2024-08-21)

Full Changelog: sdk-v0.26.1...sdk-v0.27.0

Features

Documentation

  • readme: update formatting and clarity for CORS flag (9cb2c35)
zak-anthropic
published 0.26.1 •

Changelog

Source

0.26.1 (2024-08-15)

Full Changelog: sdk-v0.26.0...sdk-v0.26.1

Chores

zak-anthropic
published 0.26.0 •

Changelog

Source

0.26.0 (2024-08-14)

Full Changelog: sdk-v0.25.2...sdk-v0.26.0

Features

  • api: add prompt caching beta (c920b77)
  • client: add streaming helpers (39abc26)

Chores

zak-anthropic
published 0.25.2 •

Changelog

Source

0.25.2 (2024-08-12)

Full Changelog: sdk-v0.25.1...sdk-v0.25.2

Chores

zak-anthropic
published 0.25.1 •

Changelog

Source

0.25.1 (2024-08-09)

Full Changelog: sdk-v0.25.0...sdk-v0.25.1

Chores

zak-anthropic
published 0.25.0 •

Changelog

Source

0.25.0 (2024-07-29)

Full Changelog: sdk-v0.24.3...sdk-v0.25.0

Features

  • add back compat alias for InputJsonDelta (8b08161)
  • client: make request-id header more accessible (#462) (5ea6f8b)

Bug Fixes

  • compat: remove ReadableStream polyfill redundant since node v16 (#478) (75f5710)
  • use relative paths (#475) (a8ca93c)

Chores

  • bedrock: use chunk for internal SSE parsing instead of completion (#472) (0f6190a)
  • ci: also run workflows for PRs targeting next (#464) (cc405a8)
  • docs: fix incorrect client var names (#479) (a247935)
  • docs: mention lack of support for web browser runtimes (#468) (968a7fb)
  • docs: minor update to formatting of API link in README (#467) (50b9f2b)
  • docs: rename anthropic const to client (#471) (e1a7f9f)
  • docs: use client instead of package name in Node examples (#469) (8961ebf)
  • internal: add constant for default timeout (#480) (dc89753)
  • internal: minor changes to tests (#465) (c1fd563)
  • internal: remove old reference to check-test-server (8dc9afc)
  • sync spec (#470) (b493aa4)
  • tests: update prism version (#473) (6f21ecf)

Refactors

  • extract model out to a named type and rename partialjson (#477) (d2d4e36)
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