@ai-sdk/provider
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -284,3 +284,3 @@ "use strict"; | ||
static isJSONParseError(error) { | ||
return error instanceof Error && error.name === name5 && typeof error.text === "string" && typeof error.cause === "string"; | ||
return error instanceof Error && error.name === name5 && "text" in error && typeof error.text === "string"; | ||
} | ||
@@ -287,0 +287,0 @@ /** |
@@ -284,3 +284,3 @@ "use strict"; | ||
static isJSONParseError(error) { | ||
return error instanceof Error && error.name === name5 && typeof error.text === "string" && typeof error.cause === "string"; | ||
return error instanceof Error && error.name === name5 && "text" in error && typeof error.text === "string"; | ||
} | ||
@@ -287,0 +287,0 @@ /** |
{ | ||
"name": "@ai-sdk/provider", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
158559