@devlas/dte-sii 2.5.0 → 2.5.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.
Files changed (58) hide show
  1. package/BoletaService.js +1 -1
  2. package/CAF.js +1 -1
  3. package/CafSolicitor.js +1 -1
  4. package/Certificado.js +1 -1
  5. package/ConsumoFolio.js +1 -1
  6. package/DTE.js +1 -1
  7. package/EnviadorSII.js +1 -1
  8. package/Envio.js +1 -1
  9. package/FolioRegistry.js +1 -1
  10. package/FolioService.js +1 -1
  11. package/LibroBase.js +1 -1
  12. package/LibroCompraVenta.js +1 -1
  13. package/LibroGuia.js +1 -1
  14. package/Signer.js +1 -1
  15. package/SiiCertificacion.js +1 -1
  16. package/SiiPortalAuth.js +1 -1
  17. package/SiiSession.js +1 -1
  18. package/cert/BoletaCert.js +1 -1
  19. package/cert/CertFolioHelper.js +1 -1
  20. package/cert/CertRunner.js +1 -1
  21. package/cert/ConfigLoader.js +1 -1
  22. package/cert/IntercambioCert.js +1 -1
  23. package/cert/LibroCompras.js +1 -1
  24. package/cert/LibroGuias.js +1 -1
  25. package/cert/LibroVentas.js +1 -1
  26. package/cert/MuestrasImpresas.js +1 -1
  27. package/cert/SetBase.js +1 -1
  28. package/cert/SetBasico.js +1 -1
  29. package/cert/SetCompra.js +1 -1
  30. package/cert/SetExenta.js +1 -1
  31. package/cert/SetGuia.js +1 -1
  32. package/cert/SetParser.js +1 -1
  33. package/cert/SetsProvider.js +1 -1
  34. package/cert/Simulacion.js +1 -1
  35. package/cert/comunaOficina.js +1 -1
  36. package/cert/index.js +1 -1
  37. package/cert/types.js +1 -1
  38. package/dte-sii.d.ts +1 -1
  39. package/index.js +1 -1
  40. package/package.json +1 -1
  41. package/utils/c14n.js +1 -1
  42. package/utils/calculo.js +1 -1
  43. package/utils/config.js +1 -1
  44. package/utils/constants.js +1 -1
  45. package/utils/emisor.js +1 -1
  46. package/utils/endpoints.js +1 -1
  47. package/utils/error.js +1 -1
  48. package/utils/index.js +1 -1
  49. package/utils/logger.js +1 -1
  50. package/utils/pfx.js +1 -1
  51. package/utils/receptor.js +1 -1
  52. package/utils/referencia.js +1 -1
  53. package/utils/resolucion.js +1 -1
  54. package/utils/rut.js +1 -1
  55. package/utils/sanitize.js +1 -1
  56. package/utils/tokenCache.js +1 -1
  57. package/utils/xml.js +1 -1
  58. package/utils.js +1 -1
package/BoletaService.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * BoletaService
package/CAF.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * CAF (Código de Autorización de Folios)
package/CafSolicitor.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * CafSolicitor.js - Solicitador de CAFs al SII
package/Certificado.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Certificado Digital
package/ConsumoFolio.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * ConsumoFolio.js
package/DTE.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Documento Tributario Electrónico
package/EnviadorSII.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * EnviadorSII.js
package/Envio.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Clases de Envío (EnvioBOLETA, EnvioDTE)
package/FolioRegistry.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * FolioRegistry.js - Registro local de folios
package/FolioService.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * FolioService.js - Servicio de gestión de folios
package/LibroBase.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * LibroBase.js
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * LibroCompraVenta.js
package/LibroGuia.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * LibroGuia.js
package/Signer.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Signer (Firma XML-DSig)
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * SiiCertificacion.js - Automatización del proceso de certificación DTE
package/SiiPortalAuth.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * SiiPortalAuth.js
package/SiiSession.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * SiiSession.js - Manejo de sesiones HTTP con el SII
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * BoletaCert.js
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * CertFolioHelper
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * CertRunner - Orquestador del proceso de certificación SII
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * ConfigLoader - Carga configuración de certificación desde .env
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * IntercambioCert.js
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * LibroCompras.js - Generador de Libro de Compras para Certificación SII
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * LibroGuias.js - Generador de Libro de Guías para Certificación SII
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * LibroVentas.js - Generador de Libro de Ventas para Certificación SII
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * MuestrasImpresas.js
package/cert/SetBase.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Clase Base para Sets de Certificación
package/cert/SetBasico.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Set Básico - Factura, Nota de Crédito, Nota de Débito
package/cert/SetCompra.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Set Factura de Compra
package/cert/SetExenta.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Set Factura Exenta
package/cert/SetGuia.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Set Guía de Despacho
package/cert/SetParser.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * SetParser - Parseo de Sets de Prueba del SII
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * SetsProvider - Obtención y Parseo de Sets de Prueba del SII
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Simulación - Generador del Set de Simulación para certificación SII
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * comunaOficina.js
package/cert/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Módulo de Certificación SII
package/cert/types.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Tipos e interfaces para módulo de Certificación SII
package/dte-sii.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /**
1
+ /**
2
2
  * @devlas/dte-sii - Type Definitions
3
3
  *
4
4
  * TypeScript declarations for @devlas/dte-sii
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * @devlas/dte-sii
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devlas/dte-sii",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Facturación y boletas electrónicas para el SII de Chile. Genera, timbra, firma y envía DTEs, libros electrónicos y automatiza la certificación.",
5
5
  "main": "index.js",
6
6
  "types": "dte-sii.d.ts",
package/utils/c14n.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Módulo de Canonicalización XML (C14N)
package/utils/calculo.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Utilidades de Cálculo
package/utils/config.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Configuración Global
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * constants.js - Constantes centralizadas del SII
package/utils/emisor.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Utilidades de Emisor
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * endpoints.js - URLs centralizadas del SII
package/utils/error.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Clase de Error Personalizada
package/utils/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Utilidades Index
package/utils/logger.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Logger Configurable
package/utils/pfx.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * pfx.js - Loader centralizado de certificados PFX/P12
package/utils/receptor.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Utilidades de Receptor
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Utilidades de Referencia
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Utilidades de Resolución SII
package/utils/rut.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Utilidades de RUT
package/utils/sanitize.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Utilidades de Sanitización
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Token Cache
package/utils/xml.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  /**
4
4
  * Utilidades XML
package/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2026 Devlas SpA — https://devlas.cl
1
+ // Copyright (c) 2026 Devlas SpA — https://devlas.cl
2
2
  // Licencia MIT. Ver archivo LICENSE para mas detalles.
3
3
  // Alias de compatibilidad — redirige a utils/index.js
4
4
  module.exports = require('./utils/index');