From 4b87e823d890abbc7187dfa0800277e237427a59 Mon Sep 17 00:00:00 2001 From: Jesse Shawl Date: Thu, 22 Feb 2024 13:31:10 -0600 Subject: [PATCH] Fix node 18 type error (#188) --- src/dpop.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dpop.test.js b/src/dpop.test.js index 77f71f2c..bf04ffe2 100644 --- a/src/dpop.test.js +++ b/src/dpop.test.js @@ -121,7 +121,7 @@ describe("DPoP", () => { }, publicKey, signature, - `${encodedHeader}.${encodedPayload}` + stringToBytes(`${encodedHeader}.${encodedPayload}`) ); expect(verified).toBe(true); });