@google/generative-ai
Advanced tools
Comparing version 0.11.2 to 0.11.3
@@ -33,6 +33,6 @@ /** | ||
export declare enum FileState { | ||
STATE_UNSPECIFIED = 0, | ||
PROCESSING = 1, | ||
ACTIVE = 2, | ||
FAILED = 10 | ||
STATE_UNSPECIFIED = "STATE_UNSPECIFIED", | ||
PROCESSING = "PROCESSING", | ||
ACTIVE = "ACTIVE", | ||
FAILED = "FAILED" | ||
} | ||
@@ -39,0 +39,0 @@ |
@@ -72,3 +72,3 @@ 'use strict'; | ||
*/ | ||
const PACKAGE_VERSION = "0.11.2"; | ||
const PACKAGE_VERSION = "0.11.3"; | ||
const PACKAGE_LOG_HEADER = "genai-js"; | ||
@@ -375,9 +375,9 @@ var Task; | ||
// The default value. This value is used if the state is omitted. | ||
FileState[FileState["STATE_UNSPECIFIED"] = 0] = "STATE_UNSPECIFIED"; | ||
FileState["STATE_UNSPECIFIED"] = "STATE_UNSPECIFIED"; | ||
// File is being processed and cannot be used for inference yet. | ||
FileState[FileState["PROCESSING"] = 1] = "PROCESSING"; | ||
FileState["PROCESSING"] = "PROCESSING"; | ||
// File is processed and available for inference. | ||
FileState[FileState["ACTIVE"] = 2] = "ACTIVE"; | ||
FileState["ACTIVE"] = "ACTIVE"; | ||
// File failed processing. | ||
FileState[FileState["FAILED"] = 10] = "FAILED"; | ||
FileState["FAILED"] = "FAILED"; | ||
})(exports.FileState || (exports.FileState = {})); | ||
@@ -384,0 +384,0 @@ |
@@ -70,6 +70,6 @@ /** | ||
export declare enum FileState { | ||
STATE_UNSPECIFIED = 0, | ||
PROCESSING = 1, | ||
ACTIVE = 2, | ||
FAILED = 10 | ||
STATE_UNSPECIFIED = "STATE_UNSPECIFIED", | ||
PROCESSING = "PROCESSING", | ||
ACTIVE = "ACTIVE", | ||
FAILED = "FAILED" | ||
} |
@@ -250,3 +250,3 @@ 'use strict'; | ||
*/ | ||
const PACKAGE_VERSION = "0.11.2"; | ||
const PACKAGE_VERSION = "0.11.3"; | ||
const PACKAGE_LOG_HEADER = "genai-js"; | ||
@@ -253,0 +253,0 @@ var Task; |
@@ -70,6 +70,6 @@ /** | ||
export declare enum FileState { | ||
STATE_UNSPECIFIED = 0, | ||
PROCESSING = 1, | ||
ACTIVE = 2, | ||
FAILED = 10 | ||
STATE_UNSPECIFIED = "STATE_UNSPECIFIED", | ||
PROCESSING = "PROCESSING", | ||
ACTIVE = "ACTIVE", | ||
FAILED = "FAILED" | ||
} |
{ | ||
"name": "@google/generative-ai", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"description": "Google AI JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
254284