@dataloop-ai/components 0.19.166 → 0.19.167

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": "@dataloop-ai/components",
3
- "version": "0.19.166",
3
+ "version": "0.19.167",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -150,7 +150,11 @@ export function replaceJSDatesWithStringifiedDates(
150
150
  if (dateKeys.includes(keyToCheck)) {
151
151
  if (typeof value === 'object') {
152
152
  const testKey = Object.keys(toReturn[key])[0]
153
- if (['$gt', '$gte', '$lt', '$lte'].includes(testKey)) {
153
+ if (
154
+ ['$gt', '$gte', '$lt', '$lte', '$eq', '$neq'].includes(
155
+ testKey
156
+ )
157
+ ) {
154
158
  toReturn[key][testKey] = formatToStringDate(
155
159
  toReturn[key][testKey]
156
160
  )