@anthropic-ai/sdk
Advanced tools
Comparing version 0.20.6 to 0.20.7
# Changelog | ||
## 0.20.7 (2024-04-24) | ||
Full Changelog: [sdk-v0.20.6...sdk-v0.20.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.6...sdk-v0.20.7) | ||
### Chores | ||
* **internal:** use @swc/jest for running tests ([#397](https://github.com/anthropics/anthropic-sdk-typescript/issues/397)) ([0dbca67](https://github.com/anthropics/anthropic-sdk-typescript/commit/0dbca679f26f4a301810290601cc41f18525fe6e)) | ||
## 0.20.6 (2024-04-17) | ||
@@ -4,0 +12,0 @@ |
@@ -109,2 +109,4 @@ import * as Core from "./core.js"; | ||
static UnprocessableEntityError: typeof Errors.UnprocessableEntityError; | ||
static toFile: typeof Uploads.toFile; | ||
static fileFromPath: typeof Uploads.fileFromPath; | ||
} | ||
@@ -116,4 +118,2 @@ export declare const HUMAN_PROMPT: string, AI_PROMPT: string; | ||
export declare namespace Anthropic { | ||
export import toFile = Uploads.toFile; | ||
export import fileFromPath = Uploads.fileFromPath; | ||
export import RequestOptions = Core.RequestOptions; | ||
@@ -120,0 +120,0 @@ export import Completions = API.Completions; |
@@ -136,2 +136,4 @@ "use strict"; | ||
Anthropic.UnprocessableEntityError = Errors.UnprocessableEntityError; | ||
Anthropic.toFile = Uploads.toFile; | ||
Anthropic.fileFromPath = Uploads.fileFromPath; | ||
exports.HUMAN_PROMPT = Anthropic.HUMAN_PROMPT, exports.AI_PROMPT = Anthropic.AI_PROMPT; | ||
@@ -142,5 +144,2 @@ exports.AnthropicError = Errors.AnthropicError, exports.APIError = Errors.APIError, exports.APIConnectionError = Errors.APIConnectionError, exports.APIConnectionTimeoutError = Errors.APIConnectionTimeoutError, exports.APIUserAbortError = Errors.APIUserAbortError, exports.NotFoundError = Errors.NotFoundError, exports.ConflictError = Errors.ConflictError, exports.RateLimitError = Errors.RateLimitError, exports.BadRequestError = Errors.BadRequestError, exports.AuthenticationError = Errors.AuthenticationError, exports.InternalServerError = Errors.InternalServerError, exports.PermissionDeniedError = Errors.PermissionDeniedError, exports.UnprocessableEntityError = Errors.UnprocessableEntityError; | ||
(function (Anthropic) { | ||
// Helper functions | ||
Anthropic.toFile = Uploads.toFile; | ||
Anthropic.fileFromPath = Uploads.fileFromPath; | ||
Anthropic.Completions = API.Completions; | ||
@@ -147,0 +146,0 @@ Anthropic.Messages = API.Messages; |
{ | ||
"name": "@anthropic-ai/sdk", | ||
"version": "0.20.6", | ||
"version": "0.20.7", | ||
"description": "The official TypeScript library for the Anthropic API", | ||
@@ -5,0 +5,0 @@ "author": "Anthropic <support@anthropic.com>", |
@@ -204,2 +204,5 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
static UnprocessableEntityError = Errors.UnprocessableEntityError; | ||
static toFile = Uploads.toFile; | ||
static fileFromPath = Uploads.fileFromPath; | ||
} | ||
@@ -229,6 +232,2 @@ | ||
export namespace Anthropic { | ||
// Helper functions | ||
export import toFile = Uploads.toFile; | ||
export import fileFromPath = Uploads.fileFromPath; | ||
export import RequestOptions = Core.RequestOptions; | ||
@@ -235,0 +234,0 @@ |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '0.20.6'; // x-release-please-version | ||
export const VERSION = '0.20.7'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.20.6"; | ||
export declare const VERSION = "0.20.7"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '0.20.6'; // x-release-please-version | ||
exports.VERSION = '0.20.7'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
754012
12107