@ouim/vectoriadb-server 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouim/vectoriadb-server",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -24,7 +24,19 @@ export default class VectoriaDBServer {
24
24
  this.minSaveIntervalMs = Number(opts.minSaveIntervalMs) || 10 * 1000 // minimum time between auto-saves
25
25
 
26
26
  // internal mutation-tracking state
27
- this._mutationMethods = new Set(['add', 'addMany', 'update', 'remove', 'clear', 'insert', 'upsert', 'replace', 'put', 'delete'])
27
+ this._mutationMethods = new Set([
28
+ 'add',
29
+ 'addMany',
30
+ 'update',
31
+ 'remove',
32
+ 'removeMany',
33
+ 'clear',
34
+ 'insert',
35
+ 'upsert',
36
+ 'replace',
37
+ 'put',
38
+ 'delete',
39
+ ])
28
40
  this._mutationTimestamps = []
29
41
  this._inactivityTimer = null
30
42
  this._lastBurstAt = 0