Loading CHANGES.md +7 −1 Original line number Diff line number Diff line Loading @@ -8,6 +8,12 @@ Version 0.13.3 To be released. - Fixed an incompatibility with Meta's [Threads] where sent activities had not been verified by their inbox. [[#125]] [Threads]: https://www.threads.net/ [#125]: https://github.com/dahlia/fedify/issues/125 Version 0.13.2 -------------- Loading Loading @@ -47,7 +53,7 @@ Released on August 7, 2024. - `new Question()` constructor now accepts `voters` option. - `Question.clone()` method now accepts `voters` option. - HTTP Signatures verficiation now can be optionally skipped for the sake of - HTTP Signatures verification now can be optionally skipped for the sake of testing. [[#110]] - The type of `CreateFederationOptions.signatureTimeWindow` property Loading src/sig/http.ts +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ export async function signRequest( } if (!headers.has("Digest") && body != null) { const digest = await crypto.subtle.digest("SHA-256", body); headers.set("Digest", `sha-256=${encodeBase64(digest)}`); headers.set("Digest", `SHA-256=${encodeBase64(digest)}`); } if (!headers.has("Date")) { headers.set("Date", new Date().toUTCString()); Loading Loading
CHANGES.md +7 −1 Original line number Diff line number Diff line Loading @@ -8,6 +8,12 @@ Version 0.13.3 To be released. - Fixed an incompatibility with Meta's [Threads] where sent activities had not been verified by their inbox. [[#125]] [Threads]: https://www.threads.net/ [#125]: https://github.com/dahlia/fedify/issues/125 Version 0.13.2 -------------- Loading Loading @@ -47,7 +53,7 @@ Released on August 7, 2024. - `new Question()` constructor now accepts `voters` option. - `Question.clone()` method now accepts `voters` option. - HTTP Signatures verficiation now can be optionally skipped for the sake of - HTTP Signatures verification now can be optionally skipped for the sake of testing. [[#110]] - The type of `CreateFederationOptions.signatureTimeWindow` property Loading
src/sig/http.ts +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ export async function signRequest( } if (!headers.has("Digest") && body != null) { const digest = await crypto.subtle.digest("SHA-256", body); headers.set("Digest", `sha-256=${encodeBase64(digest)}`); headers.set("Digest", `SHA-256=${encodeBase64(digest)}`); } if (!headers.has("Date")) { headers.set("Date", new Date().toUTCString()); Loading