@fedify/fedify 2.0.0-pr.451.1730 → 2.0.0-pr.451.1735
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-Cg8ZhoVF.js → actor-BlCt_BFA.js} +1 -1
- package/dist/{actor-Cd2CREO0.d.ts → actor-DqFajh9s.d.ts} +2 -2
- package/dist/{actor-D020hlx3.cjs → actor-SSKGPs2C.cjs} +186 -187
- package/dist/{actor-DDhZuMGl.d.cts → actor-f2NtjyCg.d.cts} +2 -2
- package/dist/{actor-DPD6Gbdn.js → actor-qRieKMCS.js} +185 -186
- package/dist/{builder-Dn87hy75.js → builder-Daev8Oe3.js} +3 -3
- package/dist/{client-Cle5j1T1.d.cts → client-94iWEfQa.d.cts} +1 -1
- package/dist/{client-Bkaw0_PR.d.ts → client-BsGzbnV-.d.ts} +1 -1
- package/dist/{client-D6-5okV1.js → client-pY7-3icS.js} +1 -1
- package/dist/compat/mod.d.cts +11 -12
- package/dist/compat/mod.d.ts +11 -12
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-BOYzcFSe.d.cts → context-BvYz3eOb.d.cts} +11 -11
- package/dist/{context-DqFifMwj.d.ts → context-myrGWbL_.d.ts} +11 -11
- package/dist/{docloader-B2BFBGqv.js → docloader-CuY-IQHN.js} +4 -5
- package/dist/{esm-CU0Dnk7T.js → esm-CO0P-prF.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 +17 -17
- package/dist/federation/idempotency.test.js +17 -17
- 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 +18 -18
- package/dist/federation/mod.cjs +9 -10
- package/dist/federation/mod.d.cts +11 -12
- package/dist/federation/mod.d.ts +11 -12
- package/dist/federation/mod.js +9 -10
- 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-DN0v2zoF.js → http--W_KqmV8.js} +2 -2
- package/dist/{http-BE7aFuqn.d.ts → http-BbO0ejuk.d.ts} +1 -1
- package/dist/{http-DMsjudj8.cjs → http-CZRSpr-0.cjs} +5 -5
- package/dist/{http-B6SKO6NJ.d.cts → http-M8k5mKc0.d.cts} +1 -1
- package/dist/{http-DcDb8r1W.js → http-cj5p1nm9.js} +2 -2
- package/dist/{inbox-CgGy7Hzc.js → inbox-DCOu4Fxg.js} +1 -1
- package/dist/{key-jSvnymAk.js → key-CLBIsQ2b.js} +2 -2
- package/dist/{keycache-IVLjlAK9.js → keycache-C_E92fAZ.js} +1 -1
- package/dist/{keys-BKM2Mqu2.js → keys-CESa8pOV.js} +1 -1
- package/dist/kv-cache-6gn8hq87.cjs +133 -0
- package/dist/kv-cache-D6OS46Qp.js +121 -0
- package/dist/kv-cache-z0lgwFi_.js +93 -0
- package/dist/{ld-CcsryBo0.js → ld-uohK5TcN.js} +2 -2
- package/dist/{lookup-BV3A9Zbc.js → lookup-B4NiLSoR.js} +129 -60
- package/dist/{lookup-BbEekiru.js → lookup-Bp3gBRGD.js} +188 -297
- package/dist/lookup-CfVdYD74.cjs +273 -0
- package/dist/{middleware-ekn2KaOw.cjs → middleware-B5t3REnT.cjs} +18 -19
- package/dist/middleware-B86mRO81.cjs +15 -0
- package/dist/{middleware-D-vPitR-.js → middleware-BEWbWO0t.js} +8 -9
- package/dist/middleware-BzGmhttT.js +26 -0
- package/dist/middleware-DxFOBA0V.js +15 -0
- package/dist/{middleware-Dm8sXYUr.js → middleware-yd4xq6Dt.js} +13 -13
- package/dist/{mod-DLIidI_j.d.ts → mod-B2iOw50L.d.ts} +2 -2
- package/dist/{mod-Cm97bAiT.d.ts → mod-BYynOiJG.d.ts} +2 -2
- package/dist/{mod-CRENK2dd.d.ts → mod-BlVovdcy.d.ts} +2 -3
- package/dist/{mod--K7l84wp.d.cts → mod-BxRCHTz-.d.cts} +2 -3
- package/dist/{mod-DuclhZjh.d.cts → mod-C58MZ7Wx.d.cts} +1 -1
- package/dist/{mod-D9XZsft2.d.cts → mod-DbFNTF7m.d.cts} +2 -2
- package/dist/{mod-COlOrmr9.d.cts → mod-DgdBYYa0.d.cts} +2 -2
- package/dist/{mod-CB80AlIA.d.ts → mod-Ds0mpFZU.d.ts} +1 -1
- package/dist/{mod-CLKu6Uo_.d.cts → mod-VastcQsk.d.cts} +2 -2
- package/dist/{mod-CaWbCg0N.d.ts → mod-k0Dk3fGk.d.ts} +2 -2
- package/dist/mod.cjs +13 -15
- package/dist/mod.d.cts +15 -16
- package/dist/mod.d.ts +16 -17
- package/dist/mod.js +14 -15
- package/dist/nodeinfo/client.test.js +4 -4
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.cjs +2 -3
- package/dist/nodeinfo/mod.d.cts +2 -3
- package/dist/nodeinfo/mod.d.ts +2 -3
- package/dist/nodeinfo/mod.js +2 -3
- package/dist/nodeinfo/types.test.js +2 -2
- package/dist/{owner-dkg5OpSC.d.cts → owner-B4HbyP8s.d.cts} +2 -2
- package/dist/{owner-n5c_oZ_M.js → owner-DMwt6EnB.js} +2 -2
- package/dist/{owner-CktUdA0h.d.ts → owner-kQRGVXG1.d.ts} +2 -2
- package/dist/{proof-CLwByIT1.js → proof-BRMzWGtg.js} +3 -3
- package/dist/{proof-CZfrp13P.cjs → proof-DVvnQ6WP.cjs} +7 -7
- package/dist/{proof-CsFR7fiS.js → proof-X6v_1MA6.js} +2 -2
- package/dist/{send-eW9JIzQV.js → send-Cy3TUzxE.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 +5 -6
- package/dist/sig/mod.d.cts +5 -6
- package/dist/sig/mod.d.ts +5 -6
- package/dist/sig/mod.js +5 -6
- package/dist/sig/owner.test.js +6 -6
- package/dist/sig/proof.test.js +6 -6
- package/dist/testing/docloader.test.js +2 -2
- package/dist/testing/mod.d.ts +1 -27
- package/dist/testing/mod.js +2 -2
- package/dist/{testing-ClYSmXdi.js → testing-BJJvJvZe.js} +1 -1
- package/dist/{types-DaPoJTSc.js → types-BtUjyi5y.js} +1 -1
- package/dist/{types-BT0xc4-R.cjs → types-CWgzGaqk.cjs} +3 -3
- package/dist/utils/docloader.test.js +9 -8
- package/dist/utils/kv-cache.test.js +4 -3
- package/dist/utils/mod.cjs +5 -7
- package/dist/utils/mod.d.cts +5 -6
- package/dist/utils/mod.d.ts +5 -6
- package/dist/utils/mod.js +6 -7
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +3 -3
- package/dist/vocab/mod.cjs +3 -4
- package/dist/vocab/mod.d.cts +3 -4
- package/dist/vocab/mod.d.ts +3 -4
- package/dist/vocab/mod.js +3 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-CxTuoEVd.cjs → vocab-BPtsEU8k.cjs} +3 -4
- package/dist/{vocab-yFT-fQBj.js → vocab-DFaqbY9O.js} +2 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +3 -3
- package/dist/webfinger/mod.cjs +2 -3
- package/dist/webfinger/mod.d.cts +1 -2
- package/dist/webfinger/mod.d.ts +1 -2
- package/dist/webfinger/mod.js +2 -3
- package/dist/x/cfworkers.d.cts +2 -2
- package/dist/x/cfworkers.d.ts +2 -2
- package/dist/x/cfworkers.test.js +2 -2
- package/dist/x/hono.d.cts +10 -11
- package/dist/x/hono.d.ts +10 -11
- package/dist/x/sveltekit.d.cts +10 -11
- package/dist/x/sveltekit.d.ts +10 -11
- package/package.json +2 -3
- package/dist/kv-cache-BHIupktM.cjs +0 -4279
- package/dist/kv-cache-DNvS-egZ.js +0 -4236
- package/dist/kv-cache-ydIs4Ul6.js +0 -4267
- package/dist/lookup-CMAGfQ1Q.cjs +0 -210
- package/dist/middleware-DzA970CF.js +0 -16
- package/dist/middleware-VpoC5jyA.js +0 -26
- package/dist/middleware-W_-inBoE.cjs +0 -16
- package/dist/request-BbHkedIU.d.cts +0 -35
- package/dist/request-DKGQaofB.js +0 -184
- package/dist/request-U1t6zZtk.d.ts +0 -39
- package/dist/request-XHWUW2bi.cjs +0 -208
- package/dist/utils/request.test.d.ts +0 -3
- package/dist/utils/request.test.js +0 -48
- package/dist/utils/url.test.d.ts +0 -3
- package/dist/utils/url.test.js +0 -41
- /package/dist/{federation-DOuZpcAw.cjs → federation-CRpdnOMS.cjs} +0 -0
- /package/dist/{federation-pZJsapBn.js → federation-jcR8-ZxP.js} +0 -0
- /package/dist/{kv-Dt06smFt.d.ts → kv-BKNZ-Tb-.d.ts} +0 -0
- /package/dist/{kv-BMKIFXNW.d.cts → kv-Bxr0Q87_.d.cts} +0 -0
- /package/dist/{mod-FZd39qVq.d.cts → mod-B-hUPT2N.d.cts} +0 -0
- /package/dist/{mod-B-ZQqbGe.d.ts → mod-CVgZgliM.d.ts} +0 -0
- /package/dist/{mod-CjsiSl7_.d.ts → mod-xIj-IT58.d.ts} +0 -0
- /package/dist/{mq-CPRJk4mZ.d.ts → mq-CUKlBw08.d.ts} +0 -0
- /package/dist/{mq-B7R1Q-M5.d.cts → mq-DcJPkXD5.d.cts} +0 -0
- /package/dist/{nodeinfo-B0UefMXO.js → nodeinfo-BnthBobC.js} +0 -0
- /package/dist/{nodeinfo-ByTd7HpT.cjs → nodeinfo-CdN0rEnZ.cjs} +0 -0
- /package/dist/{sig-Dx59zAgn.js → sig-C34-oHBl.js} +0 -0
- /package/dist/{sig-DE_NC_VQ.cjs → sig-YYj5tCnr.cjs} +0 -0
- /package/dist/{utils-BXMGcmqK.js → utils-D-Va7aXC.js} +0 -0
- /package/dist/{utils-B6yXfxAQ.cjs → utils-DyRU1gdZ.cjs} +0 -0
- /package/dist/{vocab-ivDKb439.d.ts → vocab-BCWe1Ih5.d.ts} +0 -0
- /package/dist/{vocab-DCBw44JZ.d.cts → vocab-CeDBzu-f.d.cts} +0 -0
- /package/dist/{webfinger-qG8R5jc3.js → webfinger-C72Y8lrh.js} +0 -0
- /package/dist/{webfinger-C949bxcD.cjs → webfinger-vAtLmxOF.cjs} +0 -0
@@ -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-Bp3gBRGD.js";
|
7
|
+
import { InboxListenerSet } from "./inbox-DCOu4Fxg.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-BzGmhttT.js");
|
46
46
|
const f = new FederationImpl(options);
|
47
47
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
48
48
|
f.router = this.router.clone();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { GetUserAgentOptions } from "
|
3
|
+
import { GetUserAgentOptions } from "@fedify/vocab-runtime";
|
4
4
|
|
5
5
|
//#region src/nodeinfo/types.d.ts
|
6
6
|
/**
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { getUserAgent } from "
|
6
|
+
import { getUserAgent } from "@fedify/vocab-runtime";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
|
9
9
|
//#region src/nodeinfo/client.ts
|
package/dist/compat/mod.d.cts
CHANGED
@@ -1,13 +1,12 @@
|
|
1
|
-
import "../
|
2
|
-
import "../
|
3
|
-
import "../
|
4
|
-
import "../
|
5
|
-
import "../
|
6
|
-
import "../
|
7
|
-
import "../mod
|
8
|
-
import "../
|
9
|
-
import
|
10
|
-
import "../
|
11
|
-
import "../
|
12
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-D9XZsft2.cjs";
|
1
|
+
import "../client-94iWEfQa.cjs";
|
2
|
+
import "../vocab-CeDBzu-f.cjs";
|
3
|
+
import "../actor-f2NtjyCg.cjs";
|
4
|
+
import "../http-M8k5mKc0.cjs";
|
5
|
+
import "../owner-B4HbyP8s.cjs";
|
6
|
+
import "../mod-BxRCHTz-.cjs";
|
7
|
+
import "../mod-C58MZ7Wx.cjs";
|
8
|
+
import { ActivityTransformer } from "../context-BvYz3eOb.cjs";
|
9
|
+
import "../kv-Bxr0Q87_.cjs";
|
10
|
+
import "../mq-DcJPkXD5.cjs";
|
11
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DbFNTF7m.cjs";
|
13
12
|
export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
|
package/dist/compat/mod.d.ts
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../
|
4
|
-
import "../
|
5
|
-
import "../
|
6
|
-
import "../
|
7
|
-
import "../
|
8
|
-
import "../
|
9
|
-
import "../mod-
|
10
|
-
import "../
|
11
|
-
import
|
12
|
-
import "../
|
13
|
-
import "../
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-CaWbCg0N.js";
|
3
|
+
import "../client-BsGzbnV-.js";
|
4
|
+
import "../vocab-BCWe1Ih5.js";
|
5
|
+
import "../actor-DqFajh9s.js";
|
6
|
+
import "../http-BbO0ejuk.js";
|
7
|
+
import "../owner-kQRGVXG1.js";
|
8
|
+
import "../mod-BlVovdcy.js";
|
9
|
+
import "../mod-Ds0mpFZU.js";
|
10
|
+
import { ActivityTransformer } from "../context-myrGWbL_.js";
|
11
|
+
import "../kv-BKNZ-Tb-.js";
|
12
|
+
import "../mq-CUKlBw08.js";
|
13
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-k0Dk3fGk.js";
|
15
14
|
export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
|
@@ -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-Bp3gBRGD.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-
|
12
|
-
import "../client-
|
11
|
+
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-yd4xq6Dt.js";
|
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-
|
21
|
-
import "../kv-cache-
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
14
|
+
import "../actor-BlCt_BFA.js";
|
15
|
+
import "../key-CLBIsQ2b.js";
|
16
|
+
import "../http--W_KqmV8.js";
|
17
|
+
import "../ld-uohK5TcN.js";
|
18
|
+
import "../owner-DMwt6EnB.js";
|
19
|
+
import "../proof-X6v_1MA6.js";
|
20
|
+
import "../docloader-CuY-IQHN.js";
|
21
|
+
import "../kv-cache-z0lgwFi_.js";
|
22
|
+
import "../inbox-DCOu4Fxg.js";
|
23
|
+
import "../builder-Daev8Oe3.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-C_E92fAZ.js";
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
28
|
-
import "../send-
|
29
|
-
import { test } from "../testing-
|
28
|
+
import "../send-Cy3TUzxE.js";
|
29
|
+
import { test } from "../testing-BJJvJvZe.js";
|
30
30
|
|
31
31
|
//#region src/compat/transformers.test.ts
|
32
32
|
const federation = new FederationImpl({ kv: new MemoryKvStore() });
|
@@ -1,14 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory } from "@fedify/vocab-runtime";
|
1
|
+
import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-94iWEfQa.cjs";
|
2
|
+
import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-CeDBzu-f.cjs";
|
3
|
+
import { Actor, Recipient } from "./actor-f2NtjyCg.cjs";
|
4
|
+
import { HttpMessageSignaturesSpec } from "./http-M8k5mKc0.cjs";
|
5
|
+
import { GetKeyOwnerOptions } from "./owner-B4HbyP8s.cjs";
|
6
|
+
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-BxRCHTz-.cjs";
|
7
|
+
import { Link as Link$1, LookupWebFingerOptions, ResourceDescriptor } from "./mod-C58MZ7Wx.cjs";
|
8
|
+
import { KvKey, KvStore } from "./kv-Bxr0Q87_.cjs";
|
9
|
+
import { MessageQueue } from "./mq-DcJPkXD5.cjs";
|
10
|
+
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "@fedify/vocab-runtime";
|
12
11
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
13
12
|
|
14
13
|
//#region src/compat/types.d.ts
|
@@ -308,6 +307,7 @@ type CustomCollectionCounter<TParam extends string, TContextData> = (context: Re
|
|
308
307
|
type CustomCollectionCursor<TParam extends string, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: Record<TParam, string>) => string | null | Promise<string | null>;
|
309
308
|
//#endregion
|
310
309
|
//#region src/federation/handler.d.ts
|
310
|
+
|
311
311
|
/**
|
312
312
|
* Options for the {@link respondWithObject} and
|
313
313
|
* {@link respondWithObjectIfAcceptable} functions.
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import { MessageQueue } from "./mq-CPRJk4mZ.js";
|
3
|
+
import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-BsGzbnV-.js";
|
4
|
+
import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-BCWe1Ih5.js";
|
5
|
+
import { Actor, Recipient } from "./actor-DqFajh9s.js";
|
6
|
+
import { HttpMessageSignaturesSpec } from "./http-BbO0ejuk.js";
|
7
|
+
import { GetKeyOwnerOptions } from "./owner-kQRGVXG1.js";
|
8
|
+
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-BlVovdcy.js";
|
9
|
+
import { Link as Link$1, LookupWebFingerOptions, ResourceDescriptor } from "./mod-Ds0mpFZU.js";
|
10
|
+
import { KvKey, KvStore } from "./kv-BKNZ-Tb-.js";
|
11
|
+
import { MessageQueue } from "./mq-CUKlBw08.js";
|
13
12
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
14
|
-
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory } from "@fedify/vocab-runtime";
|
13
|
+
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "@fedify/vocab-runtime";
|
15
14
|
|
16
15
|
//#region src/compat/types.d.ts
|
17
16
|
/**
|
@@ -310,6 +309,7 @@ type CustomCollectionCounter<TParam extends string, TContextData> = (context: Re
|
|
310
309
|
type CustomCollectionCursor<TParam extends string, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: Record<TParam, string>) => string | null | Promise<string | null>;
|
311
310
|
//#endregion
|
312
311
|
//#region src/federation/handler.d.ts
|
312
|
+
|
313
313
|
/**
|
314
314
|
* Options for the {@link respondWithObject} and
|
315
315
|
* {@link respondWithObjectIfAcceptable} functions.
|
@@ -3,12 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import { getDocumentLoader, getRemoteDocument } from "@fedify/vocab-runtime";
|
6
|
+
import { validateCryptoKey } from "./key-CLBIsQ2b.js";
|
7
|
+
import { doubleKnock } from "./http--W_KqmV8.js";
|
8
|
+
import { curry } from "es-toolkit";
|
9
|
+
import { UrlError, createActivityPubRequest, getDocumentLoader, getRemoteDocument, logRequest, validatePublicUrl } from "@fedify/vocab-runtime";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
|
-
import { curry } from "@fxts/core";
|
12
11
|
|
13
12
|
//#region src/utils/docloader.ts
|
14
13
|
const logger = getLogger([
|
@@ -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-Bp3gBRGD.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-Bp3gBRGD.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-DCOu4Fxg.js";
|
12
|
+
import { createFederationBuilder } from "../builder-Daev8Oe3.js";
|
13
|
+
import { test } from "../testing-BJJvJvZe.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-Bp3gBRGD.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-BJJvJvZe.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-Bp3gBRGD.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-
|
12
|
-
import "../client-
|
11
|
+
import { createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-yd4xq6Dt.js";
|
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-
|
21
|
-
import "../kv-cache-
|
22
|
-
import { InboxListenerSet } from "../inbox-
|
23
|
-
import "../builder-
|
14
|
+
import "../actor-BlCt_BFA.js";
|
15
|
+
import "../key-CLBIsQ2b.js";
|
16
|
+
import { signRequest } from "../http--W_KqmV8.js";
|
17
|
+
import "../ld-uohK5TcN.js";
|
18
|
+
import "../owner-DMwt6EnB.js";
|
19
|
+
import "../proof-X6v_1MA6.js";
|
20
|
+
import "../docloader-CuY-IQHN.js";
|
21
|
+
import "../kv-cache-z0lgwFi_.js";
|
22
|
+
import { InboxListenerSet } from "../inbox-DCOu4Fxg.js";
|
23
|
+
import "../builder-Daev8Oe3.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-C_E92fAZ.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-Cy3TUzxE.js";
|
29
|
+
import { createInboxContext, createRequestContext, mockDocumentLoader, test } from "../testing-BJJvJvZe.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-CESa8pOV.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-Bp3gBRGD.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-
|
12
|
-
import "../client-
|
11
|
+
import { createFederation } from "../middleware-yd4xq6Dt.js";
|
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-
|
21
|
-
import "../kv-cache-
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
14
|
+
import "../actor-BlCt_BFA.js";
|
15
|
+
import "../key-CLBIsQ2b.js";
|
16
|
+
import "../http--W_KqmV8.js";
|
17
|
+
import "../ld-uohK5TcN.js";
|
18
|
+
import "../owner-DMwt6EnB.js";
|
19
|
+
import { signObject } from "../proof-X6v_1MA6.js";
|
20
|
+
import "../docloader-CuY-IQHN.js";
|
21
|
+
import "../kv-cache-z0lgwFi_.js";
|
22
|
+
import "../inbox-DCOu4Fxg.js";
|
23
|
+
import "../builder-Daev8Oe3.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-C_E92fAZ.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-Cy3TUzxE.js";
|
29
|
+
import { mockDocumentLoader, test } from "../testing-BJJvJvZe.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-CESa8pOV.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-Bp3gBRGD.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-DCOu4Fxg.js";
|
9
|
+
import { test } from "../testing-BJJvJvZe.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-Bp3gBRGD.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-C_E92fAZ.js";
|
12
|
+
import { test } from "../testing-BJJvJvZe.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-Bp3gBRGD.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-BJJvJvZe.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-Bp3gBRGD.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-
|
12
|
-
import "../client-
|
11
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-yd4xq6Dt.js";
|
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-
|
21
|
-
import "../kv-cache-
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
14
|
+
import "../actor-BlCt_BFA.js";
|
15
|
+
import "../key-CLBIsQ2b.js";
|
16
|
+
import { signRequest, verifyRequest } from "../http--W_KqmV8.js";
|
17
|
+
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-uohK5TcN.js";
|
18
|
+
import { doesActorOwnKey } from "../owner-DMwt6EnB.js";
|
19
|
+
import { signObject, verifyObject } from "../proof-X6v_1MA6.js";
|
20
|
+
import { fetchDocumentLoader, getAuthenticatedDocumentLoader } from "../docloader-CuY-IQHN.js";
|
21
|
+
import "../kv-cache-z0lgwFi_.js";
|
22
|
+
import "../inbox-DCOu4Fxg.js";
|
23
|
+
import "../builder-Daev8Oe3.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-C_E92fAZ.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-Cy3TUzxE.js";
|
29
|
+
import { mockDocumentLoader, test } from "../testing-BJJvJvZe.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-CESa8pOV.js";
|
35
|
+
import { esm_default } from "../esm-CO0P-prF.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,16 +3,15 @@
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
5
|
require('../transformers-CoBS-oFG.cjs');
|
6
|
-
require('../
|
7
|
-
require('../actor-
|
8
|
-
const require_middleware = require('../middleware-
|
9
|
-
require('../
|
10
|
-
require('../
|
11
|
-
require('../
|
12
|
-
|
13
|
-
require('../
|
14
|
-
require('../
|
15
|
-
require('../vocab-CxTuoEVd.cjs');
|
6
|
+
require('../lookup-CfVdYD74.cjs');
|
7
|
+
require('../actor-SSKGPs2C.cjs');
|
8
|
+
const require_middleware = require('../middleware-B5t3REnT.cjs');
|
9
|
+
require('../http-CZRSpr-0.cjs');
|
10
|
+
require('../proof-DVvnQ6WP.cjs');
|
11
|
+
const require_federation = require('../federation-CRpdnOMS.cjs');
|
12
|
+
require('../types-CWgzGaqk.cjs');
|
13
|
+
require('../kv-cache-6gn8hq87.cjs');
|
14
|
+
require('../vocab-BPtsEU8k.cjs');
|
16
15
|
|
17
16
|
exports.InProcessMessageQueue = require_federation.InProcessMessageQueue;
|
18
17
|
exports.MemoryKvStore = require_federation.MemoryKvStore;
|
@@ -1,13 +1,12 @@
|
|
1
|
-
import "../
|
2
|
-
import "../
|
3
|
-
import "../
|
4
|
-
import "../
|
5
|
-
import "../
|
6
|
-
import "../
|
7
|
-
import "../mod
|
8
|
-
import "../
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import
|
12
|
-
import "../mod-C2tOeRkN.cjs";
|
1
|
+
import "../client-94iWEfQa.cjs";
|
2
|
+
import "../vocab-CeDBzu-f.cjs";
|
3
|
+
import "../actor-f2NtjyCg.cjs";
|
4
|
+
import "../http-M8k5mKc0.cjs";
|
5
|
+
import "../owner-B4HbyP8s.cjs";
|
6
|
+
import "../mod-BxRCHTz-.cjs";
|
7
|
+
import "../mod-C58MZ7Wx.cjs";
|
8
|
+
import { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-BvYz3eOb.cjs";
|
9
|
+
import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore } from "../kv-Bxr0Q87_.cjs";
|
10
|
+
import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "../mq-DcJPkXD5.cjs";
|
11
|
+
import "../mod-B-hUPT2N.cjs";
|
13
12
|
export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, 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, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
package/dist/federation/mod.d.ts
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../
|
4
|
-
import "../
|
5
|
-
import "../
|
6
|
-
import "../
|
7
|
-
import "../
|
8
|
-
import "../
|
9
|
-
import "../mod-
|
10
|
-
import "../
|
11
|
-
import {
|
12
|
-
import {
|
13
|
-
import
|
14
|
-
import "../mod-CjsiSl7_.js";
|
3
|
+
import "../client-BsGzbnV-.js";
|
4
|
+
import "../vocab-BCWe1Ih5.js";
|
5
|
+
import "../actor-DqFajh9s.js";
|
6
|
+
import "../http-BbO0ejuk.js";
|
7
|
+
import "../owner-kQRGVXG1.js";
|
8
|
+
import "../mod-BlVovdcy.js";
|
9
|
+
import "../mod-Ds0mpFZU.js";
|
10
|
+
import { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-myrGWbL_.js";
|
11
|
+
import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore } from "../kv-BKNZ-Tb-.js";
|
12
|
+
import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "../mq-CUKlBw08.js";
|
13
|
+
import "../mod-CVgZgliM.js";
|
15
14
|
export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, 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, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|