hnswlib-wasm
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -234,3 +234,13 @@ /***************** GENERATED FILE ********************/ | ||
writeIndex(filename: string): Promise<boolean>; | ||
/** | ||
* Automatically saves the search index after modifications. | ||
* The Default is false, so you must call writeIndex() manually. | ||
* Its good idea to set this to true if you want to save the index after every modification, especially since the browser may refresh or close. | ||
* @param autoSave | ||
* @param fileName | ||
*/ | ||
setAutoSave(autoSave: boolean, fileName: string): void; | ||
/** | ||
* resizes the search index. | ||
@@ -237,0 +247,0 @@ * @param {number} newMaxElements The new maximum number of data points. |
@@ -129,2 +129,3 @@ /***************** GENERATED FILE ********************/ | ||
/***************** GENERATED FILE ********************/ | ||
/***************** GENERATED FILE ********************/ | ||
export const defaultParams = { | ||
@@ -402,1 +403,3 @@ /** | ||
/***************** GENERATED FILE ********************/ | ||
/***************** GENERATED FILE ********************/ |
@@ -234,3 +234,13 @@ /***************** GENERATED FILE ********************/ | ||
writeIndex(filename: string): Promise<boolean>; | ||
/** | ||
* Automatically saves the search index after modifications. | ||
* The Default is false, so you must call writeIndex() manually. | ||
* Its good idea to set this to true if you want to save the index after every modification, especially since the browser may refresh or close. | ||
* @param autoSave | ||
* @param fileName | ||
*/ | ||
setAutoSave(autoSave: boolean, fileName: string): void; | ||
/** | ||
* resizes the search index. | ||
@@ -237,0 +247,0 @@ * @param {number} newMaxElements The new maximum number of data points. |
@@ -14,2 +14,3 @@ /***************** GENERATED FILE ********************/ | ||
/***************** GENERATED FILE ********************/ | ||
/***************** GENERATED FILE ********************/ | ||
@@ -42,1 +43,3 @@ | ||
/***************** GENERATED FILE ********************/ | ||
/***************** GENERATED FILE ********************/ |
{ | ||
"name": "hnswlib-wasm", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "typescript and wasm bindings for Hnswlib", | ||
@@ -5,0 +5,0 @@ "module": "./dist/hnswlib.js", |
3003441
19629