mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-27 08:45:07 +00:00
Critical fix for v0.1.7 that resolves native module loading failure.
Changes:
- Fixed case sensitivity: VectorDB → VectorDb in type checks
- Native module exports VectorDb (lowercase 'b')
- Code was checking for VectorDB (uppercase 'B')
- Re-export as VectorDB for API consistency
- Version bump: 0.1.6 → 0.1.7
This fix resolves the error:
"Native module loaded but VectorDB not found"
Related commits:
- Database pooling: already in storage.rs (commit 44ca725)
- Package name fixes: already applied (ruvector-core)
Next steps:
- Rebuild platform packages with pooling code
- Publish platform packages v0.1.2
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
869 B
TOML
43 lines
869 B
TOML
[package]
|
|
name = "ruvector-tiny-dancer-node"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
description = "Node.js bindings for Tiny Dancer neural routing via NAPI-RS"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
ruvector-tiny-dancer-core = { version = "0.1.1", path = "../ruvector-tiny-dancer-core" }
|
|
|
|
# Node.js bindings
|
|
napi = { workspace = true }
|
|
napi-derive = { workspace = true }
|
|
|
|
# Async
|
|
tokio = { workspace = true }
|
|
|
|
# Error handling
|
|
thiserror = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
|
|
# Serialization
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
# Time
|
|
chrono = { workspace = true }
|
|
|
|
# Concurrency
|
|
parking_lot = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
napi-build = "2.1"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
strip = true
|