@fedify/fedify 1.9.0-pr.406.1521 → 1.9.0-pr.407.1525
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-BHH12Xwp.js → actor-CJTqCQ-M.js} +1 -1
- package/dist/{actor-B1ykTOun.js → actor-De6fGDSD.js} +187 -187
- package/dist/{authdocloader-GZg002H2.js → authdocloader-CVGCzJq0.js} +3 -3
- package/dist/{authdocloader-BtGgZqsP.js → authdocloader-DcZwMcLk.js} +3 -3
- package/dist/{builder-BIRHyehw.js → builder-DU0B93o1.js} +9 -4
- package/dist/{client-0SU-skGE.js → client-CRbX_E_M.js} +1 -1
- package/dist/compat/mod.d.ts +3 -3
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-BCj0VD68.d.ts → context-CCdNOPbA.d.ts} +13 -2
- package/dist/{docloader-CaLsgh4X.js → docloader-D8Fh1IZU.js} +1 -1
- package/dist/{esm-BoA6Uvos.js → esm-QYewCI_X.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- 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 +18 -18
- package/dist/federation/mod.d.ts +3 -3
- package/dist/federation/mod.js +10 -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-I5VnYIsV.js → http-CPYf7cPp.js} +2 -2
- package/dist/{http-fQdeG9Xw.js → http-lnF7h--s.js} +3 -3
- package/dist/{inbox-GGvnDH1r.js → inbox-CghumUyK.js} +1 -1
- package/dist/{key-C4weblb8.js → key-BFp8ZVR7.js} +2 -2
- package/dist/{key-xjuh8cOL.js → key-BoBF3R9J.js} +4 -4
- package/dist/{key-XDTg7eeh.js → key-Df73-4Dt.js} +3 -3
- package/dist/{key-vHG8KOdX.js → key-iCc7UBtS.js} +2 -2
- package/dist/{keycache-B0hStsXO.js → keycache-W5whBNHz.js} +1 -1
- package/dist/{keys-BspKILRX.js → keys-DzXoe766.js} +1 -1
- package/dist/{ld-CF7T-cEO.js → ld-Bo7hBOQM.js} +2 -2
- package/dist/{lookup-VPO3t6IA.js → lookup-daZGBMbl.js} +1 -1
- package/dist/{lookup-BcITUtjS.js → lookup-voiBV2YM.js} +1 -1
- package/dist/middleware-Bw2G-S7r.js +17 -0
- package/dist/middleware-CRreBGSJ.js +26 -0
- package/dist/{middleware-Ddsf12Kv.js → middleware-DFi09owG.js} +19 -14
- package/dist/{middleware-Bq9-0rMB.js → middleware-Dkjg6dAL.js} +21 -11
- package/dist/{mod-BRq3eKtS.d.ts → mod-DIPv5WiY.d.ts} +1 -1
- package/dist/mod.d.ts +4 -5
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-BBuNFPUR.js → owner-8481I3tG.js} +2 -2
- package/dist/{proof-CuGN8KGh.js → proof-BXPLgkhy.js} +3 -3
- package/dist/{proof-CHmgHVlC.js → proof-Bm47dXn4.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.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-Dm573ntH.js → send-DKJICnBk.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.js +6 -6
- 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 +11 -0
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-BOjTKb2K.js → testing-3T79m4Od.js} +2 -2
- package/dist/{type-CkOVGlUH.js → type-D1Q48D9W.js} +186 -186
- package/dist/{types-Cp5Cp96J.js → types-aDMJI3Gq.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-CQ7E6zL9.js → vocab-vzRbRwJl.js} +3 -3
- package/dist/webfinger/handler.test.js +44 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.d.ts +1 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +2 -2
- package/dist/x/sveltekit.d.ts +2 -2
- package/package.json +1 -1
- package/dist/middleware-BX74VPmG.js +0 -26
- package/dist/middleware-l4Hz218q.js +0 -17
- package/dist/mod-GIh5OYxW.d.ts +0 -2
- /package/dist/{lookup-D3CS4Euw.d.ts → mod-DBzN0aCM.d.ts} +0 -0
@@ -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-D1Q48D9W.js";
|
7
|
+
import { validateCryptoKey } from "./key-BFp8ZVR7.js";
|
8
|
+
import { doubleKnock } from "./http-CPYf7cPp.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-D8Fh1IZU.js";
|
6
|
+
import { validateCryptoKey } from "./key-iCc7UBtS.js";
|
7
|
+
import { doubleKnock } from "./http-lnF7h--s.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-D1Q48D9W.js";
|
7
|
+
import { Router, RouterError } from "./lookup-voiBV2YM.js";
|
8
|
+
import { InboxListenerSet } from "./inbox-CghumUyK.js";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
11
11
|
|
@@ -14,6 +14,7 @@ var FederationBuilderImpl = class {
|
|
14
14
|
router;
|
15
15
|
actorCallbacks;
|
16
16
|
nodeInfoDispatcher;
|
17
|
+
webFingerDispatcher;
|
17
18
|
objectCallbacks;
|
18
19
|
objectTypeIds;
|
19
20
|
inboxPath;
|
@@ -41,7 +42,7 @@ var FederationBuilderImpl = class {
|
|
41
42
|
this.collectionTypeIds = {};
|
42
43
|
}
|
43
44
|
async build(options) {
|
44
|
-
const { FederationImpl } = await import("./middleware-
|
45
|
+
const { FederationImpl } = await import("./middleware-CRreBGSJ.js");
|
45
46
|
const f = new FederationImpl(options);
|
46
47
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
47
48
|
f.router = this.router.clone();
|
@@ -49,6 +50,7 @@ var FederationBuilderImpl = class {
|
|
49
50
|
f._initializeRouter();
|
50
51
|
f.actorCallbacks = this.actorCallbacks == null ? void 0 : { ...this.actorCallbacks };
|
51
52
|
f.nodeInfoDispatcher = this.nodeInfoDispatcher;
|
53
|
+
f.webFingerDispatcher = this.webFingerDispatcher;
|
52
54
|
f.objectCallbacks = { ...this.objectCallbacks };
|
53
55
|
f.objectTypeIds = { ...this.objectTypeIds };
|
54
56
|
f.inboxPath = this.inboxPath;
|
@@ -186,6 +188,9 @@ var FederationBuilderImpl = class {
|
|
186
188
|
if (variables.size !== 0) throw new RouterError("Path for NodeInfo dispatcher must have no variables.");
|
187
189
|
this.nodeInfoDispatcher = dispatcher;
|
188
190
|
}
|
191
|
+
setWebFingerLinkDispatcher(dispatcher) {
|
192
|
+
this.webFingerDispatcher = dispatcher;
|
193
|
+
}
|
189
194
|
setObjectDispatcher(cls, path, dispatcher) {
|
190
195
|
const routeName = `object:${cls.typeId.href}`;
|
191
196
|
if (this.router.has(routeName)) throw new RouterError(`Object dispatcher for ${cls.name} already set.`);
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { getUserAgent } from "./type-
|
6
|
+
import { getUserAgent } from "./type-D1Q48D9W.js";
|
7
7
|
import { parseSemVer } from "./semver-dArNLkR9.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
|
package/dist/compat/mod.d.ts
CHANGED
@@ -8,8 +8,8 @@ import "../actor-Ch5yFYFG.js";
|
|
8
8
|
import "../http-D8Q4xH0d.js";
|
9
9
|
import "../owner-D38zBIMc.js";
|
10
10
|
import "../mod-Cy6pkZSn.js";
|
11
|
-
import "../
|
12
|
-
import { ActivityTransformer } from "../context-
|
11
|
+
import "../mod-DBzN0aCM.js";
|
12
|
+
import { ActivityTransformer } from "../context-CCdNOPbA.js";
|
13
13
|
import "../mq-CRGm1e_F.js";
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-
|
14
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DIPv5WiY.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-D1Q48D9W.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-
|
11
|
+
import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-DFi09owG.js";
|
12
12
|
import "../semver-dArNLkR9.js";
|
13
|
-
import "../client-
|
14
|
-
import "../lookup-
|
13
|
+
import "../client-CRbX_E_M.js";
|
14
|
+
import "../lookup-voiBV2YM.js";
|
15
15
|
import "../types-BIgY6c-l.js";
|
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-
|
16
|
+
import "../actor-CJTqCQ-M.js";
|
17
|
+
import "../key-BFp8ZVR7.js";
|
18
|
+
import "../http-CPYf7cPp.js";
|
19
|
+
import "../authdocloader-CVGCzJq0.js";
|
20
|
+
import "../ld-Bo7hBOQM.js";
|
21
|
+
import "../owner-8481I3tG.js";
|
22
|
+
import "../proof-Bm47dXn4.js";
|
23
|
+
import "../inbox-CghumUyK.js";
|
24
|
+
import "../builder-DU0B93o1.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-W5whBNHz.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { test } from "../testing-
|
28
|
+
import "../send-DKJICnBk.js";
|
29
|
+
import { test } from "../testing-3T79m4Od.js";
|
30
30
|
|
31
31
|
//#region src/compat/transformers.test.ts
|
32
32
|
const federation = new FederationImpl({ kv: new MemoryKvStore() });
|
@@ -8,7 +8,7 @@ import { Actor, Recipient } from "./actor-Ch5yFYFG.js";
|
|
8
8
|
import { HttpMessageSignaturesSpec } from "./http-D8Q4xH0d.js";
|
9
9
|
import { GetKeyOwnerOptions } from "./owner-D38zBIMc.js";
|
10
10
|
import { LookupObjectOptions, TraverseCollectionOptions } from "./mod-Cy6pkZSn.js";
|
11
|
-
import { LookupWebFingerOptions, ResourceDescriptor } from "./
|
11
|
+
import { Link as Link$1, LookupWebFingerOptions, ResourceDescriptor } from "./mod-DBzN0aCM.js";
|
12
12
|
import { MessageQueue } from "./mq-CRGm1e_F.js";
|
13
13
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
14
14
|
|
@@ -73,6 +73,12 @@ interface SenderKeyPair {
|
|
73
73
|
* @template TContextData The context data to pass to the {@link Context}.
|
74
74
|
*/
|
75
75
|
type NodeInfoDispatcher<TContextData> = (context: RequestContext<TContextData>) => NodeInfo | Promise<NodeInfo>;
|
76
|
+
/**
|
77
|
+
* A callback that dispatches a array of {@link Link}.
|
78
|
+
*
|
79
|
+
* @template TContextData The context data to pass to the {@link Context}.
|
80
|
+
*/
|
81
|
+
type WebFingerLinkDispatcher<TContextData> = (context: RequestContext<TContextData>) => Link$1[] | Promise<Link$1[]>;
|
76
82
|
/**
|
77
83
|
* A callback that dispatches an {@link Actor} object.
|
78
84
|
*
|
@@ -667,6 +673,11 @@ interface Federatable<TContextData> {
|
|
667
673
|
* @throws {RouterError} Thrown if the path pattern is invalid.
|
668
674
|
*/
|
669
675
|
setNodeInfoDispatcher(path: string, dispatcher: NodeInfoDispatcher<TContextData>): void;
|
676
|
+
/**
|
677
|
+
* Registers a links dispatcher to WebFinger
|
678
|
+
* @param dispatcher A links dispatcher callback to register.
|
679
|
+
*/
|
680
|
+
setWebFingerLinkDispatcher(dispatcher: WebFingerLinkDispatcher<TContextData>): void;
|
670
681
|
/**
|
671
682
|
* Registers an actor dispatcher.
|
672
683
|
*
|
@@ -2247,4 +2258,4 @@ interface ActorKeyPair extends CryptoKeyPair {
|
|
2247
2258
|
multikey: Multikey;
|
2248
2259
|
}
|
2249
2260
|
//#endregion
|
2250
|
-
export { ActivityTransformer, 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 };
|
2261
|
+
export { ActivityTransformer, 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, WebFingerLinkDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
@@ -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-D1Q48D9W.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-D1Q48D9W.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
11
|
import { parseSemVer } from "../semver-dArNLkR9.js";
|
12
|
-
import "../lookup-
|
13
|
-
import "../inbox-
|
14
|
-
import { createFederationBuilder } from "../builder-
|
15
|
-
import { test } from "../testing-
|
12
|
+
import "../lookup-voiBV2YM.js";
|
13
|
+
import "../inbox-CghumUyK.js";
|
14
|
+
import { createFederationBuilder } from "../builder-DU0B93o1.js";
|
15
|
+
import { test } from "../testing-3T79m4Od.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-D1Q48D9W.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-voiBV2YM.js";
|
11
11
|
import { buildCollectionSynchronizationHeader, digest } from "../collection-CSzG2j1P.js";
|
12
|
-
import { test } from "../testing-
|
12
|
+
import { test } from "../testing-3T79m4Od.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-D1Q48D9W.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-
|
11
|
+
import { acceptsJsonLd, createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-DFi09owG.js";
|
12
12
|
import "../semver-dArNLkR9.js";
|
13
|
-
import "../client-
|
14
|
-
import "../lookup-
|
13
|
+
import "../client-CRbX_E_M.js";
|
14
|
+
import "../lookup-voiBV2YM.js";
|
15
15
|
import "../types-BIgY6c-l.js";
|
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-
|
16
|
+
import "../actor-CJTqCQ-M.js";
|
17
|
+
import "../key-BFp8ZVR7.js";
|
18
|
+
import { signRequest } from "../http-CPYf7cPp.js";
|
19
|
+
import "../authdocloader-CVGCzJq0.js";
|
20
|
+
import "../ld-Bo7hBOQM.js";
|
21
|
+
import "../owner-8481I3tG.js";
|
22
|
+
import "../proof-Bm47dXn4.js";
|
23
|
+
import { InboxListenerSet } from "../inbox-CghumUyK.js";
|
24
|
+
import "../builder-DU0B93o1.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-W5whBNHz.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { createInboxContext, createRequestContext, mockDocumentLoader, test } from "../testing-
|
28
|
+
import "../send-DKJICnBk.js";
|
29
|
+
import { createInboxContext, createRequestContext, mockDocumentLoader, test } from "../testing-3T79m4Od.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-DzXoe766.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-D1Q48D9W.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-voiBV2YM.js";
|
9
|
+
import { InboxListenerSet } from "../inbox-CghumUyK.js";
|
10
|
+
import { test } from "../testing-3T79m4Od.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-D1Q48D9W.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-voiBV2YM.js";
|
12
|
+
import { KvKeyCache } from "../keycache-W5whBNHz.js";
|
13
|
+
import { test } from "../testing-3T79m4Od.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-D1Q48D9W.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-voiBV2YM.js";
|
12
|
+
import { test } from "../testing-3T79m4Od.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-D1Q48D9W.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-
|
11
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-DFi09owG.js";
|
12
12
|
import "../semver-dArNLkR9.js";
|
13
|
-
import "../client-
|
14
|
-
import { RouterError, lookupObject } from "../lookup-
|
13
|
+
import "../client-CRbX_E_M.js";
|
14
|
+
import { RouterError, lookupObject } from "../lookup-voiBV2YM.js";
|
15
15
|
import "../types-BIgY6c-l.js";
|
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-
|
16
|
+
import "../actor-CJTqCQ-M.js";
|
17
|
+
import "../key-BFp8ZVR7.js";
|
18
|
+
import { signRequest, verifyRequest } from "../http-CPYf7cPp.js";
|
19
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-CVGCzJq0.js";
|
20
|
+
import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-Bo7hBOQM.js";
|
21
|
+
import { doesActorOwnKey } from "../owner-8481I3tG.js";
|
22
|
+
import { signObject, verifyObject } from "../proof-Bm47dXn4.js";
|
23
|
+
import "../inbox-CghumUyK.js";
|
24
|
+
import "../builder-DU0B93o1.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-W5whBNHz.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { mockDocumentLoader, test } from "../testing-
|
28
|
+
import "../send-DKJICnBk.js";
|
29
|
+
import { mockDocumentLoader, test } from "../testing-3T79m4Od.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-DzXoe766.js";
|
36
|
+
import { esm_default } from "../esm-QYewCI_X.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
@@ -8,8 +8,8 @@ import "../actor-Ch5yFYFG.js";
|
|
8
8
|
import "../http-D8Q4xH0d.js";
|
9
9
|
import "../owner-D38zBIMc.js";
|
10
10
|
import "../mod-Cy6pkZSn.js";
|
11
|
-
import "../
|
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-
|
11
|
+
import "../mod-DBzN0aCM.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, WebFingerLinkDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-CCdNOPbA.js";
|
13
13
|
import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "../mq-CRGm1e_F.js";
|
14
14
|
import "../mod-g0xFzAP9.js";
|
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 };
|
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, WebFingerLinkDispatcher, 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-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-D8Fh1IZU.js";
|
7
|
+
import "../actor-De6fGDSD.js";
|
8
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-Dkjg6dAL.js";
|
9
|
+
import "../lookup-daZGBMbl.js";
|
10
|
+
import "../key-iCc7UBtS.js";
|
11
|
+
import "../http-lnF7h--s.js";
|
12
|
+
import "../proof-BXPLgkhy.js";
|
13
13
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-CMX7WzeL.js";
|
14
|
-
import "../types-
|
15
|
-
import "../authdocloader-
|
16
|
-
import "../vocab-
|
14
|
+
import "../types-aDMJI3Gq.js";
|
15
|
+
import "../authdocloader-DcZwMcLk.js";
|
16
|
+
import "../vocab-vzRbRwJl.js";
|
17
17
|
|
18
18
|
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-D1Q48D9W.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-voiBV2YM.js";
|
11
|
+
import { test } from "../testing-3T79m4Od.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-D1Q48D9W.js";
|
7
7
|
import { AssertionError, assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import "../lookup-
|
8
|
+
import "../lookup-voiBV2YM.js";
|
9
9
|
import { createExponentialBackoffPolicy } from "../retry-D4GJ670a.js";
|
10
|
-
import { test } from "../testing-
|
10
|
+
import { test } from "../testing-3T79m4Od.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-D1Q48D9W.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-voiBV2YM.js";
|
11
|
+
import { test } from "../testing-3T79m4Od.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-D1Q48D9W.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-voiBV2YM.js";
|
11
|
+
import "../actor-CJTqCQ-M.js";
|
12
|
+
import "../key-BFp8ZVR7.js";
|
13
|
+
import { verifyRequest } from "../http-CPYf7cPp.js";
|
14
|
+
import { doesActorOwnKey } from "../owner-8481I3tG.js";
|
15
|
+
import { extractInboxes, sendActivity } from "../send-DKJICnBk.js";
|
16
|
+
import { mockDocumentLoader, test } from "../testing-3T79m4Od.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-DzXoe766.js";
|
23
|
+
import { esm_default } from "../esm-QYewCI_X.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-D1Q48D9W.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BFp8ZVR7.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";
|
@@ -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-D8Fh1IZU.js";
|
6
|
+
import { CryptographicKey } from "./actor-De6fGDSD.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-iCc7UBtS.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,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, deno_default, getTypeId } from "./type-
|
6
|
+
import { Activity, deno_default, getTypeId } from "./type-D1Q48D9W.js";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
9
9
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Object as Object$1, deno_default, getDocumentLoader } from "./type-
|
7
|
-
import { isActor } from "./actor-
|
6
|
+
import { CryptographicKey, Object as Object$1, deno_default, getDocumentLoader } from "./type-D1Q48D9W.js";
|
7
|
+
import { isActor } from "./actor-CJTqCQ-M.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
|