cda-schematron-validator 1.0.0 → 1.0.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 (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,7 +12,7 @@ you can now supply a new option parameter `parsedSchematronMap`. You can create
12
12
  ```javascript
13
13
  const fs = require('fs');
14
14
  const dom = require('@xmldom/xmldom').DOMParser;
15
- const { parseSchematron, validation } = require('cda-schematron-validator');
15
+ const { parseSchematron, validate } = require('cda-schematron-validator');
16
16
  const schematronString = fs.readFileSync('SchematronFilePath', 'utf-8').toString();
17
17
  const schematronDoc = new dom().parseFromString(schematronString);
18
18
  const schematronMap = parseSchematron(schematronDoc);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cda-schematron-validator",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Fork of Eric Wadkins' javascript implementation of schematron testing for C-CDA XML documents. This includes bug fixes and some house keeping.",
5
5
  "main": "validator.js",
6
6
  "scripts": {