Skip to content

Commit ff0b97e

Browse files
authored
Dimensions bug (#8)
* Fix dimensions bug * Bump version to 0.0.27
1 parent 52100ca commit ff0b97e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@datastax/astra-db-ts",
3-
"version": "0.0.26",
3+
"version": "0.0.27",
44
"description": "Astra DB TS Client",
55
"contributors": [
66
"CRW (http://barnyrubble.tumblr.com/)",

src/collections/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const updateOneInternalOptionsKeys: Set<string> = new Set(
122122

123123
class _CreateCollectionOptions {
124124
vector?: {
125-
dimensions: number;
125+
dimension: number;
126126
metric?: "cosine" | "euclidean" | "dot_product";
127127
} = undefined;
128128
}

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export const LIB_NAME = "astra-db-ts";
2-
export const LIB_VERSION = "0.0.26";
2+
export const LIB_VERSION = "0.0.27";

0 commit comments

Comments
 (0)