Socket
Socket
Sign inDemoInstall

chromadb

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromadb - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

2

dist/main/Collection.d.ts

@@ -39,3 +39,3 @@ import { IncludeEnum, Metadata, Metadatas, Embedding, Embeddings, Document, Documents, Where, WhereDocument, ID, IDs, PositiveInteger, GetResponse, QueryResponse, AddResponse, CollectionMetadata } from "./types";

* @param {Document | Documents} [params.documents] - Optional documents of the items to add.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
*

@@ -42,0 +42,0 @@ * @example

@@ -95,3 +95,3 @@ "use strict";

* @param {Document | Documents} [params.documents] - Optional documents of the items to add.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
*

@@ -98,0 +98,0 @@ * @example

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

import 'isomorphic-fetch';
/**

@@ -2,0 +3,0 @@ * FastAPI

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = exports.defaultFetch = void 0;
require("isomorphic-fetch");
/* eslint-disable */

@@ -15,4 +18,2 @@ // tslint:disable

*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = exports.defaultFetch = void 0;
exports.defaultFetch = fetch;

@@ -19,0 +20,0 @@ exports.BASE_PATH = "";

@@ -39,3 +39,3 @@ import { IncludeEnum, Metadata, Metadatas, Embedding, Embeddings, Document, Documents, Where, WhereDocument, ID, IDs, PositiveInteger, GetResponse, QueryResponse, AddResponse, CollectionMetadata } from "./types";

* @param {Document | Documents} [params.documents] - Optional documents of the items to add.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
*

@@ -42,0 +42,0 @@ * @example

@@ -92,3 +92,3 @@ import { handleError, handleSuccess } from "./utils";

* @param {Document | Documents} [params.documents] - Optional documents of the items to add.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
*

@@ -95,0 +95,0 @@ * @example

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

import 'isomorphic-fetch';
/**

@@ -2,0 +3,0 @@ * FastAPI

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

import 'isomorphic-fetch';
/* eslint-disable */

@@ -2,0 +3,0 @@ // tslint:disable

{
"name": "chromadb",
"version": "1.5.3",
"version": "1.5.4",
"description": "A JavaScript interface for chroma",

@@ -42,3 +42,6 @@ "keywords": [],

"release": "run-s build test:run && npm publish"
},
"dependencies": {
"isomorphic-fetch": "^3.0.0"
}
}
}

@@ -244,2 +244,3 @@ import { IEmbeddingFunction } from './embeddings/IEmbeddingFunction';

);
}

@@ -246,0 +247,0 @@

@@ -159,3 +159,3 @@ import {

* @param {Document | Documents} [params.documents] - Optional documents of the items to add.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
* @returns {Promise<AddResponse>} - The response from the API. True if successful.
*

@@ -162,0 +162,0 @@ * @example

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

import 'isomorphic-fetch';
/* eslint-disable */

@@ -2,0 +3,0 @@ // tslint:disable

@@ -37,2 +37,3 @@ import { Api } from "./generated"

export async function handleError(error: unknown) {
if (error instanceof Response) {

@@ -39,0 +40,0 @@ try {

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

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