fix: implement automatic version detection from package.json
- Replace hardcoded version string with dynamic reading from package.json - Add version caching for performance - Export getBrainyVersion function from main index - Ensures version stays automatically synchronized with releases
This commit is contained in:
parent
b01a9ea0e3
commit
fe7158600a
2 changed files with 23 additions and 3 deletions
|
|
@ -50,6 +50,9 @@ export {
|
|||
getStatistics
|
||||
}
|
||||
|
||||
// Export version utilities
|
||||
export { getBrainyVersion } from './utils/version.js'
|
||||
|
||||
// Export embedding functionality
|
||||
import {
|
||||
UniversalSentenceEncoder,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue