investira.sdk 2.2.15 → 2.3.1

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
@@ -450,3 +450,11 @@ O contrutor para a criação das mensagem foi alterado.
450
450
 
451
451
  - [numbers] Aumento da precisão do trunc e do round
452
452
  - [formats] Substituicão do trimRight por trimEnd no friendlyNumber
453
+
454
+ # 2.3.0
455
+
456
+ - [nodejs] 18.12
457
+
458
+ # 2.3.1
459
+
460
+ - [investira.data] Atualização do investira.data
package/lib/hofs/tasks.js CHANGED
@@ -272,9 +272,6 @@ function task(pOptions, pSource = {}) {
272
272
  this.schedule();
273
273
  //Chama afterStop
274
274
  return this.afterStop();
275
- // return this.afterStop().then(() => {
276
- // return this.schedule();
277
- // });
278
275
  };
279
276
 
280
277
  const pvSetNextDate = () => {
@@ -724,7 +724,9 @@ const dates = {
724
724
  .then(rResult => {
725
725
  pCallback(rResult);
726
726
  })
727
- .catch(rErr => pCallback(null, rErr));
727
+ .catch(rErr => {
728
+ pCallback(null, rErr);
729
+ });
728
730
  }, xMilsec);
729
731
  }
730
732
  },
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "investira.sdk",
3
- "version": "2.2.15",
3
+ "version": "2.3.1",
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.2.15",
9
+ "raw": "investira.sdk@2.3.1",
10
10
  "escapedName": "investira.sdk",
11
- "rawSpec": "2.2.15",
11
+ "rawSpec": "2.3.1",
12
12
  "saveSpec": null,
13
- "fetchSpec": "2.2.15",
13
+ "fetchSpec": "2.3.1",
14
14
  "homepage": "https://investira.com.br/",
15
15
  "engines": {
16
- "node": ">=11.11.0 <=14.17.5",
16
+ "node": ">=11.11.0 <=18.12",
17
17
  "npm": ">=6.0.0"
18
18
  },
19
19
  "keywords": [
@@ -42,7 +42,7 @@
42
42
  "moment": "^2.29.4"
43
43
  },
44
44
  "devDependencies": {
45
- "tape": "^4.15.1"
45
+ "tape": "^4.16.1"
46
46
  },
47
47
  "jshintConfig": {
48
48
  "curly": true,