@fedify/fedify 2.4.0-dev.2027 → 2.4.0-dev.2030

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 (61) hide show
  1. package/dist/{builder-BM255b90.mjs → builder-BYJ5otJa.mjs} +2 -2
  2. package/dist/compat/transformers.test.mjs +1 -1
  3. package/dist/{compound-proof-CPvNisT2.mjs → compound-proof-BIvUoJxm.mjs} +74 -2
  4. package/dist/{deno-BcZNXlJn.mjs → deno-Vj_9wePq.mjs} +1 -1
  5. package/dist/{docloader-iHi0-9mK.mjs → docloader-qUudHZVH.mjs} +2 -2
  6. package/dist/federation/builder.test.mjs +1 -1
  7. package/dist/federation/compound-fanout.test.mjs +3 -3
  8. package/dist/federation/handler-compound-proof.test.mjs +3 -3
  9. package/dist/federation/handler.test.mjs +5 -5
  10. package/dist/federation/idempotency.test.mjs +2 -2
  11. package/dist/federation/metrics.test.mjs +1 -1
  12. package/dist/federation/middleware.test.mjs +7 -7
  13. package/dist/federation/mod.cjs +1 -1
  14. package/dist/federation/mod.js +1 -1
  15. package/dist/federation/outgoing-proof.test.d.mts +2 -0
  16. package/dist/federation/outgoing-proof.test.mjs +396 -0
  17. package/dist/federation/send.test.mjs +3 -3
  18. package/dist/federation/tasks/enqueue.test.mjs +1 -1
  19. package/dist/federation/tasks/tasks.test.mjs +2 -2
  20. package/dist/federation/temporal.test.mjs +1 -1
  21. package/dist/federation/webfinger.test.mjs +1 -1
  22. package/dist/{federation-C0ijTwhx.cjs → federation-CTnaljmy.cjs} +200 -50
  23. package/dist/{http-CWXKwHPv.cjs → http-B5F1JMh0.cjs} +1 -1
  24. package/dist/{http-KZWtR1H8.js → http-By8tnmEr.js} +1 -1
  25. package/dist/{http-fIK5D83n.mjs → http-D4WPcJUe.mjs} +3 -3
  26. package/dist/{key-Xb1hVVZO.mjs → key-B_Zc5Jbd.mjs} +2 -2
  27. package/dist/{kv-cache-Dos4tOWb.cjs → kv-cache-8K70pjtX.cjs} +1 -1
  28. package/dist/{kv-cache-CU1rmQFB.mjs → kv-cache-BXdT7pJQ.mjs} +1 -1
  29. package/dist/{kv-cache-HOO6BsuW.js → kv-cache-BswMKQjC.js} +1 -1
  30. package/dist/{ld-DFHvxLtx.mjs → ld-B16KUSIQ.mjs} +3 -3
  31. package/dist/{metrics-D7RydU_p.mjs → metrics-DpQqUAmh.mjs} +1 -1
  32. package/dist/{middleware-DgU5bJnn.mjs → middleware-BL5HFFVU.mjs} +1 -1
  33. package/dist/{middleware-BsYD_ufs.mjs → middleware-C7_hqDnl.mjs} +139 -61
  34. package/dist/{middleware-iffqYoTV.js → middleware-Cxto6Bq2.js} +201 -51
  35. package/dist/mod.cjs +4 -4
  36. package/dist/mod.js +4 -4
  37. package/dist/nodeinfo/handler.test.mjs +1 -1
  38. package/dist/{owner-D53bUI-n.mjs → owner-BIOIhZoM.mjs} +2 -2
  39. package/dist/{owner-B7lgRMdU.js → owner-D-E0bT2O.js} +1 -1
  40. package/dist/{owner-DffLVeYC.cjs → owner-WUYke16i.cjs} +1 -1
  41. package/dist/{proof-4ADU3qy0.mjs → proof-BVxJu5vv.mjs} +4 -4
  42. package/dist/{send-n-W6bG7y.mjs → send-Cr5FJ7iu.mjs} +3 -3
  43. package/dist/sig/compound-proof-discovery.test.mjs +1 -1
  44. package/dist/sig/compound-proof-producer.test.d.mts +2 -0
  45. package/dist/sig/compound-proof-producer.test.mjs +107 -0
  46. package/dist/sig/compound-proof-verification.test.mjs +2 -2
  47. package/dist/sig/compound-proof.test.mjs +2 -2
  48. package/dist/sig/http.test.mjs +2 -2
  49. package/dist/sig/key.test.mjs +1 -1
  50. package/dist/sig/ld.test.mjs +2 -2
  51. package/dist/sig/mod.cjs +2 -2
  52. package/dist/sig/mod.js +2 -2
  53. package/dist/sig/owner.test.mjs +1 -1
  54. package/dist/sig/proof.test.mjs +1 -1
  55. package/dist/{temporal-BFUyXrYg.mjs → temporal-CCf0lZV3.mjs} +1 -1
  56. package/dist/testing/kv.test.mjs +1 -1
  57. package/dist/utils/docloader.test.mjs +2 -2
  58. package/dist/utils/kv-cache.test.mjs +1 -1
  59. package/dist/utils/mod.cjs +1 -1
  60. package/dist/utils/mod.js +1 -1
  61. package/package.json +6 -6
@@ -1,7 +1,7 @@
1
1
  import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as version, t as name } from "./deno-BcZNXlJn.mjs";
4
+ import { n as version, t as name } from "./deno-Vj_9wePq.mjs";
5
5
  import { t as ActivityListenerSet } from "./activity-listener-C-BSbKI7.mjs";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { Router, RouterError, assertPath } from "@fedify/uri-template";
@@ -85,7 +85,7 @@ var FederationBuilderImpl = class {
85
85
  * specified.
86
86
  */
87
87
  async build(options) {
88
- const { FederationImpl } = await import("./middleware-DgU5bJnn.mjs");
88
+ const { FederationImpl } = await import("./middleware-BL5HFFVU.mjs");
89
89
  const f = new FederationImpl(options);
90
90
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
91
91
  f.router = this.router.clone();
@@ -5,7 +5,7 @@ import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
6
6
  import { t as assertInstanceOf } from "../assert_instance_of-mrXWWNY-.mjs";
7
7
  import { t as assert } from "../assert-D1Eafmd_.mjs";
8
- import { b as autoIdAssigner, n as FederationImpl, y as actorDehydrator } from "../middleware-BsYD_ufs.mjs";
8
+ import { b as autoIdAssigner, n as FederationImpl, y as actorDehydrator } from "../middleware-C7_hqDnl.mjs";
9
9
  import { Follow, Person } from "@fedify/vocab";
10
10
  import { test } from "@fedify/fixture";
11
11
  //#region src/compat/transformers.test.ts
@@ -1,7 +1,7 @@
1
1
  import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { i as verifyMapLocalProof, s as verifyPortableObjectProofPolicy } from "./proof-4ADU3qy0.mjs";
4
+ import { i as verifyMapLocalProof, s as verifyPortableObjectProofPolicy } from "./proof-BVxJu5vv.mjs";
5
5
  //#region src/sig/compound-proof.ts
6
6
  const textEncoder = new TextEncoder();
7
7
  const PORTABLE_OBJECT_ID_PATTERN = /^ap(?:\+ef61)?:\/\//i;
@@ -349,6 +349,78 @@ function inspectCompoundPortableObjectApplicability(json, limits) {
349
349
  return "absent";
350
350
  }
351
351
  /**
352
+ * Walks every JSON map in a finite, already-materialized JSON tree, depth
353
+ * first in insertion order, skipping the values of `proof` and `@context`
354
+ * members. A map reached a second time through a repeated reference is not
355
+ * visited again, so a cyclic input terminates. The walk stops as soon as
356
+ * the visitor returns a value other than `undefined`.
357
+ */
358
+ function findInJsonMaps(json, visit) {
359
+ const seen = /* @__PURE__ */ new Set();
360
+ const pending = [{
361
+ value: json,
362
+ path: ""
363
+ }];
364
+ while (pending.length > 0) {
365
+ const { value, path } = pending.pop();
366
+ if (typeof value !== "object" || value == null || seen.has(value)) continue;
367
+ seen.add(value);
368
+ if (Array.isArray(value)) {
369
+ for (let index = value.length - 1; index >= 0; index--) pending.push({
370
+ value: value[index],
371
+ path: childPath(path, String(index))
372
+ });
373
+ continue;
374
+ }
375
+ const map = value;
376
+ const result = visit(map, path);
377
+ if (result !== void 0) return result;
378
+ const keys = Object.keys(map);
379
+ for (let index = keys.length - 1; index >= 0; index--) {
380
+ const key = keys[index];
381
+ if (key === "proof" || key === "@context") continue;
382
+ pending.push({
383
+ value: map[key],
384
+ path: childPath(path, key)
385
+ });
386
+ }
387
+ }
388
+ }
389
+ /**
390
+ * Determines whether an outgoing JSON tree contains portable content that
391
+ * requires producer-side proof-shape checks: a map, outside proof and context
392
+ * values, whose direct `id` or `@id` is a portable ActivityPub URI.
393
+ *
394
+ * This deliberately differs from
395
+ * {@link inspectCompoundPortableObjectApplicability}: it applies no resource
396
+ * limits, so a portable map or an unsupported proof beyond the inbox limits
397
+ * is still found, and a large document without portable maps stays outside
398
+ * the compound-proof profile. The input must be a finite JSON tree that has
399
+ * already been materialized, such as a compact JSON-LD document about to be
400
+ * sent.
401
+ *
402
+ * @internal
403
+ */
404
+ function containsCompoundPortableObject(json) {
405
+ return findInJsonMaps(json, (map) => [map.id, map["@id"]].some((id) => typeof id === "string" && PORTABLE_OBJECT_ID_PATTERN.test(id)) ? true : void 0) ?? false;
406
+ }
407
+ /**
408
+ * Finds the first direct `proof` member whose value the map-local
409
+ * compound-proof profile does not accept, i.e., anything other than a single
410
+ * JSON map: a proof set, `null`, or a scalar. Like the inbox discovery, it
411
+ * does not look inside proof or context values.
412
+ *
413
+ * The input must be a finite, already-materialized JSON tree; see
414
+ * {@link containsCompoundPortableObject}.
415
+ *
416
+ * @returns The RFC 6901 JSON Pointer to the unsupported `proof` member, or
417
+ * `null` if every direct proof is a single JSON map.
418
+ * @internal
419
+ */
420
+ function findUnsupportedCompoundProofShape(json) {
421
+ return findInJsonMaps(json, (map, path) => Object.hasOwn(map, "proof") && !isJsonMap(map.proof) ? childPath(path, "proof") : void 0) ?? null;
422
+ }
423
+ /**
352
424
  * Discovers direct literal proof-bearing maps in an immutable JSON snapshot.
353
425
  *
354
426
  * Discovery is bounded and atomic. Unsupported proof shapes, non-JSON input,
@@ -492,4 +564,4 @@ async function verifyCompoundPortableObjectProofs(json, limits, options = {}) {
492
564
  };
493
565
  }
494
566
  //#endregion
495
- export { verifyCompoundProofDocuments as i, inspectCompoundPortableObjectApplicability as n, verifyCompoundPortableObjectProofs as r, discoverCompoundProofDocuments as t };
567
+ export { verifyCompoundPortableObjectProofs as a, inspectCompoundPortableObjectApplicability as i, discoverCompoundProofDocuments as n, verifyCompoundProofDocuments as o, findUnsupportedCompoundProofShape as r, containsCompoundPortableObject as t };
@@ -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.4.0-dev.2027+fcf88bfc";
6
+ var version = "2.4.0-dev.2030+e6b3de3d";
7
7
  //#endregion
8
8
  export { version as n, name as t };
@@ -1,8 +1,8 @@
1
1
  import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { s as validateCryptoKey } from "./key-Xb1hVVZO.mjs";
5
- import { n as doubleKnock } from "./http-fIK5D83n.mjs";
4
+ import { s as validateCryptoKey } from "./key-B_Zc5Jbd.mjs";
5
+ import { n as doubleKnock } from "./http-D4WPcJUe.mjs";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { curry } from "es-toolkit";
8
8
  import { UrlError, createActivityPubRequest, getRemoteDocument, logRequest, validatePublicUrl } from "@fedify/vocab-runtime";
@@ -6,7 +6,7 @@ import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
6
6
  import { t as assertExists } from "../assert_exists-cffSpJ7X.mjs";
7
7
  import { t as assertThrows } from "../assert_throws-BYITOvPO.mjs";
8
8
  import "../std__assert-DvMDRPes.mjs";
9
- import { r as createFederationBuilder } from "../builder-BM255b90.mjs";
9
+ import { r as createFederationBuilder } from "../builder-BYJ5otJa.mjs";
10
10
  import { DisallowedOperatorError, DisallowedVarSpecModifierError, DuplicateRouteVariableError, RouteTemplateOptionsNotMatchedError, RouterError } from "@fedify/uri-template";
11
11
  import { Activity, Note, Person } from "@fedify/vocab";
12
12
  import { test } from "@fedify/fixture";
@@ -6,11 +6,11 @@ import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
7
7
  import "../std__assert-DvMDRPes.mjs";
8
8
  import { t as assert } from "../assert-D1Eafmd_.mjs";
9
- import { t as exportJwk } from "../key-Xb1hVVZO.mjs";
9
+ import { t as exportJwk } from "../key-B_Zc5Jbd.mjs";
10
10
  import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2 } from "../keys-DIJNHW-Y.mjs";
11
11
  import { r as normalizeOutgoingActivityJsonLd } from "../outgoing-jsonld-4IJqPYos.mjs";
12
- import { n as FederationImpl } from "../middleware-BsYD_ufs.mjs";
13
- import { c as verifyProof, r as signObject } from "../proof-4ADU3qy0.mjs";
12
+ import { n as FederationImpl } from "../middleware-C7_hqDnl.mjs";
13
+ import { c as verifyProof, r as signObject } from "../proof-BVxJu5vv.mjs";
14
14
  import { Create, DataIntegrityProof, Note } from "@fedify/vocab";
15
15
  import { mockDocumentLoader, test } from "@fedify/fixture";
16
16
  import { exportDidKey, parseIri } from "@fedify/vocab-runtime";
@@ -5,10 +5,10 @@ import { r as createRequestContext, t as createInboxContext } from "../context-C
5
5
  import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
7
7
  import "../std__assert-DvMDRPes.mjs";
8
- import { s as signRequest } from "../http-fIK5D83n.mjs";
8
+ import { s as signRequest } from "../http-D4WPcJUe.mjs";
9
9
  import { a as rsaPrivateKey3, c as rsaPublicKey3 } from "../keys-DIJNHW-Y.mjs";
10
- import { d as handleInbox, o as createFederation } from "../middleware-BsYD_ufs.mjs";
11
- import { p as signJsonLd } from "../ld-DFHvxLtx.mjs";
10
+ import { d as handleInbox, o as createFederation } from "../middleware-C7_hqDnl.mjs";
11
+ import { p as signJsonLd } from "../ld-B16KUSIQ.mjs";
12
12
  import { t as ActivityListenerSet } from "../activity-listener-C-BSbKI7.mjs";
13
13
  import { t as map_local_create_note_default } from "../map-local-create-note-B0SeXJms.mjs";
14
14
  import { Create } from "@fedify/vocab";
@@ -10,12 +10,12 @@ import "../std__assert-DvMDRPes.mjs";
10
10
  import { t as assertRejects } from "../assert_rejects-CTptdYck.mjs";
11
11
  import { t as assert } from "../assert-D1Eafmd_.mjs";
12
12
  import { r as parseAcceptSignature } from "../accept-CPVqki78.mjs";
13
- import { a as generateCryptoKeyPair } from "../key-Xb1hVVZO.mjs";
14
- import { s as signRequest } from "../http-fIK5D83n.mjs";
13
+ import { a as generateCryptoKeyPair } from "../key-B_Zc5Jbd.mjs";
14
+ import { s as signRequest } from "../http-D4WPcJUe.mjs";
15
15
  import { a as rsaPrivateKey3, c as rsaPublicKey3, s as rsaPublicKey2 } from "../keys-DIJNHW-Y.mjs";
16
- import { c as handleActor, d as handleInbox, f as handleObject, h as respondWithObjectIfAcceptable, l as handleCollection, m as respondWithObject, o as createFederation, p as handleOutbox, u as handleCustomCollection } from "../middleware-BsYD_ufs.mjs";
17
- import { a as compactJsonLd, p as signJsonLd } from "../ld-DFHvxLtx.mjs";
18
- import { r as signObject } from "../proof-4ADU3qy0.mjs";
16
+ import { c as handleActor, d as handleInbox, f as handleObject, h as respondWithObjectIfAcceptable, l as handleCollection, m as respondWithObject, o as createFederation, p as handleOutbox, u as handleCustomCollection } from "../middleware-C7_hqDnl.mjs";
17
+ import { a as compactJsonLd, p as signJsonLd } from "../ld-B16KUSIQ.mjs";
18
+ import { r as signObject } from "../proof-BVxJu5vv.mjs";
19
19
  import { t as ActivityListenerSet } from "../activity-listener-C-BSbKI7.mjs";
20
20
  import { Activity, Create, CryptographicKey, Multikey, Note, Person, Tombstone } from "@fedify/vocab";
21
21
  import { createTestMeterProvider, createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
@@ -5,8 +5,8 @@ import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
6
6
  import "../std__assert-DvMDRPes.mjs";
7
7
  import { n as ed25519PrivateKey, r as ed25519PublicKey, t as ed25519Multikey } from "../keys-DIJNHW-Y.mjs";
8
- import { o as createFederation } from "../middleware-BsYD_ufs.mjs";
9
- import { r as signObject } from "../proof-4ADU3qy0.mjs";
8
+ import { o as createFederation } from "../middleware-C7_hqDnl.mjs";
9
+ import { r as signObject } from "../proof-BVxJu5vv.mjs";
10
10
  import { Create, Follow, Person } from "@fedify/vocab";
11
11
  import { mockDocumentLoader, test } from "@fedify/fixture";
12
12
  //#region src/federation/idempotency.test.ts
@@ -4,7 +4,7 @@ globalThis.addEventListener = () => {};
4
4
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
5
5
  import "../std__assert-DvMDRPes.mjs";
6
6
  import { t as assertRejects } from "../assert_rejects-CTptdYck.mjs";
7
- import { _ as recordKeyLookup, a as instrumentDocumentLoader, b as recordWebFingerHandle, c as recordCircuitBreakerStateChange, d as recordCollectionRequest, f as recordCollectionTotalItems, g as recordInboxActivity, h as recordFanoutRecipients, i as getRemoteHost, l as recordCollectionDispatchDuration, m as recordDocumentFetch, p as recordDocumentCache, r as getFederationMetrics, t as classifyFetchError, u as recordCollectionPageItems, v as recordOutboxActivity, x as registerQueueDepthGauge, y as recordOutboxEnqueue } from "../metrics-D7RydU_p.mjs";
7
+ import { _ as recordKeyLookup, a as instrumentDocumentLoader, b as recordWebFingerHandle, c as recordCircuitBreakerStateChange, d as recordCollectionRequest, f as recordCollectionTotalItems, g as recordInboxActivity, h as recordFanoutRecipients, i as getRemoteHost, l as recordCollectionDispatchDuration, m as recordDocumentFetch, p as recordDocumentCache, r as getFederationMetrics, t as classifyFetchError, u as recordCollectionPageItems, v as recordOutboxActivity, x as registerQueueDepthGauge, y as recordOutboxEnqueue } from "../metrics-DpQqUAmh.mjs";
8
8
  import { createTestMeterProvider, test } from "@fedify/fixture";
9
9
  import { FetchError } from "@fedify/vocab-runtime";
10
10
  import { DataPointType, MeterProvider, MetricReader } from "@opentelemetry/sdk-metrics";
@@ -16,14 +16,14 @@ import "../std__assert-DvMDRPes.mjs";
16
16
  import { t as assertRejects } from "../assert_rejects-CTptdYck.mjs";
17
17
  import { t as assertStrictEquals } from "../assert_strict_equals-CYvBmkpC.mjs";
18
18
  import { t as assert } from "../assert-D1Eafmd_.mjs";
19
- import { g as recordInboxActivity } from "../metrics-D7RydU_p.mjs";
20
- import { l as verifyRequest, s as signRequest } from "../http-fIK5D83n.mjs";
19
+ import { g as recordInboxActivity } from "../metrics-DpQqUAmh.mjs";
20
+ import { l as verifyRequest, s as signRequest } from "../http-D4WPcJUe.mjs";
21
21
  import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DIJNHW-Y.mjs";
22
- import { t as getAuthenticatedDocumentLoader } from "../docloader-iHi0-9mK.mjs";
23
- import { g as handleBenchmarkTrigger, i as KvSpecDeterminer, n as FederationImpl, o as createFederation, r as InboxContextImpl, t as ContextImpl } from "../middleware-BsYD_ufs.mjs";
24
- import { a as compactJsonLd, h as verifyJsonLd, p as signJsonLd, s as detachSignature } from "../ld-DFHvxLtx.mjs";
25
- import { t as doesActorOwnKey } from "../owner-D53bUI-n.mjs";
26
- import { a as verifyObject, r as signObject } from "../proof-4ADU3qy0.mjs";
22
+ import { t as getAuthenticatedDocumentLoader } from "../docloader-qUudHZVH.mjs";
23
+ import { g as handleBenchmarkTrigger, i as KvSpecDeterminer, n as FederationImpl, o as createFederation, r as InboxContextImpl, t as ContextImpl } from "../middleware-C7_hqDnl.mjs";
24
+ import { a as compactJsonLd, h as verifyJsonLd, p as signJsonLd, s as detachSignature } from "../ld-B16KUSIQ.mjs";
25
+ import { t as doesActorOwnKey } from "../owner-BIOIhZoM.mjs";
26
+ import { a as verifyObject, r as signObject } from "../proof-BVxJu5vv.mjs";
27
27
  import { t as CircuitBreaker } from "../circuit-breaker-C5NqoLBJ.mjs";
28
28
  import { t as TaskCodec } from "../codec-C6rTrpIp.mjs";
29
29
  import { t as markCircuitBreakerLegacySweepDone } from "../circuit-breaker-test-utils-DW6YC_Pe.mjs";
@@ -1,6 +1,6 @@
1
1
  const { URLPattern } = require("urlpattern-polyfill");
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_federation = require("../federation-C0ijTwhx.cjs");
3
+ const require_federation = require("../federation-CTnaljmy.cjs");
4
4
  exports.CircuitBreaker = require_federation.CircuitBreaker;
5
5
  exports.InProcessMessageQueue = require_federation.InProcessMessageQueue;
6
6
  exports.MemoryKvStore = require_federation.MemoryKvStore;
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { a as respondWithObject, c as digest, d as parseCircuitBreakerKvState, f as createFederationBuilder, i as SendActivityError, l as CircuitBreaker, n as handleWebFinger, o as respondWithObjectIfAcceptable, r as createExponentialBackoffPolicy, s as buildCollectionSynchronizationHeader, t as createFederation, u as normalizeCircuitBreakerOptions } from "../middleware-iffqYoTV.js";
3
+ import { a as respondWithObject, c as digest, d as parseCircuitBreakerKvState, f as createFederationBuilder, i as SendActivityError, l as CircuitBreaker, n as handleWebFinger, o as respondWithObjectIfAcceptable, r as createExponentialBackoffPolicy, s as buildCollectionSynchronizationHeader, t as createFederation, u as normalizeCircuitBreakerOptions } from "../middleware-Cxto6Bq2.js";
4
4
  import { getLogger } from "@logtape/logtape";
5
5
  import { Router as Router$1, RouterError as RouterError$1, assertPath, isPath } from "@fedify/uri-template";
6
6
  import { isEqual } from "es-toolkit";
@@ -0,0 +1,2 @@
1
+ import { Temporal } from "temporal-polyfill";
2
+ import { URLPattern } from "urlpattern-polyfill";