@nhtio/encoder 0.1.0-master-1c669c73 → 0.1.0-master-a0341ac6

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,22 +124026,19 @@ 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
- if (value.isLuxonDateTime !== true) return false;
124030
- return typeof value.toMillis === "function";
124029
+ return value.isLuxonDateTime === true;
124031
124030
  };
124032
124031
  const isLuxonDuration = (value) => {
124033
124032
  if (value instanceof Duration$1) return true;
124034
124033
  if ("object" !== typeof value || null === value) return false;
124035
124034
  if (!("isLuxonDuration" in value)) return false;
124036
- if (value.isLuxonDuration !== true) return false;
124037
- return typeof value.toMillis === "function";
124035
+ return value.isLuxonDuration === true;
124038
124036
  };
124039
124037
  const isLuxonInterval = (value) => {
124040
124038
  if (value instanceof Interval$1) return true;
124041
124039
  if ("object" !== typeof value || null === value) return false;
124042
124040
  if (!("isLuxonInterval" in value)) return false;
124043
- if (value.isLuxonInterval !== true) return false;
124044
- return typeof value.toDuration === "function";
124041
+ return value.isLuxonInterval === true;
124045
124042
  };
124046
124043
  const isLucidBinaryValue = (value) => {
124047
124044
  if (value instanceof Uint8Array) return true;
@@ -124119,9 +124116,9 @@ const isCustomEncodable = (value) => {
124119
124116
  return DECODE_METHOD in ctor && typeof ctor[DECODE_METHOD] === "function";
124120
124117
  };
124121
124118
  export {
124122
- DECODE_METHOD as D,
124119
+ DateTime$1 as D,
124123
124120
  ENCODE_METHOD as E,
124124
- Info$1 as I,
124121
+ Interval$1 as I,
124125
124122
  Phone as P,
124126
124123
  isCustomEncodable as a,
124127
124124
  isArray as b,
@@ -124130,24 +124127,24 @@ export {
124130
124127
  isLuxonSystemZone as e,
124131
124128
  isLuxonInterval as f,
124132
124129
  isLuxonDuration as g,
124133
- isLuxonDateTime as h,
124130
+ Duration$1 as h,
124134
124131
  isObject$1 as i,
124135
- isPhoneObject as j,
124136
- isTypedArray as k,
124137
- isBigIntTypedArray as l,
124138
- isPrimitive as m,
124139
- isUniterableObject as n,
124140
- isError as o,
124141
- isBigInt as p,
124142
- isUnsafeInteger as q,
124143
- isNegativeInfinity as r,
124144
- isPositiveInfinity as s,
124145
- isNegativeZero as t,
124146
- Interval$1 as u,
124147
- DateTime$1 as v,
124148
- Duration$1 as w,
124132
+ isLuxonDateTime as j,
124133
+ isPhoneObject as k,
124134
+ isTypedArray as l,
124135
+ isBigIntTypedArray as m,
124136
+ isPrimitive as n,
124137
+ isUniterableObject as o,
124138
+ isError as p,
124139
+ isBigInt as q,
124140
+ isUnsafeInteger as r,
124141
+ isNegativeInfinity as s,
124142
+ isPositiveInfinity as t,
124143
+ isNegativeZero as u,
124144
+ DECODE_METHOD as v,
124145
+ Info$1 as w,
124149
124146
  isLucidBinaryValue as x,
124150
124147
  isInstanceOf as y,
124151
124148
  isNumber as z
124152
124149
  };
124153
- //# sourceMappingURL=type_guards-zVeNM-tg.mjs.map
124150
+ //# sourceMappingURL=type_guards-DMqlMT2e.mjs.map