@mastra/libsql 0.13.2 → 0.13.3-alpha.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/libsql",
3
- "version": "0.13.2",
3
+ "version": "0.13.3-alpha.0",
4
4
  "description": "Libsql 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.4",
32
32
  "@internal/lint": "0.0.29",
33
33
  "@internal/storage-test-utils": "0.0.25",
34
- "@mastra/core": "0.13.2",
34
+ "@mastra/core": "0.14.0-alpha.1",
35
35
  "@internal/types-builder": "0.0.4"
36
36
  },
37
37
  "peerDependencies": {
@@ -97,7 +97,7 @@ export class WorkflowsLibSQL extends WorkflowsStorage {
97
97
 
98
98
  try {
99
99
  const result = await this.client.execute({
100
- sql: `SELECT * FROM ${TABLE_WORKFLOW_SNAPSHOT} ${whereClause}`,
100
+ sql: `SELECT * FROM ${TABLE_WORKFLOW_SNAPSHOT} ${whereClause} ORDER BY createdAt DESC LIMIT 1`,
101
101
  args,
102
102
  });
103
103