Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google/generative-ai

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google/generative-ai - npm Package Compare versions

Comparing version 0.11.2 to 0.11.3

8

dist/files/files.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc