ruvector/crates/ruvector-tiny-dancer-node/build.rs
rUv 2b18b6985e fix: Fix case sensitivity bug preventing native module from loading
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>
2025-11-21 21:34:52 +00:00

3 lines
39 B
Rust

fn main() {
napi_build::setup();
}