@siglo/crypto 1.0.0 → 1.0.3
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/README.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,7 +68,10 @@ export const sensitiveWorkflow = flow(
|
|
|
68
68
|
}),
|
|
69
69
|
|
|
70
70
|
// State in checkpoint storage (PostgreSQL/Redis) is encrypted at rest!
|
|
71
|
-
waitForEvent('USER_VERIFIED', {
|
|
71
|
+
waitForEvent('USER_VERIFIED', {
|
|
72
|
+
correlationKey: (ctx: UserContext) => ctx.userId,
|
|
73
|
+
timeout: '24h'
|
|
74
|
+
}),
|
|
72
75
|
|
|
73
76
|
// Decrypt fields back into plaintext upon workflow resumption
|
|
74
77
|
decryptFieldsStep('unprotectPii', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siglo/crypto",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Zero-dependency cryptographic step package for Siglo workflows: timing-safe webhook verification, AEAD envelope field encryption, and context redaction",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|