@integry/sdk 4.7.26 → 4.7.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integry/sdk",
3
- "version": "4.7.26",
3
+ "version": "4.7.27",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -407,6 +407,9 @@ const MultipurposeField = (props: MultipurposeFieldProps) => {
407
407
 
408
408
  // Returns all those strings which are enclosed in curly braces {}
409
409
  const getTags = (str: string) => {
410
+ if (typeof str !== 'string') {
411
+ return [];
412
+ }
410
413
  return str.match(/{[^{}"'<>:]+}/g) || [];
411
414
  };
412
415