@workflow/world-testing 4.0.1-beta.20 → 4.0.1-beta.21

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.
Files changed (38) hide show
  1. package/dist/.well-known/workflow/v1/flow.js +4026 -188
  2. package/dist/.well-known/workflow/v1/flow.js.map +1 -1
  3. package/dist/.well-known/workflow/v1/manifest.debug.json +46 -8
  4. package/dist/.well-known/workflow/v1/step.js +20455 -20434
  5. package/dist/.well-known/workflow/v1/step.js.map +1 -1
  6. package/dist/src/addition.d.mts.map +1 -1
  7. package/dist/src/addition.mjs +5 -1
  8. package/dist/src/addition.mjs.map +1 -1
  9. package/dist/src/errors.d.mts +2 -0
  10. package/dist/src/errors.d.mts.map +1 -0
  11. package/dist/src/errors.mjs +31 -0
  12. package/dist/src/errors.mjs.map +1 -0
  13. package/dist/src/hooks.d.mts +2 -0
  14. package/dist/src/hooks.d.mts.map +1 -0
  15. package/dist/src/hooks.mjs +74 -0
  16. package/dist/src/hooks.mjs.map +1 -0
  17. package/dist/src/index.d.mts.map +1 -1
  18. package/dist/src/index.mjs +6 -0
  19. package/dist/src/index.mjs.map +1 -1
  20. package/dist/src/jsonlines.d.mts +2 -0
  21. package/dist/src/jsonlines.d.mts.map +1 -0
  22. package/dist/src/jsonlines.mjs +32 -0
  23. package/dist/src/jsonlines.mjs.map +1 -0
  24. package/dist/src/null-byte.d.mts +2 -0
  25. package/dist/src/null-byte.d.mts.map +1 -0
  26. package/dist/src/null-byte.mjs +20 -0
  27. package/dist/src/null-byte.mjs.map +1 -0
  28. package/dist/src/server.mjs +9 -1
  29. package/dist/src/server.mjs.map +1 -1
  30. package/dist/src/util.d.mts +3 -4
  31. package/dist/src/util.d.mts.map +1 -1
  32. package/dist/src/util.mjs +26 -4
  33. package/dist/src/util.mjs.map +1 -1
  34. package/dist/workflows/hooks.d.ts +17 -0
  35. package/dist/workflows/hooks.d.ts.map +1 -0
  36. package/dist/workflows/hooks.js +70 -0
  37. package/dist/workflows/hooks.js.map +1 -0
  38. package/package.json +3 -3
@@ -1,24 +1,47 @@
1
1
  {
2
2
  "steps": {
3
+ "workflow/dist/internal/builtins.js": {
4
+ "__builtin_response_array_buffer": {
5
+ "stepId": "__builtin_response_array_buffer"
6
+ },
7
+ "__builtin_response_json": {
8
+ "stepId": "__builtin_response_json"
9
+ },
10
+ "__builtin_response_text": {
11
+ "stepId": "__builtin_response_text"
12
+ }
13
+ },
14
+ "workflows/null-byte.ts": {
15
+ "nullByteStep": {
16
+ "stepId": "step//workflows/null-byte.ts//nullByteStep"
17
+ }
18
+ },
3
19
  "workflows/addition.ts": {
4
20
  "add": {
5
21
  "stepId": "step//workflows/addition.ts//add"
6
22
  }
7
23
  },
24
+ "workflow/dist/stdlib.js": {
25
+ "fetch": {
26
+ "stepId": "step//workflow/dist/stdlib.js//fetch"
27
+ }
28
+ },
8
29
  "workflows/noop.ts": {
9
30
  "noop": {
10
31
  "stepId": "step//workflows/noop.ts//noop"
11
32
  }
12
33
  },
13
- "workflow/dist/internal/builtins.js": {
14
- "__builtin_response_array_buffer": {
15
- "stepId": "__builtin_response_array_buffer"
16
- },
17
- "__builtin_response_json": {
18
- "stepId": "__builtin_response_json"
34
+ "workflows/retriable-and-fatal.ts": {
35
+ "stepThatFails": {
36
+ "stepId": "step//workflows/retriable-and-fatal.ts//stepThatFails"
19
37
  },
20
- "__builtin_response_text": {
21
- "stepId": "__builtin_response_text"
38
+ "stepThatThrowsRetryableError": {
39
+ "stepId": "step//workflows/retriable-and-fatal.ts//stepThatThrowsRetryableError"
40
+ }
41
+ },
42
+ "workflows/hooks.ts": {
43
+ "writeEvent": {
44
+ "stepId": "step//workflows/hooks.ts//writeEvent"
22
45
  }
23
46
  }
24
47
  },
@@ -28,10 +51,25 @@
28
51
  "workflowId": "workflow//workflows/addition.ts//addition"
29
52
  }
30
53
  },
54
+ "workflows/hooks.ts": {
55
+ "collectWithHook": {
56
+ "workflowId": "workflow//workflows/hooks.ts//collectWithHook"
57
+ }
58
+ },
31
59
  "workflows/noop.ts": {
32
60
  "brokenWf": {
33
61
  "workflowId": "workflow//workflows/noop.ts//brokenWf"
34
62
  }
63
+ },
64
+ "workflows/retriable-and-fatal.ts": {
65
+ "retryableAndFatalErrorWorkflow": {
66
+ "workflowId": "workflow//workflows/retriable-and-fatal.ts//retryableAndFatalErrorWorkflow"
67
+ }
68
+ },
69
+ "workflows/null-byte.ts": {
70
+ "nullByteWorkflow": {
71
+ "workflowId": "workflow//workflows/null-byte.ts//nullByteWorkflow"
72
+ }
35
73
  }
36
74
  }
37
75
  }