@fedify/fedify 0.13.2 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +24 -1
- package/esm/sig/http.js +1 -1
- package/package.json +1 -1
package/CHANGES.md
CHANGED
@@ -3,6 +3,29 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 0.13.4
|
7
|
+
--------------
|
8
|
+
|
9
|
+
Released on September 1, 2024.
|
10
|
+
|
11
|
+
- Fixed `fedify inbox` command where it had ignored `-a`/`--accept-follow`
|
12
|
+
options when no `-f`/`--follow` option was provided. [[#132]]
|
13
|
+
|
14
|
+
[#132]: https://github.com/dahlia/fedify/issues/132
|
15
|
+
|
16
|
+
|
17
|
+
Version 0.13.3
|
18
|
+
--------------
|
19
|
+
|
20
|
+
Released on August 30, 2024.
|
21
|
+
|
22
|
+
- Fixed an incompatibility with Meta's [Threads] where sent activities had not
|
23
|
+
been verified by their inbox. [[#125]]
|
24
|
+
|
25
|
+
[Threads]: https://www.threads.net/
|
26
|
+
[#125]: https://github.com/dahlia/fedify/issues/125
|
27
|
+
|
28
|
+
|
6
29
|
Version 0.13.2
|
7
30
|
--------------
|
8
31
|
|
@@ -41,7 +64,7 @@ Released on August 7, 2024.
|
|
41
64
|
- `new Question()` constructor now accepts `voters` option.
|
42
65
|
- `Question.clone()` method now accepts `voters` option.
|
43
66
|
|
44
|
-
- HTTP Signatures
|
67
|
+
- HTTP Signatures verification now can be optionally skipped for the sake of
|
45
68
|
testing. [[#110]]
|
46
69
|
|
47
70
|
- 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());
|