Skip to content

Commit

Permalink
fix(apiToken): Signal should automatically be forwarded to childern
Browse files Browse the repository at this point in the history
  • Loading branch information
pilsy committed Sep 16, 2024
1 parent bb3f855 commit 4ca6221
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chrono-forge",
"version": "0.6.9",
"version": "0.6.10",
"description": "A comprehensive framework for building resilient Temporal workflows, advanced state management, and real-time streaming activities in TypeScript. Designed for a seamless developer experience with powerful abstractions, dynamic orchestration, and full control over distributed systems.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/workflows/StatefulWorkflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export abstract class StatefulWorkflow<
this.log.info(`Updating apiToken...`);
this.apiToken = apiToken;
this.pendingUpdate = true;
this.forwardSignalToChildren('apiToken', apiToken);
}
}

Expand Down

0 comments on commit 4ca6221

Please sign in to comment.