@runtypelabs/react-flow 0.2.22 → 0.3.1

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.1 build /home/runner/_work/core/core/packages/react-flow
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -11,6 +11,6 @@
11
11
  CJS Build start
12
12
  ESM Build start
13
13
  CJS dist/index.js 105.43 KB
14
- CJS ⚡️ Build success in 268ms
14
+ CJS ⚡️ Build success in 160ms
15
15
  ESM dist/index.mjs 101.38 KB
16
- ESM ⚡️ Build success in 269ms
16
+ ESM ⚡️ Build success in 160ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @runtypelabs/react-flow
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [7712f0d]
8
+ - @runtypelabs/sdk@1.19.1
9
+
10
+ ## 0.3.0
11
+
12
+ ### Minor Changes
13
+
14
+ - e6d59df: Add per-step `when` predicate for conditional step execution. Any step can carry
15
+ a JS expression evaluated at runtime; if falsy the step is skipped with its
16
+ outputVariable set to null and a `step_skip` SSE event emitted. Default-skip-on-
17
+ throw; opt into fail-loud via `errorHandling.onError: 'fail'`.
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [e6d59df]
22
+ - @runtypelabs/sdk@1.19.0
23
+
3
24
  ## 0.2.22
4
25
 
5
26
  ### Patch Changes
@@ -1,5 +1,21 @@
1
1
  # @runtypelabs/react-flow-example
2
2
 
3
+ ## 0.0.49
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [7712f0d]
8
+ - @runtypelabs/sdk@1.19.1
9
+ - @runtypelabs/react-flow@0.3.1
10
+
11
+ ## 0.0.48
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [e6d59df]
16
+ - @runtypelabs/react-flow@0.3.0
17
+ - @runtypelabs/sdk@1.19.0
18
+
3
19
  ## 0.0.47
4
20
 
5
21
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/react-flow-example",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
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.1",
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.1"
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