Skip to content

Commit 4997fd4

Browse files
committed
Refactor extract_vector method to support multiple buffer types
- Added a private helper method `buffer_to_uint8_array` to convert various buffer types (Uint8Array, ArrayBuffer, string) to Uint8Array. - Updated the `extract_vector` method to accept a wider range of input types and handle null values. - Adjusted calls to `extract_vector` throughout the DatabaseManager class to remove type assertions for Uint8Array.
1 parent 2fa75d8 commit 4997fd4

File tree

3 files changed

+584
-666
lines changed

3 files changed

+584
-666
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@
4545
"release": "pnpm run build && changeset publish"
4646
},
4747
"dependencies": {
48-
"@libsql/client": "^0.15.7",
49-
"@modelcontextprotocol/sdk": "1.15.0",
50-
"@types/node": "^22.15.21",
51-
"dotenv": "^17.0.0"
48+
"@libsql/client": "^0.15.11",
49+
"@modelcontextprotocol/sdk": "1.17.3",
50+
"@types/node": "^24.3.0",
51+
"dotenv": "^17.2.1"
5252
},
5353
"devDependencies": {
54-
"@changesets/cli": "^2.29.4",
54+
"@changesets/cli": "^2.29.6",
5555
"@types/jest": "^30.0.0",
56-
"jest": "^30.0.0",
57-
"ts-jest": "^29.3.4",
56+
"jest": "^30.0.5",
57+
"ts-jest": "^29.4.1",
5858
"ts-node": "^10.9.2",
59-
"typescript": "^5.8.3"
59+
"typescript": "^5.9.2"
6060
},
6161
"volta": {
6262
"node": "22.17.1"

0 commit comments

Comments
 (0)