@fedify/fedify 1.8.1-pr.334.1193 → 1.8.1-pr.339.1221
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-CeBMq8qR.js → actor-C_fB23SK.js} +1 -1
- package/dist/{actor-BxYrc06V.js → actor-D-gppdfb.js} +179 -179
- package/dist/{authdocloader-mGQvrIQ2.js → authdocloader-B2hkRlHV.js} +3 -3
- package/dist/{authdocloader-D64rqKxU.js → authdocloader-C4tzFZqI.js} +3 -3
- package/dist/{builder-BMWyrhEH.js → builder-D8tC_vfI.js} +74 -4
- package/dist/{client-CTC5x_Sz.js → client-Bk-YQuxz.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-BU0Mbf3M.js → docloader-CN5x_D5w.js} +1 -1
- package/dist/{esm-LMB9p-G5.js → esm-B-Jb47LY.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-D3g0NXG1.js → http-BN-AfxHv.js} +2 -2
- package/dist/{http-CYR3mIVn.js → http-CX9EBYil.js} +3 -3
- package/dist/{inbox-CKssCQNk.js → inbox-B-guAC2t.js} +1 -1
- package/dist/{key-CuNvhgVd.js → key-BsFs0hRJ.js} +4 -4
- package/dist/{key-BBZcKCrH.js → key-CDER1nPf.js} +2 -2
- package/dist/{key-CmOXs0Mq.js → key-DBpUT6eL.js} +3 -3
- package/dist/{key-YOEsvep6.js → key-wEgiBcf4.js} +2 -2
- package/dist/{keycache-DGObidvq.js → keycache-CzNY9D-R.js} +1 -1
- package/dist/{keys-CPhbsrsX.js → keys-DyrWvTVk.js} +1 -1
- package/dist/{ld-D8ugSU-x.js → ld-Bij-eGOh.js} +2 -2
- package/dist/{lookup-rBByGTyy.js → lookup-BnVbBDao.js} +1 -1
- package/dist/{lookup-B0_qPExk.js → lookup-Dvnw2uak.js} +1 -1
- package/dist/{middleware-B_To0NZ3.js → middleware-BdCHqVyf.js} +615 -10
- package/dist/middleware-BylQejY9.js +17 -0
- package/dist/{middleware-u2WBeCjB.js → middleware-CRHRYKzd.js} +549 -14
- package/dist/middleware-Cruz4Ju6.js +26 -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-D1TBvEbO.js → owner-DaDx2G2T.js} +2 -2
- package/dist/{proof-CUsFh6B-.js → proof-B7EUMoa_.js} +3 -3
- package/dist/{proof-CyWfFsKS.js → proof-BY0M6tMI.js} +2 -2
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.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-CrjrTnXW.js → send-DfVJ7u7H.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-CROcCUCq.js → testing-CxPA9ooV.js} +4 -3
- package/dist/{type-DGlR8Urb.js → type-BclCS6EM.js} +179 -179
- package/dist/{types-DZdBK266.js → types-aPGcTfd2.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-BLQ-_oLb.js → vocab-BgH1bkzj.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-DbDzHrt7.js +0 -17
- package/dist/middleware-JUbAKlS5.js +0 -26
|
@@ -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-BclCS6EM.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-Dvnw2uak.js";
|
|
11
|
+
import "../actor-C_fB23SK.js";
|
|
12
|
+
import "../key-wEgiBcf4.js";
|
|
13
|
+
import { verifyRequest } from "../http-BN-AfxHv.js";
|
|
14
|
+
import { doesActorOwnKey } from "../owner-DaDx2G2T.js";
|
|
15
|
+
import { extractInboxes, sendActivity } from "../send-DfVJ7u7H.js";
|
|
16
|
+
import { mockDocumentLoader, test } from "../testing-CxPA9ooV.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-DyrWvTVk.js";
|
|
23
|
+
import { esm_default } from "../esm-B-Jb47LY.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-BclCS6EM.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-wEgiBcf4.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-CN5x_D5w.js";
|
|
6
|
+
import { CryptographicKey } from "./actor-D-gppdfb.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-CDER1nPf.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-BclCS6EM.js";
|
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
|
8
8
|
import { SpanKind, SpanStatusCode, context, propagation, 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-CN5x_D5w.js";
|
|
6
|
+
import "./actor-D-gppdfb.js";
|
|
7
|
+
import "./lookup-BnVbBDao.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-CDER1nPf.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-CN5x_D5w.js";
|
|
6
|
+
import { CryptographicKey, Object as Object$1, isActor } from "./actor-D-gppdfb.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-BclCS6EM.js";
|
|
7
|
+
import "./actor-C_fB23SK.js";
|
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-wEgiBcf4.js";
|
|
9
9
|
|
|
10
10
|
export { validateCryptoKey };
|
|
@@ -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-BclCS6EM.js";
|
|
7
|
+
import { isActor } from "./actor-C_fB23SK.js";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
10
10
|
|
|
@@ -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-BclCS6EM.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-BclCS6EM.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-BclCS6EM.js";
|
|
7
|
+
import { fetchKey, validateCryptoKey } from "./key-wEgiBcf4.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-CN5x_D5w.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-BclCS6EM.js";
|
|
7
7
|
import { cloneDeep, delay } from "es-toolkit";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|