xoev-xwasser 1.0.6 → 101.0.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 +2 -2
- package/codelist.json +63 -62
- package/package.json +2 -2
- package/xoev-xwasser-utils.d.ts +45 -45
- package/xoev_xwasser.d.ts +69 -51
- package/xoev_xwasser.js +69 -69
- package/xoev_xwasser_bg.wasm +0 -0
- package/xoev_xwasser_bg.wasm.d.ts +26 -26
- package/xwasser-v101.xsdb.bin +0 -0
- package/xwasser-v100.xsdb.bin +0 -0
package/README.md
CHANGED
|
@@ -532,7 +532,7 @@ Schema validation requires the separate `@raxb/validate-wasm` package:
|
|
|
532
532
|
npm install @raxb/validate-wasm
|
|
533
533
|
```
|
|
534
534
|
|
|
535
|
-
The `.xsdb.bin` file is included in the npm package and contains the compiled XWasser XSD schema for version 1.0.
|
|
535
|
+
The `.xsdb.bin` file is included in the npm package and contains the compiled XWasser XSD schema for version 1.0.1.
|
|
536
536
|
|
|
537
537
|
### Node.js
|
|
538
538
|
|
|
@@ -586,7 +586,7 @@ Automatically detect the XWasser schema version from an XML document:
|
|
|
586
586
|
import { detect_version } from "xoev-xwasser";
|
|
587
587
|
|
|
588
588
|
const version = detect_version(xmlString.slice(0, 1024));
|
|
589
|
-
console.log(version); // e.g. "
|
|
589
|
+
console.log(version); // e.g. "101"
|
|
590
590
|
```
|
|
591
591
|
|
|
592
592
|
The function only needs the first ~1KB of the XML to detect the version from the namespace declaration.
|