@fedify/fedify 1.8.1-dev.1085 → 1.8.1-pr.314.1086
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 +0 -2
- package/dist/{actor-1A9lKn5F.js → actor-9BjazhMw.js} +3 -3
- package/dist/{actor-DGxAq8Vu.js → actor-DWbhlsJt.js} +179 -179
- package/dist/{authdocloader-CulgQUB1.js → authdocloader-4sp9ZqcE.js} +3 -3
- package/dist/{authdocloader-Q9hmx14W.js → authdocloader-DZQlL2Mb.js} +3 -3
- package/dist/{builder-DwGX0zII.js → builder-H8nMQQmc.js} +3 -3
- package/dist/{client-C4Ii_5Vz.js → client-OWD3FJgw.js} +1 -1
- package/dist/compat/mod.d.ts +4 -4
- package/dist/compat/transformers.test.js +17 -17
- package/dist/{context-B6mUZhs_.d.ts → context-0cwxy1ae.d.ts} +2 -2
- package/dist/{context-5-JZgoal.js → context-B70jLrlb.js} +2 -2
- package/dist/{docloader-DZX4FXNq.js → docloader-C9lz1QKo.js} +1 -1
- package/dist/{docloader-KdAOepM4.js → docloader-euSMpkRz.js} +1 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/handler.test.js +19 -19
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.d.ts +3 -3
- package/dist/federation/mod.js +10 -10
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-CMZ4ZGw2.js → http-B353KfXY.js} +3 -3
- package/dist/{http-B2ULamEu.js → http-DjiIXRfp.js} +3 -3
- package/dist/{inbox-C1kXmxS_.js → inbox-B0W6VRj5.js} +2 -2
- package/dist/{key-BN5jFZDX.js → key-Bog3USL4.js} +5 -5
- package/dist/{key-fEYdkO3Z.js → key-C586RANk.js} +2 -2
- package/dist/{key-BDvvEwIC.js → key-CVCoWaUb.js} +4 -4
- package/dist/{key-MW8VYqPH.js → key-D9ztI2tD.js} +3 -3
- package/dist/{keycache-BCrhP4Nl.js → keycache-DUklavX_.js} +1 -1
- package/dist/{keys-aKISIFlI.js → keys-Cg5FL8FO.js} +1 -1
- package/dist/{ld-DYLAaFTz.js → ld-BYwhJljm.js} +3 -3
- package/dist/{lookup-ChOx0yAH.js → lookup-ClTiImdO.js} +5 -4
- package/dist/{lookup-Ci1Mb-AQ.js → lookup-DF1K6ZKo.js} +3 -2
- package/dist/{lookup-Dk8O5WNU.js → lookup-DkWUbh0H.js} +3 -2
- package/dist/{lookup-J_m4YZg0.d.ts → lookup-DyzAlXvF.d.ts} +4 -0
- package/dist/middleware-BKXmhof0.js +17 -0
- package/dist/{middleware-BCBsJjje.js → middleware-BoT0nnCK.js} +10 -10
- package/dist/{middleware-BLAPP3y5.js → middleware-CF_0HiJV.js} +15 -15
- package/dist/middleware-DvgI9HFD.js +33 -0
- package/dist/{mod-D9qE4iHP.d.ts → mod-ZGWTvT4a.d.ts} +1 -1
- package/dist/{mod-BFwgZ7_K.d.ts → mod-tMrYXlJo.d.ts} +4 -0
- package/dist/mod.d.ts +4 -4
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +2 -2
- package/dist/nodeinfo/handler.test.js +18 -18
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-BHEHafmI.js → owner-BmsiLdfG.js} +3 -3
- package/dist/{proof-DMtuS7LN.js → proof-C51Uc6yw.js} +3 -3
- package/dist/{proof-CumuzY0a.js → proof-cOukCsyz.js} +3 -3
- package/dist/runtime/authdocloader.test.js +8 -8
- package/dist/runtime/docloader.test.js +1 -1
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/mod.js +6 -6
- package/dist/{send-DgMAlUHr.js → send-Bf_w1ZdA.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +8 -8
- package/dist/sig/proof.test.js +7 -7
- package/dist/{types-jsvL0oGD.js → types-BeQTN8m4.js} +1 -1
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +74 -6
- package/dist/vocab/mod.d.ts +1 -1
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-uFD3MUpE.js → vocab-DfV7UP4S.js} +178 -178
- package/dist/{vocab-PHRrKZVW.js → vocab-rgzwMihA.js} +5 -4
- package/dist/webfinger/handler.test.js +18 -18
- package/dist/webfinger/lookup.test.js +56 -2
- package/dist/webfinger/mod.d.ts +1 -1
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/hono.d.ts +3 -3
- package/dist/x/sveltekit.d.ts +3 -3
- package/package.json +1 -1
- package/dist/middleware-C8_3GP9Y.js +0 -17
- package/dist/middleware-Ud7bS3Qp.js +0 -33
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-
|
|
6
|
-
import { validateCryptoKey } from "./key-
|
|
7
|
-
import { doubleKnock } from "./http-
|
|
5
|
+
import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-C9lz1QKo.js";
|
|
6
|
+
import { validateCryptoKey } from "./key-C586RANk.js";
|
|
7
|
+
import { doubleKnock } from "./http-B353KfXY.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
|
|
10
10
|
//#region runtime/authdocloader.ts
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { createRequest, getRemoteDocument, logRequest } from "./docloader-
|
|
6
|
+
import { createRequest, getRemoteDocument, logRequest } from "./docloader-euSMpkRz.js";
|
|
7
7
|
import { UrlError, validatePublicUrl } from "./url-kTAI6_KP.js";
|
|
8
|
-
import { validateCryptoKey } from "./key-
|
|
9
|
-
import { doubleKnock } from "./http-
|
|
8
|
+
import { validateCryptoKey } from "./key-D9ztI2tD.js";
|
|
9
|
+
import { doubleKnock } from "./http-DjiIXRfp.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
|
|
12
12
|
//#region runtime/authdocloader.ts
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./docloader-
|
|
6
|
+
import { deno_default } from "./docloader-euSMpkRz.js";
|
|
7
7
|
import { Router, RouterError } from "./router-D3UybECj.js";
|
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
|
9
|
-
import { InboxListenerSet } from "./inbox-
|
|
9
|
+
import { InboxListenerSet } from "./inbox-B0W6VRj5.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
12
12
|
|
|
@@ -34,7 +34,7 @@ var FederationBuilderImpl = class {
|
|
|
34
34
|
this.objectTypeIds = {};
|
|
35
35
|
}
|
|
36
36
|
async build(options) {
|
|
37
|
-
const { FederationImpl } = await import("./middleware-
|
|
37
|
+
const { FederationImpl } = await import("./middleware-DvgI9HFD.js");
|
|
38
38
|
const f = new FederationImpl(options);
|
|
39
39
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
40
40
|
f.router = this.router.clone();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { getUserAgent } from "./docloader-
|
|
6
|
+
import { getUserAgent } from "./docloader-euSMpkRz.js";
|
|
7
7
|
import { parseSemVer } from "./semver-DWClQt_5.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
|
package/dist/compat/mod.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ import "../vocab-By6mpzr-.js";
|
|
|
7
7
|
import "../actor-B4TBtqRP.js";
|
|
8
8
|
import "../http-D1uoUH4N.js";
|
|
9
9
|
import "../owner-CEv_PfyK.js";
|
|
10
|
-
import "../mod-
|
|
11
|
-
import "../lookup-
|
|
12
|
-
import { ActivityTransformer } from "../context-
|
|
10
|
+
import "../mod-tMrYXlJo.js";
|
|
11
|
+
import "../lookup-DyzAlXvF.js";
|
|
12
|
+
import { ActivityTransformer } from "../context-0cwxy1ae.js";
|
|
13
13
|
import "../mq-DYKDDJmp.js";
|
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-
|
|
14
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-ZGWTvT4a.js";
|
|
15
15
|
export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
|
|
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
|
7
7
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
|
|
9
9
|
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
|
10
|
-
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-
|
|
11
|
-
import "../docloader-
|
|
10
|
+
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-CF_0HiJV.js";
|
|
11
|
+
import "../docloader-euSMpkRz.js";
|
|
12
12
|
import "../url-kTAI6_KP.js";
|
|
13
13
|
import "../semver-DWClQt_5.js";
|
|
14
|
-
import "../client-
|
|
14
|
+
import "../client-OWD3FJgw.js";
|
|
15
15
|
import "../router-D3UybECj.js";
|
|
16
16
|
import "../types-C7C_l-jz.js";
|
|
17
17
|
import "../multibase-DeCHcK8L.js";
|
|
18
|
-
import { Follow, Person } from "../vocab-
|
|
18
|
+
import { Follow, Person } from "../vocab-DfV7UP4S.js";
|
|
19
19
|
import "../langstr-DbWheeIS.js";
|
|
20
|
-
import "../lookup-
|
|
20
|
+
import "../lookup-DF1K6ZKo.js";
|
|
21
21
|
import "../type-D2s5lmbZ.js";
|
|
22
|
-
import "../actor-
|
|
23
|
-
import "../key-
|
|
24
|
-
import "../http-
|
|
25
|
-
import "../authdocloader-
|
|
26
|
-
import "../ld-
|
|
27
|
-
import "../owner-
|
|
28
|
-
import "../proof-
|
|
29
|
-
import "../lookup-
|
|
30
|
-
import "../inbox-
|
|
31
|
-
import "../builder-
|
|
22
|
+
import "../actor-9BjazhMw.js";
|
|
23
|
+
import "../key-D9ztI2tD.js";
|
|
24
|
+
import "../http-DjiIXRfp.js";
|
|
25
|
+
import "../authdocloader-DZQlL2Mb.js";
|
|
26
|
+
import "../ld-BYwhJljm.js";
|
|
27
|
+
import "../owner-BmsiLdfG.js";
|
|
28
|
+
import "../proof-C51Uc6yw.js";
|
|
29
|
+
import "../lookup-ClTiImdO.js";
|
|
30
|
+
import "../inbox-B0W6VRj5.js";
|
|
31
|
+
import "../builder-H8nMQQmc.js";
|
|
32
32
|
import "../collection-Dfb0TPno.js";
|
|
33
|
-
import "../keycache-
|
|
33
|
+
import "../keycache-DUklavX_.js";
|
|
34
34
|
import "../retry-BiIhZWgD.js";
|
|
35
|
-
import "../send-
|
|
35
|
+
import "../send-Bf_w1ZdA.js";
|
|
36
36
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
37
37
|
|
|
38
38
|
//#region compat/transformers.test.ts
|
|
@@ -7,8 +7,8 @@ import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object
|
|
|
7
7
|
import { Actor, Recipient } from "./actor-B4TBtqRP.js";
|
|
8
8
|
import { HttpMessageSignaturesSpec } from "./http-D1uoUH4N.js";
|
|
9
9
|
import { GetKeyOwnerOptions } from "./owner-CEv_PfyK.js";
|
|
10
|
-
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-
|
|
11
|
-
import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-
|
|
10
|
+
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-tMrYXlJo.js";
|
|
11
|
+
import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-DyzAlXvF.js";
|
|
12
12
|
import { MessageQueue } from "./mq-DYKDDJmp.js";
|
|
13
13
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
|
14
14
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
6
|
import { RouterError } from "./router-D3UybECj.js";
|
|
7
|
-
import { lookupWebFinger } from "./lookup-
|
|
8
|
-
import { lookupObject, traverseCollection } from "./lookup-
|
|
7
|
+
import { lookupWebFinger } from "./lookup-DF1K6ZKo.js";
|
|
8
|
+
import { lookupObject, traverseCollection } from "./lookup-ClTiImdO.js";
|
|
9
9
|
import { mockDocumentLoader } from "./docloader-09nVWLAZ.js";
|
|
10
10
|
import { trace } from "@opentelemetry/api";
|
|
11
11
|
|
|
@@ -7,16 +7,16 @@ import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
|
7
7
|
import "../assert-DwEa6glZ.js";
|
|
8
8
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
9
9
|
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
|
10
|
-
import "../docloader-
|
|
10
|
+
import "../docloader-euSMpkRz.js";
|
|
11
11
|
import "../url-kTAI6_KP.js";
|
|
12
12
|
import { parseSemVer } from "../semver-DWClQt_5.js";
|
|
13
13
|
import "../router-D3UybECj.js";
|
|
14
14
|
import "../multibase-DeCHcK8L.js";
|
|
15
|
-
import { Activity, Note, Person } from "../vocab-
|
|
15
|
+
import { Activity, Note, Person } from "../vocab-DfV7UP4S.js";
|
|
16
16
|
import "../langstr-DbWheeIS.js";
|
|
17
17
|
import "../type-D2s5lmbZ.js";
|
|
18
|
-
import "../inbox-
|
|
19
|
-
import { createFederationBuilder } from "../builder-
|
|
18
|
+
import "../inbox-B0W6VRj5.js";
|
|
19
|
+
import { createFederationBuilder } from "../builder-H8nMQQmc.js";
|
|
20
20
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
21
21
|
import { assertExists } from "../std__assert-B3iAixc-.js";
|
|
22
22
|
import "../assert_rejects-DceVjUlD.js";
|
|
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
|
7
7
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
8
8
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
9
9
|
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
|
10
|
-
import { acceptsJsonLd, createFederation, handleActor, handleCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-
|
|
11
|
-
import "../docloader-
|
|
10
|
+
import { acceptsJsonLd, createFederation, handleActor, handleCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-CF_0HiJV.js";
|
|
11
|
+
import "../docloader-euSMpkRz.js";
|
|
12
12
|
import "../url-kTAI6_KP.js";
|
|
13
13
|
import "../semver-DWClQt_5.js";
|
|
14
|
-
import "../client-
|
|
14
|
+
import "../client-OWD3FJgw.js";
|
|
15
15
|
import "../router-D3UybECj.js";
|
|
16
16
|
import "../types-C7C_l-jz.js";
|
|
17
17
|
import "../multibase-DeCHcK8L.js";
|
|
18
|
-
import { Create, Note, Person } from "../vocab-
|
|
18
|
+
import { Create, Note, Person } from "../vocab-DfV7UP4S.js";
|
|
19
19
|
import "../langstr-DbWheeIS.js";
|
|
20
|
-
import "../lookup-
|
|
20
|
+
import "../lookup-DF1K6ZKo.js";
|
|
21
21
|
import "../type-D2s5lmbZ.js";
|
|
22
|
-
import "../actor-
|
|
23
|
-
import "../key-
|
|
24
|
-
import { signRequest } from "../http-
|
|
25
|
-
import "../authdocloader-
|
|
26
|
-
import "../ld-
|
|
27
|
-
import "../owner-
|
|
28
|
-
import "../proof-
|
|
29
|
-
import "../lookup-
|
|
30
|
-
import "../inbox-
|
|
31
|
-
import "../builder-
|
|
22
|
+
import "../actor-9BjazhMw.js";
|
|
23
|
+
import "../key-D9ztI2tD.js";
|
|
24
|
+
import { signRequest } from "../http-DjiIXRfp.js";
|
|
25
|
+
import "../authdocloader-DZQlL2Mb.js";
|
|
26
|
+
import "../ld-BYwhJljm.js";
|
|
27
|
+
import "../owner-BmsiLdfG.js";
|
|
28
|
+
import "../proof-C51Uc6yw.js";
|
|
29
|
+
import "../lookup-ClTiImdO.js";
|
|
30
|
+
import "../inbox-B0W6VRj5.js";
|
|
31
|
+
import "../builder-H8nMQQmc.js";
|
|
32
32
|
import "../collection-Dfb0TPno.js";
|
|
33
|
-
import "../keycache-
|
|
33
|
+
import "../keycache-DUklavX_.js";
|
|
34
34
|
import "../retry-BiIhZWgD.js";
|
|
35
|
-
import "../send-
|
|
35
|
+
import "../send-Bf_w1ZdA.js";
|
|
36
36
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
37
37
|
import "../std__assert-B3iAixc-.js";
|
|
38
38
|
import { assertFalse } from "../assert_rejects-DceVjUlD.js";
|
|
@@ -40,8 +40,8 @@ import "../assert_is_error-DQdKoRgb.js";
|
|
|
40
40
|
import "../assert_not_equals-7pyUM3Ib.js";
|
|
41
41
|
import "../assert_throws-DTDC_gwN.js";
|
|
42
42
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
43
|
-
import { createInboxContext, createRequestContext } from "../context-
|
|
44
|
-
import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
43
|
+
import { createInboxContext, createRequestContext } from "../context-B70jLrlb.js";
|
|
44
|
+
import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-Cg5FL8FO.js";
|
|
45
45
|
|
|
46
46
|
//#region federation/handler.test.ts
|
|
47
47
|
test("acceptsJsonLd()", () => {
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
7
|
-
import "../docloader-
|
|
7
|
+
import "../docloader-euSMpkRz.js";
|
|
8
8
|
import "../url-kTAI6_KP.js";
|
|
9
9
|
import "../multibase-DeCHcK8L.js";
|
|
10
|
-
import { Activity, Create, Invite, Offer, Update } from "../vocab-
|
|
10
|
+
import { Activity, Create, Invite, Offer, Update } from "../vocab-DfV7UP4S.js";
|
|
11
11
|
import "../langstr-DbWheeIS.js";
|
|
12
12
|
import "../type-D2s5lmbZ.js";
|
|
13
|
-
import { InboxListenerSet } from "../inbox-
|
|
13
|
+
import { InboxListenerSet } from "../inbox-B0W6VRj5.js";
|
|
14
14
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
15
15
|
import "../assert_is_error-DQdKoRgb.js";
|
|
16
16
|
import { assertThrows } from "../assert_throws-DTDC_gwN.js";
|
|
@@ -7,12 +7,12 @@ import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
|
7
7
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
|
|
9
9
|
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
|
10
|
-
import "../docloader-
|
|
10
|
+
import "../docloader-euSMpkRz.js";
|
|
11
11
|
import "../url-kTAI6_KP.js";
|
|
12
12
|
import "../multibase-DeCHcK8L.js";
|
|
13
|
-
import { CryptographicKey, Multikey } from "../vocab-
|
|
13
|
+
import { CryptographicKey, Multikey } from "../vocab-DfV7UP4S.js";
|
|
14
14
|
import "../langstr-DbWheeIS.js";
|
|
15
|
-
import { KvKeyCache } from "../keycache-
|
|
15
|
+
import { KvKeyCache } from "../keycache-DUklavX_.js";
|
|
16
16
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
17
17
|
|
|
18
18
|
//#region federation/keycache.test.ts
|
|
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
|
7
7
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
|
|
9
9
|
import { MemoryKvStore } from "../kv-D7Yt6pnB.js";
|
|
10
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-
|
|
11
|
-
import { FetchError, fetchDocumentLoader } from "../docloader-
|
|
10
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-CF_0HiJV.js";
|
|
11
|
+
import { FetchError, fetchDocumentLoader } from "../docloader-euSMpkRz.js";
|
|
12
12
|
import "../url-kTAI6_KP.js";
|
|
13
13
|
import "../semver-DWClQt_5.js";
|
|
14
|
-
import "../client-
|
|
14
|
+
import "../client-OWD3FJgw.js";
|
|
15
15
|
import { RouterError } from "../router-D3UybECj.js";
|
|
16
16
|
import "../types-C7C_l-jz.js";
|
|
17
17
|
import "../multibase-DeCHcK8L.js";
|
|
18
|
-
import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person } from "../vocab-
|
|
18
|
+
import { Activity, Announce, Create, Invite, Multikey, Note, Object as Object$1, Offer, Person } from "../vocab-DfV7UP4S.js";
|
|
19
19
|
import "../langstr-DbWheeIS.js";
|
|
20
|
-
import "../lookup-
|
|
20
|
+
import "../lookup-DF1K6ZKo.js";
|
|
21
21
|
import { getTypeId } from "../type-D2s5lmbZ.js";
|
|
22
|
-
import "../actor-
|
|
23
|
-
import "../key-
|
|
24
|
-
import { signRequest, verifyRequest } from "../http-
|
|
25
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
|
26
|
-
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-
|
|
27
|
-
import { doesActorOwnKey } from "../owner-
|
|
28
|
-
import { signObject, verifyObject } from "../proof-
|
|
29
|
-
import { lookupObject } from "../lookup-
|
|
30
|
-
import "../inbox-
|
|
31
|
-
import "../builder-
|
|
22
|
+
import "../actor-9BjazhMw.js";
|
|
23
|
+
import "../key-D9ztI2tD.js";
|
|
24
|
+
import { signRequest, verifyRequest } from "../http-DjiIXRfp.js";
|
|
25
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-DZQlL2Mb.js";
|
|
26
|
+
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-BYwhJljm.js";
|
|
27
|
+
import { doesActorOwnKey } from "../owner-BmsiLdfG.js";
|
|
28
|
+
import { signObject, verifyObject } from "../proof-C51Uc6yw.js";
|
|
29
|
+
import { lookupObject } from "../lookup-ClTiImdO.js";
|
|
30
|
+
import "../inbox-B0W6VRj5.js";
|
|
31
|
+
import "../builder-H8nMQQmc.js";
|
|
32
32
|
import "../collection-Dfb0TPno.js";
|
|
33
|
-
import "../keycache-
|
|
33
|
+
import "../keycache-DUklavX_.js";
|
|
34
34
|
import "../retry-BiIhZWgD.js";
|
|
35
|
-
import "../send-
|
|
35
|
+
import "../send-Bf_w1ZdA.js";
|
|
36
36
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
37
37
|
import { assertStrictEquals } from "../std__assert-B3iAixc-.js";
|
|
38
38
|
import { assertFalse, assertRejects } from "../assert_rejects-DceVjUlD.js";
|
|
@@ -40,7 +40,7 @@ import "../assert_is_error-DQdKoRgb.js";
|
|
|
40
40
|
import { assertNotEquals } from "../assert_not_equals-7pyUM3Ib.js";
|
|
41
41
|
import { assertThrows } from "../assert_throws-DTDC_gwN.js";
|
|
42
42
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
43
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
|
43
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-Cg5FL8FO.js";
|
|
44
44
|
import { esm_default } from "../esm-d-9EVGaP.js";
|
|
45
45
|
|
|
46
46
|
//#region testing/fixtures/example.com/person.json
|
package/dist/federation/mod.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ import "../vocab-By6mpzr-.js";
|
|
|
7
7
|
import "../actor-B4TBtqRP.js";
|
|
8
8
|
import "../http-D1uoUH4N.js";
|
|
9
9
|
import "../owner-CEv_PfyK.js";
|
|
10
|
-
import "../mod-
|
|
11
|
-
import "../lookup-
|
|
12
|
-
import { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-
|
|
10
|
+
import "../mod-tMrYXlJo.js";
|
|
11
|
+
import "../lookup-DyzAlXvF.js";
|
|
12
|
+
import { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-0cwxy1ae.js";
|
|
13
13
|
import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "../mq-DYKDDJmp.js";
|
|
14
14
|
import "../mod-g0xFzAP9.js";
|
|
15
15
|
export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, KvKey, KvStore, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
package/dist/federation/mod.js
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
5
|
import "../transformers-ghwJuzGY.js";
|
|
6
|
-
import "../docloader-
|
|
7
|
-
import "../actor-
|
|
8
|
-
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-
|
|
9
|
-
import "../lookup-
|
|
10
|
-
import "../key-
|
|
11
|
-
import "../http-
|
|
12
|
-
import "../proof-
|
|
6
|
+
import "../docloader-C9lz1QKo.js";
|
|
7
|
+
import "../actor-DWbhlsJt.js";
|
|
8
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-BoT0nnCK.js";
|
|
9
|
+
import "../lookup-DkWUbh0H.js";
|
|
10
|
+
import "../key-C586RANk.js";
|
|
11
|
+
import "../http-B353KfXY.js";
|
|
12
|
+
import "../proof-cOukCsyz.js";
|
|
13
13
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-C44ekWNP.js";
|
|
14
|
-
import "../types-
|
|
15
|
-
import "../authdocloader-
|
|
16
|
-
import "../vocab-
|
|
14
|
+
import "../types-BeQTN8m4.js";
|
|
15
|
+
import "../authdocloader-4sp9ZqcE.js";
|
|
16
|
+
import "../vocab-rgzwMihA.js";
|
|
17
17
|
|
|
18
18
|
export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
7
7
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
8
8
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-euSMpkRz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab-
|
|
12
|
+
import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab-DfV7UP4S.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DF1K6ZKo.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import "../key-
|
|
18
|
-
import { verifyRequest } from "../http-
|
|
19
|
-
import { doesActorOwnKey } from "../owner-
|
|
20
|
-
import { extractInboxes, sendActivity } from "../send-
|
|
16
|
+
import "../actor-9BjazhMw.js";
|
|
17
|
+
import "../key-D9ztI2tD.js";
|
|
18
|
+
import { verifyRequest } from "../http-DjiIXRfp.js";
|
|
19
|
+
import { doesActorOwnKey } from "../owner-BmsiLdfG.js";
|
|
20
|
+
import { extractInboxes, sendActivity } from "../send-Bf_w1ZdA.js";
|
|
21
21
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
22
22
|
import "../std__assert-B3iAixc-.js";
|
|
23
23
|
import { assertFalse, assertRejects } from "../assert_rejects-DceVjUlD.js";
|
|
@@ -25,7 +25,7 @@ import "../assert_is_error-DQdKoRgb.js";
|
|
|
25
25
|
import { assertNotEquals } from "../assert_not_equals-7pyUM3Ib.js";
|
|
26
26
|
import "../assert_throws-DTDC_gwN.js";
|
|
27
27
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
28
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
|
28
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-Cg5FL8FO.js";
|
|
29
29
|
import { esm_default } from "../esm-d-9EVGaP.js";
|
|
30
30
|
|
|
31
31
|
//#region federation/send.test.ts
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { deno_default } from "./docloader-
|
|
6
|
-
import { CryptographicKey } from "./actor-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
5
|
+
import { deno_default } from "./docloader-C9lz1QKo.js";
|
|
6
|
+
import { CryptographicKey } from "./actor-DWbhlsJt.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-C586RANk.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./docloader-
|
|
7
|
-
import { CryptographicKey } from "./vocab-
|
|
8
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { deno_default } from "./docloader-euSMpkRz.js";
|
|
7
|
+
import { CryptographicKey } from "./vocab-DfV7UP4S.js";
|
|
8
|
+
import { fetchKey, validateCryptoKey } from "./key-D9ztI2tD.js";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
11
11
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./docloader-
|
|
7
|
-
import { Activity } from "./vocab-
|
|
6
|
+
import { deno_default } from "./docloader-euSMpkRz.js";
|
|
7
|
+
import { Activity } from "./vocab-DfV7UP4S.js";
|
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "./docloader-
|
|
6
|
+
import "./docloader-euSMpkRz.js";
|
|
7
7
|
import "./url-kTAI6_KP.js";
|
|
8
8
|
import "./multibase-DeCHcK8L.js";
|
|
9
|
-
import "./vocab-
|
|
9
|
+
import "./vocab-DfV7UP4S.js";
|
|
10
10
|
import "./langstr-DbWheeIS.js";
|
|
11
|
-
import "./lookup-
|
|
11
|
+
import "./lookup-DF1K6ZKo.js";
|
|
12
12
|
import "./type-D2s5lmbZ.js";
|
|
13
|
-
import "./actor-
|
|
14
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
|
13
|
+
import "./actor-9BjazhMw.js";
|
|
14
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-D9ztI2tD.js";
|
|
15
15
|
|
|
16
16
|
export { validateCryptoKey };
|
|
@@ -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, getDocumentLoader } from "./docloader-
|
|
6
|
-
import { CryptographicKey, Object as Object$1, isActor } from "./actor-
|
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-C9lz1QKo.js";
|
|
6
|
+
import { CryptographicKey, Object as Object$1, isActor } from "./actor-DWbhlsJt.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
9
9
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "./docloader-
|
|
6
|
-
import "./actor-
|
|
7
|
-
import "./lookup-
|
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
|
5
|
+
import "./docloader-C9lz1QKo.js";
|
|
6
|
+
import "./actor-DWbhlsJt.js";
|
|
7
|
+
import "./lookup-DkWUbh0H.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-C586RANk.js";
|
|
9
9
|
|
|
10
10
|
export { validateCryptoKey };
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
|
7
|
-
import { CryptographicKey, Object as Object$1 } from "./vocab-
|
|
8
|
-
import { isActor } from "./actor-
|
|
6
|
+
import { deno_default, getDocumentLoader } from "./docloader-euSMpkRz.js";
|
|
7
|
+
import { CryptographicKey, Object as Object$1 } from "./vocab-DfV7UP4S.js";
|
|
8
|
+
import { isActor } from "./actor-9BjazhMw.js";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Multikey } from "./vocab-
|
|
6
|
+
import { CryptographicKey, Multikey } from "./vocab-DfV7UP4S.js";
|
|
7
7
|
|
|
8
8
|
//#region 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, importSpki } from "./vocab-
|
|
6
|
+
import { CryptographicKey, Multikey, importSpki } from "./vocab-DfV7UP4S.js";
|
|
7
7
|
|
|
8
8
|
//#region testing/keys.ts
|
|
9
9
|
const rsaPublicKey1 = new CryptographicKey({
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
|
7
|
-
import { Activity, CryptographicKey, Object as Object$1 } from "./vocab-
|
|
6
|
+
import { deno_default, getDocumentLoader } from "./docloader-euSMpkRz.js";
|
|
7
|
+
import { Activity, CryptographicKey, Object as Object$1 } from "./vocab-DfV7UP4S.js";
|
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
|
9
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
9
|
+
import { fetchKey, validateCryptoKey } from "./key-D9ztI2tD.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
12
12
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
|
7
|
-
import { Object as Object$1 } from "./vocab-
|
|
8
|
-
import { lookupWebFinger } from "./lookup-
|
|
6
|
+
import { deno_default, getDocumentLoader } from "./docloader-euSMpkRz.js";
|
|
7
|
+
import { Object as Object$1 } from "./vocab-DfV7UP4S.js";
|
|
8
|
+
import { lookupWebFinger } from "./lookup-DF1K6ZKo.js";
|
|
9
9
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
|
10
10
|
import { delay } from "es-toolkit";
|
|
11
11
|
import { getLogger } from "@logtape/logtape";
|
|
@@ -144,7 +144,8 @@ async function lookupObjectInternal(identifier, options = {}) {
|
|
|
144
144
|
const jrd = await lookupWebFinger(identifier, {
|
|
145
145
|
userAgent: options.userAgent,
|
|
146
146
|
tracerProvider: options.tracerProvider,
|
|
147
|
-
allowPrivateAddress: "allowPrivateAddress" in options && options.allowPrivateAddress === true
|
|
147
|
+
allowPrivateAddress: "allowPrivateAddress" in options && options.allowPrivateAddress === true,
|
|
148
|
+
signal: options.signal
|
|
148
149
|
});
|
|
149
150
|
if (jrd?.links == null) return null;
|
|
150
151
|
for (const l of jrd.links) {
|