lucid-extension-sdk 0.0.291 → 0.0.292

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.
@@ -23,7 +23,7 @@ export type SerializedFields = {
23
23
  };
24
24
  export type SerializedIsoDateObject = {
25
25
  'isoDate': string;
26
- 'displayTimezone'?: string;
26
+ 'displayTimezone'?: string | null;
27
27
  };
28
28
  export type SerializedMillisecondsDateObject = {
29
29
  'ms': number;
@@ -102,7 +102,7 @@ export declare const isSerializedLucidDateObject: (x: unknown) => x is import(".
102
102
  isDateOnly: (x: unknown) => x is boolean | undefined;
103
103
  }> | import("../../guards").DestructureGuardedTypeObj<{
104
104
  isoDate: typeof isString;
105
- displayTimezone: (x: unknown) => x is string | undefined;
105
+ displayTimezone: (x: unknown) => x is string | null | undefined;
106
106
  }>;
107
107
  export declare const isSerializedTimeObject: (subject: unknown) => subject is import("../../guards").DestructureGuardedTypeObj<{
108
108
  hours: typeof isNumber;
@@ -26,7 +26,7 @@ exports.isSerializedMillisecondsDateObject = (0, validators_1.objectValidator)({
26
26
  });
27
27
  const isSerializedIsoDateObject = (0, validators_1.objectValidator)({
28
28
  'isoDate': checks_1.isString,
29
- 'displayTimezone': (0, validators_1.option)(checks_1.isString),
29
+ 'displayTimezone': (0, validators_1.nullableOption)(checks_1.isString),
30
30
  });
31
31
  exports.isSerializedLucidDateObject = (0, validators_1.either)(exports.isSerializedMillisecondsDateObject, isSerializedIsoDateObject);
32
32
  exports.isSerializedTimeObject = (0, validators_1.objectValidator)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.291",
3
+ "version": "0.0.292",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",