@fedify/fedify 1.8.1-pr.315.1089 → 1.8.1-pr.315.1090
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-B4TBtqRP.d.ts → actor-1rvS-py8.d.ts} +2 -2
- package/dist/{actor-6ZGdUyTU.js → actor-BX-pKSuT.js} +3 -3
- package/dist/{actor-wseKMw85.js → actor-C02Getjh.js} +179 -179
- package/dist/{authdocloader-EijwIgU-.js → authdocloader-BZs3nvC8.js} +4 -4
- package/dist/{authdocloader-BTCPL7WR.js → authdocloader-BbVFhkcz.js} +4 -4
- package/dist/{builder-CzxIh2TM.js → builder-DuW8p2S3.js} +3 -3
- package/dist/{client-BZRXX1tQ.js → client-BD0mI7gk.js} +1 -1
- package/dist/{client-BQ4AQGKo.d.ts → client-DK4qnXK0.d.ts} +1 -1
- package/dist/compat/mod.d.ts +10 -10
- package/dist/compat/transformers.test.js +17 -17
- package/dist/{context-CBKX7mkt.d.ts → context-BhO5LP_t.d.ts} +8 -8
- package/dist/{context-DRua680B.js → context-V7yd31ov.js} +3 -3
- package/dist/{docloader-09nVWLAZ.js → docloader-Bh-sDknx.js} +1 -1
- package/dist/{docloader-pPwozoYc.js → docloader-D5BOqs-9.js} +13 -25
- package/dist/{docloader-BeCtcTOJ.d.ts → docloader-DtGccyuM.d.ts} +10 -1
- package/dist/{docloader-Ci2ZqlAC.js → docloader-umQd797n.js} +13 -25
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/handler.test.js +20 -20
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/middleware.test.js +19 -19
- package/dist/federation/mod.d.ts +9 -9
- package/dist/federation/mod.js +10 -10
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-BjEe2e-1.js → http-CkS9JLmm.js} +3 -3
- package/dist/{http-D1uoUH4N.d.ts → http-Cp-0z2Ja.d.ts} +2 -2
- package/dist/{http-CTYSNs13.js → http-D59x3pzl.js} +3 -3
- package/dist/{inbox-BEJ1jCuJ.js → inbox-BjyNe-HL.js} +2 -2
- package/dist/{key-C0LADV6I.js → key-Btkh3AwY.js} +2 -2
- package/dist/{key-Bx1xBj1K.js → key-Cf8lNopw.js} +4 -4
- package/dist/{key-CZcP6KS0.js → key-DqZKjPjH.js} +5 -5
- package/dist/{key-BV6GQBrd.js → key-jxin-rRq.js} +3 -3
- package/dist/{keycache-C6JVPcU_.js → keycache-BC5bL06g.js} +1 -1
- package/dist/{keys-DRsPG_Da.js → keys-Dfntfi5m.js} +1 -1
- package/dist/{ld-CdLqdZ_9.js → ld-DwoZFwEd.js} +3 -3
- package/dist/{lookup-y8VJVm2c.js → lookup-CAXRxPZ3.js} +5 -5
- package/dist/{lookup-BoY0Ke_l.js → lookup-DvfZUKur.js} +1 -1
- package/dist/{lookup-CR8wX97f.js → lookup-gQIU9tXW.js} +1 -1
- package/dist/{lookup-C4hWkBxk.d.ts → lookup-m3U6KA0u.d.ts} +1 -1
- package/dist/middleware-31SyXabg.js +33 -0
- package/dist/{middleware-QeZ8G8s9.js → middleware-BOHju0mN.js} +10 -10
- package/dist/middleware-CGl-YyTa.js +17 -0
- package/dist/{middleware-DCOs6R7U.js → middleware-cN6r9o1m.js} +15 -15
- package/dist/{mod-cB3yFF_7.d.ts → mod-BqCBztub.d.ts} +2 -2
- package/dist/{mod-0L5jhGYM.d.ts → mod-c1I-Ydch.d.ts} +2 -2
- package/dist/{mod-C6GBqqWQ.d.ts → mod-nlVEnYuj.d.ts} +2 -2
- package/dist/{mod-BCl7t-Ka.d.ts → mod-yPzXIjJX.d.ts} +3 -3
- package/dist/mod.d.ts +12 -12
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +2 -2
- package/dist/nodeinfo/handler.test.js +19 -19
- package/dist/nodeinfo/mod.d.ts +2 -2
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-CEv_PfyK.d.ts → owner-BK4eWKBp.d.ts} +3 -3
- package/dist/{owner-C0gFlCL_.js → owner-BrSLT3By.js} +3 -3
- package/dist/{proof-DAAMAukc.js → proof-BDYegzwN.js} +3 -3
- package/dist/{proof-Dz8KixnY.js → proof-u4rhYX_R.js} +3 -3
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +2 -2
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/mod.d.ts +4 -4
- package/dist/runtime/mod.js +6 -6
- package/dist/{send-DsNrziEt.js → send-DRDKgORs.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +7 -7
- package/dist/sig/ld.test.js +8 -8
- package/dist/sig/mod.d.ts +6 -6
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +9 -9
- package/dist/sig/proof.test.js +8 -8
- package/dist/testing/docloader.test.js +1 -1
- package/dist/{types-D-EdCGcO.js → types-D1lhruqy.js} +1 -1
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +5 -5
- package/dist/vocab/mod.d.ts +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-By6mpzr-.d.ts → vocab-B52eQhpN.d.ts} +1 -1
- package/dist/{vocab-DaAuYKqm.js → vocab-BaWeqg9y.js} +5 -5
- package/dist/{vocab-CJA9Q_w4.js → vocab-C4cyrUaT.js} +178 -178
- package/dist/webfinger/handler.test.js +19 -19
- package/dist/webfinger/lookup.test.js +2 -2
- package/dist/webfinger/mod.d.ts +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/hono.d.ts +9 -9
- package/dist/x/sveltekit.d.ts +9 -9
- package/package.json +1 -1
- package/dist/middleware-BLu0AXhf.js +0 -17
- package/dist/middleware-DB11lEoH.js +0 -33
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-umQd797n.js";
|
|
7
|
+
import "../actor-C02Getjh.js";
|
|
8
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-BOHju0mN.js";
|
|
9
|
+
import "../lookup-gQIU9tXW.js";
|
|
10
|
+
import "../key-Btkh3AwY.js";
|
|
11
|
+
import "../http-CkS9JLmm.js";
|
|
12
|
+
import "../proof-BDYegzwN.js";
|
|
13
13
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-C44ekWNP.js";
|
|
14
|
-
import "../types-
|
|
15
|
-
import "../authdocloader-
|
|
16
|
-
import "../vocab-
|
|
14
|
+
import "../types-D1lhruqy.js";
|
|
15
|
+
import "../authdocloader-BbVFhkcz.js";
|
|
16
|
+
import "../vocab-BaWeqg9y.js";
|
|
17
17
|
|
|
18
18
|
export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
|
|
@@ -6,26 +6,26 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
7
7
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
8
8
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-D5BOqs-9.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-C4cyrUaT.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DvfZUKur.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-BX-pKSuT.js";
|
|
17
|
+
import "../key-jxin-rRq.js";
|
|
18
|
+
import { verifyRequest } from "../http-D59x3pzl.js";
|
|
19
|
+
import { doesActorOwnKey } from "../owner-BrSLT3By.js";
|
|
20
|
+
import { extractInboxes, sendActivity } from "../send-DRDKgORs.js";
|
|
21
21
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
22
22
|
import "../std__assert-B3iAixc-.js";
|
|
23
23
|
import { assertFalse, assertRejects } from "../assert_rejects-DceVjUlD.js";
|
|
24
24
|
import "../assert_is_error-DQdKoRgb.js";
|
|
25
25
|
import { assertNotEquals } from "../assert_not_equals-7pyUM3Ib.js";
|
|
26
26
|
import "../assert_throws-DTDC_gwN.js";
|
|
27
|
-
import { mockDocumentLoader } from "../docloader-
|
|
28
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
|
27
|
+
import { mockDocumentLoader } from "../docloader-Bh-sDknx.js";
|
|
28
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-Dfntfi5m.js";
|
|
29
29
|
import { esm_default } from "../esm-d-9EVGaP.js";
|
|
30
30
|
|
|
31
31
|
//#region federation/send.test.ts
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { deno_default } from "./docloader-
|
|
6
|
-
import { CryptographicKey } from "./actor-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
5
|
+
import { deno_default } from "./docloader-umQd797n.js";
|
|
6
|
+
import { CryptographicKey } from "./actor-C02Getjh.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-Btkh3AwY.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { DocumentLoader } from "./docloader-
|
|
4
|
-
import { CryptographicKey, Multikey } from "./vocab-
|
|
3
|
+
import { DocumentLoader } from "./docloader-DtGccyuM.js";
|
|
4
|
+
import { CryptographicKey, Multikey } from "./vocab-B52eQhpN.js";
|
|
5
5
|
import { TracerProvider } from "@opentelemetry/api";
|
|
6
6
|
|
|
7
7
|
//#region sig/key.d.ts
|
|
@@ -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-D5BOqs-9.js";
|
|
7
|
+
import { CryptographicKey } from "./vocab-C4cyrUaT.js";
|
|
8
|
+
import { fetchKey, validateCryptoKey } from "./key-jxin-rRq.js";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
11
11
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default } from "./docloader-
|
|
7
|
-
import { Activity } from "./vocab-
|
|
6
|
+
import { deno_default } from "./docloader-D5BOqs-9.js";
|
|
7
|
+
import { Activity } from "./vocab-C4cyrUaT.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,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-umQd797n.js";
|
|
6
|
+
import { CryptographicKey, Object as Object$1, isActor } from "./actor-C02Getjh.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
9
9
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "./docloader-
|
|
6
|
-
import "./actor-
|
|
7
|
-
import "./lookup-
|
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
|
5
|
+
import "./docloader-umQd797n.js";
|
|
6
|
+
import "./actor-C02Getjh.js";
|
|
7
|
+
import "./lookup-gQIU9tXW.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-Btkh3AwY.js";
|
|
9
9
|
|
|
10
10
|
export { validateCryptoKey };
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "./docloader-
|
|
6
|
+
import "./docloader-D5BOqs-9.js";
|
|
7
7
|
import "./url-kTAI6_KP.js";
|
|
8
8
|
import "./multibase-DeCHcK8L.js";
|
|
9
|
-
import "./vocab-
|
|
9
|
+
import "./vocab-C4cyrUaT.js";
|
|
10
10
|
import "./langstr-DbWheeIS.js";
|
|
11
|
-
import "./lookup-
|
|
11
|
+
import "./lookup-DvfZUKur.js";
|
|
12
12
|
import "./type-D2s5lmbZ.js";
|
|
13
|
-
import "./actor-
|
|
14
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
|
13
|
+
import "./actor-BX-pKSuT.js";
|
|
14
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-jxin-rRq.js";
|
|
15
15
|
|
|
16
16
|
export { validateCryptoKey };
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
|
7
|
-
import { CryptographicKey, Object as Object$1 } from "./vocab-
|
|
8
|
-
import { isActor } from "./actor-
|
|
6
|
+
import { deno_default, getDocumentLoader } from "./docloader-D5BOqs-9.js";
|
|
7
|
+
import { CryptographicKey, Object as Object$1 } from "./vocab-C4cyrUaT.js";
|
|
8
|
+
import { isActor } from "./actor-BX-pKSuT.js";
|
|
9
9
|
import { getLogger } from "@logtape/logtape";
|
|
10
10
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Multikey } from "./vocab-
|
|
6
|
+
import { CryptographicKey, Multikey } from "./vocab-C4cyrUaT.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-C4cyrUaT.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-D5BOqs-9.js";
|
|
7
|
+
import { Activity, CryptographicKey, Object as Object$1 } from "./vocab-C4cyrUaT.js";
|
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
|
9
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
9
|
+
import { fetchKey, validateCryptoKey } from "./key-jxin-rRq.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
12
12
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { deno_default, getDocumentLoader } from "./docloader-
|
|
7
|
-
import { Object as Object$1 } from "./vocab-
|
|
8
|
-
import { lookupWebFinger } from "./lookup-
|
|
6
|
+
import { deno_default, getDocumentLoader } from "./docloader-D5BOqs-9.js";
|
|
7
|
+
import { Object as Object$1 } from "./vocab-C4cyrUaT.js";
|
|
8
|
+
import { lookupWebFinger } from "./lookup-DvfZUKur.js";
|
|
9
9
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
|
10
10
|
import { delay } from "es-toolkit";
|
|
11
11
|
import { getLogger } from "@logtape/logtape";
|
|
@@ -135,7 +135,7 @@ async function lookupObjectInternal(identifier, options = {}) {
|
|
|
135
135
|
if (typeof identifier === "string") identifier = toAcctUrl(identifier) ?? new URL(identifier);
|
|
136
136
|
let document = null;
|
|
137
137
|
if (identifier.protocol === "http:" || identifier.protocol === "https:") try {
|
|
138
|
-
const remoteDoc = await documentLoader(identifier.href);
|
|
138
|
+
const remoteDoc = await documentLoader(identifier.href, { signal: options.signal });
|
|
139
139
|
document = remoteDoc.document;
|
|
140
140
|
} catch (error) {
|
|
141
141
|
logger.debug("Failed to fetch remote document:\n{error}", { error });
|
|
@@ -151,7 +151,7 @@ async function lookupObjectInternal(identifier, options = {}) {
|
|
|
151
151
|
for (const l of jrd.links) {
|
|
152
152
|
if (l.type !== "application/activity+json" && !l.type?.match(/application\/ld\+json;\s*profile="https:\/\/www.w3.org\/ns\/activitystreams"/) || l.rel !== "self") continue;
|
|
153
153
|
try {
|
|
154
|
-
const remoteDoc = await documentLoader(l.href);
|
|
154
|
+
const remoteDoc = await documentLoader(l.href, { signal: options.signal });
|
|
155
155
|
document = remoteDoc.document;
|
|
156
156
|
break;
|
|
157
157
|
} catch (error) {
|
|
@@ -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-D5BOqs-9.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";
|
|
@@ -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-umQd797n.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
8
8
|
|
|
@@ -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-DtGccyuM.js";
|
|
4
4
|
import { TracerProvider } from "@opentelemetry/api";
|
|
5
5
|
|
|
6
6
|
//#region webfinger/jrd.d.ts
|
|
@@ -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-cN6r9o1m.js";
|
|
7
|
+
import "./docloader-D5BOqs-9.js";
|
|
8
|
+
import "./url-kTAI6_KP.js";
|
|
9
|
+
import "./semver-DWClQt_5.js";
|
|
10
|
+
import "./client-BD0mI7gk.js";
|
|
11
|
+
import "./router-D3UybECj.js";
|
|
12
|
+
import "./types-C7C_l-jz.js";
|
|
13
|
+
import "./multibase-DeCHcK8L.js";
|
|
14
|
+
import "./vocab-C4cyrUaT.js";
|
|
15
|
+
import "./langstr-DbWheeIS.js";
|
|
16
|
+
import "./lookup-DvfZUKur.js";
|
|
17
|
+
import "./type-D2s5lmbZ.js";
|
|
18
|
+
import "./actor-BX-pKSuT.js";
|
|
19
|
+
import "./key-jxin-rRq.js";
|
|
20
|
+
import "./http-D59x3pzl.js";
|
|
21
|
+
import "./authdocloader-BZs3nvC8.js";
|
|
22
|
+
import "./ld-DwoZFwEd.js";
|
|
23
|
+
import "./owner-BrSLT3By.js";
|
|
24
|
+
import "./proof-u4rhYX_R.js";
|
|
25
|
+
import "./lookup-CAXRxPZ3.js";
|
|
26
|
+
import "./inbox-BjyNe-HL.js";
|
|
27
|
+
import "./builder-DuW8p2S3.js";
|
|
28
|
+
import "./collection-Dfb0TPno.js";
|
|
29
|
+
import "./keycache-BC5bL06g.js";
|
|
30
|
+
import "./retry-BiIhZWgD.js";
|
|
31
|
+
import "./send-DRDKgORs.js";
|
|
32
|
+
|
|
33
|
+
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-umQd797n.js";
|
|
7
|
+
import { Activity, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-C02Getjh.js";
|
|
8
|
+
import { lookupWebFinger } from "./lookup-gQIU9tXW.js";
|
|
9
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-Btkh3AwY.js";
|
|
10
|
+
import { doubleKnock, verifyRequest } from "./http-CkS9JLmm.js";
|
|
11
|
+
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-BDYegzwN.js";
|
|
12
|
+
import { getNodeInfo, nodeInfoToJson } from "./types-D1lhruqy.js";
|
|
13
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-BbVFhkcz.js";
|
|
14
|
+
import { lookupObject, traverseCollection } from "./vocab-BaWeqg9y.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-CGl-YyTa.js");
|
|
316
316
|
const f = new FederationImpl$1(options);
|
|
317
317
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
318
318
|
f.router = this.router.clone();
|
|
@@ -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-umQd797n.js";
|
|
7
|
+
import "./actor-C02Getjh.js";
|
|
8
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-BOHju0mN.js";
|
|
9
|
+
import "./lookup-gQIU9tXW.js";
|
|
10
|
+
import "./key-Btkh3AwY.js";
|
|
11
|
+
import "./http-CkS9JLmm.js";
|
|
12
|
+
import "./proof-BDYegzwN.js";
|
|
13
|
+
import "./types-D1lhruqy.js";
|
|
14
|
+
import "./authdocloader-BbVFhkcz.js";
|
|
15
|
+
import "./vocab-BaWeqg9y.js";
|
|
16
|
+
|
|
17
|
+
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-D5BOqs-9.js";
|
|
7
|
+
import { getNodeInfo } from "./client-BD0mI7gk.js";
|
|
8
8
|
import { RouterError } from "./router-D3UybECj.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-C4cyrUaT.js";
|
|
11
|
+
import { lookupWebFinger } from "./lookup-DvfZUKur.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-jxin-rRq.js";
|
|
14
|
+
import { verifyRequest } from "./http-D59x3pzl.js";
|
|
15
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-BZs3nvC8.js";
|
|
16
|
+
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-DwoZFwEd.js";
|
|
17
|
+
import { doesActorOwnKey, getKeyOwner } from "./owner-BrSLT3By.js";
|
|
18
|
+
import { signObject, verifyObject } from "./proof-u4rhYX_R.js";
|
|
19
|
+
import { lookupObject, traverseCollection } from "./lookup-CAXRxPZ3.js";
|
|
20
|
+
import { routeActivity } from "./inbox-BjyNe-HL.js";
|
|
21
|
+
import { FederationBuilderImpl } from "./builder-DuW8p2S3.js";
|
|
22
22
|
import { buildCollectionSynchronizationHeader } from "./collection-Dfb0TPno.js";
|
|
23
|
-
import { KvKeyCache } from "./keycache-
|
|
23
|
+
import { KvKeyCache } from "./keycache-BC5bL06g.js";
|
|
24
24
|
import { createExponentialBackoffPolicy } from "./retry-BiIhZWgD.js";
|
|
25
|
-
import { extractInboxes, sendActivity } from "./send-
|
|
25
|
+
import { extractInboxes, sendActivity } from "./send-DRDKgORs.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { DocumentLoader, GetUserAgentOptions } from "./docloader-
|
|
4
|
-
import { Collection, Link, Object as Object$1 } from "./vocab-
|
|
3
|
+
import { DocumentLoader, GetUserAgentOptions } from "./docloader-DtGccyuM.js";
|
|
4
|
+
import { Collection, Link, Object as Object$1 } from "./vocab-B52eQhpN.js";
|
|
5
5
|
import { TracerProvider } from "@opentelemetry/api";
|
|
6
6
|
|
|
7
7
|
//#region vocab/lookup.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { DocumentLoader, DocumentLoaderFactoryOptions } from "./docloader-
|
|
4
|
-
import { HttpMessageSignaturesSpecDeterminer } from "./http-
|
|
3
|
+
import { DocumentLoader, DocumentLoaderFactoryOptions } from "./docloader-DtGccyuM.js";
|
|
4
|
+
import { HttpMessageSignaturesSpecDeterminer } from "./http-Cp-0z2Ja.js";
|
|
5
5
|
import { TracerProvider } from "@opentelemetry/api";
|
|
6
6
|
|
|
7
7
|
//#region runtime/authdocloader.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { Activity } from "./vocab-
|
|
4
|
-
import { ActivityTransformer, Context } from "./context-
|
|
3
|
+
import { Activity } from "./vocab-B52eQhpN.js";
|
|
4
|
+
import { ActivityTransformer, Context } from "./context-BhO5LP_t.js";
|
|
5
5
|
|
|
6
6
|
//#region compat/transformers.d.ts
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
|
-
import { DocumentLoader } from "./docloader-
|
|
4
|
-
import { CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1 } from "./vocab-
|
|
5
|
-
import { KeyCache } from "./http-
|
|
3
|
+
import { DocumentLoader } from "./docloader-DtGccyuM.js";
|
|
4
|
+
import { CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1 } from "./vocab-B52eQhpN.js";
|
|
5
|
+
import { KeyCache } from "./http-Cp-0z2Ja.js";
|
|
6
6
|
import { TracerProvider } from "@opentelemetry/api";
|
|
7
7
|
|
|
8
8
|
//#region sig/ld.d.ts
|
package/dist/mod.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import { KvKey, KvStore, KvStoreSetOptions, MemoryKvStore } from "./kv-DDdb1hMa.js";
|
|
4
|
-
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, FetchError, GetDocumentLoaderOptions, GetUserAgentOptions, KvCacheParameters, RemoteDocument, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-
|
|
5
|
-
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, SemVer, Services, Software, Usage, formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./client-
|
|
6
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "./vocab-
|
|
7
|
-
import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "./actor-
|
|
8
|
-
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-
|
|
9
|
-
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-
|
|
10
|
-
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./mod-
|
|
11
|
-
import { ResourceDescriptor, lookupWebFinger } from "./lookup-
|
|
12
|
-
import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-
|
|
4
|
+
import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, DocumentLoaderFactoryOptions, FetchError, GetDocumentLoaderOptions, GetUserAgentOptions, KvCacheParameters, RemoteDocument, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-DtGccyuM.js";
|
|
5
|
+
import { GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, ParseNodeInfoOptions, Protocol, SemVer, Services, Software, Usage, formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./client-DK4qnXK0.js";
|
|
6
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "./vocab-B52eQhpN.js";
|
|
7
|
+
import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "./actor-1rvS-py8.js";
|
|
8
|
+
import { FetchKeyOptions, FetchKeyResult, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, SignRequestOptions, VerifyRequestOptions, exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "./http-Cp-0z2Ja.js";
|
|
9
|
+
import { DoesActorOwnKeyOptions, GetKeyOwnerOptions, doesActorOwnKey, getKeyOwner } from "./owner-BK4eWKBp.js";
|
|
10
|
+
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./mod-BqCBztub.js";
|
|
11
|
+
import { ResourceDescriptor, lookupWebFinger } from "./lookup-m3U6KA0u.js";
|
|
12
|
+
import { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./context-BhO5LP_t.js";
|
|
13
13
|
import { InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue } from "./mq-DYKDDJmp.js";
|
|
14
|
-
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-
|
|
14
|
+
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./mod-nlVEnYuj.js";
|
|
15
15
|
import "./mod-g0xFzAP9.js";
|
|
16
16
|
import "./mod-1pDWKvUL.js";
|
|
17
|
-
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./mod-
|
|
18
|
-
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-
|
|
17
|
+
import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./mod-c1I-Ydch.js";
|
|
18
|
+
import { CreateProofOptions, CreateSignatureOptions, SignJsonLdOptions, SignObjectOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyProofOptions, VerifySignatureOptions, attachSignature, createProof, createSignature, detachSignature, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./mod-yPzXIjJX.js";
|
|
19
19
|
import "./mod-GIh5OYxW.js";
|
|
20
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, FediverseHandle, 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, isFediverseHandle, kvCache, lookupObject, lookupWebFinger, nodeInfoToJson, normalizeActorHandle, parseFediverseHandle, parseNodeInfo, parseSemVer, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, toAcctUrl, traverseCollection, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/mod.js
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./transformers-ghwJuzGY.js";
|
|
6
6
|
import "./compat-Bb5myD13.js";
|
|
7
|
-
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-
|
|
8
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, exportMultibaseKey, exportSpki, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, normalizeActorHandle } from "./actor-
|
|
9
|
-
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-
|
|
10
|
-
import { lookupWebFinger } from "./lookup-
|
|
11
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-
|
|
12
|
-
import { signRequest, verifyRequest } from "./http-
|
|
13
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-
|
|
7
|
+
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "./docloader-umQd797n.js";
|
|
8
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, exportMultibaseKey, exportSpki, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, importMultibaseKey, importPem, importPkcs1, importSpki, isActor, normalizeActorHandle } from "./actor-C02Getjh.js";
|
|
9
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-BOHju0mN.js";
|
|
10
|
+
import { lookupWebFinger } from "./lookup-gQIU9tXW.js";
|
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-Btkh3AwY.js";
|
|
12
|
+
import { signRequest, verifyRequest } from "./http-CkS9JLmm.js";
|
|
13
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-BDYegzwN.js";
|
|
14
14
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-C44ekWNP.js";
|
|
15
|
-
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-
|
|
16
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
|
17
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-
|
|
15
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-D1lhruqy.js";
|
|
16
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-BbVFhkcz.js";
|
|
17
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab-BaWeqg9y.js";
|
|
18
18
|
import "./nodeinfo-CyEbLjHs.js";
|
|
19
19
|
import "./runtime-BSkOVUWM.js";
|
|
20
20
|
import "./sig-BXJO--F9.js";
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
7
7
|
import "../assert-DwEa6glZ.js";
|
|
8
8
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-D5BOqs-9.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../semver-DWClQt_5.js";
|
|
12
|
-
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-
|
|
12
|
+
import { getNodeInfo, parseInboundService, parseNodeInfo, parseOutboundService, parseProtocol, parseServices, parseSoftware, parseUsage } from "../client-BD0mI7gk.js";
|
|
13
13
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
14
14
|
import "../std__assert-B3iAixc-.js";
|
|
15
15
|
import "../assert_rejects-DceVjUlD.js";
|