@flozy/editor 11.0.4 → 11.0.5

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.
@@ -92,9 +92,17 @@ const SignaturePopup = props => {
92
92
  };
93
93
  const onChange = e => {
94
94
  e?.stopPropagation();
95
+ const {
96
+ name,
97
+ value
98
+ } = e.target;
99
+ const fieldMap = {
100
+ name: "signedBy",
101
+ email: "signedByEmail"
102
+ };
95
103
  setSignedData({
96
104
  ...signedData,
97
- [e.target.name]: e.target.value
105
+ [fieldMap[name] || name]: value
98
106
  });
99
107
  };
100
108
  const onBrushSize = val => () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "11.0.4",
3
+ "version": "11.0.5",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"