Skip to content

Commit

Permalink
Exports C14nCanonicalization, ExclusiveCanonicalization (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
angeljqv authored Jul 8, 2023
1 parent 4b1e39e commit 6bcbaa6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
var select = require("xpath").select;

module.exports = require("./lib/signed-xml");
module.exports.C14nCanonicalization = require("./lib/c14n-canonicalization").C14nCanonicalization;
module.exports.C14nCanonicalizationWithComments = require("./lib/c14n-canonicalization").C14nCanonicalizationWithComments;
module.exports.ExclusiveCanonicalization = require("./lib/exclusive-canonicalization").ExclusiveCanonicalization;
module.exports.ExclusiveCanonicalizationWithComments = require("./lib/exclusive-canonicalization").ExclusiveCanonicalizationWithComments;
module.exports.xpath = function (node, xpath) {
return select(xpath, node);
};

0 comments on commit 6bcbaa6

Please sign in to comment.