@anthropic-ai/sdk
Advanced tools
Comparing version 0.16.0 to 0.16.1
# 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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
671669
372