@fedify/fedify 2.0.0-pr.467.1877 → 2.0.0-pr.474.1879

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 (94) hide show
  1. package/dist/{actor-DMbX2bPf.js → actor-BYv3E3MI.js} +185 -185
  2. package/dist/{actor-BrMdE_1G.cjs → actor-CjcnBLTk.cjs} +185 -185
  3. package/dist/{actor-DslgGxD8.js → actor-DM_mczcz.js} +1 -1
  4. package/dist/{builder-DvuChHyB.js → builder-CpW45hts.js} +3 -3
  5. package/dist/compat/mod.d.cts +2 -2
  6. package/dist/compat/mod.d.ts +2 -2
  7. package/dist/compat/transformers.test.js +14 -14
  8. package/dist/{context-V-XS2_6O.d.ts → context-DXV-2IZN.d.ts} +6 -0
  9. package/dist/{context-PxGADCsD.d.cts → context-Nt2rAqjj.d.cts} +6 -0
  10. package/dist/{docloader-CQCA5QKZ.js → docloader-DPQnUMPZ.js} +2 -2
  11. package/dist/{esm-DVill8zU.js → esm-CHBTY23R.js} +1 -1
  12. package/dist/federation/builder.test.js +4 -4
  13. package/dist/federation/collection.test.js +2 -2
  14. package/dist/federation/handler.test.js +15 -15
  15. package/dist/federation/handler_requirehttpsig.test.d.ts +3 -0
  16. package/dist/federation/handler_requirehttpsig.test.js +138 -0
  17. package/dist/federation/idempotency.test.js +15 -15
  18. package/dist/federation/inbox.test.js +3 -3
  19. package/dist/federation/keycache.test.js +3 -3
  20. package/dist/federation/kv.test.js +2 -2
  21. package/dist/federation/middleware.test.js +16 -16
  22. package/dist/federation/mod.cjs +7 -7
  23. package/dist/federation/mod.d.cts +1 -1
  24. package/dist/federation/mod.d.ts +1 -1
  25. package/dist/federation/mod.js +7 -7
  26. package/dist/federation/mq.test.js +2 -2
  27. package/dist/federation/negotiation.test.js +2 -2
  28. package/dist/federation/retry.test.js +2 -2
  29. package/dist/federation/router.test.js +2 -2
  30. package/dist/federation/send.test.js +9 -9
  31. package/dist/{http-GjJOLe0t.cjs → http-B1cyhAOR.cjs} +2 -2
  32. package/dist/{http-pBJCYh50.js → http-CNbh6Bgj.js} +2 -2
  33. package/dist/{http-W1mkXyFw.js → http-Di-WAayg.js} +2 -2
  34. package/dist/{inbox-Bk4PjO2V.js → inbox-CKpjNIIw.js} +1 -1
  35. package/dist/{key-BlPc80ei.js → key-Bm6xoWJ9.js} +2 -2
  36. package/dist/{keycache-qku87Evf.js → keycache-BoIUmk-X.js} +1 -1
  37. package/dist/{keys-CXQWhBgw.js → keys-BJSEmAMh.js} +1 -1
  38. package/dist/{kv-cache-BGGmyOF-.js → kv-cache-BCfbzWvV.js} +1 -1
  39. package/dist/{kv-cache-BGfFfQma.cjs → kv-cache-ugHk-g8V.cjs} +1 -1
  40. package/dist/{ld-CQj76XXM.js → ld-CFrblqOy.js} +2 -2
  41. package/dist/{lookup-BahLrzT6.cjs → lookup-BKHMnItE.cjs} +1 -1
  42. package/dist/{lookup-CUj1Ayf2.js → lookup-CjRKAy5i.js} +185 -185
  43. package/dist/{lookup-ZLHmgBj5.js → lookup-CovW5HO7.js} +1 -1
  44. package/dist/{middleware-4BJL-9x8.js → middleware-BCCuNXoU.js} +17 -15
  45. package/dist/middleware-CaQFohcx.js +26 -0
  46. package/dist/middleware-CqJTYvui.cjs +15 -0
  47. package/dist/{middleware-DXsuKk_U.js → middleware-DFP98BrZ.js} +13 -11
  48. package/dist/middleware-cA6uI21b.js +15 -0
  49. package/dist/{middleware-CCBsGJcn.cjs → middleware-fxZRXc2R.cjs} +13 -11
  50. package/dist/{mod-BoRKfJPE.d.cts → mod-CKRSFzK_.d.cts} +1 -1
  51. package/dist/{mod-Cdo6SYlJ.d.ts → mod-C_6Uxusd.d.ts} +1 -1
  52. package/dist/mod.cjs +7 -7
  53. package/dist/mod.d.cts +2 -2
  54. package/dist/mod.d.ts +2 -2
  55. package/dist/mod.js +7 -7
  56. package/dist/nodeinfo/client.test.js +3 -3
  57. package/dist/nodeinfo/handler.test.js +14 -14
  58. package/dist/nodeinfo/types.test.js +2 -2
  59. package/dist/{owner-Buqg_Myf.js → owner-8cgMngcR.js} +2 -2
  60. package/dist/{proof-AxiARBr_.js → proof-BbhNICOW.js} +2 -2
  61. package/dist/{proof-DizHNX8y.cjs → proof-C3woq5fl.cjs} +3 -3
  62. package/dist/{proof-DJjdTnEN.js → proof-OnfETSbB.js} +3 -3
  63. package/dist/{send-B9ByF5wN.js → send-zlaQ6fqY.js} +2 -2
  64. package/dist/sig/http.test.js +7 -7
  65. package/dist/sig/key.test.js +5 -5
  66. package/dist/sig/ld.test.js +6 -6
  67. package/dist/sig/mod.cjs +4 -4
  68. package/dist/sig/mod.js +4 -4
  69. package/dist/sig/owner.test.js +6 -6
  70. package/dist/sig/proof.test.js +6 -6
  71. package/dist/testing/docloader.test.js +2 -2
  72. package/dist/testing/mod.d.ts +6 -0
  73. package/dist/testing/mod.js +2 -2
  74. package/dist/{testing-vN3EpiIw.js → testing-DHsP4t6k.js} +1 -1
  75. package/dist/utils/docloader.test.js +8 -8
  76. package/dist/utils/kv-cache.test.js +2 -2
  77. package/dist/utils/mod.cjs +4 -4
  78. package/dist/utils/mod.js +4 -4
  79. package/dist/vocab/actor.test.js +4 -4
  80. package/dist/vocab/lookup.test.js +3 -3
  81. package/dist/vocab/mod.cjs +3 -3
  82. package/dist/vocab/mod.js +3 -3
  83. package/dist/vocab/type.test.js +2 -2
  84. package/dist/vocab/vocab.test.js +3 -3
  85. package/dist/{vocab-CdguqeJf.js → vocab-DMGCHMXF.js} +2 -2
  86. package/dist/{vocab-DEaLWwSP.cjs → vocab-YXPM77QO.cjs} +2 -2
  87. package/dist/webfinger/handler.test.js +14 -14
  88. package/dist/webfinger/lookup.test.js +3 -3
  89. package/dist/webfinger/mod.cjs +1 -1
  90. package/dist/webfinger/mod.js +1 -1
  91. package/package.json +3 -3
  92. package/dist/middleware-BLZsPbCt.js +0 -15
  93. package/dist/middleware-D8qnhAFG.cjs +0 -15
  94. package/dist/middleware-Dw-pChHQ.js +0 -26
@@ -3,11 +3,11 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../lookup-CUj1Ayf2.js";
6
+ import "../lookup-CjRKAy5i.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 { test } from "../testing-vN3EpiIw.js";
10
+ import { test } from "../testing-DHsP4t6k.js";
11
11
  import { assertGreater, assertGreaterOrEqual } from "../std__assert-DWivtrGR.js";
12
12
  import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
13
13
  import "../assert_throws-BNXdRGWP.js";
@@ -3,12 +3,12 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../lookup-CUj1Ayf2.js";
6
+ import "../lookup-CjRKAy5i.js";
7
7
  import "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { acceptsJsonLd } from "../negotiation-C4nFufNk.js";
11
- import { test } from "../testing-vN3EpiIw.js";
11
+ import { test } from "../testing-DHsP4t6k.js";
12
12
  import "../std__assert-DWivtrGR.js";
13
13
  import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
14
14
  import "../assert_throws-BNXdRGWP.js";
@@ -3,10 +3,10 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../lookup-CUj1Ayf2.js";
6
+ import "../lookup-CjRKAy5i.js";
7
7
  import { AssertionError, assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { createExponentialBackoffPolicy } from "../retry-CfF8Gn4d.js";
9
- import { test } from "../testing-vN3EpiIw.js";
9
+ import { test } from "../testing-DHsP4t6k.js";
10
10
  import { assertNotEquals } from "../assert_not_equals-C80BG-_5.js";
11
11
 
12
12
  //#region src/federation/retry.test.ts
@@ -3,11 +3,11 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Router, RouterError } from "../lookup-CUj1Ayf2.js";
6
+ import { Router, RouterError } from "../lookup-CjRKAy5i.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 { test } from "../testing-vN3EpiIw.js";
10
+ import { test } from "../testing-DHsP4t6k.js";
11
11
  import "../std__assert-DWivtrGR.js";
12
12
  import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
13
13
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -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-CUj1Ayf2.js";
6
+ import { Activity, Application, Endpoints, Group, Person, Service } from "../lookup-CjRKAy5i.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-DslgGxD8.js";
11
- import "../key-BlPc80ei.js";
12
- import { verifyRequest } from "../http-pBJCYh50.js";
13
- import { doesActorOwnKey } from "../owner-Buqg_Myf.js";
14
- import { extractInboxes, sendActivity } from "../send-B9ByF5wN.js";
15
- import { mockDocumentLoader, test } from "../testing-vN3EpiIw.js";
10
+ import "../actor-DM_mczcz.js";
11
+ import "../key-Bm6xoWJ9.js";
12
+ import { verifyRequest } from "../http-CNbh6Bgj.js";
13
+ import { doesActorOwnKey } from "../owner-8cgMngcR.js";
14
+ import { extractInboxes, sendActivity } from "../send-zlaQ6fqY.js";
15
+ import { mockDocumentLoader, test } from "../testing-DHsP4t6k.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-CXQWhBgw.js";
21
- import { esm_default } from "../esm-DVill8zU.js";
20
+ import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-BJSEmAMh.js";
21
+ import { esm_default } from "../esm-CHBTY23R.js";
22
22
 
23
23
  //#region src/federation/send.test.ts
24
24
  test("extractInboxes()", () => {
@@ -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-BahLrzT6.cjs');
7
- const require_actor = require('./actor-BrMdE_1G.cjs');
6
+ const require_lookup = require('./lookup-BKHMnItE.cjs');
7
+ const require_actor = require('./actor-CjcnBLTk.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"));
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { CryptographicKey, deno_default } from "./lookup-CUj1Ayf2.js";
7
- import { fetchKey, validateCryptoKey } from "./key-BlPc80ei.js";
6
+ import { CryptographicKey, deno_default } from "./lookup-CjRKAy5i.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-Bm6xoWJ9.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,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-ZLHmgBj5.js";
6
- import { CryptographicKey, Object as Object$1, isActor } from "./actor-DMbX2bPf.js";
5
+ import { deno_default } from "./lookup-CovW5HO7.js";
6
+ import { CryptographicKey, Object as Object$1, isActor } from "./actor-BYv3E3MI.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-CUj1Ayf2.js";
6
+ import { Activity, deno_default, getTypeId } from "./lookup-CjRKAy5i.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-CUj1Ayf2.js";
7
- import { isActor } from "./actor-DslgGxD8.js";
6
+ import { CryptographicKey, Object as Object$1, deno_default } from "./lookup-CjRKAy5i.js";
7
+ import { isActor } from "./actor-DM_mczcz.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-CUj1Ayf2.js";
6
+ import { CryptographicKey, Multikey } from "./lookup-CjRKAy5i.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-CUj1Ayf2.js";
6
+ import { CryptographicKey, Multikey } from "./lookup-CjRKAy5i.js";
7
7
  import { importSpki } from "@fedify/vocab-runtime";
8
8
 
9
9
  //#region src/testing/keys.ts
@@ -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-W1mkXyFw.js";
5
+ import { doubleKnock, validateCryptoKey } from "./http-Di-WAayg.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,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-GjJOLe0t.cjs');
6
+ const require_http = require('./http-B1cyhAOR.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"));
@@ -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-CUj1Ayf2.js";
7
- import { fetchKey, validateCryptoKey } from "./key-BlPc80ei.js";
6
+ import { Activity, CryptographicKey, Object as Object$1, deno_default, getTypeId } from "./lookup-CjRKAy5i.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-Bm6xoWJ9.js";
8
8
  import { getDocumentLoader } from "@fedify/vocab-runtime";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { SpanStatusCode, trace } from "@opentelemetry/api";
@@ -9,7 +9,7 @@ const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runt
9
9
 
10
10
  //#region deno.json
11
11
  var name = "@fedify/fedify";
12
- var version = "2.0.0-pr.467.1877+dc12636d";
12
+ var version = "2.0.0-pr.474.1879+be9e2989";
13
13
  var license = "MIT";
14
14
  var exports$1 = {
15
15
  ".": "./src/mod.ts",