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

@supabase/functions-js

Package Overview
Dependencies
Maintainers
9
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/functions-js - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

2

dist/main/version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "2.3.0";
export declare const version = "2.3.1";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '2.3.0';
exports.version = '2.3.1';
//# sourceMappingURL=version.js.map

@@ -1,2 +0,2 @@

export declare const version = "2.3.0";
export declare const version = "2.3.1";
//# sourceMappingURL=version.d.ts.map

@@ -1,2 +0,2 @@

export const version = '2.3.0';
export const version = '2.3.1';
//# sourceMappingURL=version.js.map
{
"name": "@supabase/functions-js",
"version": "2.3.0",
"version": "2.3.1",
"description": "JS Client library to interact with Supabase Functions.",

@@ -5,0 +5,0 @@ "main": "dist/main/index.js",

@@ -1,45 +0,47 @@

interface ModelOptions {
/**
* Pool embeddings by taking their mean. Applies only for `gte-small` model
*/
mean_pool?: boolean
declare namespace Supabase {
export interface ModelOptions {
/**
* Pool embeddings by taking their mean. Applies only for `gte-small` model
*/
mean_pool?: boolean
/**
* Normalize the embeddings result. Applies only for `gte-small` model
*/
normalize?: boolean
/**
* Normalize the embeddings result. Applies only for `gte-small` model
*/
normalize?: boolean
/**
* Stream response from model. Applies only for LLMs like `mistral` (default: false)
*/
stream?: boolean
/**
* Stream response from model. Applies only for LLMs like `mistral` (default: false)
*/
stream?: boolean
/**
* Automatically abort the request to the model after specified time (in seconds). Applies only for LLMs like `mistral` (default: 60)
*/
timeout?: number
}
/**
* Automatically abort the request to the model after specified time (in seconds). Applies only for LLMs like `mistral` (default: 60)
*/
timeout?: number
}
interface Session {
/**
* Execute the given prompt in model session
*/
run(prompt: string, modelOptions?: ModelOptions): unknown
}
export class Session {
/**
* Create a new model session using given model
*/
constructor(model: string, sessionOptions?: unknown)
declare var Session: {
prototype: Session
/**
* Execute the given prompt in model session
*/
run(prompt: string, modelOptions?: ModelOptions): unknown
}
/**
* Create a new model session using given model
* Provides AI related APIs
*/
new (model: string, sessionOptions?: unknown): Session
}
export interface Ai {
readonly Session: typeof Session
}
declare var Supabase: {
/**
* Provides AI related APIs
*/
readonly ai: {
readonly Session: typeof Session
}
export const ai: Ai
}

@@ -1,1 +0,1 @@

export const version = '2.3.0'
export const version = '2.3.1'
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