@flowerforce/flower-core 3.4.0 → 3.5.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.
- package/CHANGELOG.md +14 -0
- package/dist/index.cjs.js +3 -1
- package/dist/index.esm.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## 3.5.1 (2025-04-19)
|
2
|
+
|
3
|
+
|
4
|
+
### 🩹 Fixes
|
5
|
+
|
6
|
+
- remove empty object from init state ([8604346](https://github.com/flowerforce/flower/commit/8604346))
|
7
|
+
|
8
|
+
## 3.5.0 (2025-04-19)
|
9
|
+
|
10
|
+
|
11
|
+
### 🚀 Features
|
12
|
+
|
13
|
+
- remove data blank from init nodes ([#80](https://github.com/flowerforce/flower/pull/80))
|
14
|
+
|
1
15
|
## 3.4.0 (2025-04-19)
|
2
16
|
|
3
17
|
|
package/dist/index.cjs.js
CHANGED
@@ -592,7 +592,9 @@ const FlowerCoreReducers = {
|
|
592
592
|
history,
|
593
593
|
nodes: generateNodes(payload.nodes),
|
594
594
|
nextRules: makeObjectRules(payload.nodes),
|
595
|
-
data: payload.initialData
|
595
|
+
data: Object.keys(payload.initialData).length === 0
|
596
|
+
? state.data ?? {}
|
597
|
+
: payload.initialData
|
596
598
|
});
|
597
599
|
},
|
598
600
|
// TODO usato solo da flower su vscode
|
package/dist/index.esm.js
CHANGED
@@ -590,7 +590,9 @@ const FlowerCoreReducers = {
|
|
590
590
|
history,
|
591
591
|
nodes: generateNodes(payload.nodes),
|
592
592
|
nextRules: makeObjectRules(payload.nodes),
|
593
|
-
data: payload.initialData
|
593
|
+
data: Object.keys(payload.initialData).length === 0
|
594
|
+
? state.data ?? {}
|
595
|
+
: payload.initialData
|
594
596
|
});
|
595
597
|
},
|
596
598
|
// TODO usato solo da flower su vscode
|