ruvector 0.1.6 → 0.1.7

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.
@@ -1,7 +1,7 @@
1
1
  {
2
- "startTime": 1763756693622,
3
- "sessionId": "session-1763756693622",
4
- "lastActivity": 1763756693622,
2
+ "startTime": 1763760756120,
3
+ "sessionId": "session-1763760756120",
4
+ "lastActivity": 1763760756120,
5
5
  "sessionDuration": 0,
6
6
  "totalTasks": 1,
7
7
  "successfulTasks": 1,
@@ -1,10 +1,10 @@
1
1
  [
2
2
  {
3
- "id": "cmd-hooks-1763756693831",
3
+ "id": "cmd-hooks-1763760756593",
4
4
  "type": "hooks",
5
5
  "success": true,
6
- "duration": 20.199486999999976,
7
- "timestamp": 1763756693851,
6
+ "duration": 58.755398000000014,
7
+ "timestamp": 1763760756656,
8
8
  "metadata": {}
9
9
  }
10
10
  ]
package/dist/index.js CHANGED
@@ -34,8 +34,8 @@ try {
34
34
  implementation = require('ruvector-core');
35
35
  implementationType = 'native';
36
36
  // Verify it's actually working
37
- if (typeof implementation.VectorDB !== 'function') {
38
- throw new Error('Native module loaded but VectorDB not found');
37
+ if (typeof implementation.VectorDb !== 'function') {
38
+ throw new Error('Native module loaded but VectorDb not found');
39
39
  }
40
40
  }
41
41
  catch (e) {
@@ -82,7 +82,7 @@ function getVersion() {
82
82
  implementation: implementationType
83
83
  };
84
84
  }
85
- // Export the VectorDB class
86
- exports.VectorDB = implementation.VectorDB;
85
+ // Export the VectorDB class (note: native exports VectorDb, we re-export as VectorDB for consistency)
86
+ exports.VectorDB = implementation.VectorDb;
87
87
  // Export everything from the implementation
88
88
  exports.default = implementation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruvector",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "High-performance vector database for Node.js with automatic native/WASM fallback",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",