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

@anthropic-ai/sdk

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anthropic-ai/sdk - npm Package Versions

1
10

0.6.0

Diff

Changelog

Source

0.6.0 (2023-08-12)

Features

  • client: add support for accessing the raw response object (#105) (c86b059)
  • client: detect browser usage (#101) (f4cae3f)
  • types: improve streaming params types (#102) (cdf808c)

Documentation

  • readme: minor updates (#107) (406fd97)
  • readme: remove beta status + document versioning policy (#100) (e9ef3d2)

Chores

Refactors

  • client: remove Stream.toReadableStream() (#110) (c370412)
jenan-anthropic
published 0.5.10 •

Changelog

Source

0.5.10 (2023-08-01)

Refactors

Documentation

  • readme: add token counting reference (#94) (2c6a699)

Chores

  • internal: allow the build script to be run without yarn installed (#91) (9bd2b28)
  • internal: fix deno build (#96) (3fdab4e)
jenan-anthropic
published 0.5.9 •

Changelog

Source

0.5.9 (2023-07-29)

Bug Fixes

  • client: handle undefined process in more places (#87) (d950c25)
  • examples: avoid swallowing errors in example scripts (#82) (b27cfe9)
  • fix undefined message in errors (#86) (5714a14)

Chores

  • internal: minor refactoring of client instantiation (#88) (2c53e1c)

Refactors

  • use destructuring arguments in client constructor and respect false values (#89) (8d4c686)
jenan-anthropic
published 0.5.8 •

Changelog

Source

0.5.8 (2023-07-22)

Features

  • streaming: make requests immediately throw an error if an aborted signal is passed in (#79) (5c86597)
jenan-anthropic
published 0.5.7 •

Changelog

Source

0.5.7 (2023-07-19)

Features

Bug Fixes

  • client: fix errors with file uploads in the browser (#76) (ac48fa7)
  • fix error in environments without TextEncoder (#70) (5b78e05)
  • fix export map order (#74) (51e70cb)
jenan-anthropic
published 0.5.6 •

Changelog

Source

0.5.6 (2023-07-15)

Bug Fixes

  • fix errors with "named" client export in CJS (#67) (08ef69c)
jenan-anthropic
published 0.5.4 •

Changelog

Source

0.5.4 (2023-07-11)

Features

  • api: reference claude-2 in examples (#50) (7c53ded)
  • client: support passing a custom fetch function (#46) (7d54366)

Bug Fixes

  • client: properly handle multi-byte characters in Content-Length (#47) (8dfff26)

Refactors

  • streaming: make response body streaming polyfill more spec-compliant (#44) (047d328)
jenan-anthropic
published 0.5.3 •

Changelog

Source

0.5.4 (2023-07-11)

Features

  • api: reference claude-2 in examples (#50) (7c53ded)
  • client: support passing a custom fetch function (#46) (7d54366)

Bug Fixes

  • client: properly handle multi-byte characters in Content-Length (#47) (8dfff26)

Refactors

  • streaming: make response body streaming polyfill more spec-compliant (#44) (047d328)
jenan-anthropic
published 0.5.2 •

jenan-anthropic
published 0.5.1 •

Changelog

Source

0.6.0 (2023-08-12)

Features

  • client: add support for accessing the raw response object (#105) (c86b059)
  • client: detect browser usage (#101) (f4cae3f)
  • types: improve streaming params types (#102) (cdf808c)

Documentation

  • readme: minor updates (#107) (406fd97)
  • readme: remove beta status + document versioning policy (#100) (e9ef3d2)

Chores

Refactors

  • client: remove Stream.toReadableStream() (#110) (c370412)
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