ruvector 0.1.6 → 0.1.8
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":
|
|
3
|
-
"sessionId": "session-
|
|
4
|
-
"lastActivity":
|
|
2
|
+
"startTime": 1764089274237,
|
|
3
|
+
"sessionId": "session-1764089274237",
|
|
4
|
+
"lastActivity": 1764089274237,
|
|
5
5
|
"sessionDuration": 0,
|
|
6
6
|
"totalTasks": 1,
|
|
7
7
|
"successfulTasks": 1,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"id": "cmd-hooks-
|
|
3
|
+
"id": "cmd-hooks-1764089274375",
|
|
4
4
|
"type": "hooks",
|
|
5
5
|
"success": true,
|
|
6
|
-
"duration":
|
|
7
|
-
"timestamp":
|
|
6
|
+
"duration": 10.93833699999999,
|
|
7
|
+
"timestamp": 1764089274386,
|
|
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.
|
|
38
|
-
throw new Error('Native module loaded but
|
|
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.
|
|
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.
|
|
3
|
+
"version": "0.1.8",
|
|
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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"directory": "npm/packages/ruvector"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"ruvector
|
|
46
|
+
"@ruvector/core": "^0.1.3",
|
|
47
47
|
"commander": "^11.1.0",
|
|
48
48
|
"chalk": "^4.1.2",
|
|
49
49
|
"ora": "^5.4.1"
|