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

@anthropic-ai/sdk

Package Overview
Dependencies
Maintainers
8
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 Compare versions

Comparing version 0.16.0 to 0.16.1

13

CHANGELOG.md
# Changelog
## 0.16.1 (2024-03-04)
Full Changelog: [sdk-v0.16.0...sdk-v0.16.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.16.0...sdk-v0.16.1)
### Chores
* fix error handler in readme ([#307](https://github.com/anthropics/anthropic-sdk-typescript/issues/307)) ([5007a1e](https://github.com/anthropics/anthropic-sdk-typescript/commit/5007a1e71907648ea44e1663f5b7f71bb20d001d))
### Documentation
* **readme:** reference bedrock sdk ([#309](https://github.com/anthropics/anthropic-sdk-typescript/issues/309)) ([0fd0416](https://github.com/anthropics/anthropic-sdk-typescript/commit/0fd041617eca18dd506efffe5a4e2505dd1aa004))
## 0.16.0 (2024-03-04)

@@ -4,0 +17,0 @@

2

package.json
{
"name": "@anthropic-ai/sdk",
"version": "0.16.0",
"version": "0.16.1",
"description": "The official TypeScript library for the Anthropic API",

@@ -5,0 +5,0 @@ "author": "Anthropic <support@anthropic.com>",

@@ -138,2 +138,6 @@ # Anthropic TypeScript API Library

## AWS Bedrock
We provide support for the [Anthropic Bedrock API](https://aws.amazon.com/bedrock/claude/) through a [separate package](https://github.com/anthropics/anthropic-sdk-typescript/tree/main/packages/bedrock-sdk).
## Handling errors

@@ -154,3 +158,3 @@

})
.catch((err) => {
.catch(async (err) => {
if (err instanceof Anthropic.APIError) {

@@ -157,0 +161,0 @@ console.log(err.status); // 400

@@ -1,1 +0,1 @@

export const VERSION = '0.16.0'; // x-release-please-version
export const VERSION = '0.16.1'; // x-release-please-version

@@ -1,2 +0,2 @@

export declare const VERSION = "0.16.0";
export declare const VERSION = "0.16.1";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = '0.16.0'; // x-release-please-version
exports.VERSION = '0.16.1'; // x-release-please-version
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is not supported yet

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