@mastra/upstash 0.15.0 → 0.15.1-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/CHANGELOG.md +9 -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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/upstash
|
|
2
2
|
|
|
3
|
+
## 0.15.1-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
|
|
10
|
+
- @mastra/core@0.16.4-alpha.1
|
|
11
|
+
|
|
3
12
|
## 0.15.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1567,7 +1567,7 @@ var WorkflowsUpstash = class extends storage.WorkflowsStorage {
|
|
|
1567
1567
|
throw new Error("Method not implemented.");
|
|
1568
1568
|
}
|
|
1569
1569
|
async persistWorkflowSnapshot(params) {
|
|
1570
|
-
const { namespace = "workflows", workflowName, runId, snapshot } = params;
|
|
1570
|
+
const { namespace = "workflows", workflowName, runId, resourceId, snapshot } = params;
|
|
1571
1571
|
try {
|
|
1572
1572
|
await this.operations.insert({
|
|
1573
1573
|
tableName: storage.TABLE_WORKFLOW_SNAPSHOT,
|
|
@@ -1575,6 +1575,7 @@ var WorkflowsUpstash = class extends storage.WorkflowsStorage {
|
|
|
1575
1575
|
namespace,
|
|
1576
1576
|
workflow_name: workflowName,
|
|
1577
1577
|
run_id: runId,
|
|
1578
|
+
resourceId,
|
|
1578
1579
|
snapshot,
|
|
1579
1580
|
createdAt: /* @__PURE__ */ new Date(),
|
|
1580
1581
|
updatedAt: /* @__PURE__ */ new Date()
|