@fedify/fedify 2.0.17-dev.1080 → 2.0.17-dev.1093

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/{builder-C_byVzVJ.mjs → builder-CoG4VXAS.mjs} +3 -3
  2. package/dist/{chunk-nlSIicah.js → chunk-CRNNMoPX.js} +2 -2
  3. package/dist/{client-z-8dc-e1.d.cts → client-CAM_bQXx.d.cts} +1 -0
  4. package/dist/{client-AtlibPOU.d.ts → client-CSddvgWN.d.ts} +1 -2
  5. package/dist/compat/mod.d.cts +2 -1
  6. package/dist/compat/mod.d.ts +2 -3
  7. package/dist/compat/mod.js +3 -3
  8. package/dist/compat/transformers.test.mjs +1 -1
  9. package/dist/{context-Kt2s6UWW.d.cts → context-BzRJ49gL.d.cts} +5 -4
  10. package/dist/{context-DKccFiYD.d.ts → context-CdJ9wAQa.d.ts} +5 -6
  11. package/dist/{deno-D5gaJgRc.mjs → deno-BsTAaG38.mjs} +1 -1
  12. package/dist/{docloader-CvKTIDM7.mjs → docloader-BpyzfTRB.mjs} +2 -2
  13. package/dist/federation/builder.test.mjs +1 -1
  14. package/dist/federation/handler.test.mjs +3 -3
  15. package/dist/federation/idempotency.test.mjs +2 -2
  16. package/dist/federation/inbox.test.mjs +1 -1
  17. package/dist/federation/middleware.test.mjs +6 -6
  18. package/dist/federation/mod.cjs +1 -1
  19. package/dist/federation/mod.d.cts +4 -3
  20. package/dist/federation/mod.d.ts +4 -5
  21. package/dist/federation/mod.js +2 -2
  22. package/dist/federation/send.test.mjs +3 -3
  23. package/dist/federation/webfinger.test.mjs +1 -1
  24. package/dist/{http-C_tEAiZj.d.cts → http-C4D0ajx0.d.ts} +2 -1
  25. package/dist/{http-Dcu53K4y.mjs → http-ClOkZPVk.mjs} +2 -2
  26. package/dist/{http-C19JWDY5.js → http-DBHhHcMm.js} +2 -2
  27. package/dist/{http-B2wiNmSo.d.ts → http-RYvZHWMc.d.cts} +2 -3
  28. package/dist/{http-DW1wS5OQ.cjs → http-ejFBVI1I.cjs} +1 -1
  29. package/dist/{inbox-CjBSPOkc.mjs → inbox-1iBLYwIM.mjs} +1 -1
  30. package/dist/{key-BIpsBirA.mjs → key-DgnaBuPQ.mjs} +1 -1
  31. package/dist/{kv-CbLNp3zQ.d.cts → kv-D6hNiMTK.d.ts} +1 -0
  32. package/dist/{kv-cache-DMuTztCK.cjs → kv-cache-BbfOz_6f.cjs} +2 -2
  33. package/dist/{kv-cache-OWmRLHir.mjs → kv-cache-DqEKe5E0.mjs} +1 -1
  34. package/dist/{kv-cache-CRCy-MKv.js → kv-cache-eO0dIiEK.js} +2 -2
  35. package/dist/{kv-GFYnFoOl.d.ts → kv-gJ8LYbxX.d.cts} +1 -3
  36. package/dist/{ld-DIubdqww.mjs → ld-DQmBISTI.mjs} +2 -2
  37. package/dist/{middleware-D5oazePf.mjs → middleware-C1lbrpLn.mjs} +1 -1
  38. package/dist/{middleware-0aOx7tFs.mjs → middleware-CM-lm1Ow.mjs} +11 -11
  39. package/dist/{middleware-6_tXcikP.cjs → middleware-CML7W6o9.cjs} +4 -4
  40. package/dist/{middleware-BGhaaIwq.js → middleware-Cg0vLx3s.js} +7 -7
  41. package/dist/{middleware-MNB__QV2.cjs → middleware-EM8jlXPc.cjs} +1 -1
  42. package/dist/{mod-DTOUyCce.d.ts → mod-B2zB0rDg.d.cts} +4 -5
  43. package/dist/{mod-BGtYJZKu.d.ts → mod-CB6pc2pw.d.cts} +3 -4
  44. package/dist/{mod-Bld7oeqf.d.cts → mod-CD1youdZ.d.ts} +4 -3
  45. package/dist/{mod-Cwmyxyoc.d.ts → mod-CKkpvznG.d.cts} +2 -3
  46. package/dist/{mod-1xhgsHef.d.cts → mod-CiQNNAQL.d.ts} +3 -2
  47. package/dist/{mod-DiGQkv-4.d.cts → mod-Kzr52ns8.d.ts} +2 -1
  48. package/dist/mod.cjs +4 -4
  49. package/dist/mod.d.cts +9 -8
  50. package/dist/mod.d.ts +9 -10
  51. package/dist/mod.js +9 -9
  52. package/dist/nodeinfo/handler.test.mjs +1 -1
  53. package/dist/nodeinfo/mod.d.cts +2 -1
  54. package/dist/nodeinfo/mod.d.ts +2 -3
  55. package/dist/nodeinfo/mod.js +3 -3
  56. package/dist/otel/mod.d.cts +2 -1
  57. package/dist/otel/mod.d.ts +2 -3
  58. package/dist/otel/mod.js +2 -2
  59. package/dist/{owner-G_2WBguN.mjs → owner--l5W54LY.mjs} +2 -2
  60. package/dist/{owner-CptqhsOy.d.cts → owner-CnngXDNJ.d.ts} +2 -1
  61. package/dist/{owner-74ARJ5TL.d.ts → owner-DEvZuyOE.d.cts} +2 -3
  62. package/dist/{proof-BBaK9BGh.js → proof-C2fn-J-1.js} +2 -2
  63. package/dist/{proof-DaNQaDFZ.mjs → proof-CJ04SPrP.mjs} +2 -2
  64. package/dist/{proof-D0WmM_BP.cjs → proof-DNpSHLPH.cjs} +1 -1
  65. package/dist/runtime/mod.d.cts +1 -0
  66. package/dist/runtime/mod.d.ts +1 -2
  67. package/dist/runtime/mod.js +3 -3
  68. package/dist/{send-B74ipE6l.mjs → send-BTHdq66r.mjs} +2 -2
  69. package/dist/sig/http.test.mjs +2 -2
  70. package/dist/sig/key.test.mjs +1 -1
  71. package/dist/sig/ld.test.mjs +2 -2
  72. package/dist/sig/mod.cjs +2 -2
  73. package/dist/sig/mod.d.cts +4 -3
  74. package/dist/sig/mod.d.ts +4 -5
  75. package/dist/sig/mod.js +4 -4
  76. package/dist/sig/owner.test.mjs +1 -1
  77. package/dist/sig/proof.test.mjs +1 -1
  78. package/dist/{transformers-ve6e2xcg.js → transformers-BGMIq1cs.js} +2 -2
  79. package/dist/{types-hvL8ElAs.js → types-CAY3OdLq.js} +2 -2
  80. package/dist/utils/docloader.test.mjs +2 -2
  81. package/dist/utils/kv-cache.test.mjs +1 -1
  82. package/dist/utils/mod.cjs +1 -1
  83. package/dist/utils/mod.d.cts +2 -1
  84. package/dist/utils/mod.d.ts +2 -3
  85. package/dist/utils/mod.js +3 -3
  86. package/dist/vocab/mod.d.cts +1 -0
  87. package/dist/vocab/mod.d.ts +1 -2
  88. package/dist/vocab/mod.js +2 -2
  89. package/package.json +6 -6
@@ -2,8 +2,8 @@ import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { n as RouterError, t as Router } from "./router-CrMLXoOr.mjs";
5
- import { n as version, t as name } from "./deno-D5gaJgRc.mjs";
6
- import { t as InboxListenerSet } from "./inbox-CjBSPOkc.mjs";
5
+ import { n as version, t as name } from "./deno-BsTAaG38.mjs";
6
+ import { t as InboxListenerSet } from "./inbox-1iBLYwIM.mjs";
7
7
  import { getTypeId } from "@fedify/vocab";
8
8
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
9
9
  import { getLogger } from "@logtape/logtape";
@@ -42,7 +42,7 @@ var FederationBuilderImpl = class {
42
42
  this.collectionTypeIds = {};
43
43
  }
44
44
  async build(options) {
45
- const { FederationImpl } = await import("./middleware-D5oazePf.mjs");
45
+ const { FederationImpl } = await import("./middleware-C1lbrpLn.mjs");
46
46
  const f = new FederationImpl(options);
47
47
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
48
48
  f.router = this.router.clone();
@@ -1,5 +1,5 @@
1
- import "@js-temporal/polyfill";
2
- import "urlpattern-polyfill";
1
+ import { Temporal } from "@js-temporal/polyfill";
2
+ import { URLPattern } from "urlpattern-polyfill";
3
3
  //#region \0rolldown/runtime.js
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,3 +1,4 @@
1
+ /// <reference lib="esnext.temporal" />
1
2
  import { GetUserAgentOptions } from "@fedify/vocab-runtime";
2
3
 
3
4
  //#region src/nodeinfo/types.d.ts
@@ -1,5 +1,4 @@
1
- import { Temporal } from "@js-temporal/polyfill";
2
- import { URLPattern } from "urlpattern-polyfill";
1
+ /// <reference lib="esnext.temporal" />
3
2
  import { GetUserAgentOptions } from "@fedify/vocab-runtime";
4
3
 
5
4
  //#region src/nodeinfo/types.d.ts
@@ -1,4 +1,5 @@
1
- import { bt as ActivityTransformer, n as Context } from "../context-Kt2s6UWW.cjs";
1
+ /// <reference lib="esnext.temporal" />
2
+ import { bt as ActivityTransformer, n as Context } from "../context-BzRJ49gL.cjs";
2
3
  import { Activity } from "@fedify/vocab";
3
4
 
4
5
  //#region src/compat/transformers.d.ts
@@ -1,6 +1,5 @@
1
- import { Temporal } from "@js-temporal/polyfill";
2
- import { URLPattern } from "urlpattern-polyfill";
3
- import { bt as ActivityTransformer, n as Context } from "../context-DKccFiYD.js";
1
+ /// <reference lib="esnext.temporal" />
2
+ import { bt as ActivityTransformer, n as Context } from "../context-CdJ9wAQa.js";
4
3
  import { Activity } from "@fedify/vocab";
5
4
 
6
5
  //#region src/compat/transformers.d.ts
@@ -1,4 +1,4 @@
1
- import "@js-temporal/polyfill";
2
- import "urlpattern-polyfill";
3
- import { n as autoIdAssigner, r as getDefaultActivityTransformers, t as actorDehydrator } from "../transformers-ve6e2xcg.js";
1
+ import { Temporal } from "@js-temporal/polyfill";
2
+ import { URLPattern } from "urlpattern-polyfill";
3
+ import { n as autoIdAssigner, r as getDefaultActivityTransformers, t as actorDehydrator } from "../transformers-BGMIq1cs.js";
4
4
  export { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -5,7 +5,7 @@ import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
5
5
  import { t as assertInstanceOf } from "../assert_instance_of-C4Ri6VuN.mjs";
6
6
  import { t as assert } from "../assert-ddO5KLpe.mjs";
7
7
  import { t as MemoryKvStore } from "../kv-BrZHNugx.mjs";
8
- import { _ as autoIdAssigner, g as actorDehydrator, n as FederationImpl } from "../middleware-0aOx7tFs.mjs";
8
+ import { _ as autoIdAssigner, g as actorDehydrator, n as FederationImpl } from "../middleware-CM-lm1Ow.mjs";
9
9
  import { test } from "@fedify/fixture";
10
10
  import { Follow, Person } from "@fedify/vocab";
11
11
  //#region src/compat/transformers.test.ts
@@ -1,7 +1,8 @@
1
- import { o as JsonValue, s as NodeInfo, t as GetNodeInfoOptions } from "./client-z-8dc-e1.cjs";
2
- import { t as HttpMessageSignaturesSpec } from "./http-C_tEAiZj.cjs";
3
- import { n as GetKeyOwnerOptions } from "./owner-CptqhsOy.cjs";
4
- import { n as KvStore, t as KvKey } from "./kv-CbLNp3zQ.cjs";
1
+ /// <reference lib="esnext.temporal" />
2
+ import { o as JsonValue, s as NodeInfo, t as GetNodeInfoOptions } from "./client-CAM_bQXx.cjs";
3
+ import { t as HttpMessageSignaturesSpec } from "./http-RYvZHWMc.cjs";
4
+ import { n as GetKeyOwnerOptions } from "./owner-DEvZuyOE.cjs";
5
+ import { n as KvStore, t as KvKey } from "./kv-gJ8LYbxX.cjs";
5
6
  import { Activity, Actor, Collection, CryptographicKey, Hashtag, Link, LookupObjectOptions, Multikey, Object as Object$1, Recipient, TraverseCollectionOptions } from "@fedify/vocab";
6
7
  import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "@fedify/vocab-runtime";
7
8
  import { Link as Link$1, LookupWebFingerOptions, ResourceDescriptor } from "@fedify/webfinger";
@@ -1,9 +1,8 @@
1
- import { Temporal } from "@js-temporal/polyfill";
2
- import { URLPattern } from "urlpattern-polyfill";
3
- import { o as JsonValue, s as NodeInfo, t as GetNodeInfoOptions } from "./client-AtlibPOU.js";
4
- import { t as HttpMessageSignaturesSpec } from "./http-B2wiNmSo.js";
5
- import { n as GetKeyOwnerOptions } from "./owner-74ARJ5TL.js";
6
- import { n as KvStore, t as KvKey } from "./kv-GFYnFoOl.js";
1
+ /// <reference lib="esnext.temporal" />
2
+ import { o as JsonValue, s as NodeInfo, t as GetNodeInfoOptions } from "./client-CSddvgWN.js";
3
+ import { t as HttpMessageSignaturesSpec } from "./http-C4D0ajx0.js";
4
+ import { n as GetKeyOwnerOptions } from "./owner-CnngXDNJ.js";
5
+ import { n as KvStore, t as KvKey } from "./kv-D6hNiMTK.js";
7
6
  import { Activity, Actor, Collection, CryptographicKey, Hashtag, Link, LookupObjectOptions, Multikey, Object as Object$1, Recipient, TraverseCollectionOptions } from "@fedify/vocab";
8
7
  import { Span, Tracer, TracerProvider } from "@opentelemetry/api";
9
8
  import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions } from "@fedify/vocab-runtime";
@@ -3,6 +3,6 @@ import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  //#region deno.json
5
5
  var name = "@fedify/fedify";
6
- var version = "2.0.17-dev.1080+6cfb9a34";
6
+ var version = "2.0.17-dev.1093+5ccc4865";
7
7
  //#endregion
8
8
  export { version as n, name as t };
@@ -1,8 +1,8 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { a as validateCryptoKey } from "./key-BIpsBirA.mjs";
5
- import { n as doubleKnock } from "./http-Dcu53K4y.mjs";
4
+ import { a as validateCryptoKey } from "./key-DgnaBuPQ.mjs";
5
+ import { n as doubleKnock } from "./http-ClOkZPVk.mjs";
6
6
  import { curry } from "es-toolkit";
7
7
  import { UrlError, createActivityPubRequest, getRemoteDocument, logRequest, validatePublicUrl } from "@fedify/vocab-runtime";
8
8
  import { getLogger } from "@logtape/logtape";
@@ -5,7 +5,7 @@ import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
5
5
  import { a as assertExists } from "../std__assert-Duiq_YC9.mjs";
6
6
  import { t as assertThrows } from "../assert_throws-4NwKEy2q.mjs";
7
7
  import { t as MemoryKvStore } from "../kv-BrZHNugx.mjs";
8
- import { n as createFederationBuilder } from "../builder-C_byVzVJ.mjs";
8
+ import { n as createFederationBuilder } from "../builder-CoG4VXAS.mjs";
9
9
  import { test } from "@fedify/fixture";
10
10
  import { Activity, Note, Person } from "@fedify/vocab";
11
11
  //#region src/federation/builder.test.ts
@@ -5,11 +5,11 @@ import { n as createRequestContext, t as createInboxContext } from "../context-J
5
5
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
6
6
  import "../std__assert-Duiq_YC9.mjs";
7
7
  import { t as assert } from "../assert-ddO5KLpe.mjs";
8
- import { s as signRequest } from "../http-Dcu53K4y.mjs";
8
+ import { s as signRequest } from "../http-ClOkZPVk.mjs";
9
9
  import { a as rsaPrivateKey3, c as rsaPublicKey3, s as rsaPublicKey2 } from "../keys-CtZLJq76.mjs";
10
10
  import { t as MemoryKvStore } from "../kv-BrZHNugx.mjs";
11
- import { a as createFederation, c as handleCollection, d as handleObject, f as respondWithObject, l as handleCustomCollection, p as respondWithObjectIfAcceptable, s as handleActor, u as handleInbox } from "../middleware-0aOx7tFs.mjs";
12
- import { t as InboxListenerSet } from "../inbox-CjBSPOkc.mjs";
11
+ import { a as createFederation, c as handleCollection, d as handleObject, f as respondWithObject, l as handleCustomCollection, p as respondWithObjectIfAcceptable, s as handleActor, u as handleInbox } from "../middleware-CM-lm1Ow.mjs";
12
+ import { t as InboxListenerSet } from "../inbox-1iBLYwIM.mjs";
13
13
  import { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
14
14
  import { Create, Note, Person } from "@fedify/vocab";
15
15
  //#region src/federation/handler.test.ts
@@ -4,9 +4,9 @@ globalThis.addEventListener = () => {};
4
4
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
5
5
  import "../std__assert-Duiq_YC9.mjs";
6
6
  import { n as ed25519PrivateKey, r as ed25519PublicKey, t as ed25519Multikey } from "../keys-CtZLJq76.mjs";
7
- import { n as signObject } from "../proof-DaNQaDFZ.mjs";
7
+ import { n as signObject } from "../proof-CJ04SPrP.mjs";
8
8
  import { t as MemoryKvStore } from "../kv-BrZHNugx.mjs";
9
- import { a as createFederation } from "../middleware-0aOx7tFs.mjs";
9
+ import { a as createFederation } from "../middleware-CM-lm1Ow.mjs";
10
10
  import { mockDocumentLoader, test } from "@fedify/fixture";
11
11
  import { Create, Follow, Person } from "@fedify/vocab";
12
12
  //#region src/federation/idempotency.test.ts
@@ -3,7 +3,7 @@ import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
5
5
  import { t as assertThrows } from "../assert_throws-4NwKEy2q.mjs";
6
- import { t as InboxListenerSet } from "../inbox-CjBSPOkc.mjs";
6
+ import { t as InboxListenerSet } from "../inbox-1iBLYwIM.mjs";
7
7
  import { test } from "@fedify/fixture";
8
8
  import { Activity, Create, Invite, Offer, Update } from "@fedify/vocab";
9
9
  //#region src/federation/inbox.test.ts
@@ -10,14 +10,14 @@ import { t as assertInstanceOf } from "../assert_instance_of-C4Ri6VuN.mjs";
10
10
  import { t as assertThrows } from "../assert_throws-4NwKEy2q.mjs";
11
11
  import { t as assertNotEquals } from "../assert_not_equals--wG9hV7u.mjs";
12
12
  import { t as assert } from "../assert-ddO5KLpe.mjs";
13
- import { l as verifyRequest, s as signRequest } from "../http-Dcu53K4y.mjs";
13
+ import { l as verifyRequest, s as signRequest } from "../http-ClOkZPVk.mjs";
14
14
  import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-CtZLJq76.mjs";
15
- import { t as getAuthenticatedDocumentLoader } from "../docloader-CvKTIDM7.mjs";
16
- import { a as signJsonLd, o as verifyJsonLd, r as detachSignature } from "../ld-DIubdqww.mjs";
17
- import { t as doesActorOwnKey } from "../owner-G_2WBguN.mjs";
18
- import { n as signObject, r as verifyObject } from "../proof-DaNQaDFZ.mjs";
15
+ import { t as getAuthenticatedDocumentLoader } from "../docloader-BpyzfTRB.mjs";
16
+ import { a as signJsonLd, o as verifyJsonLd, r as detachSignature } from "../ld-DQmBISTI.mjs";
17
+ import { t as doesActorOwnKey } from "../owner--l5W54LY.mjs";
18
+ import { n as signObject, r as verifyObject } from "../proof-CJ04SPrP.mjs";
19
19
  import { t as MemoryKvStore } from "../kv-BrZHNugx.mjs";
20
- import { a as createFederation, i as KvSpecDeterminer, n as FederationImpl, r as InboxContextImpl, t as ContextImpl } from "../middleware-0aOx7tFs.mjs";
20
+ import { a as createFederation, i as KvSpecDeterminer, n as FederationImpl, r as InboxContextImpl, t as ContextImpl } from "../middleware-CM-lm1Ow.mjs";
21
21
  import { mockDocumentLoader, test } from "@fedify/fixture";
22
22
  import * as vocab from "@fedify/vocab";
23
23
  import { getTypeId, lookupObject } from "@fedify/vocab";
@@ -2,7 +2,7 @@ const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  require("../chunk-DDcVe30Y.cjs");
5
- const require_middleware = require("../middleware-6_tXcikP.cjs");
5
+ const require_middleware = require("../middleware-CML7W6o9.cjs");
6
6
  let es_toolkit = require("es-toolkit");
7
7
  //#region src/federation/kv.ts
8
8
  /**
@@ -1,4 +1,5 @@
1
- import { $ as AuthorizePredicate, A as CreateExponentialBackoffPolicyOptions, B as RespondWithObjectOptions, C as InboxListenerSetters, D as FederationOrigin, E as FederationKvPrefixes, F as createFederationBuilder, G as MessageQueue, H as respondWithObjectIfAcceptable, I as Router, J as ParallelMessageQueue, K as MessageQueueEnqueueOptions, L as RouterError, M as RetryPolicy, N as createExponentialBackoffPolicy, O as FederationQueueOptions, P as Message, Q as ActorKeyPairsDispatcher, R as RouterOptions, S as IdempotencyStrategy, T as Rfc6570Expression, U as InProcessMessageQueue, V as respondWithObject, W as InProcessMessageQueueOptions, X as ActorDispatcher, Y as ActorAliasMapper, Z as ActorHandleMapper, _ as FederationBuilder, _t as PageItems, a as InboxContext, at as CustomCollectionDispatcher, b as FederationStartQueueOptions, c as RouteActivityOptions, ct as NodeInfoDispatcher, d as ActorCallbackSetters, dt as OutboxErrorHandler, et as CollectionCounter, f as CollectionCallbackSetters, ft as OutboxPermanentFailureHandler, g as Federation, gt as SenderKeyPair, h as Federatable, ht as SendActivityError, i as GetSignedKeyOptions, it as CustomCollectionCursor, j as RetryContext, k as createFederation, l as SendActivityOptions, lt as ObjectAuthorizePredicate, m as CustomCollectionCallbackSetters, mt as WebFingerLinksDispatcher, n as Context, nt as CollectionDispatcher, o as ParseUriResult, ot as InboxErrorHandler, p as ConstructorWithTypeId, pt as SharedInboxKeyDispatcher, q as MessageQueueListenOptions, r as ForwardActivityOptions, rt as CustomCollectionCounter, s as RequestContext, st as InboxListener, t as ActorKeyPair, tt as CollectionCursor, u as SendActivityOptionsForCollection, ut as ObjectDispatcher, v as FederationFetchOptions, vt as buildCollectionSynchronizationHeader, w as ObjectCallbackSetters, x as IdempotencyKeyCallback, y as FederationOptions, yt as digest, z as RouterRouteResult } from "../context-Kt2s6UWW.cjs";
2
- import { a as MemoryKvStore, i as KvStoreSetOptions, n as KvStore, r as KvStoreListEntry, t as KvKey } from "../kv-CbLNp3zQ.cjs";
3
- import { n as handleWebFinger, t as WebFingerHandlerParameters } from "../mod-DiGQkv-4.cjs";
1
+ /// <reference lib="esnext.temporal" />
2
+ import { $ as AuthorizePredicate, A as CreateExponentialBackoffPolicyOptions, B as RespondWithObjectOptions, C as InboxListenerSetters, D as FederationOrigin, E as FederationKvPrefixes, F as createFederationBuilder, G as MessageQueue, H as respondWithObjectIfAcceptable, I as Router, J as ParallelMessageQueue, K as MessageQueueEnqueueOptions, L as RouterError, M as RetryPolicy, N as createExponentialBackoffPolicy, O as FederationQueueOptions, P as Message, Q as ActorKeyPairsDispatcher, R as RouterOptions, S as IdempotencyStrategy, T as Rfc6570Expression, U as InProcessMessageQueue, V as respondWithObject, W as InProcessMessageQueueOptions, X as ActorDispatcher, Y as ActorAliasMapper, Z as ActorHandleMapper, _ as FederationBuilder, _t as PageItems, a as InboxContext, at as CustomCollectionDispatcher, b as FederationStartQueueOptions, c as RouteActivityOptions, ct as NodeInfoDispatcher, d as ActorCallbackSetters, dt as OutboxErrorHandler, et as CollectionCounter, f as CollectionCallbackSetters, ft as OutboxPermanentFailureHandler, g as Federation, gt as SenderKeyPair, h as Federatable, ht as SendActivityError, i as GetSignedKeyOptions, it as CustomCollectionCursor, j as RetryContext, k as createFederation, l as SendActivityOptions, lt as ObjectAuthorizePredicate, m as CustomCollectionCallbackSetters, mt as WebFingerLinksDispatcher, n as Context, nt as CollectionDispatcher, o as ParseUriResult, ot as InboxErrorHandler, p as ConstructorWithTypeId, pt as SharedInboxKeyDispatcher, q as MessageQueueListenOptions, r as ForwardActivityOptions, rt as CustomCollectionCounter, s as RequestContext, st as InboxListener, t as ActorKeyPair, tt as CollectionCursor, u as SendActivityOptionsForCollection, ut as ObjectDispatcher, v as FederationFetchOptions, vt as buildCollectionSynchronizationHeader, w as ObjectCallbackSetters, x as IdempotencyKeyCallback, y as FederationOptions, yt as digest, z as RouterRouteResult } from "../context-BzRJ49gL.cjs";
3
+ import { a as MemoryKvStore, i as KvStoreSetOptions, n as KvStore, r as KvStoreListEntry, t as KvKey } from "../kv-gJ8LYbxX.cjs";
4
+ import { n as handleWebFinger, t as WebFingerHandlerParameters } from "../mod-CKkpvznG.cjs";
4
5
  export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerHandlerParameters, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable };
@@ -1,6 +1,5 @@
1
- import { Temporal } from "@js-temporal/polyfill";
2
- import { URLPattern } from "urlpattern-polyfill";
3
- import { $ as AuthorizePredicate, A as CreateExponentialBackoffPolicyOptions, B as RespondWithObjectOptions, C as InboxListenerSetters, D as FederationOrigin, E as FederationKvPrefixes, F as createFederationBuilder, G as MessageQueue, H as respondWithObjectIfAcceptable, I as Router, J as ParallelMessageQueue, K as MessageQueueEnqueueOptions, L as RouterError, M as RetryPolicy, N as createExponentialBackoffPolicy, O as FederationQueueOptions, P as Message, Q as ActorKeyPairsDispatcher, R as RouterOptions, S as IdempotencyStrategy, T as Rfc6570Expression, U as InProcessMessageQueue, V as respondWithObject, W as InProcessMessageQueueOptions, X as ActorDispatcher, Y as ActorAliasMapper, Z as ActorHandleMapper, _ as FederationBuilder, _t as PageItems, a as InboxContext, at as CustomCollectionDispatcher, b as FederationStartQueueOptions, c as RouteActivityOptions, ct as NodeInfoDispatcher, d as ActorCallbackSetters, dt as OutboxErrorHandler, et as CollectionCounter, f as CollectionCallbackSetters, ft as OutboxPermanentFailureHandler, g as Federation, gt as SenderKeyPair, h as Federatable, ht as SendActivityError, i as GetSignedKeyOptions, it as CustomCollectionCursor, j as RetryContext, k as createFederation, l as SendActivityOptions, lt as ObjectAuthorizePredicate, m as CustomCollectionCallbackSetters, mt as WebFingerLinksDispatcher, n as Context, nt as CollectionDispatcher, o as ParseUriResult, ot as InboxErrorHandler, p as ConstructorWithTypeId, pt as SharedInboxKeyDispatcher, q as MessageQueueListenOptions, r as ForwardActivityOptions, rt as CustomCollectionCounter, s as RequestContext, st as InboxListener, t as ActorKeyPair, tt as CollectionCursor, u as SendActivityOptionsForCollection, ut as ObjectDispatcher, v as FederationFetchOptions, vt as buildCollectionSynchronizationHeader, w as ObjectCallbackSetters, x as IdempotencyKeyCallback, y as FederationOptions, yt as digest, z as RouterRouteResult } from "../context-DKccFiYD.js";
4
- import { a as MemoryKvStore, i as KvStoreSetOptions, n as KvStore, r as KvStoreListEntry, t as KvKey } from "../kv-GFYnFoOl.js";
5
- import { n as handleWebFinger, t as WebFingerHandlerParameters } from "../mod-Cwmyxyoc.js";
1
+ /// <reference lib="esnext.temporal" />
2
+ import { $ as AuthorizePredicate, A as CreateExponentialBackoffPolicyOptions, B as RespondWithObjectOptions, C as InboxListenerSetters, D as FederationOrigin, E as FederationKvPrefixes, F as createFederationBuilder, G as MessageQueue, H as respondWithObjectIfAcceptable, I as Router, J as ParallelMessageQueue, K as MessageQueueEnqueueOptions, L as RouterError, M as RetryPolicy, N as createExponentialBackoffPolicy, O as FederationQueueOptions, P as Message, Q as ActorKeyPairsDispatcher, R as RouterOptions, S as IdempotencyStrategy, T as Rfc6570Expression, U as InProcessMessageQueue, V as respondWithObject, W as InProcessMessageQueueOptions, X as ActorDispatcher, Y as ActorAliasMapper, Z as ActorHandleMapper, _ as FederationBuilder, _t as PageItems, a as InboxContext, at as CustomCollectionDispatcher, b as FederationStartQueueOptions, c as RouteActivityOptions, ct as NodeInfoDispatcher, d as ActorCallbackSetters, dt as OutboxErrorHandler, et as CollectionCounter, f as CollectionCallbackSetters, ft as OutboxPermanentFailureHandler, g as Federation, gt as SenderKeyPair, h as Federatable, ht as SendActivityError, i as GetSignedKeyOptions, it as CustomCollectionCursor, j as RetryContext, k as createFederation, l as SendActivityOptions, lt as ObjectAuthorizePredicate, m as CustomCollectionCallbackSetters, mt as WebFingerLinksDispatcher, n as Context, nt as CollectionDispatcher, o as ParseUriResult, ot as InboxErrorHandler, p as ConstructorWithTypeId, pt as SharedInboxKeyDispatcher, q as MessageQueueListenOptions, r as ForwardActivityOptions, rt as CustomCollectionCounter, s as RequestContext, st as InboxListener, t as ActorKeyPair, tt as CollectionCursor, u as SendActivityOptionsForCollection, ut as ObjectDispatcher, v as FederationFetchOptions, vt as buildCollectionSynchronizationHeader, w as ObjectCallbackSetters, x as IdempotencyKeyCallback, y as FederationOptions, yt as digest, z as RouterRouteResult } from "../context-CdJ9wAQa.js";
3
+ import { a as MemoryKvStore, i as KvStoreSetOptions, n as KvStore, r as KvStoreListEntry, t as KvKey } from "../kv-D6hNiMTK.js";
4
+ import { n as handleWebFinger, t as WebFingerHandlerParameters } from "../mod-Kzr52ns8.js";
6
5
  export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore, Message, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerHandlerParameters, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable };
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
- import "urlpattern-polyfill";
3
- import { a as createExponentialBackoffPolicy, c as buildCollectionSynchronizationHeader, d as Router, f as RouterError, i as SendActivityError, l as digest, o as respondWithObject, r as handleWebFinger, s as respondWithObjectIfAcceptable, t as createFederation, u as createFederationBuilder } from "../middleware-BGhaaIwq.js";
2
+ import { URLPattern } from "urlpattern-polyfill";
3
+ import { a as createExponentialBackoffPolicy, c as buildCollectionSynchronizationHeader, d as Router, f as RouterError, i as SendActivityError, l as digest, o as respondWithObject, r as handleWebFinger, s as respondWithObjectIfAcceptable, t as createFederation, u as createFederationBuilder } from "../middleware-Cg0vLx3s.js";
4
4
  import { isEqual } from "es-toolkit";
5
5
  //#region src/federation/kv.ts
6
6
  /**
@@ -8,10 +8,10 @@ import { n as assertFalse, t as assertRejects } from "../assert_rejects-B-qJtC9Z
8
8
  import { t as assertInstanceOf } from "../assert_instance_of-C4Ri6VuN.mjs";
9
9
  import { t as assertNotEquals } from "../assert_not_equals--wG9hV7u.mjs";
10
10
  import { t as assert } from "../assert-ddO5KLpe.mjs";
11
- import { l as verifyRequest } from "../http-Dcu53K4y.mjs";
11
+ import { l as verifyRequest } from "../http-ClOkZPVk.mjs";
12
12
  import { i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-CtZLJq76.mjs";
13
- import { t as doesActorOwnKey } from "../owner-G_2WBguN.mjs";
14
- import { n as extractInboxes, r as sendActivity, t as SendActivityError } from "../send-B74ipE6l.mjs";
13
+ import { t as doesActorOwnKey } from "../owner--l5W54LY.mjs";
14
+ import { n as extractInboxes, r as sendActivity, t as SendActivityError } from "../send-BTHdq66r.mjs";
15
15
  import { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
16
16
  import { Activity, Application, Endpoints, Group, Person, Service } from "@fedify/vocab";
17
17
  //#region src/federation/send.test.ts
@@ -5,7 +5,7 @@ import { n as createRequestContext } from "../context-Juj6bdHC.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
6
6
  import "../std__assert-Duiq_YC9.mjs";
7
7
  import { t as MemoryKvStore } from "../kv-BrZHNugx.mjs";
8
- import { a as createFederation, o as handleWebFinger } from "../middleware-0aOx7tFs.mjs";
8
+ import { a as createFederation, o as handleWebFinger } from "../middleware-CM-lm1Ow.mjs";
9
9
  import { test } from "@fedify/fixture";
10
10
  import { Image, Link, Person } from "@fedify/vocab";
11
11
  //#region src/federation/webfinger.test.ts
@@ -1,6 +1,7 @@
1
+ /// <reference lib="esnext.temporal" />
1
2
  import { CryptographicKey, Multikey } from "@fedify/vocab";
2
- import { DocumentLoader } from "@fedify/vocab-runtime";
3
3
  import { TracerProvider } from "@opentelemetry/api";
4
+ import { DocumentLoader } from "@fedify/vocab-runtime";
4
5
 
5
6
  //#region src/sig/key.d.ts
6
7
  /**
@@ -1,8 +1,8 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as version, t as name } from "./deno-D5gaJgRc.mjs";
5
- import { a as validateCryptoKey, n as fetchKey } from "./key-BIpsBirA.mjs";
4
+ import { n as version, t as name } from "./deno-BsTAaG38.mjs";
5
+ import { a as validateCryptoKey, n as fetchKey } from "./key-DgnaBuPQ.mjs";
6
6
  import { CryptographicKey } from "@fedify/vocab";
7
7
  import { SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  import { FetchError } from "@fedify/vocab-runtime";
@@ -1,5 +1,5 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
- import "urlpattern-polyfill";
2
+ import { URLPattern } from "urlpattern-polyfill";
3
3
  import { getLogger } from "@logtape/logtape";
4
4
  import { CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
5
5
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
@@ -10,7 +10,7 @@ import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
10
10
  import { Item, decodeDict, encodeItem } from "structured-field-values";
11
11
  //#region deno.json
12
12
  var name = "@fedify/fedify";
13
- var version = "2.0.17-dev.1080+6cfb9a34";
13
+ var version = "2.0.17-dev.1093+5ccc4865";
14
14
  //#endregion
15
15
  //#region src/sig/key.ts
16
16
  /**
@@ -1,8 +1,7 @@
1
- import { Temporal } from "@js-temporal/polyfill";
2
- import { URLPattern } from "urlpattern-polyfill";
1
+ /// <reference lib="esnext.temporal" />
3
2
  import { CryptographicKey, Multikey } from "@fedify/vocab";
4
- import { TracerProvider } from "@opentelemetry/api";
5
3
  import { DocumentLoader } from "@fedify/vocab-runtime";
4
+ import { TracerProvider } from "@opentelemetry/api";
6
5
 
7
6
  //#region src/sig/key.d.ts
8
7
  /**
@@ -11,7 +11,7 @@ let byte_encodings_base64 = require("byte-encodings/base64");
11
11
  let structured_field_values = require("structured-field-values");
12
12
  //#region deno.json
13
13
  var name = "@fedify/fedify";
14
- var version = "2.0.17-dev.1080+6cfb9a34";
14
+ var version = "2.0.17-dev.1093+5ccc4865";
15
15
  //#endregion
16
16
  //#region src/sig/key.ts
17
17
  /**
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as version, t as name } from "./deno-D5gaJgRc.mjs";
4
+ import { n as version, t as name } from "./deno-BsTAaG38.mjs";
5
5
  import { Activity, getTypeId } from "@fedify/vocab";
6
6
  import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
7
7
  import { getLogger } from "@logtape/logtape";
@@ -1,7 +1,7 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as version, t as name } from "./deno-D5gaJgRc.mjs";
4
+ import { n as version, t as name } from "./deno-BsTAaG38.mjs";
5
5
  import { CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
6
6
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
7
7
  import { getDocumentLoader } from "@fedify/vocab-runtime";
@@ -1,3 +1,4 @@
1
+ /// <reference lib="esnext.temporal" />
1
2
  //#region src/federation/kv.d.ts
2
3
  /**
3
4
  * A key for a key–value store. An array of one or more strings.
@@ -1,7 +1,7 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  require("./chunk-DDcVe30Y.cjs");
4
- const require_http = require("./http-DW1wS5OQ.cjs");
4
+ const require_http = require("./http-ejFBVI1I.cjs");
5
5
  let _logtape_logtape = require("@logtape/logtape");
6
6
  let es_toolkit = require("es-toolkit");
7
7
  let _fedify_vocab_runtime = require("@fedify/vocab-runtime");
@@ -97,7 +97,7 @@ function kvCache({ loader, kv, prefix, rules }) {
97
97
  }
98
98
  function matchRule(url, rules) {
99
99
  for (const [pattern, d] of rules) {
100
- const duration = d instanceof Temporal.Duration ? d : Temporal.Duration.from(d);
100
+ const duration = Temporal.Duration.from(d);
101
101
  if (typeof pattern === "string") {
102
102
  if (url === pattern) return duration;
103
103
  continue;
@@ -86,7 +86,7 @@ function kvCache({ loader, kv, prefix, rules }) {
86
86
  }
87
87
  function matchRule(url, rules) {
88
88
  for (const [pattern, d] of rules) {
89
- const duration = d instanceof Temporal.Duration ? d : Temporal.Duration.from(d);
89
+ const duration = Temporal.Duration.from(d);
90
90
  if (typeof pattern === "string") {
91
91
  if (url === pattern) return duration;
92
92
  continue;
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { c as validateCryptoKey, t as doubleKnock } from "./http-C19JWDY5.js";
3
+ import { c as validateCryptoKey, t as doubleKnock } from "./http-DBHhHcMm.js";
4
4
  import { getLogger } from "@logtape/logtape";
5
5
  import { curry } from "es-toolkit";
6
6
  import { UrlError, createActivityPubRequest, getRemoteDocument, logRequest, preloadedContexts, validatePublicUrl } from "@fedify/vocab-runtime";
@@ -96,7 +96,7 @@ function kvCache({ loader, kv, prefix, rules }) {
96
96
  }
97
97
  function matchRule(url, rules) {
98
98
  for (const [pattern, d] of rules) {
99
- const duration = d instanceof Temporal.Duration ? d : Temporal.Duration.from(d);
99
+ const duration = Temporal.Duration.from(d);
100
100
  if (typeof pattern === "string") {
101
101
  if (url === pattern) return duration;
102
102
  continue;
@@ -1,6 +1,4 @@
1
- import { Temporal } from "@js-temporal/polyfill";
2
- import { URLPattern } from "urlpattern-polyfill";
3
-
1
+ /// <reference lib="esnext.temporal" />
4
2
  //#region src/federation/kv.d.ts
5
3
  /**
6
4
  * A key for a key–value store. An array of one or more strings.
@@ -1,8 +1,8 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as version, t as name } from "./deno-D5gaJgRc.mjs";
5
- import { a as validateCryptoKey, n as fetchKey } from "./key-BIpsBirA.mjs";
4
+ import { n as version, t as name } from "./deno-BsTAaG38.mjs";
5
+ import { a as validateCryptoKey, n as fetchKey } from "./key-DgnaBuPQ.mjs";
6
6
  import { Activity, CryptographicKey, Object as Object$1, getTypeId } from "@fedify/vocab";
7
7
  import { SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  import { getDocumentLoader } from "@fedify/vocab-runtime";
@@ -1,5 +1,5 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as FederationImpl } from "./middleware-0aOx7tFs.mjs";
4
+ import { n as FederationImpl } from "./middleware-CM-lm1Ow.mjs";
5
5
  export { FederationImpl };
@@ -2,23 +2,23 @@ import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { n as RouterError } from "./router-CrMLXoOr.mjs";
5
- import { n as version, t as name } from "./deno-D5gaJgRc.mjs";
6
- import { a as validateCryptoKey, i as importJwk, t as exportJwk } from "./key-BIpsBirA.mjs";
7
- import { l as verifyRequest } from "./http-Dcu53K4y.mjs";
8
- import { t as getAuthenticatedDocumentLoader } from "./docloader-CvKTIDM7.mjs";
9
- import { n as kvCache } from "./kv-cache-OWmRLHir.mjs";
10
- import { a as signJsonLd, i as hasSignature, o as verifyJsonLd, r as detachSignature } from "./ld-DIubdqww.mjs";
11
- import { n as getKeyOwner, t as doesActorOwnKey } from "./owner-G_2WBguN.mjs";
12
- import { n as signObject, r as verifyObject } from "./proof-DaNQaDFZ.mjs";
5
+ import { n as version, t as name } from "./deno-BsTAaG38.mjs";
6
+ import { a as validateCryptoKey, i as importJwk, t as exportJwk } from "./key-DgnaBuPQ.mjs";
7
+ import { l as verifyRequest } from "./http-ClOkZPVk.mjs";
8
+ import { t as getAuthenticatedDocumentLoader } from "./docloader-BpyzfTRB.mjs";
9
+ import { n as kvCache } from "./kv-cache-DqEKe5E0.mjs";
10
+ import { a as signJsonLd, i as hasSignature, o as verifyJsonLd, r as detachSignature } from "./ld-DQmBISTI.mjs";
11
+ import { n as getKeyOwner, t as doesActorOwnKey } from "./owner--l5W54LY.mjs";
12
+ import { n as signObject, r as verifyObject } from "./proof-CJ04SPrP.mjs";
13
13
  import { t as getNodeInfo } from "./client-A1UrnX6I.mjs";
14
14
  import { t as nodeInfoToJson } from "./types-C37hquWI.mjs";
15
- import { n as routeActivity } from "./inbox-CjBSPOkc.mjs";
16
- import { t as FederationBuilderImpl } from "./builder-C_byVzVJ.mjs";
15
+ import { n as routeActivity } from "./inbox-1iBLYwIM.mjs";
16
+ import { t as FederationBuilderImpl } from "./builder-CoG4VXAS.mjs";
17
17
  import { t as buildCollectionSynchronizationHeader } from "./collection-ChgDTHLz.mjs";
18
18
  import { t as KvKeyCache } from "./keycache-DaQ3ndaJ.mjs";
19
19
  import { t as acceptsJsonLd } from "./negotiation-BehA2uul.mjs";
20
20
  import { t as createExponentialBackoffPolicy } from "./retry-Ddbq3AcK.mjs";
21
- import { n as extractInboxes, r as sendActivity, t as SendActivityError } from "./send-B74ipE6l.mjs";
21
+ import { n as extractInboxes, r as sendActivity, t as SendActivityError } from "./send-BTHdq66r.mjs";
22
22
  import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId, lookupObject, traverseCollection } from "@fedify/vocab";
23
23
  import { lookupWebFinger } from "@fedify/webfinger";
24
24
  import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
@@ -2,10 +2,10 @@ const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  require("./chunk-DDcVe30Y.cjs");
4
4
  const require_transformers = require("./transformers-NeAONrAq.cjs");
5
- const require_http = require("./http-DW1wS5OQ.cjs");
6
- const require_proof = require("./proof-D0WmM_BP.cjs");
5
+ const require_http = require("./http-ejFBVI1I.cjs");
6
+ const require_proof = require("./proof-DNpSHLPH.cjs");
7
7
  const require_types = require("./types-KC4QAoxe.cjs");
8
- const require_kv_cache = require("./kv-cache-DMuTztCK.cjs");
8
+ const require_kv_cache = require("./kv-cache-BbfOz_6f.cjs");
9
9
  let _logtape_logtape = require("@logtape/logtape");
10
10
  let _fedify_vocab = require("@fedify/vocab");
11
11
  let _opentelemetry_api = require("@opentelemetry/api");
@@ -330,7 +330,7 @@ var FederationBuilderImpl = class {
330
330
  this.collectionTypeIds = {};
331
331
  }
332
332
  async build(options) {
333
- const { FederationImpl } = await Promise.resolve().then(() => require("./middleware-MNB__QV2.cjs"));
333
+ const { FederationImpl } = await Promise.resolve().then(() => require("./middleware-EM8jlXPc.cjs"));
334
334
  const f = new FederationImpl(options);
335
335
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
336
336
  f.router = this.router.clone();
@@ -1,11 +1,11 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
- import "urlpattern-polyfill";
3
- import { t as __exportAll } from "./chunk-nlSIicah.js";
4
- import { r as getDefaultActivityTransformers } from "./transformers-ve6e2xcg.js";
5
- import { c as validateCryptoKey, i as exportJwk, l as name, r as verifyRequest, s as importJwk, t as doubleKnock, u as version } from "./http-C19JWDY5.js";
6
- import { a as doesActorOwnKey, d as signJsonLd, f as verifyJsonLd, l as detachSignature, n as signObject, o as getKeyOwner, r as verifyObject, u as hasSignature } from "./proof-BBaK9BGh.js";
7
- import { n as getNodeInfo, t as nodeInfoToJson } from "./types-hvL8ElAs.js";
8
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./kv-cache-CRCy-MKv.js";
2
+ import { URLPattern } from "urlpattern-polyfill";
3
+ import { t as __exportAll } from "./chunk-CRNNMoPX.js";
4
+ import { r as getDefaultActivityTransformers } from "./transformers-BGMIq1cs.js";
5
+ import { c as validateCryptoKey, i as exportJwk, l as name, r as verifyRequest, s as importJwk, t as doubleKnock, u as version } from "./http-DBHhHcMm.js";
6
+ import { a as doesActorOwnKey, d as signJsonLd, f as verifyJsonLd, l as detachSignature, n as signObject, o as getKeyOwner, r as verifyObject, u as hasSignature } from "./proof-C2fn-J-1.js";
7
+ import { n as getNodeInfo, t as nodeInfoToJson } from "./types-CAY3OdLq.js";
8
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./kv-cache-eO0dIiEK.js";
9
9
  import { getLogger, withContext } from "@logtape/logtape";
10
10
  import { Activity, Collection, CollectionPage, CryptographicKey, Link, Multikey, Object as Object$1, OrderedCollection, OrderedCollectionPage, getTypeId, lookupObject, traverseCollection } from "@fedify/vocab";
11
11
  import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";
@@ -1,4 +1,4 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
- const require_middleware = require("./middleware-6_tXcikP.cjs");
3
+ const require_middleware = require("./middleware-CML7W6o9.cjs");
4
4
  exports.FederationImpl = require_middleware.FederationImpl;
@@ -1,9 +1,8 @@
1
- import { Temporal } from "@js-temporal/polyfill";
2
- import { URLPattern } from "urlpattern-polyfill";
3
- import { n as HttpMessageSignaturesSpecDeterminer } from "./http-B2wiNmSo.js";
4
- import { n as KvStore, t as KvKey } from "./kv-GFYnFoOl.js";
5
- import { TracerProvider } from "@opentelemetry/api";
1
+ /// <reference lib="esnext.temporal" />
2
+ import { n as HttpMessageSignaturesSpecDeterminer } from "./http-RYvZHWMc.cjs";
3
+ import { n as KvStore, t as KvKey } from "./kv-gJ8LYbxX.cjs";
6
4
  import { DocumentLoader, DocumentLoaderFactoryOptions } from "@fedify/vocab-runtime";
5
+ import { TracerProvider } from "@opentelemetry/api";
7
6
 
8
7
  //#region src/utils/docloader.d.ts
9
8
  /**
@@ -1,9 +1,8 @@
1
- import { Temporal } from "@js-temporal/polyfill";
2
- import { URLPattern } from "urlpattern-polyfill";
3
- import { l as KeyCache } from "./http-B2wiNmSo.js";
1
+ /// <reference lib="esnext.temporal" />
2
+ import { l as KeyCache } from "./http-RYvZHWMc.cjs";
4
3
  import { CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1 } from "@fedify/vocab";
5
- import { TracerProvider } from "@opentelemetry/api";
6
4
  import { DocumentLoader } from "@fedify/vocab-runtime";
5
+ import { TracerProvider } from "@opentelemetry/api";
7
6
 
8
7
  //#region src/sig/ld.d.ts
9
8
  /**