fiskalizacija2 0.5.0 → 0.6.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
@@ -61,8 +61,10 @@ Moguće generiranje zahtjeva koristeći pomoćne metode:
61
61
 
62
62
  Objekti koji zadovoljavaju sučelja `IERacun` odnosno `IRacun` mogu se generirati iz UBL dokumenata `Invoice` ili `CreditNote`:
63
63
 
64
- - `getERacunFromUbl(xml: string | Buffer): IERacun`
65
- - `getRacunFromUbl(xml: string | Buffer): IRacun`
64
+ - `getERacunFromUbl(doc: string | Buffer | XmlDocument | XmlElement): IERacun`
65
+ - `getRacunFromUbl(doc: string | Buffer | XmlDocument | XmlElement): IRacun`
66
+
67
+ Funkcije prihvaćaju XML kao string, Buffer, ili već parsirane `XmlDocument`/`XmlElement` objekte iz `libxml2-wasm` biblioteke. Automatski prepoznaju i obrađuju StandardBusinessDocument (SBD) omot oko UBL dokumenta.
66
68
 
67
69
  ## Primjeri
68
70