Skip to content

Commit

Permalink
Exports C14nCanonicalization, ExclusiveCanonicalization (#336)
Browse files Browse the repository at this point in the history
Co-authored-by: angeljqv <angel_jqv@hotmail.com>
  • Loading branch information
cjbarth and angeljqv authored Jul 10, 2023
1 parent ec309ec commit 42aea90
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ const select = require("xpath").select;
const utils = require("./lib/utils");

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);
};
Expand Down

0 comments on commit 42aea90

Please sign in to comment.