@fedify/fedify 1.8.1-dev.1196 → 1.8.1-dev.1208
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-CxR5U1oo.js → actor-CuU0F8f-.js} +179 -179
- package/dist/{actor-CtYlkxzJ.js → actor-DcTGJGfO.js} +1 -1
- package/dist/{authdocloader-VTkQ8K0Y.js → authdocloader-1AjrVHSd.js} +3 -3
- package/dist/{authdocloader-BZWQLx0S.js → authdocloader-Dzp0C-m-.js} +3 -3
- package/dist/{builder-F4gwNDnO.js → builder-DmxqfOxF.js} +74 -4
- package/dist/{client-CqFDl4jd.js → client-CGdgwWDd.js} +1 -1
- package/dist/compat/mod.d.ts +3 -3
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-B6mUZhs_.d.ts → context-Csbv_Ssv.d.ts} +215 -2
- package/dist/{docloader-8G9dRNNT.js → docloader-CC5Ad-vC.js} +1 -1
- package/dist/{esm-D4edLexu.js → esm-BzTjuptr.js} +1 -1
- package/dist/federation/builder.test.js +25 -6
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +327 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +49 -18
- package/dist/federation/mod.d.ts +3 -3
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-D1uoUH4N.d.ts → http-BL6S1G0j.d.ts} +1 -1
- package/dist/{http-QAbAvLaA.js → http-ChgGCUt7.js} +2 -2
- package/dist/{http-DP-QCSnf.js → http-xGvqtRzj.js} +3 -3
- package/dist/{inbox-CbdVyo7y.js → inbox-DPwS-fya.js} +1 -1
- package/dist/{key-BmcnoH67.js → key-B4H3VScO.js} +2 -2
- package/dist/{key-B5BG3TlP.js → key-BI_h60Ph.js} +4 -4
- package/dist/{key-niYHzxpU.js → key-CwQBxaEv.js} +2 -2
- package/dist/{key-DoKORQBJ.js → key-Hsr14BCm.js} +3 -3
- package/dist/{keycache-wyNjsOXh.js → keycache-zxyI6Mkr.js} +1 -1
- package/dist/{keys-CwwJ60b3.js → keys-CEyAWutK.js} +1 -1
- package/dist/{ld-Cp6hVazi.js → ld-B6ED3v_C.js} +2 -2
- package/dist/{lookup-C881UY68.js → lookup-BlDfDhQU.js} +1 -1
- package/dist/{lookup-maLNAvEk.js → lookup-DwT0T1_z.js} +1 -1
- package/dist/{middleware-B8WMXq7R.js → middleware-B3RmErhJ.js} +615 -10
- package/dist/middleware-CzUtS0KD.js +26 -0
- package/dist/{middleware-BYauFQyV.js → middleware-DVLa9z7g.js} +549 -14
- package/dist/middleware-doeDJs7O.js +17 -0
- package/dist/{mod-0L5jhGYM.d.ts → mod-D8-liXFY.d.ts} +1 -1
- package/dist/{mod-D9qE4iHP.d.ts → mod-Dc_fDCtK.d.ts} +1 -1
- package/dist/{mod-BCl7t-Ka.d.ts → mod-j0OCtlRW.d.ts} +1 -1
- package/dist/mod.d.ts +6 -6
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-D3ZBbP0B.js → owner-DbrU4Nhq.js} +2 -2
- package/dist/{proof-BUmGHkCH.js → proof-CftfLlI5.js} +2 -2
- package/dist/{proof-Dj37ioz4.js → proof-D7xQsAL1.js} +3 -3
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.d.ts +2 -2
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-D0ivXphG.js → send-CBWGD4V6.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.d.ts +2 -2
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.d.ts +212 -0
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-DGbueOG4.js → testing-Cd8edtVu.js} +4 -3
- package/dist/{type-Dd9Fsf4j.js → type-Be20K-n3.js} +179 -179
- package/dist/{types-BzuRAiBC.js → types-n2oZ94xK.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-CNJVVVlt.js → vocab-CRfy3czR.js} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +2 -2
- package/dist/x/sveltekit.d.ts +2 -2
- package/package.json +1 -1
- package/dist/middleware-C0pjE_Qz.js +0 -26
- package/dist/middleware-DNrTR6Gb.js +0 -17
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Activity, Application, Endpoints, Group, Person, Service } from "../type-
|
|
6
|
+
import { Activity, Application, Endpoints, Group, Person, Service } from "../type-Be20K-n3.js";
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
|
-
import "../lookup-
|
|
11
|
-
import "../actor-
|
|
12
|
-
import "../key-
|
|
13
|
-
import { verifyRequest } from "../http-
|
|
14
|
-
import { doesActorOwnKey } from "../owner-
|
|
15
|
-
import { extractInboxes, sendActivity } from "../send-
|
|
16
|
-
import { mockDocumentLoader, test } from "../testing-
|
|
10
|
+
import "../lookup-DwT0T1_z.js";
|
|
11
|
+
import "../actor-DcTGJGfO.js";
|
|
12
|
+
import "../key-B4H3VScO.js";
|
|
13
|
+
import { verifyRequest } from "../http-ChgGCUt7.js";
|
|
14
|
+
import { doesActorOwnKey } from "../owner-DbrU4Nhq.js";
|
|
15
|
+
import { extractInboxes, sendActivity } from "../send-CBWGD4V6.js";
|
|
16
|
+
import { mockDocumentLoader, test } from "../testing-Cd8edtVu.js";
|
|
17
17
|
import "../std__assert-BQdmxyzF.js";
|
|
18
18
|
import { assertFalse, assertRejects } from "../assert_rejects-AjlKk-Vo.js";
|
|
19
19
|
import "../assert_is_error-CeVBLPsZ.js";
|
|
20
20
|
import { assertNotEquals } from "../assert_not_equals-D2R2nl5h.js";
|
|
21
21
|
import "../assert_throws-CqMKbTh_.js";
|
|
22
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
|
23
|
-
import { esm_default } from "../esm-
|
|
22
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-CEyAWutK.js";
|
|
23
|
+
import { esm_default } from "../esm-BzTjuptr.js";
|
|
24
24
|
|
|
25
25
|
//#region federation/send.test.ts
|
|
26
26
|
test("extractInboxes()", () => {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, deno_default } from "./type-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { CryptographicKey, deno_default } from "./type-Be20K-n3.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-B4H3VScO.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
|
|
5
|
-
import { deno_default } from "./docloader-
|
|
6
|
-
import { CryptographicKey } from "./actor-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
5
|
+
import { deno_default } from "./docloader-CC5Ad-vC.js";
|
|
6
|
+
import { CryptographicKey } from "./actor-CuU0F8f-.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CwQBxaEv.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Activity, deno_default, getTypeId } from "./type-
|
|
6
|
+
import { Activity, deno_default, getTypeId } from "./type-Be20K-n3.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Object as Object$1, deno_default, getDocumentLoader } from "./type-
|
|
7
|
-
import { isActor } from "./actor-
|
|
6
|
+
import { CryptographicKey, Object as Object$1, deno_default, getDocumentLoader } from "./type-Be20K-n3.js";
|
|
7
|
+
import { isActor } from "./actor-DcTGJGfO.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
|
|
@@ -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-CC5Ad-vC.js";
|
|
6
|
+
import "./actor-CuU0F8f-.js";
|
|
7
|
+
import "./lookup-BlDfDhQU.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-CwQBxaEv.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-CC5Ad-vC.js";
|
|
6
|
+
import { CryptographicKey, Object as Object$1, isActor } from "./actor-CuU0F8f-.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import "./type-
|
|
7
|
-
import "./actor-
|
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-
|
|
6
|
+
import "./type-Be20K-n3.js";
|
|
7
|
+
import "./actor-DcTGJGfO.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-B4H3VScO.js";
|
|
9
9
|
|
|
10
10
|
export { validateCryptoKey };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { CryptographicKey, Multikey } from "./type-
|
|
6
|
+
import { CryptographicKey, Multikey } from "./type-Be20K-n3.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 "./type-
|
|
6
|
+
import { CryptographicKey, Multikey, importSpki } from "./type-Be20K-n3.js";
|
|
7
7
|
|
|
8
8
|
//#region testing/keys.ts
|
|
9
9
|
const rsaPublicKey1 = new CryptographicKey({
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
|
-
import { Activity, CryptographicKey, Object as Object$1, deno_default, getDocumentLoader, getTypeId } from "./type-
|
|
7
|
-
import { fetchKey, validateCryptoKey } from "./key-
|
|
6
|
+
import { Activity, CryptographicKey, Object as Object$1, deno_default, getDocumentLoader, getTypeId } from "./type-Be20K-n3.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-B4H3VScO.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";
|
|
@@ -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-CC5Ad-vC.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 { Object as Object$1, deno_default, getDocumentLoader, getTypeId, lookupWebFinger } from "./type-
|
|
6
|
+
import { Object as Object$1, deno_default, getDocumentLoader, getTypeId, lookupWebFinger } from "./type-Be20K-n3.js";
|
|
7
7
|
import { cloneDeep, delay } from "es-toolkit";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|