fix: Update WASM dependency to @ruvector/wasm

- Changed optionalDependency from ruvector-wasm to @ruvector/wasm
- Updated require() call to match scoped package name
- Bumped version to 0.1.10
- Published and verified working
This commit is contained in:
rUv 2025-11-25 17:47:49 +00:00
parent 72a2df44c1
commit fa89d5cad8
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "ruvector",
"version": "0.1.9",
"version": "0.1.10",
"description": "High-performance vector database for Node.js with automatic native/WASM fallback",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -49,7 +49,7 @@
"ora": "^5.4.1"
},
"optionalDependencies": {
"ruvector-wasm": "^0.1.1"
"@ruvector/wasm": "^0.1.0"
},
"devDependencies": {
"@types/node": "^20.10.5",

View file

@ -28,7 +28,7 @@ try {
}
try {
implementation = require('ruvector-wasm');
implementation = require('@ruvector/wasm');
implementationType = 'wasm';
} catch (wasmError: any) {
throw new Error(