node-sped-nfe 1.1.8 → 1.1.9

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.
@@ -307,7 +307,6 @@ class Tools {
307
307
  };
308
308
  let xmlSing = await json2xml(evento);
309
309
  xmlSing = await this.xmlSign(xmlSing, { tag: "infEvento" }); //Assinado
310
- fs.writeFileSync("testes/xmlEvento.xml", xmlSing, "utf8");
311
310
  await __classPrivateFieldGet(this, _Tools_instances, "m", _Tools_xmlValido).call(this, xmlSing, `envEvento_v1.00`).catch(reject); //Validar corpo
312
311
  xmlSing = await json2xml({
313
312
  "soap:Envelope": {
@@ -431,8 +430,6 @@ class Tools {
431
430
  });
432
431
  req.write(xmlSing);
433
432
  req.end();
434
- // Opcional: salvar a requisição para análise
435
- fs.writeFileSync("testes/consultaDistribuicao.xml", xmlSing, "utf8");
436
433
  }
437
434
  catch (erro) {
438
435
  reject(erro);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-sped-nfe",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "author": "Kalmon V. Tavares",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",