boletos-ademitech 1.0.0 → 1.0.3

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # boletos.ts
2
2
 
3
+ teste
4
+
3
5
  #### NPM badges
4
6
  <!-- [START badges] -->
5
7
  [![NPM boletos.ts package](https://img.shields.io/npm/v/boletos.ts.svg)](https://npmjs.org/package/boletos.ts)
@@ -611,7 +611,7 @@ var Boleto = (function () {
611
611
  diferencaEmDias = (diferencaEmDias % 10000);
612
612
  }
613
613
 
614
- return Math.floor(diferencaEmDias).toString();
614
+ return Math.floor(diferencaEmDias).toString().padStart(4, '0');
615
615
  };
616
616
 
617
617
  Boleto.prototype.comEspecieMoeda = function (_especieMoeda) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boletos-ademitech",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "Gerar boletos para vários bancos",
5
5
  "main": "lib/index.js",
6
6
  "directories": {