Skip to content

Commit f38925f

Browse files
committed
Upgrade Fedify to 1.3.0
1 parent f3c8214 commit f38925f

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ To be released.
1616
- Deprecated `S3_URL_BASE` environment variable in favor of
1717
`ASSET_URL_BASE`.
1818

19+
- Upgrade Fedify to 1.3.0
20+
1921
[#59]: https://github.com/dahlia/hollo/pull/59
2022

2123

bun.lockb

1.08 KB
Binary file not shown.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@aws-sdk/client-s3": "^3.577.0",
1515
"@aws-sdk/credential-providers": "^3.577.0",
1616
"@aws-sdk/s3-request-presigner": "^3.577.0",
17-
"@fedify/fedify": "^1.2.7",
17+
"@fedify/fedify": "^1.3.0",
1818
"@fedify/markdown-it-hashtag": "0.2.0",
1919
"@fedify/markdown-it-mention": "^0.1.1",
2020
"@fedify/postgres": "^0.2.1",

src/federation/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ import { isPost, toAnnounce, toCreate, toObject } from "./post";
8888
export const federation = createFederation<void>({
8989
kv: new PostgresKvStore(postgres),
9090
queue: new ParallelMessageQueue(new PostgresMessageQueue(postgres), 10),
91+
userAgent: {
92+
software: `Hollo/${metadata.version}`,
93+
},
9194
// biome-ignore lint/complexity/useLiteralKeys: tsc complains about this (TS4111)
9295
allowPrivateAddress: process.env["ALLOW_PRIVATE_ADDRESS"] === "true",
9396
});

0 commit comments

Comments
 (0)