Skip to content

Commit c607cdd

Browse files
committed
Fix jsonwebkey-thumbprint README
README did not provide a valid example. It does now
1 parent 8ba0c4a commit c607cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jsonwebkey-thumbprint/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const decode = (u: ArrayBuffer) =>
3838
b64ToB64URL(b64ToB64NoPadding(u8ToB64(new Uint8Array(u))));
3939

4040
// Compute the JWK Thumbprint for the public key
41-
console.log(await jwkThumbprint(jwk));
41+
console.log(await jwkThumbprint(jwk, hash, decode));
4242

4343
// Helper functions
4444
const u8ToB64 = (u: Uint8Array) => btoa(String.fromCharCode(...u));

0 commit comments

Comments
 (0)