@mastra/lance 0.1.2 → 0.1.3-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +24 -0
- package/dist/_tsup-dts-rollup.d.cts +10 -0
- package/dist/_tsup-dts-rollup.d.ts +10 -0
- package/dist/index.cjs +790 -153
- package/dist/index.js +757 -120
- package/package.json +2 -2
- package/src/storage/index.test.ts +1 -1
- package/src/storage/index.ts +473 -61
- package/src/vector/index.test.ts +3 -3
- package/src/vector/index.ts +316 -75
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/lance",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3-alpha.1",
|
|
4
4
|
"description": "Lance provider for Mastra - includes both vector and db storage capabilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"vitest": "^3.2.3",
|
|
32
32
|
"@internal/lint": "0.0.13",
|
|
33
33
|
"@internal/storage-test-utils": "0.0.9",
|
|
34
|
-
"@mastra/core": "^0.10.
|
|
34
|
+
"@mastra/core": "^0.10.7-alpha.1"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@mastra/core": ">=0.10.4-0 <0.11.0"
|
|
@@ -232,7 +232,7 @@ describe('LanceStorage tests', async () => {
|
|
|
232
232
|
|
|
233
233
|
it('should throw error when invalid key type is provided', async () => {
|
|
234
234
|
await expect(storage.load({ tableName: TABLE_MESSAGES, keys: { id: '1' } })).rejects.toThrowError(
|
|
235
|
-
|
|
235
|
+
/Expected numeric value for field 'id', got string/,
|
|
236
236
|
);
|
|
237
237
|
});
|
|
238
238
|
|