@mastra/dynamodb 1.4.4 → 1.4.5-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.
@@ -3,7 +3,7 @@ name: mastra-dynamodb
3
3
  description: Documentation for @mastra/dynamodb. Use when working with @mastra/dynamodb APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/dynamodb"
6
- version: "1.4.4"
6
+ version: "1.4.5-alpha.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.4",
2
+ "version": "1.4.5-alpha.0",
3
3
  "package": "@mastra/dynamodb",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -3094,7 +3094,7 @@ var WorkflowStorageDynamoDB = class WorkflowStorageDynamoDB extends _mastra_core
3094
3094
  entity: "workflow_snapshot",
3095
3095
  workflow_name: workflowName,
3096
3096
  run_id: runId
3097
- }).go();
3097
+ }).go({ consistent: true });
3098
3098
  const now = /* @__PURE__ */ new Date();
3099
3099
  let snapshot;
3100
3100
  let previousUpdatedAt;
@@ -3172,7 +3172,7 @@ var WorkflowStorageDynamoDB = class WorkflowStorageDynamoDB extends _mastra_core
3172
3172
  entity: "workflow_snapshot",
3173
3173
  workflow_name: workflowName,
3174
3174
  run_id: runId
3175
- }).go();
3175
+ }).go({ consistent: true });
3176
3176
  const existingSnapshot = existingRecord.data?.snapshot;
3177
3177
  const { expectedStatus, ...state } = opts;
3178
3178
  if (!existingSnapshot?.context || !(0, _mastra_core_storage.matchesExpectedWorkflowStatus)(existingSnapshot.status, expectedStatus)) {
@@ -3284,7 +3284,7 @@ var WorkflowStorageDynamoDB = class WorkflowStorageDynamoDB extends _mastra_core
3284
3284
  entity: "workflow_snapshot",
3285
3285
  workflow_name: workflowName,
3286
3286
  run_id: runId
3287
- }).go();
3287
+ }).go({ consistent: true });
3288
3288
  if (!result.data?.snapshot) return null;
3289
3289
  return result.data.snapshot;
3290
3290
  } catch (error) {
@@ -3381,7 +3381,7 @@ var WorkflowStorageDynamoDB = class WorkflowStorageDynamoDB extends _mastra_core
3381
3381
  entity: "workflow_snapshot",
3382
3382
  workflow_name: workflowName,
3383
3383
  run_id: runId
3384
- }).go();
3384
+ }).go({ consistent: true });
3385
3385
  if (!result.data) return null;
3386
3386
  const snapshot = result.data.snapshot;
3387
3387
  return {