From 4ca6ca7ae65bd1f59858f994506c23c53ae95016 Mon Sep 17 00:00:00 2001 From: Chris Barth Date: Mon, 9 Oct 2023 16:11:32 -0500 Subject: [PATCH] lint --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c5d03f0b..135ce6bc 100644 --- a/README.md +++ b/README.md @@ -123,12 +123,10 @@ The certificate that will be used to check the signature will first be determine Example: ```javascript -new SignedXml( - { - publicCert: client_public_pem, - getCertFromKeyInfo: () => null - } -); +new SignedXml({ + publicCert: client_public_pem, + getCertFromKeyInfo: () => null, +}); ``` You can use any dom parser you want in your code (or none, depending on your usage). This sample uses [xmldom](https://github.com/xmldom/xmldom), so you should install it first: