@fedify/fedify 1.9.0-pr.395.1481 → 1.9.0-pr.403.1507
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-Ch5yFYFG.d.ts → actor-B80VL7Zv.d.ts} +2 -2
- package/dist/{actor-9LPJkiZG.js → actor-CIsF-n5t.js} +187 -187
- package/dist/{actor-Uase6HaC.js → actor-D5NEKs-H.js} +1 -1
- package/dist/{authdocloader-Br8fjCDA.js → authdocloader-C80Qh6nT.js} +3 -3
- package/dist/{authdocloader-CogKPs5c.js → authdocloader-kT3YjLfm.js} +3 -3
- package/dist/{builder-Bo9ciHfP.js → builder--4Abku0B.js} +4 -4
- package/dist/{client-DF8anIB5.d.ts → client-BLIpt8C0.d.ts} +1 -1
- package/dist/{client-BVxAaya-.js → client-CIZTyPSt.js} +5 -4
- package/dist/compat/mod.d.ts +12 -12
- package/dist/compat/transformers.test.js +18 -18
- package/dist/{context-DJQB_Zv4.d.ts → context-B8KXDXjQ.d.ts} +10 -10
- package/dist/{docloader-CxWcuWqQ.d.ts → docloader-ClLAKEYo.d.ts} +1 -1
- package/dist/{docloader-DXhq_Y_0.js → docloader-D__EFgsg.js} +1 -1
- package/dist/{esm-Bo7LuXob.js → esm-MoRVnXvZ.js} +1 -1
- package/dist/federation/builder.test.js +6 -6
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +19 -19
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +20 -20
- package/dist/federation/mod.d.ts +12 -12
- package/dist/federation/mod.js +11 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-D4JZZsj7.js → http-BG0qOzZu.js} +2 -2
- package/dist/{http-D8Q4xH0d.d.ts → http-C68HIQho.d.ts} +2 -2
- package/dist/{http-DblhtMbl.js → http-DDfAIynd.js} +3 -3
- package/dist/{inbox-fuzozZbS.js → inbox-D-bc5rI-.js} +1 -1
- package/dist/jrd-CVjXud67.js +22 -0
- package/dist/{key-Btvx_gRX.js → key-AIK2WmqL.js} +2 -2
- package/dist/{key-DY4r2zHZ.js → key-DIlYv882.js} +2 -2
- package/dist/{key-C09wKLi0.js → key-DnS3IKGP.js} +3 -3
- package/dist/{key-Np8EEJ9P.js → key-pfboPnfT.js} +4 -4
- package/dist/{keycache-HTIISDcs.js → keycache-DHnsRk0Y.js} +1 -1
- package/dist/{keys-FCSOZqsT.js → keys-Cu_G6FPA.js} +1 -1
- package/dist/{ld-BeIT6mlc.js → ld-CtIXhBh6.js} +2 -2
- package/dist/{lookup-3czM5mmU.d.ts → lookup-CimDQw3M.d.ts} +25 -4
- package/dist/{lookup-Buywr1WF.js → lookup-DBhAQ6QY.js} +20 -3
- package/dist/{lookup-gtbh2a3H.js → lookup-DlIiNCAM.js} +1 -1
- package/dist/{middleware-BpvvMkJx.js → middleware-0klbRaez.js} +10 -10
- package/dist/{middleware-zXrzC_d6.js → middleware-CnIxIUi-.js} +14 -14
- package/dist/middleware-Cpq4rdM2.js +18 -0
- package/dist/middleware-DI5CZSGv.js +26 -0
- package/dist/{mod-eBo9RUEr.d.ts → mod-BdjjfJgD.d.ts} +2 -2
- package/dist/{mod-Cy6pkZSn.d.ts → mod-DsFZsguN.d.ts} +2 -2
- package/dist/{mod-BAuhKa9d.d.ts → mod-V4On8xpJ.d.ts} +2 -2
- package/dist/{mod-B7Pc0I7F.d.ts → mod-vNTMZFkP.d.ts} +3 -3
- package/dist/mod.d.ts +17 -17
- package/dist/mod.js +16 -15
- package/dist/nodeinfo/client.test.js +6 -6
- package/dist/nodeinfo/handler.test.js +18 -18
- package/dist/nodeinfo/mod.d.ts +4 -4
- package/dist/nodeinfo/mod.js +4 -3
- package/dist/nodeinfo/semver.test.js +4 -4
- package/dist/nodeinfo/types.test.js +5 -5
- package/dist/{owner-D38zBIMc.d.ts → owner-BB7x_v65.d.ts} +3 -3
- package/dist/{owner-D3LffaGr.js → owner-DLlle-l2.js} +2 -2
- package/dist/{proof-B2vYr7n3.js → proof-DrvUurr3.js} +3 -3
- package/dist/{proof-sKtcV6pt.js → proof-NP4r1NS8.js} +2 -2
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.d.ts +5 -5
- package/dist/runtime/mod.js +7 -7
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-BeQ8g_vp.js → send-BtU_Xnfq.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.d.ts +7 -7
- package/dist/sig/mod.js +7 -7
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.d.ts +15 -2
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-CMNbLS0m.js → testing-DXNsKEUF.js} +2 -2
- package/dist/{type-Bo0QfGsr.js → type-tE5Z3ILc.js} +186 -186
- package/dist/{types-ByoM5Yqa.js → types-CbFXXeEf.js} +4 -3
- package/dist/{types-BIgY6c-l.js → types-DEOFv30y.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.d.ts +5 -5
- package/dist/vocab/mod.js +5 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-69WqtJLZ.js → vocab-Dbl52dmj.js} +5 -4
- package/dist/{vocab-BEEm2I6u.d.ts → vocab-Dq4PIigg.d.ts} +1 -1
- package/dist/webfinger/handler.test.js +18 -18
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.d.ts +5 -5
- package/dist/webfinger/mod.js +5 -4
- package/dist/x/cfworkers.d.ts +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +11 -11
- package/dist/x/sveltekit.d.ts +11 -11
- package/package.json +1 -1
- package/dist/middleware-DZaPVOW-.js +0 -26
- package/dist/middleware-W4SkyU21.js +0 -17
- /package/dist/{kv-C7sopW2E.d.ts → kv-Nozgty7f.d.ts} +0 -0
- /package/dist/{mod-GIh5OYxW.d.ts → mod-8L0uotkD.d.ts} +0 -0
- /package/dist/{mod-g0xFzAP9.d.ts → mod-BzXXY2df.d.ts} +0 -0
- /package/dist/{mq-CRGm1e_F.d.ts → mq-C_kcxiLL.d.ts} +0 -0
- /package/dist/{nodeinfo-CyEbLjHs.js → nodeinfo-C8cvu-8q.js} +0 -0
- /package/dist/{runtime-BSkOVUWM.js → runtime-DK9xgBqW.js} +0 -0
- /package/dist/{semver-dArNLkR9.js → semver-DK6KJMYH.js} +0 -0
- /package/dist/{sig-BXJO--F9.js → sig-ccY9XpbB.js} +0 -0
- /package/dist/{webfinger-C3GIyXIg.js → webfinger-i8KkKSng.js} +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Application, Group, Organization, Person, Service, deno_default, getTypeId, lookupWebFinger } from "./type-
|
6
|
+
import { Application, Group, Organization, Person, Service, deno_default, getTypeId, lookupWebFinger } from "./type-tE5Z3ILc.js";
|
7
7
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
8
8
|
import { domainToASCII, domainToUnicode } from "node:url";
|
9
9
|
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./type-
|
7
|
-
import { validateCryptoKey } from "./key-
|
8
|
-
import { doubleKnock } from "./http-
|
6
|
+
import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./type-tE5Z3ILc.js";
|
7
|
+
import { validateCryptoKey } from "./key-AIK2WmqL.js";
|
8
|
+
import { doubleKnock } from "./http-BG0qOzZu.js";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
|
11
11
|
//#region src/runtime/authdocloader.ts
|
@@ -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-D__EFgsg.js";
|
6
|
+
import { validateCryptoKey } from "./key-DIlYv882.js";
|
7
|
+
import { doubleKnock } from "./http-DDfAIynd.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
|
10
10
|
//#region src/runtime/authdocloader.ts
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default, getTypeId } from "./type-
|
7
|
-
import { Router, RouterError } from "./lookup-
|
8
|
-
import { InboxListenerSet } from "./inbox-
|
6
|
+
import { deno_default, getTypeId } from "./type-tE5Z3ILc.js";
|
7
|
+
import { Router, RouterError } from "./lookup-DBhAQ6QY.js";
|
8
|
+
import { InboxListenerSet } from "./inbox-D-bc5rI-.js";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
11
11
|
|
@@ -41,7 +41,7 @@ var FederationBuilderImpl = class {
|
|
41
41
|
this.collectionTypeIds = {};
|
42
42
|
}
|
43
43
|
async build(options) {
|
44
|
-
const { FederationImpl } = await import("./middleware-
|
44
|
+
const { FederationImpl } = await import("./middleware-DI5CZSGv.js");
|
45
45
|
const f = new FederationImpl(options);
|
46
46
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
47
47
|
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 "./docloader-
|
3
|
+
import { GetUserAgentOptions } from "./docloader-ClLAKEYo.js";
|
4
4
|
|
5
5
|
//#region src/nodeinfo/semver.d.ts
|
6
6
|
/**
|
@@ -3,8 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { getUserAgent } from "./type-
|
7
|
-
import {
|
6
|
+
import { getUserAgent } from "./type-tE5Z3ILc.js";
|
7
|
+
import { isLink } from "./lookup-DBhAQ6QY.js";
|
8
|
+
import { parseSemVer } from "./semver-DK6KJMYH.js";
|
8
9
|
import { getLogger } from "@logtape/logtape";
|
9
10
|
|
10
11
|
//#region src/nodeinfo/client.ts
|
@@ -31,8 +32,8 @@ async function getNodeInfo(url, options = {}) {
|
|
31
32
|
return void 0;
|
32
33
|
}
|
33
34
|
const wellKnownRd = await wellKnownResponse.json();
|
34
|
-
const link = wellKnownRd?.links?.find((link$1) => link$1 != null && "rel" in link$1 && (link$1.rel === "http://nodeinfo.diaspora.software/ns/schema/2.0" || link$1.rel === "http://nodeinfo.diaspora.software/ns/schema/2.1") && "href" in link$1 && link$1.href != null);
|
35
|
-
if (link == null) {
|
35
|
+
const link = wellKnownRd?.links?.find(isLink.withCondition((link$1) => link$1 != null && "rel" in link$1 && (link$1.rel === "http://nodeinfo.diaspora.software/ns/schema/2.0" || link$1.rel === "http://nodeinfo.diaspora.software/ns/schema/2.1") && "href" in link$1 && link$1.href != null));
|
36
|
+
if (link == null || link.href == null) {
|
36
37
|
logger.error("Failed to find a NodeInfo document link from {url}: {resourceDescriptor}", {
|
37
38
|
url: wellKnownUrl.href,
|
38
39
|
resourceDescriptor: wellKnownRd
|
package/dist/compat/mod.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import "../docloader-
|
5
|
-
import "../client-
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
11
|
-
import "../lookup-
|
12
|
-
import { ActivityTransformer } from "../context-
|
13
|
-
import "../mq-
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-
|
3
|
+
import "../kv-Nozgty7f.js";
|
4
|
+
import "../docloader-ClLAKEYo.js";
|
5
|
+
import "../client-BLIpt8C0.js";
|
6
|
+
import "../vocab-Dq4PIigg.js";
|
7
|
+
import "../actor-B80VL7Zv.js";
|
8
|
+
import "../http-C68HIQho.js";
|
9
|
+
import "../owner-BB7x_v65.js";
|
10
|
+
import "../mod-DsFZsguN.js";
|
11
|
+
import "../lookup-CimDQw3M.js";
|
12
|
+
import { ActivityTransformer } from "../context-B8KXDXjQ.js";
|
13
|
+
import "../mq-C_kcxiLL.js";
|
14
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-BdjjfJgD.js";
|
15
15
|
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 "../type-
|
6
|
+
import { Follow, Person } from "../type-tE5Z3ILc.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 "../
|
13
|
-
import "../
|
14
|
-
import "../
|
15
|
-
import "../types-
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import "../http-
|
19
|
-
import "../authdocloader-
|
20
|
-
import "../ld-
|
21
|
-
import "../owner-
|
22
|
-
import "../proof-
|
23
|
-
import "../inbox-
|
24
|
-
import "../builder
|
11
|
+
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-CnIxIUi-.js";
|
12
|
+
import "../lookup-DBhAQ6QY.js";
|
13
|
+
import "../semver-DK6KJMYH.js";
|
14
|
+
import "../client-CIZTyPSt.js";
|
15
|
+
import "../types-DEOFv30y.js";
|
16
|
+
import "../actor-D5NEKs-H.js";
|
17
|
+
import "../key-AIK2WmqL.js";
|
18
|
+
import "../http-BG0qOzZu.js";
|
19
|
+
import "../authdocloader-C80Qh6nT.js";
|
20
|
+
import "../ld-CtIXhBh6.js";
|
21
|
+
import "../owner-DLlle-l2.js";
|
22
|
+
import "../proof-NP4r1NS8.js";
|
23
|
+
import "../inbox-D-bc5rI-.js";
|
24
|
+
import "../builder--4Abku0B.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-DHnsRk0Y.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { test } from "../testing-
|
28
|
+
import "../send-BtU_Xnfq.js";
|
29
|
+
import { test } from "../testing-DXNsKEUF.js";
|
30
30
|
|
31
31
|
//#region src/compat/transformers.test.ts
|
32
32
|
const federation = new FederationImpl({ kv: new MemoryKvStore() });
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { KvKey, KvStore } from "./kv-
|
4
|
-
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "./docloader-
|
5
|
-
import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-
|
6
|
-
import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-
|
7
|
-
import { Actor, Recipient } from "./actor-
|
8
|
-
import { HttpMessageSignaturesSpec } from "./http-
|
9
|
-
import { GetKeyOwnerOptions } from "./owner-
|
10
|
-
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-
|
11
|
-
import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-
|
12
|
-
import { MessageQueue } from "./mq-
|
3
|
+
import { KvKey, KvStore } from "./kv-Nozgty7f.js";
|
4
|
+
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "./docloader-ClLAKEYo.js";
|
5
|
+
import { GetNodeInfoOptions, JsonValue, NodeInfo } from "./client-BLIpt8C0.js";
|
6
|
+
import { Activity, Collection, CryptographicKey, Hashtag, Link, Multikey, Object as Object$1 } from "./vocab-Dq4PIigg.js";
|
7
|
+
import { Actor, Recipient } from "./actor-B80VL7Zv.js";
|
8
|
+
import { HttpMessageSignaturesSpec } from "./http-C68HIQho.js";
|
9
|
+
import { GetKeyOwnerOptions } from "./owner-BB7x_v65.js";
|
10
|
+
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-DsFZsguN.js";
|
11
|
+
import { LookupWebFingerOptions, ResourceDescriptor } from "./lookup-CimDQw3M.js";
|
12
|
+
import { MessageQueue } from "./mq-C_kcxiLL.js";
|
13
13
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
14
14
|
|
15
15
|
//#region src/compat/types.d.ts
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { __commonJS, __toESM } from "./type-
|
6
|
+
import { __commonJS, __toESM } from "./type-tE5Z3ILc.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,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Note, Person } from "../type-
|
6
|
+
import { Activity, Note, Person } from "../type-tE5Z3ILc.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
|
12
|
-
import "../
|
13
|
-
import "../inbox-
|
14
|
-
import { createFederationBuilder } from "../builder
|
15
|
-
import { test } from "../testing-
|
11
|
+
import "../lookup-DBhAQ6QY.js";
|
12
|
+
import { parseSemVer } from "../semver-DK6KJMYH.js";
|
13
|
+
import "../inbox-D-bc5rI-.js";
|
14
|
+
import { createFederationBuilder } from "../builder--4Abku0B.js";
|
15
|
+
import { test } from "../testing-DXNsKEUF.js";
|
16
16
|
import { assertExists } from "../std__assert-X-_kMxKM.js";
|
17
17
|
import "../assert_rejects-DiIiJbZn.js";
|
18
18
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,13 +3,13 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-tE5Z3ILc.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
|
-
import "../lookup-
|
10
|
+
import "../lookup-DBhAQ6QY.js";
|
11
11
|
import { buildCollectionSynchronizationHeader, digest } from "../collection-CSzG2j1P.js";
|
12
|
-
import { test } from "../testing-
|
12
|
+
import { test } from "../testing-DXNsKEUF.js";
|
13
13
|
import "../std__assert-X-_kMxKM.js";
|
14
14
|
import "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,36 +3,36 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, Note, Person } from "../type-
|
6
|
+
import { Create, Note, Person } from "../type-tE5Z3ILc.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 { acceptsJsonLd, createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-
|
12
|
-
import "../
|
13
|
-
import "../
|
14
|
-
import "../
|
15
|
-
import "../types-
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import { signRequest } from "../http-
|
19
|
-
import "../authdocloader-
|
20
|
-
import "../ld-
|
21
|
-
import "../owner-
|
22
|
-
import "../proof-
|
23
|
-
import { InboxListenerSet } from "../inbox-
|
24
|
-
import "../builder
|
11
|
+
import { acceptsJsonLd, createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-CnIxIUi-.js";
|
12
|
+
import "../lookup-DBhAQ6QY.js";
|
13
|
+
import "../semver-DK6KJMYH.js";
|
14
|
+
import "../client-CIZTyPSt.js";
|
15
|
+
import "../types-DEOFv30y.js";
|
16
|
+
import "../actor-D5NEKs-H.js";
|
17
|
+
import "../key-AIK2WmqL.js";
|
18
|
+
import { signRequest } from "../http-BG0qOzZu.js";
|
19
|
+
import "../authdocloader-C80Qh6nT.js";
|
20
|
+
import "../ld-CtIXhBh6.js";
|
21
|
+
import "../owner-DLlle-l2.js";
|
22
|
+
import "../proof-NP4r1NS8.js";
|
23
|
+
import { InboxListenerSet } from "../inbox-D-bc5rI-.js";
|
24
|
+
import "../builder--4Abku0B.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-DHnsRk0Y.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { createInboxContext, createRequestContext, mockDocumentLoader, test } from "../testing-
|
28
|
+
import "../send-BtU_Xnfq.js";
|
29
|
+
import { createInboxContext, createRequestContext, mockDocumentLoader, test } from "../testing-DXNsKEUF.js";
|
30
30
|
import "../std__assert-X-_kMxKM.js";
|
31
31
|
import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
|
32
32
|
import "../assert_is_error-BPGph1Jx.js";
|
33
33
|
import "../assert_not_equals-f3m3epl3.js";
|
34
34
|
import "../assert_throws-BOO88avQ.js";
|
35
|
-
import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
35
|
+
import { rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-Cu_G6FPA.js";
|
36
36
|
|
37
37
|
//#region src/federation/handler.test.ts
|
38
38
|
test("acceptsJsonLd()", () => {
|
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Create, Invite, Offer, Update } from "../type-
|
6
|
+
import { Activity, Create, Invite, Offer, Update } from "../type-tE5Z3ILc.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import "../lookup-
|
9
|
-
import { InboxListenerSet } from "../inbox-
|
10
|
-
import { test } from "../testing-
|
8
|
+
import "../lookup-DBhAQ6QY.js";
|
9
|
+
import { InboxListenerSet } from "../inbox-D-bc5rI-.js";
|
10
|
+
import { test } from "../testing-DXNsKEUF.js";
|
11
11
|
import "../assert_is_error-BPGph1Jx.js";
|
12
12
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
13
13
|
|
@@ -3,14 +3,14 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey } from "../type-
|
6
|
+
import { CryptographicKey, Multikey } from "../type-tE5Z3ILc.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 "../lookup-
|
12
|
-
import { KvKeyCache } from "../keycache-
|
13
|
-
import { test } from "../testing-
|
11
|
+
import "../lookup-DBhAQ6QY.js";
|
12
|
+
import { KvKeyCache } from "../keycache-DHnsRk0Y.js";
|
13
|
+
import { test } from "../testing-DXNsKEUF.js";
|
14
14
|
|
15
15
|
//#region src/federation/keycache.test.ts
|
16
16
|
test("KvKeyCache.set()", async () => {
|
@@ -3,13 +3,13 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-tE5Z3ILc.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 "../lookup-
|
12
|
-
import { test } from "../testing-
|
11
|
+
import "../lookup-DBhAQ6QY.js";
|
12
|
+
import { test } from "../testing-DXNsKEUF.js";
|
13
13
|
import "../std__assert-X-_kMxKM.js";
|
14
14
|
import "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,37 +3,37 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Announce, Create, FetchError, Invite, Multikey, Note, Object as Object$1, Offer, Person, fetchDocumentLoader, getTypeId } from "../type-
|
6
|
+
import { Activity, Announce, Create, FetchError, Invite, Multikey, Note, Object as Object$1, Offer, Person, fetchDocumentLoader, getTypeId } from "../type-tE5Z3ILc.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 "../
|
13
|
-
import "../
|
14
|
-
import
|
15
|
-
import "../types-
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import { signRequest, verifyRequest } from "../http-
|
19
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
20
|
-
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-
|
21
|
-
import { doesActorOwnKey } from "../owner-
|
22
|
-
import { signObject, verifyObject } from "../proof-
|
23
|
-
import "../inbox-
|
24
|
-
import "../builder
|
11
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-CnIxIUi-.js";
|
12
|
+
import { RouterError, lookupObject } from "../lookup-DBhAQ6QY.js";
|
13
|
+
import "../semver-DK6KJMYH.js";
|
14
|
+
import "../client-CIZTyPSt.js";
|
15
|
+
import "../types-DEOFv30y.js";
|
16
|
+
import "../actor-D5NEKs-H.js";
|
17
|
+
import "../key-AIK2WmqL.js";
|
18
|
+
import { signRequest, verifyRequest } from "../http-BG0qOzZu.js";
|
19
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-C80Qh6nT.js";
|
20
|
+
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-CtIXhBh6.js";
|
21
|
+
import { doesActorOwnKey } from "../owner-DLlle-l2.js";
|
22
|
+
import { signObject, verifyObject } from "../proof-NP4r1NS8.js";
|
23
|
+
import "../inbox-D-bc5rI-.js";
|
24
|
+
import "../builder--4Abku0B.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-DHnsRk0Y.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { mockDocumentLoader, test } from "../testing-
|
28
|
+
import "../send-BtU_Xnfq.js";
|
29
|
+
import { mockDocumentLoader, test } from "../testing-DXNsKEUF.js";
|
30
30
|
import { assertStrictEquals } from "../std__assert-X-_kMxKM.js";
|
31
31
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
32
32
|
import "../assert_is_error-BPGph1Jx.js";
|
33
33
|
import { assertNotEquals } from "../assert_not_equals-f3m3epl3.js";
|
34
34
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
35
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
36
|
-
import { esm_default } from "../esm-
|
35
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-Cu_G6FPA.js";
|
36
|
+
import { esm_default } from "../esm-MoRVnXvZ.js";
|
37
37
|
|
38
38
|
//#region src/testing/fixtures/example.com/person.json
|
39
39
|
var __context$1 = ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"];
|
package/dist/federation/mod.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore } from "../kv-
|
4
|
-
import "../docloader-
|
5
|
-
import "../client-
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
11
|
-
import "../lookup-
|
12
|
-
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, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-
|
13
|
-
import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "../mq-
|
14
|
-
import "../mod-
|
3
|
+
import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore } from "../kv-Nozgty7f.js";
|
4
|
+
import "../docloader-ClLAKEYo.js";
|
5
|
+
import "../client-BLIpt8C0.js";
|
6
|
+
import "../vocab-Dq4PIigg.js";
|
7
|
+
import "../actor-B80VL7Zv.js";
|
8
|
+
import "../http-C68HIQho.js";
|
9
|
+
import "../owner-BB7x_v65.js";
|
10
|
+
import "../mod-DsFZsguN.js";
|
11
|
+
import "../lookup-CimDQw3M.js";
|
12
|
+
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, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-B8KXDXjQ.js";
|
13
|
+
import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "../mq-C_kcxiLL.js";
|
14
|
+
import "../mod-1pDWKvUL.js";
|
15
15
|
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, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, KvKey, KvStore, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParallelMessageQueue, ParamsKeyPath, 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,17 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import "../transformers-Dna8Fg7k.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-D__EFgsg.js";
|
7
|
+
import "../actor-CIsF-n5t.js";
|
8
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-0klbRaez.js";
|
9
|
+
import "../lookup-DlIiNCAM.js";
|
10
|
+
import "../key-DIlYv882.js";
|
11
|
+
import "../http-DDfAIynd.js";
|
12
|
+
import "../proof-DrvUurr3.js";
|
13
13
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-CMX7WzeL.js";
|
14
|
-
import "../
|
15
|
-
import "../
|
16
|
-
import "../
|
14
|
+
import "../jrd-CVjXud67.js";
|
15
|
+
import "../types-CbFXXeEf.js";
|
16
|
+
import "../authdocloader-kT3YjLfm.js";
|
17
|
+
import "../vocab-Dbl52dmj.js";
|
17
18
|
|
18
19
|
export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-tE5Z3ILc.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 "../lookup-
|
11
|
-
import { test } from "../testing-
|
10
|
+
import "../lookup-DBhAQ6QY.js";
|
11
|
+
import { test } from "../testing-DXNsKEUF.js";
|
12
12
|
import { assertGreater, assertGreaterOrEqual } from "../std__assert-X-_kMxKM.js";
|
13
13
|
import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-tE5Z3ILc.js";
|
7
7
|
import { AssertionError, assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import "../lookup-
|
8
|
+
import "../lookup-DBhAQ6QY.js";
|
9
9
|
import { createExponentialBackoffPolicy } from "../retry-D4GJ670a.js";
|
10
|
-
import { test } from "../testing-
|
10
|
+
import { test } from "../testing-DXNsKEUF.js";
|
11
11
|
import { assertNotEquals } from "../assert_not_equals-f3m3epl3.js";
|
12
12
|
|
13
13
|
//#region src/federation/retry.test.ts
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-tE5Z3ILc.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 { Router, RouterError } from "../lookup-
|
11
|
-
import { test } from "../testing-
|
10
|
+
import { Router, RouterError } from "../lookup-DBhAQ6QY.js";
|
11
|
+
import { test } from "../testing-DXNsKEUF.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -3,24 +3,24 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Application, Endpoints, Group, Person, Service } from "../type-
|
6
|
+
import { Activity, Application, Endpoints, Group, Person, Service } from "../type-tE5Z3ILc.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 "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import "../key-
|
13
|
-
import { verifyRequest } from "../http-
|
14
|
-
import { doesActorOwnKey } from "../owner-
|
15
|
-
import { extractInboxes, sendActivity } from "../send-
|
16
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-DBhAQ6QY.js";
|
11
|
+
import "../actor-D5NEKs-H.js";
|
12
|
+
import "../key-AIK2WmqL.js";
|
13
|
+
import { verifyRequest } from "../http-BG0qOzZu.js";
|
14
|
+
import { doesActorOwnKey } from "../owner-DLlle-l2.js";
|
15
|
+
import { extractInboxes, sendActivity } from "../send-BtU_Xnfq.js";
|
16
|
+
import { mockDocumentLoader, test } from "../testing-DXNsKEUF.js";
|
17
17
|
import "../std__assert-X-_kMxKM.js";
|
18
18
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
19
19
|
import "../assert_is_error-BPGph1Jx.js";
|
20
20
|
import { assertNotEquals } from "../assert_not_equals-f3m3epl3.js";
|
21
21
|
import "../assert_throws-BOO88avQ.js";
|
22
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
23
|
-
import { esm_default } from "../esm-
|
22
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-Cu_G6FPA.js";
|
23
|
+
import { esm_default } from "../esm-MoRVnXvZ.js";
|
24
24
|
|
25
25
|
//#region src/federation/send.test.ts
|
26
26
|
test("extractInboxes()", () => {
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, deno_default } from "./type-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
6
|
+
import { CryptographicKey, deno_default } from "./type-tE5Z3ILc.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-AIK2WmqL.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";
|