Skip to content

Commit 414ec7c

Browse files
committed
remove factory artefact
1 parent 26f2c65 commit 414ec7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/xmldsig-validator-example.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
const fs = require("fs");
22

33
// Try to import from local build first, fallback to published package
4-
let XmlSignerFactory, XmlDSigValidator, Algorithms;
4+
let XmlDSigValidator, Algorithms;
55
try {
6-
({ XmlSignerFactory, XmlDSigValidator, Algorithms } = require("../lib/index"));
6+
({ XmlDSigValidator, Algorithms } = require("../lib/index"));
77
} catch (error) {
8-
({ XmlSignerFactory, XmlDSigValidator, Algorithms } = require("xml-crypto"));
8+
({ XmlDSigValidator, Algorithms } = require("xml-crypto"));
99
}
1010

1111
// Import the signer examples to get signed XML documents

0 commit comments

Comments
 (0)