From e145f31bba699743d870836084e99827a8586a46 Mon Sep 17 00:00:00 2001 From: batrudinych Date: Tue, 1 Nov 2022 01:55:27 +0300 Subject: [PATCH] correct readme correct the description of an arbitrary algorithm usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c2eb5a..bd0d46c 100644 --- a/README.md +++ b/README.md @@ -360,7 +360,7 @@ jose.JWS.createSign({ format: 'compact' }, key). To create a JWS using a specific algorithm: ```javascript -jose.JWS.createSign({ alg: 'PS256' }, key). +jose.JWS.createSign({ fields: { alg: 'PS256' } }, key). update(input). final(). then(function(result) {