Unverified Commit cf13bd78 authored by Hong Minhee's avatar Hong Minhee
Browse files

Fix incompatibility issue with Threads

parent 895c3695
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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
--------------
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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());