mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
ec517fa225
* Add features.encryption to WorkflowMetadata Expose a `features` object on `getWorkflowMetadata()` so library authors can detect at runtime whether encryption is enabled for the current workflow run, allowing them to conditionally handle sensitive data serialization. * Improve docs example: show workflow-level encryption check Step inputs are serialized before the step body runs, so the encryption check should happen in the workflow function before passing data to steps. * Fix docs example: show encryption check on step return value Step return values are serialized to the event log after the step body runs, so this is where the check is actually useful - controlling what data gets persisted as output. * Fix docs typecheck: declare external function in code sample * minor
117 B
117 B
@workflow/core
| @workflow/core |
|---|
| minor |
Add features.encryption to WorkflowMetadata returned by getWorkflowMetadata()