lucid-extension-sdk 0.0.325 → 0.0.326

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.
@@ -158,7 +158,9 @@ function objectValidatorWithList(validatorStructure) {
158
158
  let valid = true;
159
159
  Object.entries(validatorStructure).forEach(([key, validator]) => {
160
160
  if (!validator(subject[key])) {
161
- invalidFields === null || invalidFields === void 0 ? void 0 : invalidFields.push(key);
161
+ if (invalidFields && Array.isArray(invalidFields)) {
162
+ invalidFields.push(key);
163
+ }
162
164
  valid = false;
163
165
  }
164
166
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.325",
3
+ "version": "0.0.326",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",