@runtypelabs/react-flow 0.1.10 → 0.1.12

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,21 @@
1
1
  # @runtypelabs/react-flow-example
2
2
 
3
+ ## 0.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0e5a64a]
8
+ - @runtypelabs/sdk@1.2.1
9
+ - @runtypelabs/react-flow@0.1.12
10
+
11
+ ## 0.0.9
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [b0bada9]
16
+ - @runtypelabs/sdk@1.2.0
17
+ - @runtypelabs/react-flow@0.1.11
18
+
3
19
  ## 0.0.8
4
20
 
5
21
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/react-flow-example",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
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.1.10",
3
+ "version": "0.1.12",
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.1.0"
19
+ "@runtypelabs/sdk": "1.2.1"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@xyflow/react": "^12.0.0",
@@ -189,7 +189,7 @@ export const SendEmailNode = memo(function SendEmailNode(props: NodeProps) {
189
189
  style={styles.input}
190
190
  value={config.from || ''}
191
191
  onChange={(e) => handleChange('from', e.target.value)}
192
- placeholder="no-reply@messages.runtype.com"
192
+ placeholder="{{_flow.id}}@runtype.email"
193
193
  onKeyDown={(e) => e.stopPropagation()}
194
194
  />
195
195
  </div>
@@ -517,7 +517,7 @@ export function createDefaultStep(type: FlowStepType, order: number = 0): FlowSt
517
517
  return {
518
518
  ...baseStep,
519
519
  config: {
520
- from: 'no-reply@messages.runtype.com',
520
+ from: '{{_flow.id}}@runtype.email',
521
521
  to: '',
522
522
  subject: '',
523
523
  html: '',