@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/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()