@fedify/fedify 1.7.8 → 1.7.10
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-BP-NTJ2m.js → actor-C9RnX-Fl.js} +3 -3
- package/dist/{actor-E2ennwBD.js → actor-m_MgQ1Da.js} +179 -179
- package/dist/{authdocloader-Banw__l6.js → authdocloader-7OXAs5XI.js} +3 -3
- package/dist/{authdocloader-CFeH0dJ-.js → authdocloader-cdK4XSRT.js} +3 -3
- package/dist/{builder-EdzpUb9N.js → builder-C7nJE1zO.js} +3 -3
- package/dist/{client-rv6n0nKR.js → client-DXIsEekV.js} +1 -1
- package/dist/compat/transformers.test.d.ts +2 -1
- package/dist/compat/transformers.test.js +19 -18
- package/dist/{context-Buzj1YKD.js → context-Bts52fbz.js} +2 -2
- package/dist/{docloader-b8Rvguvo.js → docloader-BK2Fp3AJ.js} +2 -2
- package/dist/{docloader-C8mmLN-Y.js → docloader-CgkbWVNz.js} +2 -2
- package/dist/federation/builder.test.d.ts +2 -1
- package/dist/federation/builder.test.js +6 -5
- package/dist/federation/collection.test.d.ts +2 -1
- package/dist/federation/collection.test.js +2 -1
- package/dist/federation/handler.test.d.ts +2 -1
- package/dist/federation/handler.test.js +79 -20
- package/dist/federation/inbox.test.d.ts +2 -1
- package/dist/federation/inbox.test.js +5 -4
- package/dist/federation/keycache.test.d.ts +2 -1
- package/dist/federation/keycache.test.js +5 -4
- package/dist/federation/kv.test.d.ts +2 -1
- package/dist/federation/kv.test.js +2 -1
- package/dist/federation/middleware.test.d.ts +2 -1
- package/dist/federation/middleware.test.js +20 -19
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.d.ts +2 -1
- package/dist/federation/mq.test.js +2 -1
- package/dist/federation/retry.test.d.ts +2 -1
- package/dist/federation/retry.test.js +2 -1
- package/dist/federation/router.test.d.ts +2 -1
- package/dist/federation/router.test.js +2 -1
- package/dist/federation/send.test.d.ts +2 -1
- package/dist/federation/send.test.js +11 -10
- package/dist/{http-DLI_ZQS-.js → http-CwQqD0nE.js} +3 -3
- package/dist/{http-BmfI6U39.js → http-D1IBucdD.js} +3 -3
- package/dist/{inbox-AwdJVoMZ.js → inbox-BrMkm2b5.js} +2 -2
- package/dist/{key-BNa6EpJl.js → key-C6phFgFq.js} +2 -2
- package/dist/{key-CLy1OKnR.js → key-Do-Pud3s.js} +4 -4
- package/dist/{key-CPSlDkCj.js → key-DtQ4rLnr.js} +3 -3
- package/dist/{key-y9w9Y2OM.js → key-ZtjFeVO8.js} +5 -5
- package/dist/{keycache-BPwY_Up0.js → keycache-B_99o7Nj.js} +1 -1
- package/dist/{keys-CtFc865v.js → keys-BgLpfFXK.js} +1 -1
- package/dist/{ld-D9kk1Uy2.js → ld-AzOj4-js.js} +3 -3
- package/dist/{lookup-DNXR408t.js → lookup-CBbanOdu.js} +3 -3
- package/dist/{lookup-Ozuw-rxN.js → lookup-ChtUDlB-.js} +1 -1
- package/dist/{lookup-Q9UB5zay.js → lookup-DJgGrigh.js} +1 -1
- package/dist/{middleware-DlU2_Djj.js → middleware-BS_et69x.js} +29 -29
- package/dist/middleware-BVMzYv1x.js +33 -0
- package/dist/middleware-CnpuCK_K.js +17 -0
- package/dist/{middleware-DaSuFmHu.js → middleware-R0UobiAQ.js} +24 -24
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.d.ts +2 -1
- package/dist/nodeinfo/client.test.js +4 -3
- package/dist/nodeinfo/handler.test.d.ts +2 -1
- package/dist/nodeinfo/handler.test.js +20 -19
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.d.ts +2 -1
- package/dist/nodeinfo/semver.test.js +2 -1
- package/dist/nodeinfo/types.test.d.ts +2 -1
- package/dist/nodeinfo/types.test.js +2 -1
- package/dist/{owner-DF6Fg4-s.js → owner-Ces3Cs3s.js} +3 -3
- package/dist/{proof-Blo9MEVW.js → proof-BKV4HiE8.js} +3 -3
- package/dist/{proof-13QPysOU.js → proof-BOQF8Trx.js} +3 -3
- package/dist/runtime/authdocloader.test.d.ts +2 -1
- package/dist/runtime/authdocloader.test.js +10 -9
- package/dist/runtime/docloader.test.d.ts +2 -1
- package/dist/runtime/docloader.test.js +27 -2
- package/dist/runtime/key.test.d.ts +2 -1
- package/dist/runtime/key.test.js +7 -6
- package/dist/runtime/langstr.test.d.ts +2 -1
- package/dist/runtime/langstr.test.js +2 -1
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.d.ts +2 -1
- package/dist/runtime/multibase/multibase.test.js +2 -1
- package/dist/runtime/url.test.d.ts +2 -1
- package/dist/runtime/url.test.js +2 -1
- package/dist/{send-CaL5Xv1F.js → send-aAmnTqe8.js} +2 -2
- package/dist/sig/http.test.d.ts +2 -1
- package/dist/sig/http.test.js +9 -8
- package/dist/sig/key.test.d.ts +2 -1
- package/dist/sig/key.test.js +8 -7
- package/dist/sig/ld.test.d.ts +2 -1
- package/dist/sig/ld.test.js +9 -8
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.d.ts +2 -1
- package/dist/sig/owner.test.js +10 -9
- package/dist/sig/proof.test.d.ts +2 -1
- package/dist/sig/proof.test.js +9 -8
- package/dist/testing/docloader.test.d.ts +2 -1
- package/dist/testing/docloader.test.js +2 -1
- package/dist/{types-CGJsS8Cg.js → types-DBIKpLqH.js} +1 -1
- package/dist/vocab/actor.test.d.ts +2 -1
- package/dist/vocab/actor.test.js +6 -6
- package/dist/vocab/lookup.test.d.ts +2 -1
- package/dist/vocab/lookup.test.js +6 -5
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.d.ts +2 -1
- package/dist/vocab/type.test.js +4 -3
- package/dist/vocab/vocab.test.d.ts +2 -1
- package/dist/vocab/vocab.test.js +19 -18
- package/dist/{vocab-dDpPQ0fF.js → vocab-BOerhowX.js} +178 -178
- package/dist/{vocab-C3GyhklV.js → vocab-F6vbRsQh.js} +3 -3
- package/dist/webfinger/handler.test.d.ts +2 -1
- package/dist/webfinger/handler.test.js +20 -19
- package/dist/webfinger/lookup.test.d.ts +2 -1
- package/dist/webfinger/lookup.test.js +4 -3
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.d.ts +2 -1
- package/dist/x/cfworkers.test.js +2 -1
- package/package.json +1 -1
- package/dist/middleware-B9LOv9Q4.js +0 -17
- package/dist/middleware-CPNmYc_Q.js +0 -33
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
7
7
|
import { assert } from "../assert-DmFG7ppO.js";
|
|
8
8
|
import "../assert_instance_of-CF09JHYM.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-CgkbWVNz.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-BOerhowX.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-ChtUDlB-.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-C9RnX-Fl.js";
|
|
17
|
+
import "../key-DtQ4rLnr.js";
|
|
18
|
+
import { verifyRequest } from "../http-D1IBucdD.js";
|
|
19
|
+
import { doesActorOwnKey } from "../owner-Ces3Cs3s.js";
|
|
20
|
+
import { extractInboxes, sendActivity } from "../send-aAmnTqe8.js";
|
|
21
21
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
22
22
|
import "../std__assert-vp0TKMS1.js";
|
|
23
23
|
import { assertFalse, assertRejects } from "../assert_rejects-C-sxEMM5.js";
|
|
@@ -25,7 +25,7 @@ import "../assert_is_error-nrwA1GeT.js";
|
|
|
25
25
|
import { assertNotEquals } from "../assert_not_equals-Dc7y-V5Q.js";
|
|
26
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-BgLpfFXK.js";
|
|
29
29
|
import { esm_default } from "../esm-Db4De7AS.js";
|
|
30
30
|
|
|
31
31
|
//#region federation/send.test.ts
|
|
@@ -221,4 +221,5 @@ test("sendActivity()", async (t) => {
|
|
|
221
221
|
esm_default.hardReset();
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
//#endregion
|
|
224
|
+
//#endregion
|
|
225
|
+
export { };
|
|
@@ -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-BK2Fp3AJ.js";
|
|
6
|
+
import { CryptographicKey } from "./actor-m_MgQ1Da.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-C6phFgFq.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
|
@@ -3,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-CgkbWVNz.js";
|
|
7
|
+
import { CryptographicKey } from "./vocab-BOerhowX.js";
|
|
8
|
+
import { fetchKey, validateCryptoKey } from "./key-DtQ4rLnr.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-CgkbWVNz.js";
|
|
7
|
+
import { Activity } from "./vocab-BOerhowX.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-BK2Fp3AJ.js";
|
|
6
|
+
import { CryptographicKey, Object as Object$1, isActor } from "./actor-m_MgQ1Da.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-BK2Fp3AJ.js";
|
|
6
|
+
import "./actor-m_MgQ1Da.js";
|
|
7
|
+
import "./lookup-DJgGrigh.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-C6phFgFq.js";
|
|
9
9
|
|
|
10
10
|
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-CgkbWVNz.js";
|
|
7
|
+
import { CryptographicKey, Object as Object$1 } from "./vocab-BOerhowX.js";
|
|
8
|
+
import { isActor } from "./actor-C9RnX-Fl.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-CgkbWVNz.js";
|
|
7
7
|
import "./url-kTAI6_KP.js";
|
|
8
8
|
import "./multibase-DeCHcK8L.js";
|
|
9
|
-
import "./vocab-
|
|
9
|
+
import "./vocab-BOerhowX.js";
|
|
10
10
|
import "./langstr-DbWheeIS.js";
|
|
11
|
-
import "./lookup-
|
|
11
|
+
import "./lookup-ChtUDlB-.js";
|
|
12
12
|
import "./type-D2s5lmbZ.js";
|
|
13
|
-
import "./actor-
|
|
14
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
|
13
|
+
import "./actor-C9RnX-Fl.js";
|
|
14
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-DtQ4rLnr.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-BOerhowX.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-BOerhowX.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-CgkbWVNz.js";
|
|
7
|
+
import { Activity, CryptographicKey, Object as Object$1 } from "./vocab-BOerhowX.js";
|
|
8
8
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
|
9
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
9
|
+
import { fetchKey, validateCryptoKey } from "./key-DtQ4rLnr.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-CgkbWVNz.js";
|
|
7
|
+
import { Object as Object$1 } from "./vocab-BOerhowX.js";
|
|
8
|
+
import { lookupWebFinger } from "./lookup-ChtUDlB-.js";
|
|
9
9
|
import { getTypeId } from "./type-D2s5lmbZ.js";
|
|
10
10
|
import { getLogger } from "@logtape/logtape";
|
|
11
11
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
@@ -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-CgkbWVNz.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-BK2Fp3AJ.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
8
8
|
|
|
@@ -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-CgkbWVNz.js";
|
|
7
|
+
import { getNodeInfo } from "./client-DXIsEekV.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-BOerhowX.js";
|
|
11
|
+
import { lookupWebFinger } from "./lookup-ChtUDlB-.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-DtQ4rLnr.js";
|
|
14
|
+
import { verifyRequest } from "./http-D1IBucdD.js";
|
|
15
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-7OXAs5XI.js";
|
|
16
|
+
import { detachSignature, hasSignature, signJsonLd, verifyJsonLd } from "./ld-AzOj4-js.js";
|
|
17
|
+
import { doesActorOwnKey, getKeyOwner } from "./owner-Ces3Cs3s.js";
|
|
18
|
+
import { signObject, verifyObject } from "./proof-BOQF8Trx.js";
|
|
19
|
+
import { lookupObject, traverseCollection } from "./lookup-CBbanOdu.js";
|
|
20
|
+
import { routeActivity } from "./inbox-BrMkm2b5.js";
|
|
21
|
+
import { FederationBuilderImpl } from "./builder-C7nJE1zO.js";
|
|
22
22
|
import { buildCollectionSynchronizationHeader } from "./collection-Dfb0TPno.js";
|
|
23
|
-
import { KvKeyCache } from "./keycache-
|
|
23
|
+
import { KvKeyCache } from "./keycache-B_99o7Nj.js";
|
|
24
24
|
import { createExponentialBackoffPolicy } from "./retry-BiIhZWgD.js";
|
|
25
|
-
import { extractInboxes, sendActivity } from "./send-
|
|
25
|
+
import { extractInboxes, sendActivity } from "./send-aAmnTqe8.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";
|
|
@@ -799,20 +799,6 @@ async function handleInboxInternal(request, { recipient, context: ctx, inboxCont
|
|
|
799
799
|
}
|
|
800
800
|
if (activity.id != null) span.setAttribute("activitypub.activity.id", activity.id.href);
|
|
801
801
|
span.setAttribute("activitypub.activity.type", getTypeId(activity).href);
|
|
802
|
-
const routeResult = await routeActivity({
|
|
803
|
-
context: ctx,
|
|
804
|
-
json,
|
|
805
|
-
activity,
|
|
806
|
-
recipient,
|
|
807
|
-
inboxListeners,
|
|
808
|
-
inboxContextFactory,
|
|
809
|
-
inboxErrorHandler,
|
|
810
|
-
kv,
|
|
811
|
-
kvPrefixes,
|
|
812
|
-
queue,
|
|
813
|
-
span,
|
|
814
|
-
tracerProvider
|
|
815
|
-
});
|
|
816
802
|
if (httpSigKey != null && !await doesActorOwnKey(activity, httpSigKey, ctx)) {
|
|
817
803
|
logger$2.error("The signer ({keyId}) and the actor ({actorId}) do not match.", {
|
|
818
804
|
activity: json,
|
|
@@ -829,6 +815,20 @@ async function handleInboxInternal(request, { recipient, context: ctx, inboxCont
|
|
|
829
815
|
headers: { "Content-Type": "text/plain; charset=utf-8" }
|
|
830
816
|
});
|
|
831
817
|
}
|
|
818
|
+
const routeResult = await routeActivity({
|
|
819
|
+
context: ctx,
|
|
820
|
+
json,
|
|
821
|
+
activity,
|
|
822
|
+
recipient,
|
|
823
|
+
inboxListeners,
|
|
824
|
+
inboxContextFactory,
|
|
825
|
+
inboxErrorHandler,
|
|
826
|
+
kv,
|
|
827
|
+
kvPrefixes,
|
|
828
|
+
queue,
|
|
829
|
+
span,
|
|
830
|
+
tracerProvider
|
|
831
|
+
});
|
|
832
832
|
if (routeResult === "alreadyProcessed") return new Response(`Activity <${activity.id}> has already been processed.`, {
|
|
833
833
|
status: 202,
|
|
834
834
|
headers: { "Content-Type": "text/plain; charset=utf-8" }
|
|
@@ -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-BS_et69x.js";
|
|
7
|
+
import "./docloader-CgkbWVNz.js";
|
|
8
|
+
import "./url-kTAI6_KP.js";
|
|
9
|
+
import "./semver-DWClQt_5.js";
|
|
10
|
+
import "./client-DXIsEekV.js";
|
|
11
|
+
import "./router-D_aVZZUc.js";
|
|
12
|
+
import "./types-C7C_l-jz.js";
|
|
13
|
+
import "./multibase-DeCHcK8L.js";
|
|
14
|
+
import "./vocab-BOerhowX.js";
|
|
15
|
+
import "./langstr-DbWheeIS.js";
|
|
16
|
+
import "./lookup-ChtUDlB-.js";
|
|
17
|
+
import "./type-D2s5lmbZ.js";
|
|
18
|
+
import "./actor-C9RnX-Fl.js";
|
|
19
|
+
import "./key-DtQ4rLnr.js";
|
|
20
|
+
import "./http-D1IBucdD.js";
|
|
21
|
+
import "./authdocloader-7OXAs5XI.js";
|
|
22
|
+
import "./ld-AzOj4-js.js";
|
|
23
|
+
import "./owner-Ces3Cs3s.js";
|
|
24
|
+
import "./proof-BOQF8Trx.js";
|
|
25
|
+
import "./lookup-CBbanOdu.js";
|
|
26
|
+
import "./inbox-BrMkm2b5.js";
|
|
27
|
+
import "./builder-C7nJE1zO.js";
|
|
28
|
+
import "./collection-Dfb0TPno.js";
|
|
29
|
+
import "./keycache-B_99o7Nj.js";
|
|
30
|
+
import "./retry-BiIhZWgD.js";
|
|
31
|
+
import "./send-aAmnTqe8.js";
|
|
32
|
+
|
|
33
|
+
export { FederationImpl };
|
|
@@ -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-BK2Fp3AJ.js";
|
|
7
|
+
import "./actor-m_MgQ1Da.js";
|
|
8
|
+
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-R0UobiAQ.js";
|
|
9
|
+
import "./lookup-DJgGrigh.js";
|
|
10
|
+
import "./key-C6phFgFq.js";
|
|
11
|
+
import "./http-CwQqD0nE.js";
|
|
12
|
+
import "./proof-BKV4HiE8.js";
|
|
13
|
+
import "./types-DBIKpLqH.js";
|
|
14
|
+
import "./authdocloader-cdK4XSRT.js";
|
|
15
|
+
import "./vocab-F6vbRsQh.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-BK2Fp3AJ.js";
|
|
7
|
+
import { Activity, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId } from "./actor-m_MgQ1Da.js";
|
|
8
|
+
import { lookupWebFinger } from "./lookup-DJgGrigh.js";
|
|
9
|
+
import { exportJwk, importJwk, validateCryptoKey } from "./key-C6phFgFq.js";
|
|
10
|
+
import { doubleKnock, verifyRequest } from "./http-CwQqD0nE.js";
|
|
11
|
+
import { detachSignature, doesActorOwnKey, getKeyOwner, hasSignature, signJsonLd, signObject, verifyJsonLd, verifyObject } from "./proof-BKV4HiE8.js";
|
|
12
|
+
import { getNodeInfo, nodeInfoToJson } from "./types-DBIKpLqH.js";
|
|
13
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-cdK4XSRT.js";
|
|
14
|
+
import { lookupObject, traverseCollection } from "./vocab-F6vbRsQh.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-CnpuCK_K.js");
|
|
316
316
|
const f = new FederationImpl$1(options);
|
|
317
317
|
const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
|
|
318
318
|
f.router = this.router.clone();
|
|
@@ -1348,20 +1348,6 @@ async function handleInboxInternal(request, { recipient, context: ctx, inboxCont
|
|
|
1348
1348
|
}
|
|
1349
1349
|
if (activity.id != null) span.setAttribute("activitypub.activity.id", activity.id.href);
|
|
1350
1350
|
span.setAttribute("activitypub.activity.type", getTypeId(activity).href);
|
|
1351
|
-
const routeResult = await routeActivity({
|
|
1352
|
-
context: ctx,
|
|
1353
|
-
json,
|
|
1354
|
-
activity,
|
|
1355
|
-
recipient,
|
|
1356
|
-
inboxListeners,
|
|
1357
|
-
inboxContextFactory,
|
|
1358
|
-
inboxErrorHandler,
|
|
1359
|
-
kv,
|
|
1360
|
-
kvPrefixes,
|
|
1361
|
-
queue,
|
|
1362
|
-
span,
|
|
1363
|
-
tracerProvider
|
|
1364
|
-
});
|
|
1365
1351
|
if (httpSigKey != null && !await doesActorOwnKey(activity, httpSigKey, ctx)) {
|
|
1366
1352
|
logger$1.error("The signer ({keyId}) and the actor ({actorId}) do not match.", {
|
|
1367
1353
|
activity: json,
|
|
@@ -1378,6 +1364,20 @@ async function handleInboxInternal(request, { recipient, context: ctx, inboxCont
|
|
|
1378
1364
|
headers: { "Content-Type": "text/plain; charset=utf-8" }
|
|
1379
1365
|
});
|
|
1380
1366
|
}
|
|
1367
|
+
const routeResult = await routeActivity({
|
|
1368
|
+
context: ctx,
|
|
1369
|
+
json,
|
|
1370
|
+
activity,
|
|
1371
|
+
recipient,
|
|
1372
|
+
inboxListeners,
|
|
1373
|
+
inboxContextFactory,
|
|
1374
|
+
inboxErrorHandler,
|
|
1375
|
+
kv,
|
|
1376
|
+
kvPrefixes,
|
|
1377
|
+
queue,
|
|
1378
|
+
span,
|
|
1379
|
+
tracerProvider
|
|
1380
|
+
});
|
|
1381
1381
|
if (routeResult === "alreadyProcessed") return new Response(`Activity <${activity.id}> has already been processed.`, {
|
|
1382
1382
|
status: 202,
|
|
1383
1383
|
headers: { "Content-Type": "text/plain; charset=utf-8" }
|
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-BK2Fp3AJ.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-m_MgQ1Da.js";
|
|
9
|
+
import { Router, RouterError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "./middleware-R0UobiAQ.js";
|
|
10
|
+
import { lookupWebFinger } from "./lookup-DJgGrigh.js";
|
|
11
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "./key-C6phFgFq.js";
|
|
12
|
+
import { signRequest, verifyRequest } from "./http-CwQqD0nE.js";
|
|
13
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "./proof-BKV4HiE8.js";
|
|
14
14
|
import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation-BRIQn-GV.js";
|
|
15
|
-
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-
|
|
16
|
-
import { getAuthenticatedDocumentLoader } from "./authdocloader-
|
|
17
|
-
import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "./vocab-
|
|
15
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "./types-DBIKpLqH.js";
|
|
16
|
+
import { getAuthenticatedDocumentLoader } from "./authdocloader-cdK4XSRT.js";
|
|
17
|
+
import { PUBLIC_COLLECTION, lookupObject, traverseCollection } from "./vocab-F6vbRsQh.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-CTYbeopb.js";
|
|
7
7
|
import "../assert-DmFG7ppO.js";
|
|
8
8
|
import "../assert_instance_of-CF09JHYM.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-CgkbWVNz.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-DXIsEekV.js";
|
|
13
13
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
14
14
|
import "../std__assert-vp0TKMS1.js";
|
|
15
15
|
import "../assert_rejects-C-sxEMM5.js";
|
|
@@ -963,4 +963,5 @@ test("parseUsage()", () => {
|
|
|
963
963
|
});
|
|
964
964
|
});
|
|
965
965
|
|
|
966
|
-
//#endregion
|
|
966
|
+
//#endregion
|
|
967
|
+
export { };
|
|
@@ -7,32 +7,32 @@ import { assertEquals } from "../assert_equals-CTYbeopb.js";
|
|
|
7
7
|
import "../assert-DmFG7ppO.js";
|
|
8
8
|
import "../assert_instance_of-CF09JHYM.js";
|
|
9
9
|
import { MemoryKvStore } from "../kv-BMY6Qf_A.js";
|
|
10
|
-
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-
|
|
11
|
-
import "../docloader-
|
|
10
|
+
import { createFederation, handleNodeInfo, handleNodeInfoJrd } from "../middleware-BS_et69x.js";
|
|
11
|
+
import "../docloader-CgkbWVNz.js";
|
|
12
12
|
import "../url-kTAI6_KP.js";
|
|
13
13
|
import { parseSemVer } from "../semver-DWClQt_5.js";
|
|
14
|
-
import "../client-
|
|
14
|
+
import "../client-DXIsEekV.js";
|
|
15
15
|
import "../router-D_aVZZUc.js";
|
|
16
16
|
import "../types-C7C_l-jz.js";
|
|
17
17
|
import "../multibase-DeCHcK8L.js";
|
|
18
|
-
import "../vocab-
|
|
18
|
+
import "../vocab-BOerhowX.js";
|
|
19
19
|
import "../langstr-DbWheeIS.js";
|
|
20
|
-
import "../lookup-
|
|
20
|
+
import "../lookup-ChtUDlB-.js";
|
|
21
21
|
import "../type-D2s5lmbZ.js";
|
|
22
|
-
import "../actor-
|
|
23
|
-
import "../key-
|
|
24
|
-
import "../http-
|
|
25
|
-
import "../authdocloader-
|
|
26
|
-
import "../ld-
|
|
27
|
-
import "../owner-
|
|
28
|
-
import "../proof-
|
|
29
|
-
import "../lookup-
|
|
30
|
-
import "../inbox-
|
|
31
|
-
import "../builder-
|
|
22
|
+
import "../actor-C9RnX-Fl.js";
|
|
23
|
+
import "../key-DtQ4rLnr.js";
|
|
24
|
+
import "../http-D1IBucdD.js";
|
|
25
|
+
import "../authdocloader-7OXAs5XI.js";
|
|
26
|
+
import "../ld-AzOj4-js.js";
|
|
27
|
+
import "../owner-Ces3Cs3s.js";
|
|
28
|
+
import "../proof-BOQF8Trx.js";
|
|
29
|
+
import "../lookup-CBbanOdu.js";
|
|
30
|
+
import "../inbox-BrMkm2b5.js";
|
|
31
|
+
import "../builder-C7nJE1zO.js";
|
|
32
32
|
import "../collection-Dfb0TPno.js";
|
|
33
|
-
import "../keycache-
|
|
33
|
+
import "../keycache-B_99o7Nj.js";
|
|
34
34
|
import "../retry-BiIhZWgD.js";
|
|
35
|
-
import "../send-
|
|
35
|
+
import "../send-aAmnTqe8.js";
|
|
36
36
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
37
37
|
import "../std__assert-vp0TKMS1.js";
|
|
38
38
|
import "../assert_rejects-C-sxEMM5.js";
|
|
@@ -40,7 +40,7 @@ import "../assert_is_error-nrwA1GeT.js";
|
|
|
40
40
|
import "../assert_not_equals-Dc7y-V5Q.js";
|
|
41
41
|
import "../assert_throws-Cn9C6Jur.js";
|
|
42
42
|
import "../docloader-09nVWLAZ.js";
|
|
43
|
-
import { createRequestContext } from "../context-
|
|
43
|
+
import { createRequestContext } from "../context-Bts52fbz.js";
|
|
44
44
|
|
|
45
45
|
//#region nodeinfo/handler.test.ts
|
|
46
46
|
test("handleNodeInfo()", async () => {
|
|
@@ -129,4 +129,5 @@ test("handleNodeInfoJrd()", async () => {
|
|
|
129
129
|
}] });
|
|
130
130
|
});
|
|
131
131
|
|
|
132
|
-
//#endregion
|
|
132
|
+
//#endregion
|
|
133
|
+
export { };
|
package/dist/nodeinfo/mod.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import "../docloader-
|
|
6
|
-
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-
|
|
5
|
+
import "../docloader-BK2Fp3AJ.js";
|
|
6
|
+
import { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer } from "../types-DBIKpLqH.js";
|
|
7
7
|
import "../nodeinfo-CyEbLjHs.js";
|
|
8
8
|
|
|
9
9
|
export { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer };
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { getDocumentLoader } from "./docloader-
|
|
7
|
-
import { CryptographicKey, Object as Object$1 } from "./vocab-
|
|
8
|
-
import { isActor } from "./actor-
|
|
6
|
+
import { getDocumentLoader } from "./docloader-CgkbWVNz.js";
|
|
7
|
+
import { CryptographicKey, Object as Object$1 } from "./vocab-BOerhowX.js";
|
|
8
|
+
import { isActor } from "./actor-C9RnX-Fl.js";
|
|
9
9
|
import { trace } from "@opentelemetry/api";
|
|
10
10
|
|
|
11
11
|
//#region sig/owner.ts
|