@mastra/upstash 0.15.0 → 0.15.1-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 +18 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +1 -0
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +1 -0
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1565,7 +1565,7 @@ var WorkflowsUpstash = class extends WorkflowsStorage {
|
|
|
1565
1565
|
throw new Error("Method not implemented.");
|
|
1566
1566
|
}
|
|
1567
1567
|
async persistWorkflowSnapshot(params) {
|
|
1568
|
-
const { namespace = "workflows", workflowName, runId, snapshot } = params;
|
|
1568
|
+
const { namespace = "workflows", workflowName, runId, resourceId, snapshot } = params;
|
|
1569
1569
|
try {
|
|
1570
1570
|
await this.operations.insert({
|
|
1571
1571
|
tableName: TABLE_WORKFLOW_SNAPSHOT,
|
|
@@ -1573,6 +1573,7 @@ var WorkflowsUpstash = class extends WorkflowsStorage {
|
|
|
1573
1573
|
namespace,
|
|
1574
1574
|
workflow_name: workflowName,
|
|
1575
1575
|
run_id: runId,
|
|
1576
|
+
resourceId,
|
|
1576
1577
|
snapshot,
|
|
1577
1578
|
createdAt: /* @__PURE__ */ new Date(),
|
|
1578
1579
|
updatedAt: /* @__PURE__ */ new Date()
|