investira.sdk 2.3.6 → 2.3.7

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 CHANGED
@@ -479,3 +479,8 @@ O contrutor para a criação das mensagem foi alterado.
479
479
 
480
480
  - [arrays] Inclui função removeDuplicated
481
481
  - [dates] Nova função anniversary
482
+
483
+ # 2.3.7
484
+
485
+ - [arrays] Inclui função removeDuplicated
486
+ - [dates] Correção do nome da função para nextMonthAnniversary
@@ -644,7 +644,7 @@ const dates = {
644
644
  * @param {Date} pDate
645
645
  * @returns
646
646
  */
647
- nextMonthAniversary: pDate => {
647
+ nextMonthAnniversary: pDate => {
648
648
  //Próximo período
649
649
  let xDataFim = dates.addMonths(pDate, 1);
650
650
  //Ajusta datafim: Se dia inicial for maior que dia final,
@@ -904,7 +904,7 @@ const dates = {
904
904
  }
905
905
  if (xNextDate < xCurrentDate) {
906
906
  //Incrementa um mês
907
- xNextDate = dates.nextMonthAniversary(xNextDate);
907
+ xNextDate = dates.nextMonthAnniversary(xNextDate);
908
908
  }
909
909
  } else if (pSchedule.type === 'Y') {
910
910
  if (!pSchedule.month) {
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "investira.sdk",
3
- "version": "2.3.6",
3
+ "version": "2.3.7",
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.6",
9
+ "raw": "investira.sdk@2.3.7",
10
10
  "escapedName": "investira.sdk",
11
- "rawSpec": "2.3.6",
11
+ "rawSpec": "2.3.7",
12
12
  "saveSpec": null,
13
- "fetchSpec": "2.3.6",
13
+ "fetchSpec": "2.3.7",
14
14
  "homepage": "https://investira.com.br/",
15
15
  "engines": {
16
16
  "node": ">=11.11.0 <=18.12",