@dreamcommerce/aurora 2.10.8-8 → 2.10.8-9

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.
@@ -100,9 +100,9 @@ const useRangeValueController = ({ defaultRange, defaultDate, maxDate, minDate,
100
100
  const endDate = new Date(value[1]);
101
101
  console.log('---------------------------------------------');
102
102
  console.log('start date from array', startDate);
103
- console.log('start date type', typeof startDate);
103
+ console.log('start date type', startDate instanceof Date);
104
104
  console.log('end date from array', endDate);
105
- console.log('end date type', typeof endDate);
105
+ console.log('end date type', endDate instanceof Date);
106
106
  console.log('---------------------------------------------');
107
107
  }
108
108
  const { startDate, endDate } = value || {};
@@ -96,9 +96,9 @@ const useRangeValueController = ({ defaultRange, defaultDate, maxDate, minDate,
96
96
  const endDate = new Date(value[1]);
97
97
  console.log('---------------------------------------------');
98
98
  console.log('start date from array', startDate);
99
- console.log('start date type', typeof startDate);
99
+ console.log('start date type', startDate instanceof Date);
100
100
  console.log('end date from array', endDate);
101
- console.log('end date type', typeof endDate);
101
+ console.log('end date type', endDate instanceof Date);
102
102
  console.log('---------------------------------------------');
103
103
  }
104
104
  const { startDate, endDate } = value || {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "2.10.8-8",
5
+ "version": "2.10.8-9",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",