@nhtio/encoder 0.1.0-master-29813f8e → 0.1.0-master-1c669c73

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.
@@ -124026,19 +124026,22 @@ const isLuxonDateTime = (value) => {
124026
124026
  if (value instanceof DateTime$1) return true;
124027
124027
  if ("object" !== typeof value || null === value) return false;
124028
124028
  if (!("isLuxonDateTime" in value)) return false;
124029
- return value.isLuxonDateTime === true;
124029
+ if (value.isLuxonDateTime !== true) return false;
124030
+ return typeof value.toMillis === "function";
124030
124031
  };
124031
124032
  const isLuxonDuration = (value) => {
124032
124033
  if (value instanceof Duration$1) return true;
124033
124034
  if ("object" !== typeof value || null === value) return false;
124034
124035
  if (!("isLuxonDuration" in value)) return false;
124035
- return value.isLuxonDuration === true;
124036
+ if (value.isLuxonDuration !== true) return false;
124037
+ return typeof value.toMillis === "function";
124036
124038
  };
124037
124039
  const isLuxonInterval = (value) => {
124038
124040
  if (value instanceof Interval$1) return true;
124039
124041
  if ("object" !== typeof value || null === value) return false;
124040
124042
  if (!("isLuxonInterval" in value)) return false;
124041
- return value.isLuxonInterval === true;
124043
+ if (value.isLuxonInterval !== true) return false;
124044
+ return typeof value.toDuration === "function";
124042
124045
  };
124043
124046
  const isLucidBinaryValue = (value) => {
124044
124047
  if (value instanceof Uint8Array) return true;
@@ -124147,4 +124150,4 @@ export {
124147
124150
  isInstanceOf as y,
124148
124151
  isNumber as z
124149
124152
  };
124150
- //# sourceMappingURL=type_guards-BAhiOypL.mjs.map
124153
+ //# sourceMappingURL=type_guards-zVeNM-tg.mjs.map