@lowdefy/client 4.5.1 → 4.5.2

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.
@@ -36,6 +36,9 @@ const createIcon = (Icons)=>{
36
36
  const AiOutlineLoading3Quarters = Icons['AiOutlineLoading3Quarters'];
37
37
  const AiOutlineExclamationCircle = Icons['AiOutlineExclamationCircle'];
38
38
  const formatTitle = (title)=>{
39
+ if (!title || !type.isString(title)) {
40
+ return '';
41
+ }
39
42
  let spacedTitle = title.replace(/([A-Z])/g, ' $1').trim();
40
43
  return spacedTitle.substring(spacedTitle.indexOf(' ') + 1);
41
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/client",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Lowdefy Client",
6
6
  "homepage": "https://lowdefy.com",
@@ -34,10 +34,10 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "4.8.0",
37
- "@lowdefy/block-utils": "4.5.1",
38
- "@lowdefy/engine": "4.5.1",
39
- "@lowdefy/helpers": "4.5.1",
40
- "@lowdefy/layout": "4.5.1",
37
+ "@lowdefy/block-utils": "4.5.2",
38
+ "@lowdefy/engine": "4.5.2",
39
+ "@lowdefy/helpers": "4.5.2",
40
+ "@lowdefy/layout": "4.5.2",
41
41
  "classnames": "2.3.2",
42
42
  "react": "18.2.0",
43
43
  "react-dom": "18.2.0"
@@ -45,7 +45,7 @@
45
45
  "devDependencies": {
46
46
  "@emotion/jest": "11.10.5",
47
47
  "@jest/globals": "28.1.3",
48
- "@lowdefy/jest-yaml-transform": "4.5.1",
48
+ "@lowdefy/jest-yaml-transform": "4.5.2",
49
49
  "@swc/cli": "0.1.63",
50
50
  "@swc/core": "1.3.99",
51
51
  "@swc/jest": "0.2.29",