@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.
Files changed (91) hide show
  1. package/dist/{actor-CxR5U1oo.js → actor-CuU0F8f-.js} +179 -179
  2. package/dist/{actor-CtYlkxzJ.js → actor-DcTGJGfO.js} +1 -1
  3. package/dist/{authdocloader-VTkQ8K0Y.js → authdocloader-1AjrVHSd.js} +3 -3
  4. package/dist/{authdocloader-BZWQLx0S.js → authdocloader-Dzp0C-m-.js} +3 -3
  5. package/dist/{builder-F4gwNDnO.js → builder-DmxqfOxF.js} +74 -4
  6. package/dist/{client-CqFDl4jd.js → client-CGdgwWDd.js} +1 -1
  7. package/dist/compat/mod.d.ts +3 -3
  8. package/dist/compat/transformers.test.js +16 -16
  9. package/dist/{context-B6mUZhs_.d.ts → context-Csbv_Ssv.d.ts} +215 -2
  10. package/dist/{docloader-8G9dRNNT.js → docloader-CC5Ad-vC.js} +1 -1
  11. package/dist/{esm-D4edLexu.js → esm-BzTjuptr.js} +1 -1
  12. package/dist/federation/builder.test.js +25 -6
  13. package/dist/federation/collection.test.js +3 -3
  14. package/dist/federation/handler.test.js +327 -17
  15. package/dist/federation/inbox.test.js +4 -4
  16. package/dist/federation/keycache.test.js +4 -4
  17. package/dist/federation/kv.test.js +3 -3
  18. package/dist/federation/middleware.test.js +49 -18
  19. package/dist/federation/mod.d.ts +3 -3
  20. package/dist/federation/mod.js +10 -10
  21. package/dist/federation/mq.test.js +3 -3
  22. package/dist/federation/retry.test.js +3 -3
  23. package/dist/federation/router.test.js +3 -3
  24. package/dist/federation/send.test.js +10 -10
  25. package/dist/{http-D1uoUH4N.d.ts → http-BL6S1G0j.d.ts} +1 -1
  26. package/dist/{http-QAbAvLaA.js → http-ChgGCUt7.js} +2 -2
  27. package/dist/{http-DP-QCSnf.js → http-xGvqtRzj.js} +3 -3
  28. package/dist/{inbox-CbdVyo7y.js → inbox-DPwS-fya.js} +1 -1
  29. package/dist/{key-BmcnoH67.js → key-B4H3VScO.js} +2 -2
  30. package/dist/{key-B5BG3TlP.js → key-BI_h60Ph.js} +4 -4
  31. package/dist/{key-niYHzxpU.js → key-CwQBxaEv.js} +2 -2
  32. package/dist/{key-DoKORQBJ.js → key-Hsr14BCm.js} +3 -3
  33. package/dist/{keycache-wyNjsOXh.js → keycache-zxyI6Mkr.js} +1 -1
  34. package/dist/{keys-CwwJ60b3.js → keys-CEyAWutK.js} +1 -1
  35. package/dist/{ld-Cp6hVazi.js → ld-B6ED3v_C.js} +2 -2
  36. package/dist/{lookup-C881UY68.js → lookup-BlDfDhQU.js} +1 -1
  37. package/dist/{lookup-maLNAvEk.js → lookup-DwT0T1_z.js} +1 -1
  38. package/dist/{middleware-B8WMXq7R.js → middleware-B3RmErhJ.js} +615 -10
  39. package/dist/middleware-CzUtS0KD.js +26 -0
  40. package/dist/{middleware-BYauFQyV.js → middleware-DVLa9z7g.js} +549 -14
  41. package/dist/middleware-doeDJs7O.js +17 -0
  42. package/dist/{mod-0L5jhGYM.d.ts → mod-D8-liXFY.d.ts} +1 -1
  43. package/dist/{mod-D9qE4iHP.d.ts → mod-Dc_fDCtK.d.ts} +1 -1
  44. package/dist/{mod-BCl7t-Ka.d.ts → mod-j0OCtlRW.d.ts} +1 -1
  45. package/dist/mod.d.ts +6 -6
  46. package/dist/mod.js +10 -10
  47. package/dist/nodeinfo/client.test.js +5 -5
  48. package/dist/nodeinfo/handler.test.js +16 -16
  49. package/dist/nodeinfo/mod.js +2 -2
  50. package/dist/nodeinfo/semver.test.js +3 -3
  51. package/dist/nodeinfo/types.test.js +3 -3
  52. package/dist/{owner-D3ZBbP0B.js → owner-DbrU4Nhq.js} +2 -2
  53. package/dist/{proof-BUmGHkCH.js → proof-CftfLlI5.js} +2 -2
  54. package/dist/{proof-Dj37ioz4.js → proof-D7xQsAL1.js} +3 -3
  55. package/dist/runtime/authdocloader.test.js +9 -9
  56. package/dist/runtime/docloader.test.js +4 -4
  57. package/dist/runtime/key.test.js +5 -5
  58. package/dist/runtime/langstr.test.js +3 -3
  59. package/dist/runtime/mod.d.ts +2 -2
  60. package/dist/runtime/mod.js +6 -6
  61. package/dist/runtime/multibase/multibase.test.js +3 -3
  62. package/dist/runtime/url.test.js +3 -3
  63. package/dist/{send-D0ivXphG.js → send-CBWGD4V6.js} +2 -2
  64. package/dist/sig/http.test.js +8 -8
  65. package/dist/sig/key.test.js +6 -6
  66. package/dist/sig/ld.test.js +7 -7
  67. package/dist/sig/mod.d.ts +2 -2
  68. package/dist/sig/mod.js +6 -6
  69. package/dist/sig/owner.test.js +7 -7
  70. package/dist/sig/proof.test.js +7 -7
  71. package/dist/testing/docloader.test.js +3 -3
  72. package/dist/testing/mod.d.ts +212 -0
  73. package/dist/testing/mod.js +3 -3
  74. package/dist/{testing-DGbueOG4.js → testing-Cd8edtVu.js} +4 -3
  75. package/dist/{type-Dd9Fsf4j.js → type-Be20K-n3.js} +179 -179
  76. package/dist/{types-BzuRAiBC.js → types-n2oZ94xK.js} +1 -1
  77. package/dist/vocab/actor.test.js +5 -5
  78. package/dist/vocab/lookup.test.js +4 -4
  79. package/dist/vocab/mod.js +4 -4
  80. package/dist/vocab/type.test.js +3 -3
  81. package/dist/vocab/vocab.test.js +4 -4
  82. package/dist/{vocab-CNJVVVlt.js → vocab-CRfy3czR.js} +3 -3
  83. package/dist/webfinger/handler.test.js +16 -16
  84. package/dist/webfinger/lookup.test.js +4 -4
  85. package/dist/webfinger/mod.js +2 -2
  86. package/dist/x/cfworkers.test.js +3 -3
  87. package/dist/x/hono.d.ts +2 -2
  88. package/dist/x/sveltekit.d.ts +2 -2
  89. package/package.json +1 -1
  90. package/dist/middleware-C0pjE_Qz.js +0 -26
  91. 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-Dd9Fsf4j.js";
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-maLNAvEk.js";
11
- import "../actor-CtYlkxzJ.js";
12
- import "../key-BmcnoH67.js";
13
- import { verifyRequest } from "../http-QAbAvLaA.js";
14
- import { doesActorOwnKey } from "../owner-D3ZBbP0B.js";
15
- import { extractInboxes, sendActivity } from "../send-D0ivXphG.js";
16
- import { mockDocumentLoader, test } from "../testing-DGbueOG4.js";
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-CwwJ60b3.js";
23
- import { esm_default } from "../esm-D4edLexu.js";
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()", () => {
@@ -150,7 +150,7 @@ interface SignRequestOptions {
150
150
  currentTime?: Temporal.Instant;
151
151
  /**
152
152
  * The request body as ArrayBuffer. If provided, avoids cloning the request body.
153
- * @since 1.8.0
153
+ * @since 1.7.7
154
154
  */
155
155
  body?: ArrayBuffer | null;
156
156
  /**
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { CryptographicKey, deno_default } from "./type-Dd9Fsf4j.js";
7
- import { fetchKey, validateCryptoKey } from "./key-BmcnoH67.js";
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-8G9dRNNT.js";
6
- import { CryptographicKey } from "./actor-CxR5U1oo.js";
7
- import { fetchKey, validateCryptoKey } from "./key-niYHzxpU.js";
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-Dd9Fsf4j.js";
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-Dd9Fsf4j.js";
7
- import { isActor } from "./actor-CtYlkxzJ.js";
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-8G9dRNNT.js";
6
- import "./actor-CxR5U1oo.js";
7
- import "./lookup-C881UY68.js";
8
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-niYHzxpU.js";
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-8G9dRNNT.js";
6
- import { CryptographicKey, Object as Object$1, isActor } from "./actor-CxR5U1oo.js";
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-Dd9Fsf4j.js";
7
- import "./actor-CtYlkxzJ.js";
8
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-BmcnoH67.js";
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-Dd9Fsf4j.js";
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-Dd9Fsf4j.js";
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-Dd9Fsf4j.js";
7
- import { fetchKey, validateCryptoKey } from "./key-BmcnoH67.js";
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-8G9dRNNT.js";
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-Dd9Fsf4j.js";
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";