@workflow/core 5.0.0-beta.0 → 5.0.0-beta.2
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 +1 -1
- package/dist/capabilities.js +1 -1
- package/dist/class-serialization.js +1 -1
- package/dist/classify-error.js +1 -1
- package/dist/create-hook.js +1 -1
- package/dist/define-hook.js +1 -1
- package/dist/encryption.js +1 -1
- package/dist/events-consumer.d.ts.map +1 -1
- package/dist/events-consumer.js +10 -2
- package/dist/flushable-stream.js +1 -1
- package/dist/global.js +1 -1
- package/dist/index.js +1 -1
- package/dist/logger.js +1 -1
- package/dist/private.d.ts +5 -5
- package/dist/private.d.ts.map +1 -1
- package/dist/private.js +6 -6
- package/dist/runtime/constants.d.ts +1 -0
- package/dist/runtime/constants.d.ts.map +1 -1
- package/dist/runtime/constants.js +7 -2
- package/dist/runtime/helpers.d.ts +2 -2
- package/dist/runtime/helpers.d.ts.map +1 -1
- package/dist/runtime/helpers.js +20 -20
- package/dist/runtime/resume-hook.js +3 -3
- package/dist/runtime/run.d.ts +10 -32
- package/dist/runtime/run.d.ts.map +1 -1
- package/dist/runtime/run.js +54 -29
- package/dist/runtime/runs.d.ts +1 -1
- package/dist/runtime/runs.d.ts.map +1 -1
- package/dist/runtime/runs.js +4 -4
- package/dist/runtime/start.js +15 -5
- package/dist/runtime/step-handler.d.ts +0 -5
- package/dist/runtime/step-handler.d.ts.map +1 -1
- package/dist/runtime/step-handler.js +14 -7
- package/dist/runtime/suspension-handler.js +1 -1
- package/dist/runtime/world.d.ts +4 -3
- package/dist/runtime/world.d.ts.map +1 -1
- package/dist/runtime/world.js +69 -9
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +29 -14
- package/dist/schemas.js +1 -1
- package/dist/serialization-format.d.ts +16 -2
- package/dist/serialization-format.d.ts.map +1 -1
- package/dist/serialization-format.js +28 -3
- package/dist/serialization.d.ts +5 -2
- package/dist/serialization.d.ts.map +1 -1
- package/dist/serialization.js +51 -20
- package/dist/sleep.js +1 -1
- package/dist/source-map.js +1 -1
- package/dist/step/context-storage.js +1 -1
- package/dist/step/get-closure-vars.js +1 -1
- package/dist/step/get-step-metadata.js +1 -1
- package/dist/step/get-workflow-metadata.js +1 -1
- package/dist/step/writable-stream.js +2 -2
- package/dist/step.js +1 -1
- package/dist/symbols.js +1 -1
- package/dist/telemetry/semantic-conventions.js +1 -1
- package/dist/telemetry.js +1 -1
- package/dist/types.js +1 -1
- package/dist/util.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +2 -2
- package/dist/vm/index.js +1 -1
- package/dist/vm/uint8array-base64.js +1 -1
- package/dist/vm/uuid.js +1 -1
- package/dist/workflow/create-hook.js +1 -1
- package/dist/workflow/define-hook.js +1 -1
- package/dist/workflow/get-workflow-metadata.d.ts +11 -0
- package/dist/workflow/get-workflow-metadata.d.ts.map +1 -1
- package/dist/workflow/get-workflow-metadata.js +1 -1
- package/dist/workflow/hook.js +1 -1
- package/dist/workflow/index.js +1 -1
- package/dist/workflow/sleep.js +1 -1
- package/dist/workflow/writable-stream.js +1 -1
- package/dist/workflow.d.ts.map +1 -1
- package/dist/workflow.js +3 -2
- package/docs/api-reference/create-webhook.mdx +37 -18
- package/docs/api-reference/get-workflow-metadata.mdx +61 -0
- package/docs/how-it-works/code-transform.mdx +6 -5
- package/package.json +11 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workflow/core",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.2",
|
|
4
4
|
"description": "Core runtime and engine for Workflow SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
"types": "./dist/runtime.d.ts",
|
|
33
33
|
"default": "./dist/runtime.js"
|
|
34
34
|
},
|
|
35
|
+
"./runtime/run": {
|
|
36
|
+
"types": "./dist/runtime/run.d.ts",
|
|
37
|
+
"default": "./dist/runtime/run.js"
|
|
38
|
+
},
|
|
35
39
|
"./runtime/start": {
|
|
36
40
|
"types": "./dist/runtime/start.d.ts",
|
|
37
41
|
"default": "./dist/runtime/start.js"
|
|
@@ -44,10 +48,6 @@
|
|
|
44
48
|
"types": "./dist/runtime/resume-hook.d.ts",
|
|
45
49
|
"default": "./dist/runtime/resume-hook.js"
|
|
46
50
|
},
|
|
47
|
-
"./private": {
|
|
48
|
-
"types": "./dist/private.d.ts",
|
|
49
|
-
"default": "./dist/private.js"
|
|
50
|
-
},
|
|
51
51
|
"./class-serialization": {
|
|
52
52
|
"types": "./dist/class-serialization.d.ts",
|
|
53
53
|
"default": "./dist/class-serialization.js"
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
"semver": "7.7.4",
|
|
81
81
|
"ulid": "~3.0.1",
|
|
82
82
|
"zod": "4.3.6",
|
|
83
|
-
"@workflow/errors": "5.0.0-beta.
|
|
84
|
-
"@workflow/serde": "5.0.0-beta.
|
|
85
|
-
"@workflow/utils": "5.0.0-beta.
|
|
86
|
-
"@workflow/world": "5.0.0-beta.
|
|
87
|
-
"@workflow/world-local": "5.0.0-beta.
|
|
88
|
-
"@workflow/world-vercel": "5.0.0-beta.
|
|
83
|
+
"@workflow/errors": "5.0.0-beta.1",
|
|
84
|
+
"@workflow/serde": "5.0.0-beta.1",
|
|
85
|
+
"@workflow/utils": "5.0.0-beta.1",
|
|
86
|
+
"@workflow/world": "5.0.0-beta.1",
|
|
87
|
+
"@workflow/world-local": "5.0.0-beta.2",
|
|
88
|
+
"@workflow/world-vercel": "5.0.0-beta.2"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@opentelemetry/api": "1.9.0",
|