mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-31 21:49:52 +00:00
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:
parent
72a2df44c1
commit
fa89d5cad8
2 changed files with 3 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ try {
|
|||
}
|
||||
|
||||
try {
|
||||
implementation = require('ruvector-wasm');
|
||||
implementation = require('@ruvector/wasm');
|
||||
implementationType = 'wasm';
|
||||
} catch (wasmError: any) {
|
||||
throw new Error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue