@mastra/dynamodb 1.4.0 → 1.4.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/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- 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 +2 -1
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -16,12 +16,13 @@ export declare class WorkflowStorageDynamoDB extends WorkflowsStorage {
|
|
|
16
16
|
* Helper to delay with exponential backoff and jitter
|
|
17
17
|
*/
|
|
18
18
|
private delay;
|
|
19
|
-
updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, }: {
|
|
19
|
+
updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, state, }: {
|
|
20
20
|
workflowName: string;
|
|
21
21
|
runId: string;
|
|
22
22
|
stepId: string;
|
|
23
23
|
result: StepResult<any, any, any, any>;
|
|
24
24
|
requestContext: Record<string, any>;
|
|
25
|
+
state?: Record<string, any>;
|
|
25
26
|
}): Promise<Record<string, StepResult<any, any, any, any>>>;
|
|
26
27
|
updateWorkflowState({ workflowName, runId, opts, }: {
|
|
27
28
|
workflowName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/workflows/index.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC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AAY,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CA6EpG;IAEK,qBAAqB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsB3G;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/dynamodb",
|
|
3
|
-
"version": "1.4.0",
|
|
3
|
+
"version": "1.4.1-alpha.0",
|
|
4
4
|
"description": "DynamoDB storage adapter for Mastra",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"tsx": "^4.23.1",
|
|
39
39
|
"typescript": "^7.0.2",
|
|
40
40
|
"vitest": "4.1.11",
|
|
41
|
-
"@internal/lint": "0.0.
|
|
42
|
-
"@internal/
|
|
43
|
-
"@internal/
|
|
44
|
-
"@mastra/core": "1.
|
|
41
|
+
"@internal/lint": "0.0.141",
|
|
42
|
+
"@internal/types-builder": "0.0.116",
|
|
43
|
+
"@internal/storage-test-utils": "0.0.137",
|
|
44
|
+
"@mastra/core": "1.76.0-alpha.2"
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://mastra.ai",
|
|
47
47
|
"repository": {
|