lucid-extension-sdk 0.0.335 → 0.0.336

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.
@@ -7,4 +7,4 @@ export type SerializedSchema = {
7
7
  'PrimaryKey': string[];
8
8
  'FieldLabelOverrides'?: SerializedLabelOverrides | undefined;
9
9
  };
10
- export declare function isSerializedSchema(schema: any): schema is SerializedSchema;
10
+ export declare function isSerializedSchema(schema: unknown): schema is SerializedSchema;
@@ -5,7 +5,7 @@ const checks_1 = require("../../checks");
5
5
  const validators_1 = require("../../validators/validators");
6
6
  const serializedfielddefinition_1 = require("./serializedfielddefinition");
7
7
  function isSerializedSchema(schema) {
8
- if (schema == null) {
8
+ if (!(0, checks_1.isObjectUnsafe)(schema)) {
9
9
  return false;
10
10
  }
11
11
  const fields = schema['Fields'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.335",
3
+ "version": "0.0.336",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",