ublo-lib 1.40.8 → 1.40.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.
@@ -9,7 +9,7 @@ export function isDate(date: any): boolean;
9
9
  export function isSameMonth(date: any, basedate?: Date): boolean;
10
10
  export function isSameDay(date: any, basedate?: Date): boolean;
11
11
  export function isInPastMonth(date: any, basedate?: Date): boolean;
12
- export function inInNextMonth(date: any, basedate?: Date): boolean;
12
+ export function isInNextMonth(date: any, basedate?: Date): boolean;
13
13
  export function isPast(date: any): boolean;
14
14
  export function isBefore(date: any, ref: any): boolean;
15
15
  export function isAfter(date: any, ref: any): boolean;
@@ -78,7 +78,7 @@ export const isInPastMonth = (date, basedate = new Date()) => {
78
78
  return true;
79
79
  return basedateMonth > dateMonth;
80
80
  };
81
- export const inInNextMonth = (date, basedate = new Date()) => {
81
+ export const isInNextMonth = (date, basedate = new Date()) => {
82
82
  if (!(isDate(date) && isDate(basedate)))
83
83
  return false;
84
84
  date.setHours(0, 0, 0, 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.40.8",
3
+ "version": "1.40.9",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.10.8",
6
6
  "leaflet": "^1.9.1",