@fedify/fedify 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +13 -1
- package/esm/sig/http.js +1 -1
- package/package.json +1 -1
package/CHANGES.md
CHANGED
@@ -3,6 +3,18 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 0.13.3
|
7
|
+
--------------
|
8
|
+
|
9
|
+
Released on August 30, 2024.
|
10
|
+
|
11
|
+
- Fixed an incompatibility with Meta's [Threads] where sent activities had not
|
12
|
+
been verified by their inbox. [[#125]]
|
13
|
+
|
14
|
+
[Threads]: https://www.threads.net/
|
15
|
+
[#125]: https://github.com/dahlia/fedify/issues/125
|
16
|
+
|
17
|
+
|
6
18
|
Version 0.13.2
|
7
19
|
--------------
|
8
20
|
|
@@ -41,7 +53,7 @@ Released on August 7, 2024.
|
|
41
53
|
- `new Question()` constructor now accepts `voters` option.
|
42
54
|
- `Question.clone()` method now accepts `voters` option.
|
43
55
|
|
44
|
-
- HTTP Signatures
|
56
|
+
- HTTP Signatures verification now can be optionally skipped for the sake of
|
45
57
|
testing. [[#110]]
|
46
58
|
|
47
59
|
- The type of `CreateFederationOptions.signatureTimeWindow` property
|
package/esm/sig/http.js
CHANGED
@@ -28,7 +28,7 @@ export async function signRequest(request, privateKey, keyId) {
|
|
28
28
|
}
|
29
29
|
if (!headers.has("Digest") && body != null) {
|
30
30
|
const digest = await dntShim.crypto.subtle.digest("SHA-256", body);
|
31
|
-
headers.set("Digest", `
|
31
|
+
headers.set("Digest", `SHA-256=${encodeBase64(digest)}`);
|
32
32
|
}
|
33
33
|
if (!headers.has("Date")) {
|
34
34
|
headers.set("Date", new Date().toUTCString());
|