ksef-client-ts 0.4.0 → 0.5.0

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
@@ -15,6 +15,7 @@ TypeScript client for the Polish National e-Invoice System (KSeF) API v2.
15
15
  - **Streaming batch uploads** — constant-memory batch upload via Web Streams API with ZIP bomb protection
16
16
  - **Incremental export** — HWM-based paginated export with file-based state persistence
17
17
  - **Multiple document structures** — FA, PEF, PEF_KOR, FA_RR with typed FormCode constants and UPO parsing
18
+ - **Invoice XML validation** — three-level client-side validation (well-formedness, XSD schema via Zod, NIP/PESEL checksums) with auto-detection for all 6 invoice types
18
19
  - **Typed errors & fluent builders** — `KSeFError` hierarchy (401, 403, 429, validation) and request builders
19
20
  - **Comprehensive test coverage** — unit + E2E tests across HTTP, crypto, services, workflows; CI on every change
20
21
  - **Zero HTTP dependencies** — native `fetch` (Node 18+); dual ESM/CJS via tsup
@@ -80,6 +81,7 @@ yarn test # Run all tests (vitest)
80
81
 
81
82
  ## Related
82
83
 
84
+ - [KSeF Web Portal](https://ap.ksef.mf.gov.pl/web/) — official KSeF web application (token management, permissions, invoices)
83
85
  - [KSeF official docs](https://github.com/CIRFMF/ksef-docs) — official documentation (Polish)
84
86
  - [KSeF docs translated](https://flopsstuff.github.io/ksef-docs/) — translated documentation (EN/RU/UK)
85
87
  - [ksef-client-csharp](https://github.com/CIRFMF/ksef-client-csharp) — official C# reference client