@runtypelabs/react-flow 0.2.22 → 0.3.0

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @runtypelabs/react-flow@0.2.22 build /home/runner/_work/core/core/packages/react-flow
2
+ > @runtypelabs/react-flow@0.3.0 build /home/runner/_work/core/core/packages/react-flow
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,7 +10,7 @@
10
10
  CLI Cleaning output folder
11
11
  CJS Build start
12
12
  ESM Build start
13
- CJS dist/index.js 105.43 KB
14
- CJS ⚡️ Build success in 268ms
15
13
  ESM dist/index.mjs 101.38 KB
16
- ESM ⚡️ Build success in 269ms
14
+ ESM ⚡️ Build success in 241ms
15
+ CJS dist/index.js 105.43 KB
16
+ CJS ⚡️ Build success in 242ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @runtypelabs/react-flow
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e6d59df: Add per-step `when` predicate for conditional step execution. Any step can carry
8
+ a JS expression evaluated at runtime; if falsy the step is skipped with its
9
+ outputVariable set to null and a `step_skip` SSE event emitted. Default-skip-on-
10
+ throw; opt into fail-loud via `errorHandling.onError: 'fail'`.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [e6d59df]
15
+ - @runtypelabs/sdk@1.19.0
16
+
3
17
  ## 0.2.22
4
18
 
5
19
  ### Patch Changes
@@ -1,5 +1,13 @@
1
1
  # @runtypelabs/react-flow-example
2
2
 
3
+ ## 0.0.48
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e6d59df]
8
+ - @runtypelabs/react-flow@0.3.0
9
+ - @runtypelabs/sdk@1.19.0
10
+
3
11
  ## 0.0.47
4
12
 
5
13
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/react-flow-example",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "scripts": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/react-flow",
3
- "version": "0.2.22",
3
+ "version": "0.3.0",
4
4
  "description": "React Flow adapter for building visual flow editors with Runtype",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,7 +16,7 @@
16
16
  "*.css"
17
17
  ],
18
18
  "dependencies": {
19
- "@runtypelabs/sdk": "1.18.1"
19
+ "@runtypelabs/sdk": "1.19.0"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@xyflow/react": "^12.0.0",
@@ -15,6 +15,7 @@ export interface FlowStep {
15
15
  name: string
16
16
  order: number
17
17
  enabled: boolean
18
+ when?: string
18
19
  config: FlowStepConfig
19
20
  }
20
21