investira.sdk 2.3.9 → 2.3.10
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/CHANGELOG.md +4 -0
- package/lib/utils/dates.js +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/lib/utils/dates.js
CHANGED
|
@@ -469,8 +469,8 @@ const dates = {
|
|
|
469
469
|
* @returns {number}
|
|
470
470
|
*/
|
|
471
471
|
workingDaysInMonth: pDate => {
|
|
472
|
-
let xDate1 = dates.addDays(dates.startOf('month',
|
|
473
|
-
let xDate2 = dates.endOf('month',
|
|
472
|
+
let xDate1 = dates.addDays(dates.startOf('month', pDate), -1);
|
|
473
|
+
let xDate2 = dates.endOf('month', pDate);
|
|
474
474
|
return dates.workingDaysBetween(xDate1, xDate2);
|
|
475
475
|
},
|
|
476
476
|
/**
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "investira.sdk",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.10",
|
|
4
4
|
"author": "Investira",
|
|
5
5
|
"description": "Investira SDK",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"type": "commonjs",
|
|
8
8
|
"registry": true,
|
|
9
|
-
"raw": "investira.sdk@2.3.
|
|
9
|
+
"raw": "investira.sdk@2.3.10",
|
|
10
10
|
"escapedName": "investira.sdk",
|
|
11
|
-
"rawSpec": "2.3.
|
|
11
|
+
"rawSpec": "2.3.10",
|
|
12
12
|
"saveSpec": null,
|
|
13
|
-
"fetchSpec": "2.3.
|
|
13
|
+
"fetchSpec": "2.3.10",
|
|
14
14
|
"homepage": "https://investira.com.br/",
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">=11.11.0 <=18.12",
|