@fedify/relay 2.0.0-dev.158 → 2.0.0-dev.159

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <!-- deno-fmt-ignore-file -->
2
2
 
3
3
  @fedify/relay: ActivityPub relay for Fedify
4
- ============================================
4
+ ===========================================
5
5
 
6
6
  [![JSR][JSR badge]][JSR]
7
7
  [![npm][npm badge]][npm]
@@ -16,9 +16,18 @@ forward activities between federated instances.
16
16
  For comprehensive documentation on building and operating relay servers,
17
17
  see the [*Relay server* section in the Fedify manual][manual].
18
18
 
19
+ [JSR badge]: https://jsr.io/badges/@fedify/relay
20
+ [JSR]: https://jsr.io/@fedify/relay
21
+ [npm badge]: https://img.shields.io/npm/v/@fedify/relay?logo=npm
22
+ [npm]: https://www.npmjs.com/package/@fedify/relay
23
+ [@fedify@hollo.social badge]: https://fedi-badge.deno.dev/@fedify@hollo.social/followers.svg
24
+ [@fedify@hollo.social]: https://hollo.social/@fedify
25
+ [Fedify]: https://fedify.dev/
26
+ [manual]: https://fedify.dev/manual/relay
27
+
19
28
 
20
29
  What is an ActivityPub relay?
21
- ------------------------------
30
+ -----------------------------
22
31
 
23
32
  ActivityPub relays are infrastructure components that help small instances
24
33
  participate effectively in the federated social network by acting as
@@ -131,8 +140,8 @@ const relay = createRelay("litepub", {
131
140
 
132
141
  ### Subscription handling
133
142
 
134
- The `subscriptionHandler` is required and determines whether to approve or reject
135
- subscription requests. For an open relay that accepts all subscriptions:
143
+ The `subscriptionHandler` is required and determines whether to approve or
144
+ reject subscription requests. For an open relay that accepts all subscriptions:
136
145
 
137
146
  ~~~~ typescript
138
147
  const relay = createRelay("mastodon", {
@@ -251,6 +260,8 @@ For production use, choose a persistent storage backend like Redis or
251
260
  PostgreSQL. See the [Fedify documentation on key–value stores] for more
252
261
  details.
253
262
 
263
+ [Fedify documentation on key–value stores]: https://fedify.dev/manual/kv
264
+
254
265
 
255
266
  API reference
256
267
  -------------
@@ -350,14 +361,3 @@ interface RelayFollower {
350
361
  - `actorId`: The actor ID (URL) of the follower
351
362
  - `actor`: The validated Actor object
352
363
  - `state`: The follower's state (`"pending"` or `"accepted"`)
353
-
354
-
355
- [JSR]: https://jsr.io/@fedify/relay
356
- [JSR badge]: https://jsr.io/badges/@fedify/relay
357
- [npm]: https://www.npmjs.com/package/@fedify/relay
358
- [npm badge]: https://img.shields.io/npm/v/@fedify/relay?logo=npm
359
- [@fedify@hollo.social badge]: https://fedi-badge.deno.dev/@fedify@hollo.social/followers.svg
360
- [@fedify@hollo.social]: https://hollo.social/@fedify
361
- [Fedify]: https://fedify.dev/
362
- [Fedify documentation on key–value stores]: https://fedify.dev/manual/kv
363
- [manual]: https://fedify.dev/manual/relay
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { exportSpki, getDocumentLoader, isRelayFollowerData } from "./types-CGwCvqKn.js";
6
+ import { exportSpki, getDocumentLoader, isRelayFollowerData } from "./types-DZ7AG5rc.js";
7
7
  import { MemoryKvStore, signRequest } from "@fedify/fedify";
8
8
  import { createRelay } from "@fedify/relay";
9
9
  import { Accept, Announce, Create, Delete, Follow, Move, Note, Person, Undo, Update } from "@fedify/vocab";
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { exportSpki, getDocumentLoader, isRelayFollowerData } from "./types-CGwCvqKn.js";
6
+ import { exportSpki, getDocumentLoader, isRelayFollowerData } from "./types-DZ7AG5rc.js";
7
7
  import { MemoryKvStore, signRequest } from "@fedify/fedify";
8
8
  import { createRelay } from "@fedify/relay";
9
9
  import { Create, Delete, Follow, Move, Note, Person, Undo, Update } from "@fedify/vocab";
@@ -27515,7 +27515,7 @@ const preloadedContexts = {
27515
27515
  };
27516
27516
  var contexts_default = preloadedContexts;
27517
27517
  var name = "@fedify/vocab-runtime";
27518
- var version = "2.0.0-dev.158+628cd89e";
27518
+ var version = "2.0.0-dev.159+6c07cd44";
27519
27519
  var license = "MIT";
27520
27520
  var exports$1 = { ".": "./src/mod.ts" };
27521
27521
  var description = "Runtime library for @fedify/vocab";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/relay",
3
- "version": "2.0.0-dev.158+628cd89e",
3
+ "version": "2.0.0-dev.159+6c07cd44",
4
4
  "description": "ActivityPub relay support for Fedify",
5
5
  "keywords": [
6
6
  "Fedify",
@@ -50,14 +50,14 @@
50
50
  "dependencies": {
51
51
  "@js-temporal/polyfill": "^0.5.1",
52
52
  "@logtape/logtape": "^1.3.5",
53
- "@fedify/fedify": "^2.0.0-dev.158+628cd89e",
54
- "@fedify/vocab": "2.0.0-dev.158+628cd89e"
53
+ "@fedify/vocab": "2.0.0-dev.159+6c07cd44",
54
+ "@fedify/fedify": "^2.0.0-dev.159+6c07cd44"
55
55
  },
56
56
  "devDependencies": {
57
57
  "tsdown": "^0.12.9",
58
58
  "typescript": "^5.9.3",
59
59
  "urlpattern-polyfill": "^10.1.0",
60
- "@fedify/vocab-runtime": "^2.0.0-dev.158+628cd89e"
60
+ "@fedify/vocab-runtime": "^2.0.0-dev.159+6c07cd44"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "tsdown",