@fedify/fedify 2.0.0-dev.1908 → 2.0.0-dev.1961

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 (82) hide show
  1. package/README.md +3 -0
  2. package/dist/{actor-C6x8UgbE.cjs → actor-DhgrrgXz.cjs} +185 -185
  3. package/dist/{actor-C76CDThG.js → actor-DiKHxw_H.js} +185 -185
  4. package/dist/{actor-DrFLTQdj.js → actor-Kqyoic-M.js} +1 -1
  5. package/dist/{builder-GG0LDRaK.js → builder-BrqBKkVi.js} +3 -3
  6. package/dist/compat/transformers.test.js +14 -14
  7. package/dist/{docloader-Buj0Y50A.js → docloader-HB61Uc88.js} +2 -2
  8. package/dist/{esm-vPU_GxaY.js → esm-DaZiDvFW.js} +32 -17
  9. package/dist/federation/builder.test.js +4 -4
  10. package/dist/federation/collection.test.js +2 -2
  11. package/dist/federation/handler.test.js +15 -15
  12. package/dist/federation/idempotency.test.js +15 -15
  13. package/dist/federation/inbox.test.js +3 -3
  14. package/dist/federation/keycache.test.js +3 -3
  15. package/dist/federation/kv.test.js +2 -2
  16. package/dist/federation/middleware.test.js +16 -16
  17. package/dist/federation/mod.cjs +7 -7
  18. package/dist/federation/mod.js +7 -7
  19. package/dist/federation/mq.test.js +2 -2
  20. package/dist/federation/negotiation.test.js +2 -2
  21. package/dist/federation/retry.test.js +2 -2
  22. package/dist/federation/router.test.js +2 -2
  23. package/dist/federation/send.test.js +9 -9
  24. package/dist/{http-DO88HCOK.js → http-B2bao4EB.js} +2 -2
  25. package/dist/{http-CTi-owaL.cjs → http-BxgYWxTY.cjs} +2 -2
  26. package/dist/{http-ByZmUHwe.js → http-CUsGQiwU.js} +2 -2
  27. package/dist/{inbox-BwIgnk8R.js → inbox-CAojlSWc.js} +1 -1
  28. package/dist/{key-CrKmngwF.js → key-Dz-KWCap.js} +2 -2
  29. package/dist/{keycache-CFv8xdnH.js → keycache-Czcf33al.js} +1 -1
  30. package/dist/{keys-B2yaEG79.js → keys-BN4nelft.js} +1 -1
  31. package/dist/{kv-cache-BbklA4EG.cjs → kv-cache-5j5Pb-V6.cjs} +1 -1
  32. package/dist/{kv-cache-CykGg2IP.js → kv-cache-Bq6kUUoG.js} +1 -1
  33. package/dist/{ld-Ckl2k3lF.js → ld-CEJHYq8u.js} +2 -2
  34. package/dist/{lookup-yP6Lo5JV.js → lookup-D8hvtZHY.js} +186 -186
  35. package/dist/{lookup-D17ydBQd.cjs → lookup-_Hap2IXS.cjs} +2 -2
  36. package/dist/{lookup-DrCNfWHm.js → lookup-gMu_9ZKY.js} +2 -2
  37. package/dist/middleware-19QFZj7b.js +26 -0
  38. package/dist/middleware-BbbcXY4w.cjs +15 -0
  39. package/dist/middleware-CSTK543z.js +15 -0
  40. package/dist/{middleware-X0RaVmfv.cjs → middleware-DW3rJHWy.cjs} +7 -7
  41. package/dist/{middleware-Dv90Gwc-.js → middleware-Df9OWALM.js} +7 -7
  42. package/dist/{middleware-CdPISvYD.js → middleware-DgrceAHB.js} +11 -11
  43. package/dist/mod.cjs +7 -7
  44. package/dist/mod.js +7 -7
  45. package/dist/nodeinfo/client.test.js +3 -3
  46. package/dist/nodeinfo/handler.test.js +14 -14
  47. package/dist/nodeinfo/types.test.js +2 -2
  48. package/dist/{owner-C8UEs7je.js → owner-JwI-WzF-.js} +2 -2
  49. package/dist/{proof-yc6sVqKg.cjs → proof-CObJuclI.cjs} +3 -3
  50. package/dist/{proof-CWKgvgzL.js → proof-Dhqndmfg.js} +2 -2
  51. package/dist/{proof-CDW6KgLA.js → proof-xH0V1mdD.js} +3 -3
  52. package/dist/{send-z5jueBCW.js → send-1o7D-GGL.js} +2 -2
  53. package/dist/sig/http.test.js +7 -7
  54. package/dist/sig/key.test.js +5 -5
  55. package/dist/sig/ld.test.js +6 -6
  56. package/dist/sig/mod.cjs +4 -4
  57. package/dist/sig/mod.js +4 -4
  58. package/dist/sig/owner.test.js +6 -6
  59. package/dist/sig/proof.test.js +6 -6
  60. package/dist/testing/docloader.test.js +2 -2
  61. package/dist/testing/mod.js +2 -2
  62. package/dist/{testing-bgnt5CjE.js → testing-DpRy1YTU.js} +1 -1
  63. package/dist/utils/docloader.test.js +8 -8
  64. package/dist/utils/kv-cache.test.js +2 -2
  65. package/dist/utils/mod.cjs +4 -4
  66. package/dist/utils/mod.js +4 -4
  67. package/dist/vocab/actor.test.js +4 -4
  68. package/dist/vocab/lookup.test.js +3 -3
  69. package/dist/vocab/mod.cjs +3 -3
  70. package/dist/vocab/mod.js +3 -3
  71. package/dist/vocab/type.test.js +2 -2
  72. package/dist/vocab/vocab.test.js +3 -3
  73. package/dist/{vocab-B4wXNBv8.js → vocab-CAwj263k.js} +2 -2
  74. package/dist/{vocab-Hqae4yux.cjs → vocab-DgHGCFcw.cjs} +2 -2
  75. package/dist/webfinger/handler.test.js +14 -14
  76. package/dist/webfinger/lookup.test.js +3 -3
  77. package/dist/webfinger/mod.cjs +1 -1
  78. package/dist/webfinger/mod.js +1 -1
  79. package/package.json +4 -4
  80. package/dist/middleware-BSCsvvh-.js +0 -26
  81. package/dist/middleware-GFpHLL1X.cjs +0 -15
  82. package/dist/middleware-pl3iXZpj.js +0 -15
@@ -3,22 +3,22 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Activity, Application, Endpoints, Group, Person, Service } from "../lookup-yP6Lo5JV.js";
6
+ import { Activity, Application, Endpoints, Group, Person, Service } from "../lookup-D8hvtZHY.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../actor-DrFLTQdj.js";
11
- import "../key-CrKmngwF.js";
12
- import { verifyRequest } from "../http-DO88HCOK.js";
13
- import { doesActorOwnKey } from "../owner-C8UEs7je.js";
14
- import { extractInboxes, sendActivity } from "../send-z5jueBCW.js";
15
- import { mockDocumentLoader, test } from "../testing-bgnt5CjE.js";
10
+ import "../actor-Kqyoic-M.js";
11
+ import "../key-Dz-KWCap.js";
12
+ import { verifyRequest } from "../http-B2bao4EB.js";
13
+ import { doesActorOwnKey } from "../owner-JwI-WzF-.js";
14
+ import { extractInboxes, sendActivity } from "../send-1o7D-GGL.js";
15
+ import { mockDocumentLoader, test } from "../testing-DpRy1YTU.js";
16
16
  import "../std__assert-DWivtrGR.js";
17
17
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
18
18
  import "../assert_throws-BNXdRGWP.js";
19
19
  import { assertNotEquals } from "../assert_not_equals-C80BG-_5.js";
20
- import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-B2yaEG79.js";
21
- import { esm_default } from "../esm-vPU_GxaY.js";
20
+ import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-BN4nelft.js";
21
+ import { esm_default } from "../esm-DaZiDvFW.js";
22
22
 
23
23
  //#region src/federation/send.test.ts
24
24
  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 "./lookup-yP6Lo5JV.js";
7
- import { fetchKey, validateCryptoKey } from "./key-CrKmngwF.js";
6
+ import { CryptographicKey, deno_default } from "./lookup-D8hvtZHY.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-Dz-KWCap.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";
@@ -3,8 +3,8 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  const require_chunk = require('./chunk-DqRYRqnO.cjs');
6
- const require_lookup = require('./lookup-D17ydBQd.cjs');
7
- const require_actor = require('./actor-C6x8UgbE.cjs');
6
+ const require_lookup = require('./lookup-_Hap2IXS.cjs');
7
+ const require_actor = require('./actor-DhgrrgXz.cjs');
8
8
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
9
9
  const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
10
10
  const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
@@ -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 } from "./lookup-DrCNfWHm.js";
6
- import { CryptographicKey, Object as Object$1, isActor } from "./actor-C76CDThG.js";
5
+ import { deno_default } from "./lookup-gMu_9ZKY.js";
6
+ import { CryptographicKey, Object as Object$1, isActor } from "./actor-DiKHxw_H.js";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
9
9
  import { getDocumentLoader } from "@fedify/vocab-runtime";
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Activity, deno_default, getTypeId } from "./lookup-yP6Lo5JV.js";
6
+ import { Activity, deno_default, getTypeId } from "./lookup-D8hvtZHY.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 } from "./lookup-yP6Lo5JV.js";
7
- import { isActor } from "./actor-DrFLTQdj.js";
6
+ import { CryptographicKey, Object as Object$1, deno_default } from "./lookup-D8hvtZHY.js";
7
+ import { isActor } from "./actor-Kqyoic-M.js";
8
8
  import { getDocumentLoader } from "@fedify/vocab-runtime";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { CryptographicKey, Multikey } from "./lookup-yP6Lo5JV.js";
6
+ import { CryptographicKey, Multikey } from "./lookup-D8hvtZHY.js";
7
7
 
8
8
  //#region src/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 } from "./lookup-yP6Lo5JV.js";
6
+ import { CryptographicKey, Multikey } from "./lookup-D8hvtZHY.js";
7
7
  import { importSpki } from "@fedify/vocab-runtime";
8
8
 
9
9
  //#region src/testing/keys.ts
@@ -3,7 +3,7 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  const require_chunk = require('./chunk-DqRYRqnO.cjs');
6
- const require_http = require('./http-CTi-owaL.cjs');
6
+ const require_http = require('./http-BxgYWxTY.cjs');
7
7
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
8
8
  const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
9
9
  const es_toolkit = require_chunk.__toESM(require("es-toolkit"));
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { doubleKnock, validateCryptoKey } from "./http-ByZmUHwe.js";
5
+ import { doubleKnock, validateCryptoKey } from "./http-CUsGQiwU.js";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { UrlError, createActivityPubRequest, getDocumentLoader, getRemoteDocument, logRequest, preloadedContexts, validatePublicUrl } from "@fedify/vocab-runtime";
8
8
  import { curry } from "es-toolkit";
@@ -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, getTypeId } from "./lookup-yP6Lo5JV.js";
7
- import { fetchKey, validateCryptoKey } from "./key-CrKmngwF.js";
6
+ import { Activity, CryptographicKey, Object as Object$1, deno_default, getTypeId } from "./lookup-D8hvtZHY.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-Dz-KWCap.js";
8
8
  import { getDocumentLoader } from "@fedify/vocab-runtime";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { SpanStatusCode, trace } from "@opentelemetry/api";