@fedify/fedify 1.7.5-pr.293.995 → 1.7.6
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-DCfCQoKy.js → actor-BPcHD1DQ.js} +3 -3
- package/dist/{actor-DpOCWBU2.js → actor-BnQGQxqE.js} +179 -179
- package/dist/{assert-0DSnLFa8.js → assert-DmFG7ppO.js} +1 -1
- package/dist/{assert_equals-XhPMqqO2.js → assert_equals-CTYbeopb.js} +29 -11
- package/dist/{assert_instance_of-v5adm_-K.js → assert_instance_of-CF09JHYM.js} +1 -1
- package/dist/{assert_is_error-Drwb_yQp.js → assert_is_error-nrwA1GeT.js} +1 -1
- package/dist/{assert_not_equals-BRPdeJ9D.js → assert_not_equals-Dc7y-V5Q.js} +1 -1
- package/dist/{assert_rejects-D_nYI1gs.js → assert_rejects-C-sxEMM5.js} +2 -2
- package/dist/{assert_throws-DNuPhPNp.js → assert_throws-Cn9C6Jur.js} +2 -2
- package/dist/{authdocloader-u7iRvJI6.js → authdocloader-Brpi6E4M.js} +3 -3
- package/dist/{authdocloader-C8ocs8WK.js → authdocloader-hZbuGYGe.js} +3 -3
- package/dist/{builder-CoMaHOSj.js → builder-CkEsZWb3.js} +3 -3
- package/dist/{client-ve1fySOk.js → client-DP--tJbJ.js} +1 -1
- package/dist/compat/transformers.test.js +20 -20
- package/dist/{context-DJ0lZffc.js → context-DdckLL3d.js} +2 -2
- package/dist/{docloader-CWnRyKZz.js → docloader-Bf7FNkEt.js} +1 -1
- package/dist/{docloader-0f763awu.js → docloader-WGNocIQl.js} +1 -1
- package/dist/federation/builder.test.js +12 -12
- package/dist/federation/collection.test.js +8 -8
- package/dist/federation/handler.test.js +27 -27
- package/dist/federation/inbox.test.js +6 -6
- package/dist/federation/keycache.test.js +6 -6
- package/dist/federation/kv.test.js +8 -8
- package/dist/federation/middleware.test.js +26 -26
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +8 -8
- package/dist/federation/retry.test.js +2 -2
- package/dist/federation/router.test.js +8 -8
- package/dist/federation/send.test.js +17 -17
- package/dist/{http-Ctrc1mTY.js → http-DrNOicWD.js} +30 -21
- package/dist/{http-C2jYH3Wj.js → http-kaBBOddv.js} +30 -21
- package/dist/{inbox-C0lZZQrn.js → inbox-DaVmbpgM.js} +2 -2
- package/dist/{key-DdzidiHt.js → key-B9cBiT7f.js} +4 -4
- package/dist/{key-Du7Mtz6c.js → key-BacJ7S4E.js} +2 -2
- package/dist/{key-w62j0nN_.js → key-DMk4CUyA.js} +3 -3
- package/dist/{key-DaROeJaM.js → key-DNbbkLEt.js} +5 -5
- package/dist/{keycache-HV9rL4Zg.js → keycache-1nfnh4MW.js} +1 -1
- package/dist/{keys-CLKmoYUK.js → keys-DqZTy_b8.js} +1 -1
- package/dist/{ld-d8SMvc77.js → ld-DhRNxRXj.js} +3 -3
- package/dist/{lookup-C0QZwcNp.js → lookup-DE4JI30z.js} +1 -1
- package/dist/{lookup-BhjMJsQq.js → lookup-Dom-VSN0.js} +1 -1
- package/dist/{lookup-vqz66SuH.js → lookup-DpBb3ixM.js} +3 -3
- package/dist/middleware-8reA9X9-.js +17 -0
- package/dist/{middleware-CaLPAUX8.js → middleware-D6e8hqRt.js} +11 -11
- package/dist/middleware-DZnPb6Ha.js +33 -0
- package/dist/{middleware-z6PAl2ao.js → middleware-DjGHOITR.js} +16 -16
- package/dist/{mod-sEI6_uZ2.d.ts → mod-DS-8N1r1.d.ts} +1 -1
- package/dist/mod.d.ts +2 -2
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +10 -10
- package/dist/nodeinfo/handler.test.js +26 -26
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +8 -8
- package/dist/nodeinfo/types.test.js +8 -8
- package/dist/{owner-B681rcfZ.js → owner-Cj-uzr16.js} +3 -3
- package/dist/{proof-Ckfj_lUB.js → proof-BydqlnsK.js} +3 -3
- package/dist/{proof-R1Gw5CZB.js → proof-DfxuC-RR.js} +3 -3
- package/dist/runtime/authdocloader.test.js +16 -16
- package/dist/runtime/docloader.test.js +9 -9
- package/dist/runtime/key.test.js +13 -13
- package/dist/runtime/langstr.test.js +8 -8
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +8 -8
- package/dist/runtime/url.test.js +4 -4
- package/dist/{send-C3nUuiVP.js → send-DHT4Dq2y.js} +2 -2
- package/dist/sig/http.test.js +63 -15
- package/dist/sig/key.test.js +14 -14
- package/dist/sig/ld.test.js +12 -12
- package/dist/sig/mod.d.ts +1 -1
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +16 -16
- package/dist/sig/proof.test.js +15 -15
- package/dist/{std__assert-CmyZxqPw.js → std__assert-vp0TKMS1.js} +1 -1
- package/dist/testing/docloader.test.js +8 -8
- package/dist/{types-NuyNm5jf.js → types-DmNfU0QY.js} +1 -1
- package/dist/vocab/actor.test.js +12 -12
- package/dist/vocab/lookup.test.js +12 -12
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +48 -46
- package/dist/{vocab-CJVgR_C2.js → vocab-DTUqat8X.js} +178 -178
- package/dist/{vocab-BIEZj4Uc.js → vocab-DfjcfPXi.js} +3 -3
- package/dist/webfinger/handler.test.js +26 -26
- package/dist/webfinger/lookup.test.js +10 -10
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +8 -8
- package/package.json +1 -1
- package/dist/middleware-0Gslab3l.js +0 -33
- package/dist/middleware-DTBS4kbm.js +0 -17
package/dist/federation/mod.js
CHANGED
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import "../transformers-ghwJuzGY.js";
|
6
|
-
import "../docloader-
|
7
|
-
import "../actor-
|
8
|
-
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-
|
9
|
-
import "../lookup-
|
10
|
-
import "../key-
|
11
|
-
import "../http-
|
12
|
-
import "../proof-
|
6
|
+
import "../docloader-WGNocIQl.js";
|
7
|
+
import "../actor-BnQGQxqE.js";
|
8
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-D6e8hqRt.js";
|
9
|
+
import "../lookup-DE4JI30z.js";
|
10
|
+
import "../key-BacJ7S4E.js";
|
11
|
+
import "../http-DrNOicWD.js";
|
12
|
+
import "../proof-BydqlnsK.js";
|
13
13
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-BRIQn-GV.js";
|
14
|
-
import "../types-
|
15
|
-
import "../authdocloader-
|
16
|
-
import "../vocab-
|
14
|
+
import "../types-DmNfU0QY.js";
|
15
|
+
import "../authdocloader-hZbuGYGe.js";
|
16
|
+
import "../vocab-DfjcfPXi.js";
|
17
17
|
|
18
18
|
export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
@@ -3,15 +3,15 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import { assert } from "../assert-
|
8
|
-
import "../assert_instance_of-
|
6
|
+
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
7
|
+
import { assert } from "../assert-DmFG7ppO.js";
|
8
|
+
import "../assert_instance_of-CF09JHYM.js";
|
9
9
|
import { test } from "../testing-BZ0dJ4qn.js";
|
10
|
-
import { assertGreater, assertGreaterOrEqual } from "../std__assert-
|
11
|
-
import { assertFalse } from "../assert_rejects-
|
12
|
-
import "../assert_is_error-
|
13
|
-
import "../assert_not_equals-
|
14
|
-
import "../assert_throws-
|
10
|
+
import { assertGreater, assertGreaterOrEqual } from "../std__assert-vp0TKMS1.js";
|
11
|
+
import { assertFalse } from "../assert_rejects-C-sxEMM5.js";
|
12
|
+
import "../assert_is_error-nrwA1GeT.js";
|
13
|
+
import "../assert_not_equals-Dc7y-V5Q.js";
|
14
|
+
import "../assert_throws-Cn9C6Jur.js";
|
15
15
|
import { delay } from "@es-toolkit/es-toolkit";
|
16
16
|
|
17
17
|
//#region federation/mq.ts
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { AssertionError, assertEquals } from "../assert_equals-
|
6
|
+
import { AssertionError, assertEquals } from "../assert_equals-CTYbeopb.js";
|
7
7
|
import { createExponentialBackoffPolicy } from "../retry-BiIhZWgD.js";
|
8
8
|
import { test } from "../testing-BZ0dJ4qn.js";
|
9
|
-
import { assertNotEquals } from "../assert_not_equals-
|
9
|
+
import { assertNotEquals } from "../assert_not_equals-Dc7y-V5Q.js";
|
10
10
|
|
11
11
|
//#region federation/retry.test.ts
|
12
12
|
test("createExponentialBackoffPolicy()", () => {
|
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import { assert } from "../assert-
|
8
|
-
import "../assert_instance_of-
|
6
|
+
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
7
|
+
import { assert } from "../assert-DmFG7ppO.js";
|
8
|
+
import "../assert_instance_of-CF09JHYM.js";
|
9
9
|
import { Router, RouterError } from "../router-D_aVZZUc.js";
|
10
10
|
import { test } from "../testing-BZ0dJ4qn.js";
|
11
|
-
import "../std__assert-
|
12
|
-
import { assertFalse } from "../assert_rejects-
|
13
|
-
import "../assert_is_error-
|
14
|
-
import "../assert_not_equals-
|
15
|
-
import { assertThrows } from "../assert_throws-
|
11
|
+
import "../std__assert-vp0TKMS1.js";
|
12
|
+
import { assertFalse } from "../assert_rejects-C-sxEMM5.js";
|
13
|
+
import "../assert_is_error-nrwA1GeT.js";
|
14
|
+
import "../assert_not_equals-Dc7y-V5Q.js";
|
15
|
+
import { assertThrows } from "../assert_throws-Cn9C6Jur.js";
|
16
16
|
|
17
17
|
//#region federation/router.test.ts
|
18
18
|
function setUp(options = {}) {
|
@@ -3,29 +3,29 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { assertEquals } from "../assert_equals-
|
7
|
-
import { assert } from "../assert-
|
8
|
-
import "../assert_instance_of-
|
9
|
-
import "../docloader-
|
6
|
+
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
7
|
+
import { assert } from "../assert-DmFG7ppO.js";
|
8
|
+
import "../assert_instance_of-CF09JHYM.js";
|
9
|
+
import "../docloader-Bf7FNkEt.js";
|
10
10
|
import "../url-kTAI6_KP.js";
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
12
|
-
import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab-
|
12
|
+
import { Activity, Application, Endpoints, Group, Person, Service } from "../vocab-DTUqat8X.js";
|
13
13
|
import "../langstr-DbWheeIS.js";
|
14
|
-
import "../lookup-
|
14
|
+
import "../lookup-Dom-VSN0.js";
|
15
15
|
import "../type-D2s5lmbZ.js";
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import { verifyRequest } from "../http-
|
19
|
-
import { doesActorOwnKey } from "../owner-
|
20
|
-
import { extractInboxes, sendActivity } from "../send-
|
16
|
+
import "../actor-BPcHD1DQ.js";
|
17
|
+
import "../key-DMk4CUyA.js";
|
18
|
+
import { verifyRequest } from "../http-kaBBOddv.js";
|
19
|
+
import { doesActorOwnKey } from "../owner-Cj-uzr16.js";
|
20
|
+
import { extractInboxes, sendActivity } from "../send-DHT4Dq2y.js";
|
21
21
|
import { test } from "../testing-BZ0dJ4qn.js";
|
22
|
-
import "../std__assert-
|
23
|
-
import { assertFalse, assertRejects } from "../assert_rejects-
|
24
|
-
import "../assert_is_error-
|
25
|
-
import { assertNotEquals } from "../assert_not_equals-
|
26
|
-
import "../assert_throws-
|
22
|
+
import "../std__assert-vp0TKMS1.js";
|
23
|
+
import { assertFalse, assertRejects } from "../assert_rejects-C-sxEMM5.js";
|
24
|
+
import "../assert_is_error-nrwA1GeT.js";
|
25
|
+
import { assertNotEquals } from "../assert_not_equals-Dc7y-V5Q.js";
|
26
|
+
import "../assert_throws-Cn9C6Jur.js";
|
27
27
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
28
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
28
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-DqZTy_b8.js";
|
29
29
|
import { esm_default } from "../esm-CASHO3OR.js";
|
30
30
|
|
31
31
|
//#region federation/send.test.ts
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default } from "./docloader-
|
6
|
-
import { CryptographicKey } from "./actor-
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
5
|
+
import { deno_default } from "./docloader-WGNocIQl.js";
|
6
|
+
import { CryptographicKey } from "./actor-BnQGQxqE.js";
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-BacJ7S4E.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";
|
@@ -644,6 +644,30 @@ async function verifyRequestRfc9421(request, span, { documentLoader, contextLoad
|
|
644
644
|
return validKey;
|
645
645
|
}
|
646
646
|
/**
|
647
|
+
* Helper function to create a new Request for redirect handling.
|
648
|
+
* @param request The original request.
|
649
|
+
* @param location The redirect location.
|
650
|
+
* @param body The request body as ArrayBuffer or undefined.
|
651
|
+
* @returns A new Request object for the redirect.
|
652
|
+
*/
|
653
|
+
function createRedirectRequest(request, location, body) {
|
654
|
+
const url = new URL(location, request.url);
|
655
|
+
return new Request(url, {
|
656
|
+
method: request.method,
|
657
|
+
headers: request.headers,
|
658
|
+
body,
|
659
|
+
redirect: "manual",
|
660
|
+
signal: request.signal,
|
661
|
+
mode: request.mode,
|
662
|
+
credentials: request.credentials,
|
663
|
+
referrer: request.referrer,
|
664
|
+
referrerPolicy: request.referrerPolicy,
|
665
|
+
integrity: request.integrity,
|
666
|
+
keepalive: request.keepalive,
|
667
|
+
cache: request.cache
|
668
|
+
});
|
669
|
+
}
|
670
|
+
/**
|
647
671
|
* Performs a double-knock request to the given URL. For the details of
|
648
672
|
* double-knocking, see
|
649
673
|
* <https://swicg.github.io/activitypub-http-signature/#how-to-upgrade-supported-versions>.
|
@@ -666,19 +690,7 @@ async function doubleKnock(request, identity, options = {}) {
|
|
666
690
|
if (response.status >= 300 && response.status < 400 && response.headers.has("Location")) {
|
667
691
|
const location = response.headers.get("Location");
|
668
692
|
const body = request.method !== "GET" && request.method !== "HEAD" ? await request.clone().arrayBuffer() : void 0;
|
669
|
-
return doubleKnock(
|
670
|
-
method: request.method,
|
671
|
-
headers: request.headers,
|
672
|
-
body,
|
673
|
-
redirect: "manual",
|
674
|
-
signal: request.signal,
|
675
|
-
mode: request.mode,
|
676
|
-
credentials: request.credentials,
|
677
|
-
referrer: request.referrer,
|
678
|
-
referrerPolicy: request.referrerPolicy,
|
679
|
-
integrity: request.integrity,
|
680
|
-
keepalive: request.keepalive
|
681
|
-
}), identity, options);
|
693
|
+
return doubleKnock(createRedirectRequest(request, location, body), identity, options);
|
682
694
|
} else if (response.status === 400 || response.status === 401 || response.status > 401) {
|
683
695
|
const spec = firstTrySpec === "draft-cavage-http-signatures-12" ? "rfc9421" : "draft-cavage-http-signatures-12";
|
684
696
|
getLogger([
|
@@ -699,11 +711,8 @@ async function doubleKnock(request, identity, options = {}) {
|
|
699
711
|
response = await fetch(signedRequest, { redirect: "manual" });
|
700
712
|
if (response.status >= 300 && response.status < 400 && response.headers.has("Location")) {
|
701
713
|
const location = response.headers.get("Location");
|
702
|
-
const body = request.method !== "GET" && request.method !== "HEAD" ? request.clone().
|
703
|
-
return doubleKnock(
|
704
|
-
...request,
|
705
|
-
body
|
706
|
-
}), identity, options);
|
714
|
+
const body = request.method !== "GET" && request.method !== "HEAD" ? await request.clone().arrayBuffer() : void 0;
|
715
|
+
return doubleKnock(createRedirectRequest(request, location, body), identity, options);
|
707
716
|
} else if (response.status !== 400 && response.status !== 401) await specDeterminer?.rememberSpec(origin, spec);
|
708
717
|
} else await specDeterminer?.rememberSpec(origin, firstTrySpec);
|
709
718
|
return response;
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./docloader-
|
7
|
-
import { CryptographicKey } from "./vocab-
|
8
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
6
|
+
import { deno_default } from "./docloader-Bf7FNkEt.js";
|
7
|
+
import { CryptographicKey } from "./vocab-DTUqat8X.js";
|
8
|
+
import { fetchKey, validateCryptoKey } from "./key-DMk4CUyA.js";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
11
11
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
@@ -645,6 +645,30 @@ async function verifyRequestRfc9421(request, span, { documentLoader, contextLoad
|
|
645
645
|
return validKey;
|
646
646
|
}
|
647
647
|
/**
|
648
|
+
* Helper function to create a new Request for redirect handling.
|
649
|
+
* @param request The original request.
|
650
|
+
* @param location The redirect location.
|
651
|
+
* @param body The request body as ArrayBuffer or undefined.
|
652
|
+
* @returns A new Request object for the redirect.
|
653
|
+
*/
|
654
|
+
function createRedirectRequest(request, location, body) {
|
655
|
+
const url = new URL(location, request.url);
|
656
|
+
return new Request(url, {
|
657
|
+
method: request.method,
|
658
|
+
headers: request.headers,
|
659
|
+
body,
|
660
|
+
redirect: "manual",
|
661
|
+
signal: request.signal,
|
662
|
+
mode: request.mode,
|
663
|
+
credentials: request.credentials,
|
664
|
+
referrer: request.referrer,
|
665
|
+
referrerPolicy: request.referrerPolicy,
|
666
|
+
integrity: request.integrity,
|
667
|
+
keepalive: request.keepalive,
|
668
|
+
cache: request.cache
|
669
|
+
});
|
670
|
+
}
|
671
|
+
/**
|
648
672
|
* Performs a double-knock request to the given URL. For the details of
|
649
673
|
* double-knocking, see
|
650
674
|
* <https://swicg.github.io/activitypub-http-signature/#how-to-upgrade-supported-versions>.
|
@@ -667,19 +691,7 @@ async function doubleKnock(request, identity, options = {}) {
|
|
667
691
|
if (response.status >= 300 && response.status < 400 && response.headers.has("Location")) {
|
668
692
|
const location = response.headers.get("Location");
|
669
693
|
const body = request.method !== "GET" && request.method !== "HEAD" ? await request.clone().arrayBuffer() : void 0;
|
670
|
-
return doubleKnock(
|
671
|
-
method: request.method,
|
672
|
-
headers: request.headers,
|
673
|
-
body,
|
674
|
-
redirect: "manual",
|
675
|
-
signal: request.signal,
|
676
|
-
mode: request.mode,
|
677
|
-
credentials: request.credentials,
|
678
|
-
referrer: request.referrer,
|
679
|
-
referrerPolicy: request.referrerPolicy,
|
680
|
-
integrity: request.integrity,
|
681
|
-
keepalive: request.keepalive
|
682
|
-
}), identity, options);
|
694
|
+
return doubleKnock(createRedirectRequest(request, location, body), identity, options);
|
683
695
|
} else if (response.status === 400 || response.status === 401 || response.status > 401) {
|
684
696
|
const spec = firstTrySpec === "draft-cavage-http-signatures-12" ? "rfc9421" : "draft-cavage-http-signatures-12";
|
685
697
|
getLogger([
|
@@ -700,11 +712,8 @@ async function doubleKnock(request, identity, options = {}) {
|
|
700
712
|
response = await fetch(signedRequest, { redirect: "manual" });
|
701
713
|
if (response.status >= 300 && response.status < 400 && response.headers.has("Location")) {
|
702
714
|
const location = response.headers.get("Location");
|
703
|
-
const body = request.method !== "GET" && request.method !== "HEAD" ? request.clone().
|
704
|
-
return doubleKnock(
|
705
|
-
...request,
|
706
|
-
body
|
707
|
-
}), identity, options);
|
715
|
+
const body = request.method !== "GET" && request.method !== "HEAD" ? await request.clone().arrayBuffer() : void 0;
|
716
|
+
return doubleKnock(createRedirectRequest(request, location, body), identity, options);
|
708
717
|
} else if (response.status !== 400 && response.status !== 401) await specDeterminer?.rememberSpec(origin, spec);
|
709
718
|
} else await specDeterminer?.rememberSpec(origin, firstTrySpec);
|
710
719
|
return response;
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./docloader-
|
7
|
-
import { Activity } from "./vocab-
|
6
|
+
import { deno_default } from "./docloader-Bf7FNkEt.js";
|
7
|
+
import { Activity } from "./vocab-DTUqat8X.js";
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "./docloader-
|
6
|
-
import "./actor-
|
7
|
-
import "./lookup-
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
5
|
+
import "./docloader-WGNocIQl.js";
|
6
|
+
import "./actor-BnQGQxqE.js";
|
7
|
+
import "./lookup-DE4JI30z.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-BacJ7S4E.js";
|
9
9
|
|
10
10
|
export { validateCryptoKey };
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
6
|
-
import { CryptographicKey, Object as Object$1, isActor } from "./actor-
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-WGNocIQl.js";
|
6
|
+
import { CryptographicKey, Object as Object$1, isActor } from "./actor-BnQGQxqE.js";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
9
9
|
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
7
|
-
import { CryptographicKey, Object as Object$1 } from "./vocab-
|
8
|
-
import { isActor } from "./actor-
|
6
|
+
import { deno_default, getDocumentLoader } from "./docloader-Bf7FNkEt.js";
|
7
|
+
import { CryptographicKey, Object as Object$1 } from "./vocab-DTUqat8X.js";
|
8
|
+
import { isActor } from "./actor-BPcHD1DQ.js";
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
10
10
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
11
11
|
|
@@ -3,14 +3,14 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "./docloader-
|
6
|
+
import "./docloader-Bf7FNkEt.js";
|
7
7
|
import "./url-kTAI6_KP.js";
|
8
8
|
import "./multibase-DeCHcK8L.js";
|
9
|
-
import "./vocab-
|
9
|
+
import "./vocab-DTUqat8X.js";
|
10
10
|
import "./langstr-DbWheeIS.js";
|
11
|
-
import "./lookup-
|
11
|
+
import "./lookup-Dom-VSN0.js";
|
12
12
|
import "./type-D2s5lmbZ.js";
|
13
|
-
import "./actor-
|
14
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
13
|
+
import "./actor-BPcHD1DQ.js";
|
14
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-DMk4CUyA.js";
|
15
15
|
|
16
16
|
export { validateCryptoKey };
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey } from "./vocab-
|
6
|
+
import { CryptographicKey, Multikey } from "./vocab-DTUqat8X.js";
|
7
7
|
|
8
8
|
//#region federation/keycache.ts
|
9
9
|
var KvKeyCache = class {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey, importSpki } from "./vocab-
|
6
|
+
import { CryptographicKey, Multikey, importSpki } from "./vocab-DTUqat8X.js";
|
7
7
|
|
8
8
|
//#region testing/keys.ts
|
9
9
|
const rsaPublicKey1 = new CryptographicKey({
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
7
|
-
import { Activity, CryptographicKey, Object as Object$1 } from "./vocab-
|
6
|
+
import { deno_default, getDocumentLoader } from "./docloader-Bf7FNkEt.js";
|
7
|
+
import { Activity, CryptographicKey, Object as Object$1 } from "./vocab-DTUqat8X.js";
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
9
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
9
|
+
import { fetchKey, validateCryptoKey } from "./key-DMk4CUyA.js";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
12
12
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { UrlError, deno_default, getUserAgent, validatePublicUrl } from "./docloader-
|
5
|
+
import { UrlError, deno_default, getUserAgent, validatePublicUrl } from "./docloader-WGNocIQl.js";
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
7
7
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
8
8
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default, getUserAgent } from "./docloader-
|
6
|
+
import { deno_default, getUserAgent } from "./docloader-Bf7FNkEt.js";
|
7
7
|
import { UrlError, validatePublicUrl } from "./url-kTAI6_KP.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
7
|
-
import { Object as Object$1 } from "./vocab-
|
8
|
-
import { lookupWebFinger } from "./lookup-
|
6
|
+
import { deno_default, getDocumentLoader } from "./docloader-Bf7FNkEt.js";
|
7
|
+
import { Object as Object$1 } from "./vocab-DTUqat8X.js";
|
8
|
+
import { lookupWebFinger } from "./lookup-Dom-VSN0.js";
|
9
9
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
|
5
|
+
import "./transformers-ghwJuzGY.js";
|
6
|
+
import "./docloader-WGNocIQl.js";
|
7
|
+
import "./actor-BnQGQxqE.js";
|
8
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-D6e8hqRt.js";
|
9
|
+
import "./lookup-DE4JI30z.js";
|
10
|
+
import "./key-BacJ7S4E.js";
|
11
|
+
import "./http-DrNOicWD.js";
|
12
|
+
import "./proof-BydqlnsK.js";
|
13
|
+
import "./types-DmNfU0QY.js";
|
14
|
+
import "./authdocloader-hZbuGYGe.js";
|
15
|
+
import "./vocab-DfjcfPXi.js";
|
16
|
+
|
17
|
+
export { FederationImpl };
|
@@ -3,15 +3,15 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { getDefaultActivityTransformers } from "./transformers-ghwJuzGY.js";
|
6
|
-
import { deno_default, getDocumentLoader, kvCache } from "./docloader-
|
7
|
-
import { Activity, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-
|
8
|
-
import { lookupWebFinger } from "./lookup-
|
9
|
-
import { exportJwk, importJwk, validateCryptoKey } from "./key-
|
10
|
-
import { doubleKnock, verifyRequest } from "./http-
|
11
|
-
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-
|
12
|
-
import { getNodeInfo, nodeInfoToJson } from "./types-
|
13
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
14
|
-
import { lookupObject, traverseCollection } from "./vocab-
|
6
|
+
import { deno_default, getDocumentLoader, kvCache } from "./docloader-WGNocIQl.js";
|
7
|
+
import { Activity, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-BnQGQxqE.js";
|
8
|
+
import { lookupWebFinger } from "./lookup-DE4JI30z.js";
|
9
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-BacJ7S4E.js";
|
10
|
+
import { doubleKnock, verifyRequest } from "./http-DrNOicWD.js";
|
11
|
+
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-BydqlnsK.js";
|
12
|
+
import { getNodeInfo, nodeInfoToJson } from "./types-DmNfU0QY.js";
|
13
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-hZbuGYGe.js";
|
14
|
+
import { lookupObject, traverseCollection } from "./vocab-DfjcfPXi.js";
|
15
15
|
import { getLogger, withContext } from "@logtape/logtape";
|
16
16
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
17
17
|
import { encodeHex } from "byte-encodings/hex";
|
@@ -312,7 +312,7 @@ var FederationBuilderImpl = class {
|
|
312
312
|
this.objectTypeIds = {};
|
313
313
|
}
|
314
314
|
async build(options) {
|
315
|
-
const { FederationImpl: FederationImpl$1 } = await import("./middleware-
|
315
|
+
const { FederationImpl: FederationImpl$1 } = await import("./middleware-8reA9X9-.js");
|
316
316
|
const f = new FederationImpl$1(options);
|
317
317
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
318
318
|
f.router = this.router.clone();
|
@@ -2558,7 +2558,7 @@ var FederationImpl = class extends FederationBuilderImpl {
|
|
2558
2558
|
},
|
2559
2559
|
context: context$1,
|
2560
2560
|
filter: baseUrl != null ? new URL(baseUrl) : void 0,
|
2561
|
-
filterPredicate: baseUrl != null ? (i) => (i instanceof URL ? i.href : i.id?.href ?? "").startsWith(baseUrl) : void 0,
|
2561
|
+
filterPredicate: baseUrl != null ? ((i) => (i instanceof URL ? i.href : i.id?.href ?? "").startsWith(baseUrl)) : void 0,
|
2562
2562
|
collectionCallbacks: this.followersCallbacks,
|
2563
2563
|
tracerProvider: this.tracerProvider,
|
2564
2564
|
onUnauthorized,
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
globalThis.addEventListener = () => {};
|
5
|
+
|
6
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-DjGHOITR.js";
|
7
|
+
import "./docloader-Bf7FNkEt.js";
|
8
|
+
import "./url-kTAI6_KP.js";
|
9
|
+
import "./semver-DWClQt_5.js";
|
10
|
+
import "./client-DP--tJbJ.js";
|
11
|
+
import "./router-D_aVZZUc.js";
|
12
|
+
import "./types-C7C_l-jz.js";
|
13
|
+
import "./multibase-DeCHcK8L.js";
|
14
|
+
import "./vocab-DTUqat8X.js";
|
15
|
+
import "./langstr-DbWheeIS.js";
|
16
|
+
import "./lookup-Dom-VSN0.js";
|
17
|
+
import "./type-D2s5lmbZ.js";
|
18
|
+
import "./actor-BPcHD1DQ.js";
|
19
|
+
import "./key-DMk4CUyA.js";
|
20
|
+
import "./http-kaBBOddv.js";
|
21
|
+
import "./authdocloader-Brpi6E4M.js";
|
22
|
+
import "./ld-DhRNxRXj.js";
|
23
|
+
import "./owner-Cj-uzr16.js";
|
24
|
+
import "./proof-DfxuC-RR.js";
|
25
|
+
import "./lookup-DpBb3ixM.js";
|
26
|
+
import "./inbox-DaVmbpgM.js";
|
27
|
+
import "./builder-CkEsZWb3.js";
|
28
|
+
import "./collection-Dfb0TPno.js";
|
29
|
+
import "./keycache-1nfnh4MW.js";
|
30
|
+
import "./retry-BiIhZWgD.js";
|
31
|
+
import "./send-DHT4Dq2y.js";
|
32
|
+
|
33
|
+
export { FederationImpl };
|
@@ -3,26 +3,26 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default, getDocumentLoader, kvCache } from "./docloader-
|
7
|
-
import { getNodeInfo } from "./client-
|
6
|
+
import { deno_default, getDocumentLoader, kvCache } from "./docloader-Bf7FNkEt.js";
|
7
|
+
import { getNodeInfo } from "./client-DP--tJbJ.js";
|
8
8
|
import { RouterError } from "./router-D_aVZZUc.js";
|
9
9
|
import { nodeInfoToJson } from "./types-C7C_l-jz.js";
|
10
|
-
import { Activity, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage } from "./vocab-
|
11
|
-
import { lookupWebFinger } from "./lookup-
|
10
|
+
import { Activity, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage } from "./vocab-DTUqat8X.js";
|
11
|
+
import { lookupWebFinger } from "./lookup-Dom-VSN0.js";
|
12
12
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
13
|
-
import { exportJwk, importJwk, validateCryptoKey } from "./key-
|
14
|
-
import { verifyRequest } from "./http-
|
15
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
16
|
-
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-
|
17
|
-
import { doesActorOwnKey, getKeyOwner } from "./owner-
|
18
|
-
import { signObject, verifyObject } from "./proof-
|
19
|
-
import { lookupObject, traverseCollection } from "./lookup-
|
20
|
-
import { routeActivity } from "./inbox-
|
21
|
-
import { FederationBuilderImpl } from "./builder-
|
13
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-DMk4CUyA.js";
|
14
|
+
import { verifyRequest } from "./http-kaBBOddv.js";
|
15
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-Brpi6E4M.js";
|
16
|
+
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-DhRNxRXj.js";
|
17
|
+
import { doesActorOwnKey, getKeyOwner } from "./owner-Cj-uzr16.js";
|
18
|
+
import { signObject, verifyObject } from "./proof-DfxuC-RR.js";
|
19
|
+
import { lookupObject, traverseCollection } from "./lookup-DpBb3ixM.js";
|
20
|
+
import { routeActivity } from "./inbox-DaVmbpgM.js";
|
21
|
+
import { FederationBuilderImpl } from "./builder-CkEsZWb3.js";
|
22
22
|
import { buildCollectionSynchronizationHeader } from "./collection-Dfb0TPno.js";
|
23
|
-
import { KvKeyCache } from "./keycache-
|
23
|
+
import { KvKeyCache } from "./keycache-1nfnh4MW.js";
|
24
24
|
import { createExponentialBackoffPolicy } from "./retry-BiIhZWgD.js";
|
25
|
-
import { extractInboxes, sendActivity } from "./send-
|
25
|
+
import { extractInboxes, sendActivity } from "./send-DHT4Dq2y.js";
|
26
26
|
import { getLogger, withContext } from "@logtape/logtape";
|
27
27
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
28
28
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_HTTP_RESPONSE_HEADER, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
@@ -1693,7 +1693,7 @@ var FederationImpl = class extends FederationBuilderImpl {
|
|
1693
1693
|
},
|
1694
1694
|
context: context$1,
|
1695
1695
|
filter: baseUrl != null ? new URL(baseUrl) : void 0,
|
1696
|
-
filterPredicate: baseUrl != null ? (i) => (i instanceof URL ? i.href : i.id?.href ?? "").startsWith(baseUrl) : void 0,
|
1696
|
+
filterPredicate: baseUrl != null ? ((i) => (i instanceof URL ? i.href : i.id?.href ?? "").startsWith(baseUrl)) : void 0,
|
1697
1697
|
collectionCallbacks: this.followersCallbacks,
|
1698
1698
|
tracerProvider: this.tracerProvider,
|
1699
1699
|
onUnauthorized,
|
@@ -265,4 +265,4 @@ declare function verifyObject<T extends Object$1>(cls: (new (...args: any[]) =>
|
|
265
265
|
fromJsonLd(jsonLd: unknown, options: VerifyObjectOptions): Promise<T>;
|
266
266
|
}, jsonLd: unknown, options?: VerifyObjectOptions): Promise<T | null>;
|
267
267
|
//#endregion
|
268
|
-
export { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature };
|
268
|
+
export { CreateProofOptions, type CreateSignatureOptions, type SignJsonLdOptions, SignObjectOptions, type VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, type VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature };
|
package/dist/mod.d.ts
CHANGED
@@ -15,6 +15,6 @@ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from
|
|
15
15
|
import "./mod-g0xFzAP9.js";
|
16
16
|
import "./mod-1pDWKvUL.js";
|
17
17
|
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./mod-C2drFqH8.js";
|
18
|
-
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-
|
18
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-DS-8N1r1.js";
|
19
19
|
import "./mod-GIh5OYxW.js";
|
20
|
-
export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthenticatedDocumentLoaderFactory, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchError, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, GetUserAgentOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvCacheParameters, KvKey, KvStore, KvStoreSetOptions, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, MemoryKvStore, Mention, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, Move, Multikey, NodeInfo, NodeInfoDispatcher, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, Offer, OrderedCollection, OrderedCollectionPage, Organization, OutboundService, OutboxErrorHandler, PUBLIC_COLLECTION, Page, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Person, Place, Profile, PropertyValue, Protocol, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, RequestContext, ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SemVer, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Service, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, Video, View, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, exportMultibaseKey, exportSpki, fetchDocumentLoader, fetchKey, formatSemVer, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getDocumentLoader, getKeyOwner, getNodeInfo, getTypeId, getUserAgent, importJwk, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
20
|
+
export { Accept, Activity, ActivityTransformer, Actor, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, AuthenticatedDocumentLoaderFactory, AuthorizePredicate, Block, ChatMessage, Collection, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, CollectionPage, Context, Create, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CreateProofOptions, CreateSignatureOptions, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, DoesActorOwnKeyOptions, Emoji, EmojiReact, Endpoints, Event, Export, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchError, FetchKeyOptions, FetchKeyResult, Flag, Follow, ForwardActivityOptions, GetActorHandleOptions, GetAuthenticatedDocumentLoaderOptions, GetDocumentLoaderOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetSignedKeyOptions, GetUserAgentOptions, Group, Hashtag, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, Ignore, Image, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, IntransitiveActivity, Invite, Join, JsonValue, KeyCache, KvCacheParameters, KvKey, KvStore, KvStoreSetOptions, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, MemoryKvStore, Mention, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, Move, Multikey, NodeInfo, NodeInfoDispatcher, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, Offer, OrderedCollection, OrderedCollectionPage, Organization, OutboundService, OutboxErrorHandler, PUBLIC_COLLECTION, Page, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriResult, Person, Place, Profile, PropertyValue, Protocol, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, RequestContext, type ResourceDescriptor, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SemVer, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Service, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifyRequestOptions, VerifySignatureOptions, Video, View, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, exportMultibaseKey, exportSpki, fetchDocumentLoader, fetchKey, formatSemVer, generateCryptoKeyPair, getActorClassByTypeName, getActorHandle, getActorTypeName, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getDocumentLoader, getKeyOwner, getNodeInfo, getTypeId, getUserAgent, importJwk, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|