fix(node): add native packages to bump version (#1738)

We weren't bumping the version, so when users downloaded our package
from npm, they were getting the old binaries.
This commit is contained in:
Will Jones
2024-10-08 22:03:53 -07:00
committed by GitHub
parent 8509f73221
commit aff25e3bf9
7 changed files with 842 additions and 647 deletions

View File

@@ -142,9 +142,9 @@ export class Query<T = number[]> {
Object.keys(entry).forEach((key: string) => {
if (entry[key] instanceof Vector) {
// toJSON() returns f16 array correctly
newObject[key] = (entry[key] as Vector).toJSON()
newObject[key] = (entry[key] as any).toJSON()
} else {
newObject[key] = entry[key]
newObject[key] = entry[key] as any
}
})
return newObject as unknown as T