@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nhtio/encoder",
3
- "version": "0.1.0-master-1c669c73",
3
+ "version": "0.1.0-master-a0341ac6",
4
4
  "description": "A portable cross-environment encoder / decoder for complex and structured data",
5
5
  "keywords": [],
6
6
  "author": "Jak Giveon <jak@nht.io>",
@@ -124028,22 +124028,19 @@ const isLuxonDateTime = (value) => {
124028
124028
  if (value instanceof DateTime$1) return true;
124029
124029
  if ("object" !== typeof value || null === value) return false;
124030
124030
  if (!("isLuxonDateTime" in value)) return false;
124031
- if (value.isLuxonDateTime !== true) return false;
124032
- return typeof value.toMillis === "function";
124031
+ return value.isLuxonDateTime === true;
124033
124032
  };
124034
124033
  const isLuxonDuration = (value) => {
124035
124034
  if (value instanceof Duration$1) return true;
124036
124035
  if ("object" !== typeof value || null === value) return false;
124037
124036
  if (!("isLuxonDuration" in value)) return false;
124038
- if (value.isLuxonDuration !== true) return false;
124039
- return typeof value.toMillis === "function";
124037
+ return value.isLuxonDuration === true;
124040
124038
  };
124041
124039
  const isLuxonInterval = (value) => {
124042
124040
  if (value instanceof Interval$1) return true;
124043
124041
  if ("object" !== typeof value || null === value) return false;
124044
124042
  if (!("isLuxonInterval" in value)) return false;
124045
- if (value.isLuxonInterval !== true) return false;
124046
- return typeof value.toDuration === "function";
124043
+ return value.isLuxonInterval === true;
124047
124044
  };
124048
124045
  const isLucidBinaryValue = (value) => {
124049
124046
  if (value instanceof Uint8Array) return true;
@@ -124149,4 +124146,4 @@ exports.isSet = isSet;
124149
124146
  exports.isTypedArray = isTypedArray;
124150
124147
  exports.isUniterableObject = isUniterableObject;
124151
124148
  exports.isUnsafeInteger = isUnsafeInteger;
124152
- //# sourceMappingURL=type_guards-DLvYdK9d.js.map
124149
+ //# sourceMappingURL=type_guards-D1YzZ13G.js.map