@mastra/libsql 0.13.2 → 0.13.3

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @mastra/libsql@0.13.2-alpha.1 build /home/runner/work/mastra/mastra/stores/libsql
2
+ > @mastra/libsql@0.13.3-alpha.1 build /home/runner/work/mastra/mastra/stores/libsql
3
3
  > tsup --silent --config tsup.config.ts
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # @mastra/libsql
2
2
 
3
+ ## 0.13.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 03997ae: Update peerdeps
8
+ - d6e39da: Load most recent snapshot from storage
9
+ - Updated dependencies [227c7e6]
10
+ - Updated dependencies [12cae67]
11
+ - Updated dependencies [fd3a3eb]
12
+ - Updated dependencies [6faaee5]
13
+ - Updated dependencies [4232b14]
14
+ - Updated dependencies [a89de7e]
15
+ - Updated dependencies [5a37d0c]
16
+ - Updated dependencies [4bde0cb]
17
+ - Updated dependencies [cf4f357]
18
+ - Updated dependencies [ad888a2]
19
+ - Updated dependencies [481751d]
20
+ - Updated dependencies [2454423]
21
+ - Updated dependencies [194e395]
22
+ - Updated dependencies [a722c0b]
23
+ - Updated dependencies [c30bca8]
24
+ - Updated dependencies [3b5fec7]
25
+ - Updated dependencies [a8f129d]
26
+ - @mastra/core@0.14.0
27
+
28
+ ## 0.13.3-alpha.1
29
+
30
+ ### Patch Changes
31
+
32
+ - 03997ae: Update peerdeps
33
+ - @mastra/core@0.14.0-alpha.7
34
+
35
+ ## 0.13.3-alpha.0
36
+
37
+ ### Patch Changes
38
+
39
+ - d6e39da: Load most recent snapshot from storage
40
+ - Updated dependencies [6faaee5]
41
+ - Updated dependencies [4232b14]
42
+ - Updated dependencies [a89de7e]
43
+ - Updated dependencies [cf4f357]
44
+ - Updated dependencies [a722c0b]
45
+ - Updated dependencies [3b5fec7]
46
+ - @mastra/core@0.14.0-alpha.1
47
+
3
48
  ## 0.13.2
4
49
 
5
50
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -2408,7 +2408,7 @@ var WorkflowsLibSQL = class extends storage.WorkflowsStorage {
2408
2408
  const whereClause = conditions.length > 0 ? `WHERE ${conditions.join(" AND ")}` : "";
2409
2409
  try {
2410
2410
  const result = await this.client.execute({
2411
- sql: `SELECT * FROM ${storage.TABLE_WORKFLOW_SNAPSHOT} ${whereClause}`,
2411
+ sql: `SELECT * FROM ${storage.TABLE_WORKFLOW_SNAPSHOT} ${whereClause} ORDER BY createdAt DESC LIMIT 1`,
2412
2412
  args
2413
2413
  });
2414
2414
  if (!result.rows?.[0]) {