@fedify/fedify 2.0.0-pr.457.1756 → 2.0.0-pr.458.1785
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/dist/{actor-2Guuxjr1.js → actor--VLnVYXz.js} +1 -1
- package/dist/{actor-eIoAEhXF.cjs → actor-CiSL2a2p.cjs} +185 -185
- package/dist/{actor-BY-XzC2q.js → actor-DNkUFFkh.js} +185 -185
- package/dist/{builder-D2QKpLm6.js → builder-CZSde97X.js} +3 -3
- package/dist/compat/transformers.test.js +14 -14
- package/dist/{docloader-D2zQTLaE.js → docloader-BxuunQZs.js} +2 -2
- package/dist/{esm-DByTH7xs.js → esm-QEA87cVm.js} +1 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/collection.test.js +2 -2
- package/dist/federation/handler.test.js +15 -15
- package/dist/federation/idempotency.test.js +15 -15
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/kv.test.js +2 -2
- package/dist/federation/middleware.test.js +16 -16
- package/dist/federation/mod.cjs +7 -7
- package/dist/federation/mod.js +7 -7
- package/dist/federation/mq.test.js +2 -2
- package/dist/federation/negotiation.test.js +2 -2
- package/dist/federation/retry.test.js +2 -2
- package/dist/federation/router.test.js +2 -2
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-CD9QQ0Ua.js → http-BhpEc9l3.js} +2 -2
- package/dist/{http-BjM7OUp0.js → http-Cte9nops.js} +2 -2
- package/dist/{http-Dj1UXLQM.cjs → http-a0G1hpRn.cjs} +2 -2
- package/dist/{inbox-C6CcG7wq.js → inbox-Cb8RdXWW.js} +1 -1
- package/dist/{key-BYsMGo_J.js → key-CdI1yIJy.js} +2 -2
- package/dist/{keycache-B7yOiB9O.js → keycache-DOfHKENE.js} +1 -1
- package/dist/{keys-PuVTl-6K.js → keys-CHUC78-4.js} +1 -1
- package/dist/{kv-cache-d-bBjfJo.cjs → kv-cache-79bFCewW.cjs} +1 -1
- package/dist/{kv-cache-Czw91yyn.js → kv-cache-DE_UAzCQ.js} +1 -1
- package/dist/{ld-BFLIaSy8.js → ld-CT0gk12A.js} +2 -2
- package/dist/{lookup-BPhZmKkb.js → lookup-DAGHb67t.js} +4 -6
- package/dist/{lookup-DTlUbFW8.cjs → lookup-F01Sg45_.cjs} +4 -6
- package/dist/{lookup-B2Xr_JE7.js → lookup-wnlSK-Zr.js} +188 -190
- package/dist/middleware-B4FfUyht.js +15 -0
- package/dist/middleware-BPTr1_Jg.cjs +15 -0
- package/dist/{middleware-BzLHsR6z.js → middleware-BgFkyoHO.js} +11 -11
- package/dist/middleware-D9m7PQbH.js +26 -0
- package/dist/{middleware-BbqsizTo.js → middleware-DQewnh68.js} +7 -7
- package/dist/{middleware-a5j-LR3U.cjs → middleware-QVu7IGCo.cjs} +7 -7
- package/dist/mod.cjs +7 -7
- package/dist/mod.js +7 -7
- package/dist/nodeinfo/client.test.js +3 -3
- package/dist/nodeinfo/handler.test.js +14 -14
- package/dist/nodeinfo/types.test.js +2 -2
- package/dist/{owner-Nr5k9NOp.js → owner-kYdK5AUv.js} +2 -2
- package/dist/{proof-iZXDCwJw.js → proof-BJ9rweAq.js} +2 -2
- package/dist/{proof-Vk0ZSutq.js → proof-CYQmKDha.js} +3 -3
- package/dist/{proof-CFCfdVmG.cjs → proof-fXgRX-LS.cjs} +3 -3
- package/dist/{send-BPRDFm9z.js → send-BEmBRpdV.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +5 -5
- package/dist/sig/ld.test.js +6 -6
- package/dist/sig/mod.cjs +4 -4
- package/dist/sig/mod.js +4 -4
- package/dist/sig/owner.test.js +6 -6
- package/dist/sig/proof.test.js +6 -6
- package/dist/src/vocab/accept.yaml +1 -1
- package/dist/src/vocab/activity.yaml +1 -1
- package/dist/src/vocab/add.yaml +1 -1
- package/dist/src/vocab/announce.yaml +1 -1
- package/dist/src/vocab/application.yaml +1 -1
- package/dist/src/vocab/arrive.yaml +1 -1
- package/dist/src/vocab/article.yaml +1 -1
- package/dist/src/vocab/audio.yaml +1 -1
- package/dist/src/vocab/block.yaml +1 -1
- package/dist/src/vocab/chatmessage.yaml +1 -1
- package/dist/src/vocab/collection.yaml +1 -1
- package/dist/src/vocab/collectionpage.yaml +1 -1
- package/dist/src/vocab/create.yaml +1 -1
- package/dist/src/vocab/dataintegrityproof.yaml +1 -1
- package/dist/src/vocab/delete.yaml +1 -1
- package/dist/src/vocab/didservice.yaml +1 -1
- package/dist/src/vocab/dislike.yaml +1 -1
- package/dist/src/vocab/document.yaml +1 -1
- package/dist/src/vocab/emoji.yaml +1 -1
- package/dist/src/vocab/emojireact.yaml +1 -1
- package/dist/src/vocab/endpoints.yaml +1 -1
- package/dist/src/vocab/event.yaml +1 -1
- package/dist/src/vocab/export.yaml +1 -1
- package/dist/src/vocab/flag.yaml +1 -1
- package/dist/src/vocab/follow.yaml +1 -1
- package/dist/src/vocab/group.yaml +1 -1
- package/dist/src/vocab/hashtag.yaml +1 -1
- package/dist/src/vocab/ignore.yaml +1 -1
- package/dist/src/vocab/image.yaml +1 -1
- package/dist/src/vocab/intransitiveactivity.yaml +1 -1
- package/dist/src/vocab/invite.yaml +1 -1
- package/dist/src/vocab/join.yaml +1 -1
- package/dist/src/vocab/key.yaml +1 -1
- package/dist/src/vocab/leave.yaml +1 -1
- package/dist/src/vocab/like.yaml +1 -1
- package/dist/src/vocab/link.yaml +1 -1
- package/dist/src/vocab/listen.yaml +1 -1
- package/dist/src/vocab/mention.yaml +1 -1
- package/dist/src/vocab/move.yaml +1 -1
- package/dist/src/vocab/multikey.yaml +1 -1
- package/dist/src/vocab/note.yaml +1 -1
- package/dist/src/vocab/object.yaml +1 -1
- package/dist/src/vocab/offer.yaml +1 -1
- package/dist/src/vocab/orderedcollection.yaml +1 -1
- package/dist/src/vocab/orderedcollectionpage.yaml +1 -1
- package/dist/src/vocab/organization.yaml +1 -1
- package/dist/src/vocab/page.yaml +1 -1
- package/dist/src/vocab/person.yaml +1 -1
- package/dist/src/vocab/place.yaml +1 -1
- package/dist/src/vocab/profile.yaml +1 -1
- package/dist/src/vocab/propertyvalue.yaml +1 -1
- package/dist/src/vocab/question.yaml +1 -1
- package/dist/src/vocab/read.yaml +1 -1
- package/dist/src/vocab/reject.yaml +1 -1
- package/dist/src/vocab/relationship.yaml +1 -1
- package/dist/src/vocab/remove.yaml +1 -1
- package/dist/src/vocab/service.yaml +1 -1
- package/dist/src/vocab/source.yaml +1 -1
- package/dist/src/vocab/tentativeaccept.yaml +1 -1
- package/dist/src/vocab/tentativereject.yaml +1 -1
- package/dist/src/vocab/tombstone.yaml +1 -1
- package/dist/src/vocab/travel.yaml +1 -1
- package/dist/src/vocab/undo.yaml +1 -1
- package/dist/src/vocab/update.yaml +1 -1
- package/dist/src/vocab/video.yaml +1 -1
- package/dist/src/vocab/view.yaml +1 -1
- package/dist/testing/docloader.test.js +2 -2
- package/dist/testing/mod.js +2 -2
- package/dist/{testing-CwgNAGdx.js → testing-CPiwvd6b.js} +1 -1
- package/dist/utils/docloader.test.js +8 -8
- package/dist/utils/kv-cache.test.js +2 -2
- package/dist/utils/mod.cjs +4 -4
- package/dist/utils/mod.js +4 -4
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +3 -3
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +7601 -1990
- package/dist/{vocab-CmeXdP85.cjs → vocab-Cm9We5wr.cjs} +2 -2
- package/dist/{vocab-Fh7TQ89n.js → vocab-CwsU_QlZ.js} +2 -2
- package/dist/webfinger/handler.test.js +14 -14
- package/dist/webfinger/lookup.test.js +3 -3
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/dist/x/cfworkers.test.js +2 -2
- package/package.json +6 -6
- package/dist/middleware-BW3VFwT-.js +0 -15
- package/dist/middleware-C9G4PMA_.js +0 -26
- package/dist/middleware-D1bUaDUp.cjs +0 -15
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Router, RouterError, deno_default, getTypeId } from "./lookup-
|
7
|
-
import { InboxListenerSet } from "./inbox-
|
6
|
+
import { Router, RouterError, deno_default, getTypeId } from "./lookup-wnlSK-Zr.js";
|
7
|
+
import { InboxListenerSet } from "./inbox-Cb8RdXWW.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
|
@@ -42,7 +42,7 @@ var FederationBuilderImpl = class {
|
|
42
42
|
this.collectionTypeIds = {};
|
43
43
|
}
|
44
44
|
async build(options) {
|
45
|
-
const { FederationImpl } = await import("./middleware-
|
45
|
+
const { FederationImpl } = await import("./middleware-D9m7PQbH.js");
|
46
46
|
const f = new FederationImpl(options);
|
47
47
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
48
48
|
f.router = this.router.clone();
|
@@ -3,30 +3,30 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Follow, Person } from "../lookup-
|
6
|
+
import { Follow, Person } from "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-
|
11
|
+
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-BgFkyoHO.js";
|
12
12
|
import "../client-pY7-3icS.js";
|
13
13
|
import "../types-C2XVl6gj.js";
|
14
|
-
import "../actor
|
15
|
-
import "../key-
|
16
|
-
import "../http-
|
17
|
-
import "../ld-
|
18
|
-
import "../owner-
|
19
|
-
import "../proof-
|
20
|
-
import "../docloader-
|
14
|
+
import "../actor--VLnVYXz.js";
|
15
|
+
import "../key-CdI1yIJy.js";
|
16
|
+
import "../http-Cte9nops.js";
|
17
|
+
import "../ld-CT0gk12A.js";
|
18
|
+
import "../owner-kYdK5AUv.js";
|
19
|
+
import "../proof-BJ9rweAq.js";
|
20
|
+
import "../docloader-BxuunQZs.js";
|
21
21
|
import "../kv-cache-DN9pfMBe.js";
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
22
|
+
import "../inbox-Cb8RdXWW.js";
|
23
|
+
import "../builder-CZSde97X.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-DOfHKENE.js";
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
28
|
-
import "../send-
|
29
|
-
import { test } from "../testing-
|
28
|
+
import "../send-BEmBRpdV.js";
|
29
|
+
import { test } from "../testing-CPiwvd6b.js";
|
30
30
|
|
31
31
|
//#region src/compat/transformers.test.ts
|
32
32
|
const federation = new FederationImpl({ kv: new MemoryKvStore() });
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { validateCryptoKey } from "./key-
|
7
|
-
import { doubleKnock } from "./http-
|
6
|
+
import { validateCryptoKey } from "./key-CdI1yIJy.js";
|
7
|
+
import { doubleKnock } from "./http-Cte9nops.js";
|
8
8
|
import { curry } from "es-toolkit";
|
9
9
|
import { UrlError, createActivityPubRequest, getDocumentLoader, getRemoteDocument, logRequest, validatePublicUrl } from "@fedify/vocab-runtime";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { __commonJS, __toESM } from "./lookup-
|
6
|
+
import { __commonJS, __toESM } from "./lookup-wnlSK-Zr.js";
|
7
7
|
|
8
8
|
//#region ../../node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js
|
9
9
|
var require_glob_to_regexp = __commonJS({ "../../node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js"(exports, module) {
|
@@ -3,14 +3,14 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Note, Person } from "../lookup-
|
6
|
+
import { Activity, Note, Person } from "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import "../inbox-
|
12
|
-
import { createFederationBuilder } from "../builder-
|
13
|
-
import { test } from "../testing-
|
11
|
+
import "../inbox-Cb8RdXWW.js";
|
12
|
+
import { createFederationBuilder } from "../builder-CZSde97X.js";
|
13
|
+
import { test } from "../testing-CPiwvd6b.js";
|
14
14
|
import { assertExists } from "../std__assert-DWivtrGR.js";
|
15
15
|
import "../assert_rejects-Ce45JcFg.js";
|
16
16
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { buildCollectionSynchronizationHeader, digest } from "../collection-BzWsN9pB.js";
|
11
|
-
import { test } from "../testing-
|
11
|
+
import { test } from "../testing-CPiwvd6b.js";
|
12
12
|
import "../std__assert-DWivtrGR.js";
|
13
13
|
import "../assert_rejects-Ce45JcFg.js";
|
14
14
|
import "../assert_throws-BNXdRGWP.js";
|
@@ -3,35 +3,35 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, Note, Person } from "../lookup-
|
6
|
+
import { Create, Note, Person } from "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-
|
11
|
+
import { createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-BgFkyoHO.js";
|
12
12
|
import "../client-pY7-3icS.js";
|
13
13
|
import "../types-C2XVl6gj.js";
|
14
|
-
import "../actor
|
15
|
-
import "../key-
|
16
|
-
import { signRequest } from "../http-
|
17
|
-
import "../ld-
|
18
|
-
import "../owner-
|
19
|
-
import "../proof-
|
20
|
-
import "../docloader-
|
14
|
+
import "../actor--VLnVYXz.js";
|
15
|
+
import "../key-CdI1yIJy.js";
|
16
|
+
import { signRequest } from "../http-Cte9nops.js";
|
17
|
+
import "../ld-CT0gk12A.js";
|
18
|
+
import "../owner-kYdK5AUv.js";
|
19
|
+
import "../proof-BJ9rweAq.js";
|
20
|
+
import "../docloader-BxuunQZs.js";
|
21
21
|
import "../kv-cache-DN9pfMBe.js";
|
22
|
-
import { InboxListenerSet } from "../inbox-
|
23
|
-
import "../builder-
|
22
|
+
import { InboxListenerSet } from "../inbox-Cb8RdXWW.js";
|
23
|
+
import "../builder-CZSde97X.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-DOfHKENE.js";
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
28
|
-
import "../send-
|
29
|
-
import { createInboxContext, createRequestContext, mockDocumentLoader, test } from "../testing-
|
28
|
+
import "../send-BEmBRpdV.js";
|
29
|
+
import { createInboxContext, createRequestContext, mockDocumentLoader, test } from "../testing-CPiwvd6b.js";
|
30
30
|
import "../std__assert-DWivtrGR.js";
|
31
31
|
import "../assert_rejects-Ce45JcFg.js";
|
32
32
|
import "../assert_throws-BNXdRGWP.js";
|
33
33
|
import "../assert_not_equals-C80BG-_5.js";
|
34
|
-
import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
34
|
+
import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-CHUC78-4.js";
|
35
35
|
|
36
36
|
//#region src/federation/handler.test.ts
|
37
37
|
test("handleActor()", async () => {
|
@@ -3,35 +3,35 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, Follow, Person } from "../lookup-
|
6
|
+
import { Create, Follow, Person } from "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { createFederation } from "../middleware-
|
11
|
+
import { createFederation } from "../middleware-BgFkyoHO.js";
|
12
12
|
import "../client-pY7-3icS.js";
|
13
13
|
import "../types-C2XVl6gj.js";
|
14
|
-
import "../actor
|
15
|
-
import "../key-
|
16
|
-
import "../http-
|
17
|
-
import "../ld-
|
18
|
-
import "../owner-
|
19
|
-
import { signObject } from "../proof-
|
20
|
-
import "../docloader-
|
14
|
+
import "../actor--VLnVYXz.js";
|
15
|
+
import "../key-CdI1yIJy.js";
|
16
|
+
import "../http-Cte9nops.js";
|
17
|
+
import "../ld-CT0gk12A.js";
|
18
|
+
import "../owner-kYdK5AUv.js";
|
19
|
+
import { signObject } from "../proof-BJ9rweAq.js";
|
20
|
+
import "../docloader-BxuunQZs.js";
|
21
21
|
import "../kv-cache-DN9pfMBe.js";
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
22
|
+
import "../inbox-Cb8RdXWW.js";
|
23
|
+
import "../builder-CZSde97X.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-DOfHKENE.js";
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
28
|
-
import "../send-
|
29
|
-
import { mockDocumentLoader, test } from "../testing-
|
28
|
+
import "../send-BEmBRpdV.js";
|
29
|
+
import { mockDocumentLoader, test } from "../testing-CPiwvd6b.js";
|
30
30
|
import "../std__assert-DWivtrGR.js";
|
31
31
|
import "../assert_rejects-Ce45JcFg.js";
|
32
32
|
import "../assert_throws-BNXdRGWP.js";
|
33
33
|
import "../assert_not_equals-C80BG-_5.js";
|
34
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey } from "../keys-
|
34
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey } from "../keys-CHUC78-4.js";
|
35
35
|
|
36
36
|
//#region src/federation/idempotency.test.ts
|
37
37
|
const kv = new MemoryKvStore();
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Create, Invite, Offer, Update } from "../lookup-
|
6
|
+
import { Activity, Create, Invite, Offer, Update } from "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import { InboxListenerSet } from "../inbox-
|
9
|
-
import { test } from "../testing-
|
8
|
+
import { InboxListenerSet } from "../inbox-Cb8RdXWW.js";
|
9
|
+
import { test } from "../testing-CPiwvd6b.js";
|
10
10
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
11
11
|
|
12
12
|
//#region src/federation/inbox.test.ts
|
@@ -3,13 +3,13 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey } from "../lookup-
|
6
|
+
import { CryptographicKey, Multikey } from "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { KvKeyCache } from "../keycache-
|
12
|
-
import { test } from "../testing-
|
11
|
+
import { KvKeyCache } from "../keycache-DOfHKENE.js";
|
12
|
+
import { test } from "../testing-CPiwvd6b.js";
|
13
13
|
|
14
14
|
//#region src/federation/keycache.test.ts
|
15
15
|
test("KvKeyCache.set()", async () => {
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { test } from "../testing-
|
11
|
+
import { test } from "../testing-CPiwvd6b.js";
|
12
12
|
import "../std__assert-DWivtrGR.js";
|
13
13
|
import "../assert_rejects-Ce45JcFg.js";
|
14
14
|
import "../assert_throws-BNXdRGWP.js";
|
@@ -3,36 +3,36 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person, RouterError, getTypeId, lookupObject } from "../lookup-
|
6
|
+
import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person, RouterError, getTypeId, lookupObject } from "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-
|
11
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-BgFkyoHO.js";
|
12
12
|
import "../client-pY7-3icS.js";
|
13
13
|
import "../types-C2XVl6gj.js";
|
14
|
-
import "../actor
|
15
|
-
import "../key-
|
16
|
-
import { signRequest, verifyRequest } from "../http-
|
17
|
-
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-
|
18
|
-
import { doesActorOwnKey } from "../owner-
|
19
|
-
import { signObject, verifyObject } from "../proof-
|
20
|
-
import { fetchDocumentLoader, getAuthenticatedDocumentLoader } from "../docloader-
|
14
|
+
import "../actor--VLnVYXz.js";
|
15
|
+
import "../key-CdI1yIJy.js";
|
16
|
+
import { signRequest, verifyRequest } from "../http-Cte9nops.js";
|
17
|
+
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-CT0gk12A.js";
|
18
|
+
import { doesActorOwnKey } from "../owner-kYdK5AUv.js";
|
19
|
+
import { signObject, verifyObject } from "../proof-BJ9rweAq.js";
|
20
|
+
import { fetchDocumentLoader, getAuthenticatedDocumentLoader } from "../docloader-BxuunQZs.js";
|
21
21
|
import "../kv-cache-DN9pfMBe.js";
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
22
|
+
import "../inbox-Cb8RdXWW.js";
|
23
|
+
import "../builder-CZSde97X.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-DOfHKENE.js";
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
28
|
-
import "../send-
|
29
|
-
import { mockDocumentLoader, test } from "../testing-
|
28
|
+
import "../send-BEmBRpdV.js";
|
29
|
+
import { mockDocumentLoader, test } from "../testing-CPiwvd6b.js";
|
30
30
|
import { assertStrictEquals } from "../std__assert-DWivtrGR.js";
|
31
31
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
32
32
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
33
33
|
import { assertNotEquals } from "../assert_not_equals-C80BG-_5.js";
|
34
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
35
|
-
import { esm_default } from "../esm-
|
34
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-CHUC78-4.js";
|
35
|
+
import { esm_default } from "../esm-QEA87cVm.js";
|
36
36
|
|
37
37
|
//#region src/testing/fixtures/example.com/create.json
|
38
38
|
var __context$2 = "https://www.w3.org/ns/activitystreams";
|
package/dist/federation/mod.cjs
CHANGED
@@ -3,15 +3,15 @@
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
5
|
require('../transformers-CoBS-oFG.cjs');
|
6
|
-
require('../lookup-
|
7
|
-
require('../actor-
|
8
|
-
const require_middleware = require('../middleware-
|
9
|
-
require('../http-
|
10
|
-
require('../proof-
|
6
|
+
require('../lookup-F01Sg45_.cjs');
|
7
|
+
require('../actor-CiSL2a2p.cjs');
|
8
|
+
const require_middleware = require('../middleware-QVu7IGCo.cjs');
|
9
|
+
require('../http-a0G1hpRn.cjs');
|
10
|
+
require('../proof-fXgRX-LS.cjs');
|
11
11
|
const require_federation = require('../federation-CRpdnOMS.cjs');
|
12
12
|
require('../types-CWgzGaqk.cjs');
|
13
|
-
require('../kv-cache-
|
14
|
-
require('../vocab-
|
13
|
+
require('../kv-cache-79bFCewW.cjs');
|
14
|
+
require('../vocab-Cm9We5wr.cjs');
|
15
15
|
|
16
16
|
exports.InProcessMessageQueue = require_federation.InProcessMessageQueue;
|
17
17
|
exports.MemoryKvStore = require_federation.MemoryKvStore;
|
package/dist/federation/mod.js
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import "../transformers-BFT6d7J5.js";
|
6
|
-
import "../lookup-
|
7
|
-
import "../actor-
|
8
|
-
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-
|
9
|
-
import "../http-
|
10
|
-
import "../proof-
|
6
|
+
import "../lookup-DAGHb67t.js";
|
7
|
+
import "../actor-DNkUFFkh.js";
|
8
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-DQewnh68.js";
|
9
|
+
import "../http-BhpEc9l3.js";
|
10
|
+
import "../proof-CYQmKDha.js";
|
11
11
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-jcR8-ZxP.js";
|
12
12
|
import "../types-BtUjyi5y.js";
|
13
|
-
import "../kv-cache-
|
14
|
-
import "../vocab-
|
13
|
+
import "../kv-cache-DE_UAzCQ.js";
|
14
|
+
import "../vocab-CwsU_QlZ.js";
|
15
15
|
|
16
16
|
export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import { test } from "../testing-
|
10
|
+
import { test } from "../testing-CPiwvd6b.js";
|
11
11
|
import { assertGreater, assertGreaterOrEqual } from "../std__assert-DWivtrGR.js";
|
12
12
|
import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-wnlSK-Zr.js";
|
7
7
|
import "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { acceptsJsonLd } from "../negotiation-C4nFufNk.js";
|
11
|
-
import { test } from "../testing-
|
11
|
+
import { test } from "../testing-CPiwvd6b.js";
|
12
12
|
import "../std__assert-DWivtrGR.js";
|
13
13
|
import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
|
14
14
|
import "../assert_throws-BNXdRGWP.js";
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-wnlSK-Zr.js";
|
7
7
|
import { AssertionError, assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { createExponentialBackoffPolicy } from "../retry-CfF8Gn4d.js";
|
9
|
-
import { test } from "../testing-
|
9
|
+
import { test } from "../testing-CPiwvd6b.js";
|
10
10
|
import { assertNotEquals } from "../assert_not_equals-C80BG-_5.js";
|
11
11
|
|
12
12
|
//#region src/federation/retry.test.ts
|
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Router, RouterError } from "../lookup-
|
6
|
+
import { Router, RouterError } from "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import { test } from "../testing-
|
10
|
+
import { test } from "../testing-CPiwvd6b.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
@@ -3,22 +3,22 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Application, Endpoints, Group, Person, Service } from "../lookup-
|
6
|
+
import { Activity, Application, Endpoints, Group, Person, Service } from "../lookup-wnlSK-Zr.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../actor
|
11
|
-
import "../key-
|
12
|
-
import { verifyRequest } from "../http-
|
13
|
-
import { doesActorOwnKey } from "../owner-
|
14
|
-
import { extractInboxes, sendActivity } from "../send-
|
15
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../actor--VLnVYXz.js";
|
11
|
+
import "../key-CdI1yIJy.js";
|
12
|
+
import { verifyRequest } from "../http-Cte9nops.js";
|
13
|
+
import { doesActorOwnKey } from "../owner-kYdK5AUv.js";
|
14
|
+
import { extractInboxes, sendActivity } from "../send-BEmBRpdV.js";
|
15
|
+
import { mockDocumentLoader, test } from "../testing-CPiwvd6b.js";
|
16
16
|
import "../std__assert-DWivtrGR.js";
|
17
17
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
18
18
|
import "../assert_throws-BNXdRGWP.js";
|
19
19
|
import { assertNotEquals } from "../assert_not_equals-C80BG-_5.js";
|
20
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
21
|
-
import { esm_default } from "../esm-
|
20
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-CHUC78-4.js";
|
21
|
+
import { esm_default } from "../esm-QEA87cVm.js";
|
22
22
|
|
23
23
|
//#region src/federation/send.test.ts
|
24
24
|
test("extractInboxes()", () => {
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default } from "./lookup-
|
6
|
-
import { CryptographicKey, Object as Object$1, isActor } from "./actor-
|
5
|
+
import { deno_default } from "./lookup-DAGHb67t.js";
|
6
|
+
import { CryptographicKey, Object as Object$1, isActor } from "./actor-DNkUFFkh.js";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
9
9
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, deno_default } from "./lookup-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
6
|
+
import { CryptographicKey, deno_default } from "./lookup-wnlSK-Zr.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CdI1yIJy.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
@@ -3,8 +3,8 @@
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
6
|
-
const require_lookup = require('./lookup-
|
7
|
-
const require_actor = require('./actor-
|
6
|
+
const require_lookup = require('./lookup-F01Sg45_.cjs');
|
7
|
+
const require_actor = require('./actor-CiSL2a2p.cjs');
|
8
8
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
9
9
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
10
10
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, deno_default, getTypeId } from "./lookup-
|
6
|
+
import { Activity, deno_default, getTypeId } from "./lookup-wnlSK-Zr.js";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
9
9
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Object as Object$1, deno_default } from "./lookup-
|
7
|
-
import { isActor } from "./actor
|
6
|
+
import { CryptographicKey, Object as Object$1, deno_default } from "./lookup-wnlSK-Zr.js";
|
7
|
+
import { isActor } from "./actor--VLnVYXz.js";
|
8
8
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey } from "./lookup-
|
6
|
+
import { CryptographicKey, Multikey } from "./lookup-wnlSK-Zr.js";
|
7
7
|
|
8
8
|
//#region src/federation/keycache.ts
|
9
9
|
var KvKeyCache = class {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey } from "./lookup-
|
6
|
+
import { CryptographicKey, Multikey } from "./lookup-wnlSK-Zr.js";
|
7
7
|
import { importSpki } from "@fedify/vocab-runtime";
|
8
8
|
|
9
9
|
//#region src/testing/keys.ts
|
@@ -3,7 +3,7 @@
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
6
|
-
const require_http = require('./http-
|
6
|
+
const require_http = require('./http-a0G1hpRn.cjs');
|
7
7
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
8
8
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
9
9
|
const es_toolkit = require_chunk.__toESM(require("es-toolkit"));
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { doubleKnock, validateCryptoKey } from "./http-
|
5
|
+
import { doubleKnock, validateCryptoKey } from "./http-BhpEc9l3.js";
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
7
7
|
import { UrlError, createActivityPubRequest, getDocumentLoader, getRemoteDocument, logRequest, preloadedContexts, validatePublicUrl } from "@fedify/vocab-runtime";
|
8
8
|
import { curry } from "es-toolkit";
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, CryptographicKey, Object as Object$1, deno_default, getTypeId } from "./lookup-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
6
|
+
import { Activity, CryptographicKey, Object as Object$1, deno_default, getTypeId } from "./lookup-wnlSK-Zr.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CdI1yIJy.js";
|
8
8
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|