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
102
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.8.0

Diff

Changelog

Source

0.8.0 (2023-10-24)

Full Changelog: v0.7.0...v0.8.0

Features

  • client: adjust retry behavior to be exponential backoff (#192) (747afe2)
zak-anthropic
published 0.7.0 •

Changelog

Source

0.7.0 (2023-10-19)

Full Changelog: v0.6.8...v0.7.0

Features

zak-anthropic
published 0.6.8 •

Changelog

Source

0.6.8 (2023-10-17)

Full Changelog: v0.6.7...v0.6.8

Bug Fixes

  • import web-streams-polyfill without overriding globals (#186) (e774e17)
zak-anthropic
published 0.6.7 •

Changelog

Source

0.6.7 (2023-10-16)

Full Changelog: v0.6.6...v0.6.7

Bug Fixes

Chores

Documentation

  • organisation -> organization (UK to US English) (#185) (70257d4)

Refactors

  • streaming: change Stream constructor signature (#174) (1951824)
  • test: refactor authentication tests (#176) (f59daad)
jenan-anthropic
published 0.6.2 •

Changelog

Source

0.6.2 (2023-08-26)

Bug Fixes

  • stream: declare Stream.controller as public (#132) (ff33a89)

Refactors

  • remove unnecessary line in constructor (#131) (dcdf5e5)

Chores

jenan-anthropic
published 0.6.1 •

Changelog

Source

0.6.1 (2023-08-23)

Features

  • allow a default timeout to be set for clients (#113) (1c5b2e2)
  • client: improve compatibility with Bun (#119) (fe4f5d5)
  • docs: add documentation to the client constructor (#118) (79303f9)
  • types: export RequestOptions type (#127) (9769751)
  • types: remove footgun with streaming params (#125) (3ed67b6)

Bug Fixes

  • client: fix TypeError when a request gets retried (#117) (0ade979)
  • core: fix navigator check for strange environments (#124) (c783604)
  • types: add catch-all overload to streaming methods (#123) (7c229a2)

Documentation

Chores

  • assign default reviewers to release PRs (#115) (1df3965)
  • internal: add missing eslint-plugin-prettier (#122) (66bede0)
  • internal: fix error happening in CloudFlare pages (#116) (b0dc7b3)
  • internal: minor reformatting of code (#120) (4bcaf9e)
jenan-anthropic
published 0.6.0 •

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