@mastra/mssql 1.10.1 → 1.10.2-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
package/dist/docs/SKILL.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -4529,7 +4529,7 @@ var WorkflowsMSSQL = class WorkflowsMSSQL extends _mastra_core_storage.Workflows
|
|
|
4529
4529
|
resourceId: row.resourceId
|
|
4530
4530
|
};
|
|
4531
4531
|
}
|
|
4532
|
-
async updateWorkflowResults({ workflowName, runId, stepId, result, requestContext }) {
|
|
4532
|
+
async updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, state }) {
|
|
4533
4533
|
const table = getTableName({
|
|
4534
4534
|
indexName: _mastra_core_storage.TABLE_WORKFLOW_SNAPSHOT,
|
|
4535
4535
|
schemaName: getSchemaName(this.schema)
|
|
@@ -4561,6 +4561,7 @@ var WorkflowsMSSQL = class WorkflowsMSSQL extends _mastra_core_storage.Workflows
|
|
|
4561
4561
|
snapshot = typeof existingSnapshot === "string" ? JSON.parse(existingSnapshot) : existingSnapshot;
|
|
4562
4562
|
}
|
|
4563
4563
|
snapshot.context[stepId] = result;
|
|
4564
|
+
if (state !== void 0) snapshot.context.__state = state;
|
|
4564
4565
|
snapshot.requestContext = {
|
|
4565
4566
|
...snapshot.requestContext,
|
|
4566
4567
|
...requestContext
|