@fedify/fedify 2.0.0-dev.1533 → 2.0.0-dev.1561

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 (89) hide show
  1. package/dist/{actor-CVnlNypE.js → actor-Qc3Ee6k1.js} +187 -187
  2. package/dist/{actor-DJiCx1pD.js → actor-mhluotIb.js} +1 -1
  3. package/dist/{authdocloader-DyEbSFMg.js → authdocloader-CN-tWO4K.js} +3 -3
  4. package/dist/{authdocloader-D_Wibc2K.js → authdocloader-Dp9WS-1G.js} +3 -3
  5. package/dist/{builder-BV9JbW3U.js → builder-C8mpxJD3.js} +9 -4
  6. package/dist/{client-Co1a1oB6.js → client-DI0GS_3p.js} +2 -2
  7. package/dist/compat/mod.d.ts +3 -3
  8. package/dist/compat/transformers.test.js +16 -16
  9. package/dist/{context-3ICnZJKt.d.ts → context-9gCpIkiz.d.ts} +15 -2
  10. package/dist/{docloader-Bmdw_V1s.js → docloader-DIjo5mkd.js} +1 -1
  11. package/dist/{esm-CSKLEMe8.js → esm-CtgLSZwm.js} +1 -1
  12. package/dist/federation/builder.test.js +5 -5
  13. package/dist/federation/collection.test.js +3 -3
  14. package/dist/federation/handler.test.js +17 -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 +18 -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-BcnlSSfc.js → http-B_tXwHIe.js} +3 -3
  26. package/dist/{http-BjSD7q1v.js → http-DTJgsmYR.js} +2 -2
  27. package/dist/{inbox-CulBVJyc.js → inbox-Dx8EjUbq.js} +1 -1
  28. package/dist/{key-BUJmp0Nt.js → key-CGjkGPkw.js} +2 -2
  29. package/dist/{key-CIMx1bdo.js → key-CaFAQSic.js} +4 -4
  30. package/dist/{key-BFBktXV2.js → key-DcnCet42.js} +3 -3
  31. package/dist/{key-Dh5qDKx9.js → key-olV6hEgm.js} +2 -2
  32. package/dist/{keycache-lHLfVJP0.js → keycache-CExtp4Yl.js} +1 -1
  33. package/dist/{keys-Bfd80p-z.js → keys-O0-r0NpJ.js} +1 -1
  34. package/dist/{ld-nL8rI_1Q.js → ld-DR6b11xZ.js} +2 -2
  35. package/dist/{lookup-YeR6Kgt7.js → lookup-B8Ld9P9G.js} +1 -1
  36. package/dist/{lookup-CdGzmtWh.js → lookup-IyAhz9I6.js} +2 -2
  37. package/dist/middleware-Bx6Sgkth.js +26 -0
  38. package/dist/{middleware-Bgv0RJZI.js → middleware-CUw3Ys9y.js} +19 -14
  39. package/dist/middleware-DdRB1d4s.js +17 -0
  40. package/dist/{middleware-BZ0SGQtv.js → middleware-GT7W03qw.js} +21 -11
  41. package/dist/{mod-CWxqOAci.d.ts → mod-Bqxcp7eN.d.ts} +1 -1
  42. package/dist/{lookup-3czM5mmU.d.ts → mod-DBzN0aCM.d.ts} +8 -1
  43. package/dist/mod.d.ts +4 -5
  44. package/dist/mod.js +10 -10
  45. package/dist/nodeinfo/client.test.js +5 -5
  46. package/dist/nodeinfo/handler.test.js +16 -16
  47. package/dist/nodeinfo/mod.js +2 -2
  48. package/dist/nodeinfo/semver.test.js +3 -3
  49. package/dist/nodeinfo/types.test.js +3 -3
  50. package/dist/{owner-DslUhXD4.js → owner-BtFz-dZ-.js} +2 -2
  51. package/dist/{proof-D3IjWWeB.js → proof-DKDM7T5F.js} +3 -3
  52. package/dist/{proof-ByGVf2Xd.js → proof-DsZjVJ0G.js} +2 -2
  53. package/dist/runtime/authdocloader.test.js +9 -9
  54. package/dist/runtime/docloader.test.js +4 -4
  55. package/dist/runtime/key.test.js +5 -5
  56. package/dist/runtime/langstr.test.js +3 -3
  57. package/dist/runtime/mod.js +6 -6
  58. package/dist/runtime/multibase/multibase.test.js +3 -3
  59. package/dist/runtime/url.test.js +3 -3
  60. package/dist/{send-dR8KztVD.js → send-s0_EjVhZ.js} +2 -2
  61. package/dist/sig/http.test.js +8 -8
  62. package/dist/sig/key.test.js +6 -6
  63. package/dist/sig/ld.test.js +7 -7
  64. package/dist/sig/mod.js +6 -6
  65. package/dist/sig/owner.test.js +7 -7
  66. package/dist/sig/proof.test.js +7 -7
  67. package/dist/testing/docloader.test.js +3 -3
  68. package/dist/testing/mod.d.ts +21 -1
  69. package/dist/testing/mod.js +3 -3
  70. package/dist/{testing-BQhJ2Z6H.js → testing-DsuOHyiF.js} +2 -2
  71. package/dist/{type-DtGcr054.js → type-BMGxK0zE.js} +186 -186
  72. package/dist/{types-C-6XerSr.js → types-CGB4mJU6.js} +2 -2
  73. package/dist/vocab/actor.test.js +5 -5
  74. package/dist/vocab/lookup.test.js +4 -4
  75. package/dist/vocab/mod.js +4 -4
  76. package/dist/vocab/type.test.js +3 -3
  77. package/dist/vocab/vocab.test.js +4 -4
  78. package/dist/{vocab-8l-510Yh.js → vocab-CXuKLJjd.js} +4 -4
  79. package/dist/webfinger/handler.test.js +44 -16
  80. package/dist/webfinger/lookup.test.js +4 -4
  81. package/dist/webfinger/mod.d.ts +1 -2
  82. package/dist/webfinger/mod.js +2 -2
  83. package/dist/x/cfworkers.test.js +3 -3
  84. package/dist/x/hono.d.ts +2 -2
  85. package/dist/x/sveltekit.d.ts +2 -2
  86. package/package.json +1 -1
  87. package/dist/middleware-B5WoAuXn.js +0 -26
  88. package/dist/middleware-BB9fNzbY.js +0 -17
  89. package/dist/mod-GIh5OYxW.d.ts +0 -2
@@ -3,19 +3,19 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { FetchError, UrlError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../type-DtGcr054.js";
6
+ import { FetchError, UrlError, contexts_default, deno_default, getDocumentLoader, getUserAgent, kvCache } from "../type-BMGxK0zE.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-CRZrzyXm.js";
11
- import "../lookup-CdGzmtWh.js";
12
- import { mockDocumentLoader, test } from "../testing-BQhJ2Z6H.js";
11
+ import "../lookup-IyAhz9I6.js";
12
+ import { mockDocumentLoader, test } from "../testing-DsuOHyiF.js";
13
13
  import "../std__assert-X-_kMxKM.js";
14
14
  import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
15
15
  import "../assert_is_error-BPGph1Jx.js";
16
16
  import "../assert_not_equals-f3m3epl3.js";
17
17
  import { assertThrows } from "../assert_throws-BOO88avQ.js";
18
- import { esm_default } from "../esm-CSKLEMe8.js";
18
+ import { esm_default } from "../esm-CtgLSZwm.js";
19
19
  import process from "node:process";
20
20
 
21
21
  //#region src/runtime/docloader.test.ts
@@ -3,14 +3,14 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../type-DtGcr054.js";
6
+ import { exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../type-BMGxK0zE.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-CdGzmtWh.js";
11
- import "../actor-DJiCx1pD.js";
12
- import { exportJwk, importJwk } from "../key-Dh5qDKx9.js";
13
- import { test } from "../testing-BQhJ2Z6H.js";
10
+ import "../lookup-IyAhz9I6.js";
11
+ import "../actor-mhluotIb.js";
12
+ import { exportJwk, importJwk } from "../key-olV6hEgm.js";
13
+ import { test } from "../testing-DsuOHyiF.js";
14
14
  import "../std__assert-X-_kMxKM.js";
15
15
  import "../assert_rejects-DiIiJbZn.js";
16
16
  import "../assert_is_error-BPGph1Jx.js";
@@ -3,12 +3,12 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { LanguageString } from "../type-DtGcr054.js";
6
+ import { LanguageString } from "../type-BMGxK0zE.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-CdGzmtWh.js";
11
- import { test } from "../testing-BQhJ2Z6H.js";
10
+ import "../lookup-IyAhz9I6.js";
11
+ import { test } from "../testing-DsuOHyiF.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
@@ -2,12 +2,12 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-Bmdw_V1s.js";
6
- import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-CVnlNypE.js";
7
- import "../lookup-YeR6Kgt7.js";
8
- import "../key-BUJmp0Nt.js";
9
- import "../http-BcnlSSfc.js";
10
- import { getAuthenticatedDocumentLoader } from "../authdocloader-D_Wibc2K.js";
5
+ import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-DIjo5mkd.js";
6
+ import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-Qc3Ee6k1.js";
7
+ import "../lookup-B8Ld9P9G.js";
8
+ import "../key-CGjkGPkw.js";
9
+ import "../http-B_tXwHIe.js";
10
+ import { getAuthenticatedDocumentLoader } from "../authdocloader-Dp9WS-1G.js";
11
11
  import "../runtime-BSkOVUWM.js";
12
12
 
13
13
  export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
@@ -3,12 +3,12 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { codes, decode, decodeText, encode, encodeText, names } from "../../type-DtGcr054.js";
6
+ import { codes, decode, decodeText, encode, encodeText, names } from "../../type-BMGxK0zE.js";
7
7
  import { assertEquals } from "../../assert_equals-DSbWqCm3.js";
8
8
  import "../../assert-MZs1qjMx.js";
9
9
  import "../../assert_instance_of-DHz7EHNU.js";
10
- import "../../lookup-CdGzmtWh.js";
11
- import { test } from "../../testing-BQhJ2Z6H.js";
10
+ import "../../lookup-IyAhz9I6.js";
11
+ import { test } from "../../testing-DsuOHyiF.js";
12
12
  import "../../std__assert-X-_kMxKM.js";
13
13
  import "../../assert_rejects-DiIiJbZn.js";
14
14
  import "../../assert_is_error-BPGph1Jx.js";
@@ -3,11 +3,11 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "../type-DtGcr054.js";
6
+ import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "../type-BMGxK0zE.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
- import "../lookup-CdGzmtWh.js";
10
- import { test } from "../testing-BQhJ2Z6H.js";
9
+ import "../lookup-IyAhz9I6.js";
10
+ import { test } from "../testing-DsuOHyiF.js";
11
11
  import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
12
12
  import "../assert_is_error-BPGph1Jx.js";
13
13
 
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./type-DtGcr054.js";
7
- import { doubleKnock } from "./http-BjSD7q1v.js";
6
+ import { deno_default } from "./type-BMGxK0zE.js";
7
+ import { doubleKnock } from "./http-DTJgsmYR.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
10
10
 
@@ -3,22 +3,22 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { exportSpki } from "../type-DtGcr054.js";
6
+ import { exportSpki } from "../type-BMGxK0zE.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 "../lookup-CdGzmtWh.js";
11
- import "../actor-DJiCx1pD.js";
12
- import { exportJwk } from "../key-Dh5qDKx9.js";
13
- import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-BjSD7q1v.js";
14
- import { mockDocumentLoader, test } from "../testing-BQhJ2Z6H.js";
10
+ import "../lookup-IyAhz9I6.js";
11
+ import "../actor-mhluotIb.js";
12
+ import { exportJwk } from "../key-olV6hEgm.js";
13
+ import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-DTJgsmYR.js";
14
+ import { mockDocumentLoader, test } from "../testing-DsuOHyiF.js";
15
15
  import { assertExists, assertStringIncludes } from "../std__assert-X-_kMxKM.js";
16
16
  import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
17
17
  import "../assert_is_error-BPGph1Jx.js";
18
18
  import "../assert_not_equals-f3m3epl3.js";
19
19
  import { assertThrows } from "../assert_throws-BOO88avQ.js";
20
- import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-Bfd80p-z.js";
21
- import { esm_default } from "../esm-CSKLEMe8.js";
20
+ import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-O0-r0NpJ.js";
21
+ import { esm_default } from "../esm-CtgLSZwm.js";
22
22
  import { encodeBase64 } from "byte-encodings/base64";
23
23
 
24
24
  //#region src/sig/http.test.ts
@@ -3,20 +3,20 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { CryptographicKey, Multikey } from "../type-DtGcr054.js";
6
+ import { CryptographicKey, Multikey } from "../type-BMGxK0zE.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-CdGzmtWh.js";
11
- import "../actor-DJiCx1pD.js";
12
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-Dh5qDKx9.js";
13
- import { mockDocumentLoader, test } from "../testing-BQhJ2Z6H.js";
10
+ import "../lookup-IyAhz9I6.js";
11
+ import "../actor-mhluotIb.js";
12
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-olV6hEgm.js";
13
+ import { mockDocumentLoader, test } from "../testing-DsuOHyiF.js";
14
14
  import "../std__assert-X-_kMxKM.js";
15
15
  import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
16
16
  import "../assert_is_error-BPGph1Jx.js";
17
17
  import "../assert_not_equals-f3m3epl3.js";
18
18
  import { assertThrows } from "../assert_throws-BOO88avQ.js";
19
- import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-Bfd80p-z.js";
19
+ import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-O0-r0NpJ.js";
20
20
 
21
21
  //#region src/sig/key.test.ts
22
22
  test("validateCryptoKey()", async () => {
@@ -3,18 +3,18 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { CryptographicKey } from "../type-DtGcr054.js";
6
+ import { CryptographicKey } from "../type-BMGxK0zE.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
- import "../lookup-CdGzmtWh.js";
10
- import "../actor-DJiCx1pD.js";
11
- import { generateCryptoKeyPair } from "../key-Dh5qDKx9.js";
12
- import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-nL8rI_1Q.js";
13
- import { mockDocumentLoader, test } from "../testing-BQhJ2Z6H.js";
9
+ import "../lookup-IyAhz9I6.js";
10
+ import "../actor-mhluotIb.js";
11
+ import { generateCryptoKeyPair } from "../key-olV6hEgm.js";
12
+ import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-DR6b11xZ.js";
13
+ import { mockDocumentLoader, test } from "../testing-DsuOHyiF.js";
14
14
  import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
15
15
  import "../assert_is_error-BPGph1Jx.js";
16
16
  import { assertThrows } from "../assert_throws-BOO88avQ.js";
17
- import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-Bfd80p-z.js";
17
+ import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-O0-r0NpJ.js";
18
18
  import { encodeBase64 } from "byte-encodings/base64";
19
19
 
20
20
  //#region src/sig/ld.test.ts
package/dist/sig/mod.js CHANGED
@@ -2,12 +2,12 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../docloader-Bmdw_V1s.js";
6
- import "../actor-CVnlNypE.js";
7
- import "../lookup-YeR6Kgt7.js";
8
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-BUJmp0Nt.js";
9
- import { signRequest, verifyRequest } from "../http-BcnlSSfc.js";
10
- import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-D3IjWWeB.js";
5
+ import "../docloader-DIjo5mkd.js";
6
+ import "../actor-Qc3Ee6k1.js";
7
+ import "../lookup-B8Ld9P9G.js";
8
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-CGjkGPkw.js";
9
+ import { signRequest, verifyRequest } from "../http-B_tXwHIe.js";
10
+ import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-DKDM7T5F.js";
11
11
  import "../sig-BXJO--F9.js";
12
12
 
13
13
  export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
@@ -3,21 +3,21 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Create } from "../type-DtGcr054.js";
6
+ import { Create } from "../type-BMGxK0zE.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 { lookupObject } from "../lookup-CdGzmtWh.js";
11
- import "../actor-DJiCx1pD.js";
12
- import "../key-Dh5qDKx9.js";
13
- import { doesActorOwnKey, getKeyOwner } from "../owner-DslUhXD4.js";
14
- import { mockDocumentLoader, test } from "../testing-BQhJ2Z6H.js";
10
+ import { lookupObject } from "../lookup-IyAhz9I6.js";
11
+ import "../actor-mhluotIb.js";
12
+ import "../key-olV6hEgm.js";
13
+ import { doesActorOwnKey, getKeyOwner } from "../owner-BtFz-dZ-.js";
14
+ import { mockDocumentLoader, test } from "../testing-DsuOHyiF.js";
15
15
  import "../std__assert-X-_kMxKM.js";
16
16
  import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
17
17
  import "../assert_is_error-BPGph1Jx.js";
18
18
  import "../assert_not_equals-f3m3epl3.js";
19
19
  import "../assert_throws-BOO88avQ.js";
20
- import { rsaPublicKey1, rsaPublicKey2 } from "../keys-Bfd80p-z.js";
20
+ import { rsaPublicKey1, rsaPublicKey2 } from "../keys-O0-r0NpJ.js";
21
21
 
22
22
  //#region src/sig/owner.test.ts
23
23
  test("doesActorOwnKey()", async () => {
@@ -3,21 +3,21 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-DtGcr054.js";
6
+ import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-BMGxK0zE.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-CdGzmtWh.js";
11
- import "../actor-DJiCx1pD.js";
12
- import "../key-Dh5qDKx9.js";
13
- import { createProof, signObject, verifyObject, verifyProof } from "../proof-ByGVf2Xd.js";
14
- import { mockDocumentLoader, test } from "../testing-BQhJ2Z6H.js";
10
+ import "../lookup-IyAhz9I6.js";
11
+ import "../actor-mhluotIb.js";
12
+ import "../key-olV6hEgm.js";
13
+ import { createProof, signObject, verifyObject, verifyProof } from "../proof-DsZjVJ0G.js";
14
+ import { mockDocumentLoader, test } from "../testing-DsuOHyiF.js";
15
15
  import "../std__assert-X-_kMxKM.js";
16
16
  import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
17
17
  import "../assert_is_error-BPGph1Jx.js";
18
18
  import "../assert_not_equals-f3m3epl3.js";
19
19
  import "../assert_throws-BOO88avQ.js";
20
- import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-Bfd80p-z.js";
20
+ import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-O0-r0NpJ.js";
21
21
  import { decodeHex, encodeHex } from "byte-encodings/hex";
22
22
 
23
23
  //#region src/sig/proof.test.ts
@@ -3,12 +3,12 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../type-DtGcr054.js";
6
+ import "../type-BMGxK0zE.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-CdGzmtWh.js";
11
- import { mockDocumentLoader, test } from "../testing-BQhJ2Z6H.js";
10
+ import "../lookup-IyAhz9I6.js";
11
+ import { mockDocumentLoader, test } from "../testing-DsuOHyiF.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
@@ -6973,7 +6973,7 @@ interface Link$1 {
6973
6973
  /**
6974
6974
  * A URI pointing to the target resource.
6975
6975
  */
6976
- href: string;
6976
+ href?: string;
6977
6977
  /**
6978
6978
  * Human-readable titles describing the link relation. If the language is
6979
6979
  * unknown or unspecified, the key is `"und"`.
@@ -6983,6 +6983,13 @@ interface Link$1 {
6983
6983
  * Conveys additional information about the link relation.
6984
6984
  */
6985
6985
  properties?: Record<string, string>;
6986
+ /**
6987
+ * A URI Template (RFC 6570) that can be used to construct URIs by
6988
+ * substituting variables. Used primarily for subscription endpoints
6989
+ * where parameters like account URIs need to be dynamically inserted.
6990
+ * @since 1.9.0
6991
+ */
6992
+ template?: string;
6986
6993
  }
6987
6994
  //#endregion
6988
6995
  //#region src/webfinger/lookup.d.ts
@@ -7077,6 +7084,14 @@ interface SenderKeyPair {
7077
7084
  * @template TContextData The context data to pass to the {@link Context}.
7078
7085
  */
7079
7086
  type NodeInfoDispatcher<TContextData> = (context: RequestContext<TContextData>) => NodeInfo | Promise<NodeInfo>;
7087
+ /**
7088
+ * A callback that dispatches a array of {@link Link}.
7089
+ *
7090
+ * @template TContextData The context data to pass to the {@link Context}.
7091
+ * @param resource The URL queried via WebFinger.
7092
+ * @returns Links related to the queried resource.
7093
+ */
7094
+ type WebFingerLinksDispatcher<TContextData> = (context: RequestContext<TContextData>, resource: URL) => readonly Link$1[] | Promise<readonly Link$1[]>;
7080
7095
  /**
7081
7096
  * A callback that dispatches an {@link Actor} object.
7082
7097
  *
@@ -7394,6 +7409,11 @@ interface Federatable<TContextData> {
7394
7409
  * @throws {RouterError} Thrown if the path pattern is invalid.
7395
7410
  */
7396
7411
  setNodeInfoDispatcher(path: string, dispatcher: NodeInfoDispatcher<TContextData>): void;
7412
+ /**
7413
+ * Registers a links dispatcher to WebFinger
7414
+ * @param dispatcher A links dispatcher callback to register.
7415
+ */
7416
+ setWebFingerLinksDispatcher(dispatcher: WebFingerLinksDispatcher<TContextData>): void;
7397
7417
  /**
7398
7418
  * Registers an actor dispatcher.
7399
7419
  *
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../type-DtGcr054.js";
7
- import "../lookup-CdGzmtWh.js";
8
- import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-BQhJ2Z6H.js";
6
+ import "../type-BMGxK0zE.js";
7
+ import "../lookup-IyAhz9I6.js";
8
+ import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-DsuOHyiF.js";
9
9
 
10
10
  export { createInboxContext, createRequestContext, test, testDefinitions };
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { __require, lookupWebFinger } from "./type-DtGcr054.js";
7
- import { RouterError, lookupObject, traverseCollection } from "./lookup-CdGzmtWh.js";
6
+ import { __require, lookupWebFinger } from "./type-BMGxK0zE.js";
7
+ import { RouterError, lookupObject, traverseCollection } from "./lookup-IyAhz9I6.js";
8
8
  import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
9
9
  import { trace } from "@opentelemetry/api";
10
10