@anthropic-ai/sdk
Advanced tools
Comparing version 0.24.1 to 0.24.2
@@ -125,3 +125,3 @@ "use strict"; | ||
} | ||
if (value == 'true' || value == 'false') { | ||
if (value == 'true' || value == 'false' || value === 'null') { | ||
tokens.push({ | ||
@@ -133,3 +133,5 @@ type: 'name', | ||
else { | ||
throw new Error(`Invalid token: ${value} is not a valid token!`); | ||
// unknown token, e.g. `nul` which isn't quite `null` | ||
current++; | ||
continue; | ||
} | ||
@@ -136,0 +138,0 @@ continue; |
{ | ||
"name": "@anthropic-ai/sdk", | ||
"version": "0.24.1", | ||
"version": "0.24.2", | ||
"description": "The official TypeScript library for the Anthropic API", | ||
@@ -5,0 +5,0 @@ "author": "Anthropic <support@anthropic.com>", |
@@ -154,3 +154,3 @@ type Token = { | ||
if (value == 'true' || value == 'false') { | ||
if (value == 'true' || value == 'false' || value === 'null') { | ||
tokens.push({ | ||
@@ -161,3 +161,5 @@ type: 'name', | ||
} else { | ||
throw new Error(`Invalid token: ${value} is not a valid token!`); | ||
// unknown token, e.g. `nul` which isn't quite `null` | ||
current++; | ||
continue; | ||
} | ||
@@ -164,0 +166,0 @@ continue; |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '0.24.1'; // x-release-please-version | ||
export const VERSION = '0.24.2'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.24.1"; | ||
export declare const VERSION = "0.24.2"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '0.24.1'; // x-release-please-version | ||
exports.VERSION = '0.24.2'; // 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 too big to display
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
751872
11719