ruvector 0.1.19 → 0.1.20
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": 1764098223504,
|
|
3
|
+
"sessionId": "session-1764098223504",
|
|
4
|
+
"lastActivity": 1764098223504,
|
|
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-1764098223654",
|
|
4
4
|
"type": "hooks",
|
|
5
5
|
"success": true,
|
|
6
|
-
"duration":
|
|
7
|
-
"timestamp":
|
|
6
|
+
"duration": 9.898746000000017,
|
|
7
|
+
"timestamp": 1764098223664,
|
|
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) {
|
|
@@ -77,7 +77,7 @@ function getVersion() {
|
|
|
77
77
|
implementation: implementationType
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
// Export the VectorDB class
|
|
81
|
-
exports.VectorDB = implementation.
|
|
80
|
+
// Export the VectorDB class
|
|
81
|
+
exports.VectorDB = implementation.VectorDB;
|
|
82
82
|
// Export everything from the implementation
|
|
83
83
|
exports.default = implementation;
|