@kiminix/tp-client 1.39.0 → 1.40.0

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.
@@ -6,7 +6,7 @@ var BusinessUtils = /** @class */ (function () {
6
6
  // licence is active if business has an available date that it is not expired
7
7
  BusinessUtils.isLicenceActive = function (licence) {
8
8
  var today = new Date();
9
- return (licence === null || licence === void 0 ? void 0 : licence.to) ? isDayBefore(today, parseISO(licence.to)) : false;
9
+ return (licence === null || licence === void 0 ? void 0 : licence.to) ? isDayBefore(today, parseISO(licence.to), true) : false;
10
10
  };
11
11
  // check if the business is active for a specific date
12
12
  BusinessUtils.isLicenceActiveByDay = function (date, licence) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiminix/tp-client",
3
- "version": "1.39.0",
3
+ "version": "1.40.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [