@mastra/libsql 0.14.2-alpha.0 → 0.14.2-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/CHANGELOG.md +9 -0
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +2 -1
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +2 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3070,11 +3070,13 @@ var WorkflowsLibSQL = class extends WorkflowsStorage {
|
|
|
3070
3070
|
async persistWorkflowSnapshot({
|
|
3071
3071
|
workflowName,
|
|
3072
3072
|
runId,
|
|
3073
|
+
resourceId,
|
|
3073
3074
|
snapshot
|
|
3074
3075
|
}) {
|
|
3075
3076
|
const data = {
|
|
3076
3077
|
workflow_name: workflowName,
|
|
3077
3078
|
run_id: runId,
|
|
3079
|
+
resourceId,
|
|
3078
3080
|
snapshot,
|
|
3079
3081
|
createdAt: /* @__PURE__ */ new Date(),
|
|
3080
3082
|
updatedAt: /* @__PURE__ */ new Date()
|
|
@@ -3405,9 +3407,10 @@ var LibSQLStore = class extends MastraStorage {
|
|
|
3405
3407
|
async persistWorkflowSnapshot({
|
|
3406
3408
|
workflowName,
|
|
3407
3409
|
runId,
|
|
3410
|
+
resourceId,
|
|
3408
3411
|
snapshot
|
|
3409
3412
|
}) {
|
|
3410
|
-
return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, snapshot });
|
|
3413
|
+
return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot });
|
|
3411
3414
|
}
|
|
3412
3415
|
async loadWorkflowSnapshot({
|
|
3413
3416
|
workflowName,
|