@fedify/fedify 2.5.0-dev.2619 → 2.5.0-dev.2687

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 (122) hide show
  1. package/README.md +1 -1
  2. package/dist/{builder-Dlad1NzZ.mjs → builder-D1FP_5nQ.mjs} +2 -2
  3. package/dist/compat/mod.d.cts +1 -1
  4. package/dist/compat/mod.d.ts +1 -1
  5. package/dist/compat/transformers.test.mjs +1 -1
  6. package/dist/{compound-proof-BPor5rpc.mjs → compound-proof-DSHhnOEW.mjs} +4 -4
  7. package/dist/{context-xrqq4Hrq.d.ts → context-CuLvR1Os.d.ts} +2 -2
  8. package/dist/{context-A-Nde3u-.mjs → context-LgGFFSz7.mjs} +1 -1
  9. package/dist/{context-C1NqcIct.d.cts → context-apq0IBg2.d.cts} +2 -2
  10. package/dist/{deno-DhOes0kL.mjs → deno-C50ikGBU.mjs} +1 -1
  11. package/dist/{dist-DJQM4u7i.mjs → dist-_geWsuaI.mjs} +1 -1
  12. package/dist/{docloader-BLKe4L-U.mjs → docloader-BY-SEID0.mjs} +2 -2
  13. package/dist/federation/builder.test.mjs +1 -1
  14. package/dist/federation/compound-fanout.test.mjs +5 -5
  15. package/dist/federation/handler-compound-proof.test.mjs +4 -4
  16. package/dist/federation/handler.test.mjs +5 -5
  17. package/dist/federation/hashlink-media.test.mjs +2 -2
  18. package/dist/federation/idempotency.test.mjs +2 -2
  19. package/dist/federation/inbox-actorless.test.mjs +5 -5
  20. package/dist/federation/inbox-report.test.mjs +5 -5
  21. package/dist/federation/inbox-view.test.mjs +1 -1
  22. package/dist/federation/inbox.test.mjs +1 -1
  23. package/dist/federation/metrics.test.mjs +1 -1
  24. package/dist/federation/middleware.test.mjs +16 -13
  25. package/dist/federation/mod.cjs +1 -1
  26. package/dist/federation/mod.d.cts +3 -3
  27. package/dist/federation/mod.d.ts +3 -3
  28. package/dist/federation/mod.js +1 -1
  29. package/dist/federation/mq.test.mjs +1 -1
  30. package/dist/federation/negotiation.test.mjs +1 -1
  31. package/dist/federation/outbound-capture.test.mjs +1 -1
  32. package/dist/federation/outbound-dispatch.test.mjs +1 -1
  33. package/dist/federation/outbound-document.test.mjs +1 -1
  34. package/dist/federation/outbound-provenance.test.mjs +2 -2
  35. package/dist/federation/outbound-report.test.mjs +5 -5
  36. package/dist/federation/outbound-workflow.test.mjs +1 -1
  37. package/dist/federation/outgoing-proof.test.mjs +7 -7
  38. package/dist/federation/portable-actor.test.mjs +3 -3
  39. package/dist/federation/portable-chain.test.mjs +3 -3
  40. package/dist/federation/portable-collection.test.mjs +5 -5
  41. package/dist/federation/portable-delivery.test.mjs +2 -2
  42. package/dist/federation/portable-gateway-keys.test.mjs +6 -6
  43. package/dist/federation/portable-inbox.test.mjs +4 -4
  44. package/dist/federation/portable-parse-uri.test.mjs +1 -1
  45. package/dist/federation/portable-route-activity.test.mjs +2 -2
  46. package/dist/federation/portable.test.mjs +3 -3
  47. package/dist/federation/send.test.mjs +4 -4
  48. package/dist/federation/tasks/enqueue.test.mjs +3 -3
  49. package/dist/federation/tasks/tasks.test.mjs +4 -4
  50. package/dist/federation/temporal.test.mjs +1 -1
  51. package/dist/federation/webfinger.test.mjs +2 -2
  52. package/dist/{federation-C7hr1d70.cjs → federation-pFFwPyoZ.cjs} +15 -11
  53. package/dist/{http-Dl2oG-DY.mjs → http-BXbQQZDM.mjs} +4 -4
  54. package/dist/{http-DJ0rqMZp.cjs → http-CXX-QPzs.cjs} +2 -2
  55. package/dist/{http-DdL5DIEg.js → http-T7h9GBAN.js} +2 -2
  56. package/dist/{inbox-CnD0d-M3.mjs → inbox-cS97XzOD.mjs} +2 -2
  57. package/dist/{inbox-view-DE-qXPd4.mjs → inbox-view-D-d0Ar6o.mjs} +1 -1
  58. package/dist/{key-dwwAg5bA.d.ts → key-BZw-YiK5.d.ts} +2 -2
  59. package/dist/{key-DlHT4R6k.d.cts → key-D5fbQkKM.d.cts} +2 -2
  60. package/dist/{kv-cache-DY6N3JNe.cjs → kv-cache-C6XX_fwz.cjs} +1 -1
  61. package/dist/{kv-cache-C35JVxTl.js → kv-cache-EFcb1kkU.js} +1 -1
  62. package/dist/{kv-cache-2qRQ6ul-.mjs → kv-cache-fgbLHGVL.mjs} +1 -1
  63. package/dist/{ld-rNrQkbOP.mjs → ld-BpkhkDGj.mjs} +3 -3
  64. package/dist/{ld-CWVpo_NM.d.cts → ld-DEi9ERHf.d.cts} +1 -1
  65. package/dist/{ld-o4LnhCYY.d.ts → ld-DlC78ioJ.d.ts} +1 -1
  66. package/dist/{metrics-M-q8sKlg.mjs → metrics-Uqf8GomB.mjs} +1 -1
  67. package/dist/{middleware-DwSDtJqA.js → middleware-Bj91r7r2.js} +15 -11
  68. package/dist/{middleware-DTtxkZcU.mjs → middleware-DcXzz-YK.mjs} +25 -21
  69. package/dist/{middleware-B6SGVMRh.mjs → middleware-DgwZkvJR.mjs} +1 -1
  70. package/dist/{mod-D22ZsiKi.d.ts → mod-BJRtsw7l.d.ts} +1 -1
  71. package/dist/{mod-C1nT74IG.d.cts → mod-BamwZjJx.d.cts} +1 -1
  72. package/dist/{mod-DO0epJGH.d.ts → mod-BkTi19dI.d.ts} +1 -1
  73. package/dist/{mod-CQC9xlLZ.d.ts → mod-CMtF0VVy.d.ts} +1 -1
  74. package/dist/{mod-YvA4Rk8J.d.cts → mod-D2Z9MiCm.d.cts} +1 -1
  75. package/dist/{mod-TwiQgEf3.d.cts → mod-DB2NOzQF.d.cts} +1 -1
  76. package/dist/mod.cjs +4 -4
  77. package/dist/mod.d.cts +6 -6
  78. package/dist/mod.d.ts +6 -6
  79. package/dist/mod.js +4 -4
  80. package/dist/{negotiation-CCocWT_N.mjs → negotiation-BAKO9nih.mjs} +1 -1
  81. package/dist/nodeinfo/handler.test.mjs +2 -2
  82. package/dist/{owner-DXBLhiOp.mjs → owner-BVenIFg1.mjs} +3 -3
  83. package/dist/{portable-collection-uvJgxij0.cjs → portable-collection-BOl9oKrt.cjs} +1 -1
  84. package/dist/{portable-collection-Bdm4GVrg.mjs → portable-collection-DIk9gpjL.mjs} +2 -2
  85. package/dist/{portable-collection-BIU6ofW8.js → portable-collection-Do5QA2oy.js} +1 -1
  86. package/dist/{portable-key-BWWlhf-H.mjs → portable-key-C7pVaHNR.mjs} +1 -1
  87. package/dist/{proof-D0_8PUaM.mjs → proof-BlfZ95--.mjs} +3 -3
  88. package/dist/{send-B5Q2gFPx.mjs → send-DEGHPGFk.mjs} +3 -3
  89. package/dist/sig/compound-proof-discovery.test.mjs +1 -1
  90. package/dist/sig/compound-proof-producer.test.mjs +1 -1
  91. package/dist/sig/compound-proof-verification.test.mjs +2 -2
  92. package/dist/sig/compound-proof.test.mjs +2 -2
  93. package/dist/sig/http.test.mjs +3 -3
  94. package/dist/sig/key.test.mjs +1 -1
  95. package/dist/sig/ld.test.mjs +1 -1
  96. package/dist/sig/mitra-receive-interop.test.mjs +4 -4
  97. package/dist/sig/mitra-send-interop.test.mjs +3 -3
  98. package/dist/sig/mod.cjs +2 -2
  99. package/dist/sig/mod.d.cts +3 -3
  100. package/dist/sig/mod.d.ts +3 -3
  101. package/dist/sig/mod.js +2 -2
  102. package/dist/sig/owner.test.mjs +1 -1
  103. package/dist/sig/portable-collection.test.mjs +1 -1
  104. package/dist/sig/portable-interop.test.mjs +3 -3
  105. package/dist/sig/portable-key.test.mjs +5 -5
  106. package/dist/sig/proof.test.mjs +3 -3
  107. package/dist/sig/tootik-request-interop.test.mjs +4 -4
  108. package/dist/sig/tootik-send-interop.test.mjs +3 -3
  109. package/dist/sig/verification.test.mjs +3 -3
  110. package/dist/{tasks-IG3pHfvZ.mjs → tasks-BCUmQbbz.mjs} +1 -1
  111. package/dist/{temporal-T_o6VW2J.mjs → temporal-B4oQ8HpW.mjs} +1 -1
  112. package/dist/testing/context.test.mjs +1 -1
  113. package/dist/testing/kv.test.mjs +3 -3
  114. package/dist/testing/mod.mjs +4 -4
  115. package/dist/{testing-_9kJHvqh.mjs → testing-vrnD5Uaa.mjs} +3 -3
  116. package/dist/utils/docloader.test.mjs +3 -3
  117. package/dist/utils/kv-cache.test.mjs +1 -1
  118. package/dist/utils/mod.cjs +1 -1
  119. package/dist/utils/mod.d.cts +1 -1
  120. package/dist/utils/mod.d.ts +1 -1
  121. package/dist/utils/mod.js +1 -1
  122. package/package.json +7 -7
package/README.md CHANGED
@@ -232,8 +232,8 @@ financial contributors:[^2]
232
232
 
233
233
  ### Supporters
234
234
 
235
- - [Blaine](https://opencollective.com/blaine)
236
235
  - [tkgka](https://opencollective.com/tkgka)
236
+ - [Blaine](https://opencollective.com/blaine)
237
237
  - [Erick González Aguilar](https://opencollective.com/erick-gonzalez-aguilar)
238
238
  - [Daniel Supernault](https://pixelfed.org/)
239
239
 
@@ -2,7 +2,7 @@ import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { i as getPortableDid, l as isPortableId, n as getCanonicalPortableId } from "./portable-key-id-Ca30-hOa.mjs";
5
- import { n as version, t as name } from "./deno-DhOes0kL.mjs";
5
+ import { n as version, t as name } from "./deno-C50ikGBU.mjs";
6
6
  import { n as snapshotSenderPayloadOption } from "./outbound-document-BMgwLXTY.mjs";
7
7
  import { n as snapshotBodyCapture } from "./outbound-capture-DVgnRzlf.mjs";
8
8
  import { t as ActivityListenerSet } from "./activity-listener-CELFAodc.mjs";
@@ -156,7 +156,7 @@ var FederationBuilderImpl = class {
156
156
  * specified.
157
157
  */
158
158
  async build(options) {
159
- const { FederationImpl } = await import("./middleware-B6SGVMRh.mjs");
159
+ const { FederationImpl } = await import("./middleware-DgwZkvJR.mjs");
160
160
  const f = new FederationImpl(options);
161
161
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
162
162
  f.router = this.router.clone();
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { in as ActivityTransformer, n as Context } from "../context-C1NqcIct.cjs";
2
+ import { in as ActivityTransformer, n as Context } from "../context-apq0IBg2.cjs";
3
3
  import { Activity } from "@fedify/vocab";
4
4
 
5
5
  //#region src/compat/transformers.d.ts
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { in as ActivityTransformer, n as Context } from "../context-xrqq4Hrq.js";
2
+ import { in as ActivityTransformer, n as Context } from "../context-CuLvR1Os.js";
3
3
  import { Activity } from "@fedify/vocab";
4
4
 
5
5
  //#region src/compat/transformers.d.ts
@@ -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 { O as actorDehydrator, k as autoIdAssigner, n as FederationImpl } from "../middleware-DTtxkZcU.mjs";
8
+ import { O as actorDehydrator, k as autoIdAssigner, n as FederationImpl } from "../middleware-DcXzz-YK.mjs";
9
9
  import { Follow, Person } from "@fedify/vocab";
10
10
  import { test } from "@fedify/fixture";
11
11
  //#region src/compat/transformers.test.ts
@@ -3,9 +3,9 @@ import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { a as getRawCanonicalPortableId, l as isPortableId, n as getCanonicalPortableId } from "./portable-key-id-Ca30-hOa.mjs";
5
5
  import { a as verificationObservation, t as observeAttempt } from "./verification-Dpfcw8ml.mjs";
6
- import { c as getNormalizationContextLoader } from "./ld-rNrQkbOP.mjs";
6
+ import { c as getNormalizationContextLoader } from "./ld-BpkhkDGj.mjs";
7
7
  import { n as preloadedOnlyDocumentLoader } from "./public-audience--klBIOk1.mjs";
8
- import { c as verifyMapLocalProof, f as verifyPortableObjectProofPolicy, m as verifyPreparedPortableObjectProofPolicy, n as classifyFep2277CoreType, o as preparePortableObjectProofPolicy } from "./proof-D0_8PUaM.mjs";
8
+ import { c as verifyMapLocalProof, f as verifyPortableObjectProofPolicy, m as verifyPreparedPortableObjectProofPolicy, n as classifyFep2277CoreType, o as preparePortableObjectProofPolicy } from "./proof-BlfZ95--.mjs";
9
9
  import { parseIri, preloadedContexts } from "@fedify/vocab-runtime";
10
10
  import jsonld from "@fedify/vocab-runtime/jsonld";
11
11
  //#region src/sig/compound-proof.ts
@@ -348,7 +348,7 @@ function inspectCompoundPortableObjectApplicability(json, limits) {
348
348
  if (mapCount > limits.maxMaps) return "indeterminate";
349
349
  if ([value.id, value["@id"]].some(isPortableIdValue)) return "present";
350
350
  if (!addByteLength(2)) return "indeterminate";
351
- const children = function* () {
351
+ const children = (function* () {
352
352
  let first = true;
353
353
  for (const key in value) {
354
354
  if (!Object.hasOwn(value, key)) continue;
@@ -358,7 +358,7 @@ function inspectCompoundPortableObjectApplicability(json, limits) {
358
358
  if (!addByteLength(encodedLength(JSON.stringify(key)) + 1)) return;
359
359
  yield value[key];
360
360
  }
361
- }();
361
+ })();
362
362
  pending.push({
363
363
  iterator: children,
364
364
  depth: frame.depth + 1
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { o as JsonValue, s as NodeInfo, t as GetNodeInfoOptions } from "./client-3InDZbba.js";
3
- import { _ as InboxVerificationKey, d as InboxProofPolicyFailureReason, h as InboxVerificationAttempt, w as VerifyRequestFailureReason, y as HttpMessageSignaturesSpec } from "./key-dwwAg5bA.js";
4
- import { m as GetKeyOwnerOptions, n as EffectiveContextLoaderPolicy } from "./ld-o4LnhCYY.js";
3
+ import { _ as InboxVerificationKey, d as InboxProofPolicyFailureReason, h as InboxVerificationAttempt, w as VerifyRequestFailureReason, y as HttpMessageSignaturesSpec } from "./key-BZw-YiK5.js";
4
+ import { m as GetKeyOwnerOptions, n as EffectiveContextLoaderPolicy } from "./ld-DlC78ioJ.js";
5
5
  import { n as KvStore, t as KvKey } from "./kv-B2mzK5tl.js";
6
6
  import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions, PortableObjectVerifier, RemoteDocument } from "@fedify/vocab-runtime";
7
7
  import { Router } from "@fedify/uri-template";
@@ -1,7 +1,7 @@
1
1
  import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { t as mockDocumentLoader } from "./dist-DJQM4u7i.mjs";
4
+ import { t as mockDocumentLoader } from "./dist-_geWsuaI.mjs";
5
5
  import { t as isInAudience } from "./audience-CHQ-FlLD.mjs";
6
6
  import { i as getEmptyAuthenticationEvidence } from "./inbox-authentication-CgonVRkg.mjs";
7
7
  import { RouterError } from "@fedify/uri-template";
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { o as JsonValue, s as NodeInfo, t as GetNodeInfoOptions } from "./client-3InDZbba.cjs";
3
- import { _ as InboxVerificationKey, d as InboxProofPolicyFailureReason, h as InboxVerificationAttempt, w as VerifyRequestFailureReason, y as HttpMessageSignaturesSpec } from "./key-DlHT4R6k.cjs";
4
- import { m as GetKeyOwnerOptions, n as EffectiveContextLoaderPolicy } from "./ld-CWVpo_NM.cjs";
3
+ import { _ as InboxVerificationKey, d as InboxProofPolicyFailureReason, h as InboxVerificationAttempt, w as VerifyRequestFailureReason, y as HttpMessageSignaturesSpec } from "./key-D5fbQkKM.cjs";
4
+ import { m as GetKeyOwnerOptions, n as EffectiveContextLoaderPolicy } from "./ld-DEi9ERHf.cjs";
5
5
  import { n as KvStore, t as KvKey } from "./kv-B2mzK5tl.cjs";
6
6
  import { Activity, Actor, Collection, CryptographicKey, Hashtag, Link, LookupObjectOptions, Multikey, Object as Object$1, Recipient, Tombstone, TraverseCollectionOptions } from "@fedify/vocab";
7
7
  import { AuthenticatedDocumentLoaderFactory, DocumentLoader, DocumentLoaderFactory, GetUserAgentOptions, PortableObjectVerifier, RemoteDocument } 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.5.0-dev.2619+88aa7efd";
6
+ var version = "2.5.0-dev.2687+924da5ce";
7
7
  //#endregion
8
8
  export { version as n, name as t };
@@ -181,7 +181,7 @@ function caller() {
181
181
  const Trace = Error;
182
182
  const _ = Trace.prepareStackTrace;
183
183
  Trace.prepareStackTrace = (_, stack) => stack;
184
- const { stack } = /* @__PURE__ */ new Error();
184
+ const { stack } = /* @__PURE__ */ new Error("capture stack");
185
185
  Trace.prepareStackTrace = _;
186
186
  return stack[2].getFileName().replaceAll("\\", "/");
187
187
  }
@@ -1,8 +1,8 @@
1
1
  import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { D as validateCryptoKey } from "./ld-rNrQkbOP.mjs";
5
- import { r as doubleKnockScoped } from "./http-Dl2oG-DY.mjs";
4
+ import { D as validateCryptoKey } from "./ld-BpkhkDGj.mjs";
5
+ import { r as doubleKnockScoped } from "./http-BXbQQZDM.mjs";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { FetchError, UrlError, createActivityPubRequest, getRemoteDocument, logRequest, resolveDocumentLoaderTimeout, withDocumentLoaderTimeout } from "@fedify/vocab-runtime";
8
8
  import { curry } from "es-toolkit";
@@ -7,7 +7,7 @@ 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
9
  import { t as assertStrictEquals } from "../assert_strict_equals-CYvBmkpC.mjs";
10
- import { r as createFederationBuilder } from "../builder-Dlad1NzZ.mjs";
10
+ import { r as createFederationBuilder } from "../builder-D1FP_5nQ.mjs";
11
11
  import { DisallowedOperatorError, DisallowedVarSpecModifierError, DuplicateRouteVariableError, RouteTemplateOptionsNotMatchedError, RouterError } from "@fedify/uri-template";
12
12
  import { Activity, Note, Person } from "@fedify/vocab";
13
13
  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 { x as exportJwk } from "../ld-rNrQkbOP.mjs";
9
+ import { x as exportJwk } from "../ld-BpkhkDGj.mjs";
10
10
  import { r as normalizeOutgoingActivityJsonLd } from "../outgoing-jsonld-4IJqPYos.mjs";
11
- import { h as verifyProof, s as signObject } from "../proof-D0_8PUaM.mjs";
11
+ import { h as verifyProof, s as signObject } from "../proof-BlfZ95--.mjs";
12
12
  import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2 } from "../keys-DIJNHW-Y.mjs";
13
- import { n as FederationImpl } from "../middleware-DTtxkZcU.mjs";
13
+ import { n as FederationImpl } from "../middleware-DcXzz-YK.mjs";
14
14
  import { Create, DataIntegrityProof, Note } from "@fedify/vocab";
15
15
  import { exportDidKey, parseIri } from "@fedify/vocab-runtime";
16
16
  import { mockDocumentLoader, test } from "@fedify/fixture";
@@ -150,7 +150,7 @@ test("forced fanout signs before serializing so the child survives", async () =>
150
150
  inboxId: new URL("https://example.com/inbox")
151
151
  }, activity, { fanout: "force" });
152
152
  assertEquals(queued.length, 1);
153
- for (let i = 0; i < queued.length; i++) await federation.processQueuedTask(void 0, queued[i]);
153
+ for (const message of queued) await federation.processQueuedTask(void 0, message);
154
154
  assert(delivered != null);
155
155
  const body = delivered;
156
156
  delete body.signature;
@@ -214,7 +214,7 @@ test("an already signed activity keeps its single proof through fanout", async (
214
214
  id: new URL("https://example.com/users/bob"),
215
215
  inboxId: new URL("https://example.com/inbox")
216
216
  }, activity, { fanout: "force" });
217
- for (let i = 0; i < queued.length; i++) await federation.processQueuedTask(void 0, queued[i]);
217
+ for (const message of queued) await federation.processQueuedTask(void 0, message);
218
218
  assert(delivered != null);
219
219
  const body = delivered;
220
220
  delete body.signature;
@@ -1,14 +1,14 @@
1
1
  import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { r as createRequestContext, t as createInboxContext } from "../context-A-Nde3u-.mjs";
4
+ import { r as createRequestContext, t as createInboxContext } from "../context-LgGFFSz7.mjs";
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 { a as compactJsonLd, h as verifyCompactJsonLd, m as signJsonLd } from "../ld-rNrQkbOP.mjs";
9
- import { u as signRequest } from "../http-Dl2oG-DY.mjs";
8
+ import { a as compactJsonLd, h as verifyCompactJsonLd, m as signJsonLd } from "../ld-BpkhkDGj.mjs";
9
+ import { u as signRequest } from "../http-BXbQQZDM.mjs";
10
10
  import { a as rsaPrivateKey3, c as rsaPublicKey3, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2 } from "../keys-DIJNHW-Y.mjs";
11
- import { f as handleInbox, o as createFederation } from "../middleware-DTtxkZcU.mjs";
11
+ import { f as handleInbox, o as createFederation } from "../middleware-DcXzz-YK.mjs";
12
12
  import { t as ActivityListenerSet } from "../activity-listener-CELFAodc.mjs";
13
13
  import { t as map_local_create_note_default } from "../map-local-create-note-B0SeXJms.mjs";
14
14
  import { Create, CryptographicKey, Multikey, Person, Update } from "@fedify/vocab";
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as createOutboxContext, r as createRequestContext, t as createInboxContext } from "../context-A-Nde3u-.mjs";
4
+ import { n as createOutboxContext, r as createRequestContext, t as createInboxContext } from "../context-LgGFFSz7.mjs";
5
5
  import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
7
7
  import { t as assertGreaterOrEqual } from "../assert_greater_or_equal-BlafOF4-.mjs";
@@ -11,11 +11,11 @@ import "../std__assert-DvMDRPes.mjs";
11
11
  import { t as assertRejects } from "../assert_rejects-CTptdYck.mjs";
12
12
  import { t as assert } from "../assert-D1Eafmd_.mjs";
13
13
  import { r as parseAcceptSignature } from "../accept-CPVqki78.mjs";
14
- import { T as generateCryptoKeyPair, a as compactJsonLd, m as signJsonLd } from "../ld-rNrQkbOP.mjs";
15
- import { s as signObject } from "../proof-D0_8PUaM.mjs";
16
- import { u as signRequest } from "../http-Dl2oG-DY.mjs";
14
+ import { T as generateCryptoKeyPair, a as compactJsonLd, m as signJsonLd } from "../ld-BpkhkDGj.mjs";
15
+ import { s as signObject } from "../proof-BlfZ95--.mjs";
16
+ import { u as signRequest } from "../http-BXbQQZDM.mjs";
17
17
  import { a as rsaPrivateKey3, c as rsaPublicKey3, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DIJNHW-Y.mjs";
18
- import { d as handleCustomCollection, f as handleInbox, g as respondWithObjectIfAcceptable, h as respondWithObject, l as handleActor, m as handleOutbox, o as createFederation, p as handleObject, u as handleCollection } from "../middleware-DTtxkZcU.mjs";
18
+ import { d as handleCustomCollection, f as handleInbox, g as respondWithObjectIfAcceptable, h as respondWithObject, l as handleActor, m as handleOutbox, o as createFederation, p as handleObject, u as handleCollection } from "../middleware-DcXzz-YK.mjs";
19
19
  import { t as ActivityListenerSet } from "../activity-listener-CELFAodc.mjs";
20
20
  import { t as FedifySpanExporter } from "../exporter-DVG68ozH.mjs";
21
21
  import { configure, getLogger, reset, withContext } from "@logtape/logtape";
@@ -10,8 +10,8 @@ import "../std__assert-DvMDRPes.mjs";
10
10
  import { t as assertStrictEquals } from "../assert_strict_equals-CYvBmkpC.mjs";
11
11
  import { t as assert } from "../assert-D1Eafmd_.mjs";
12
12
  import { r as ed25519PublicKey } from "../keys-DIJNHW-Y.mjs";
13
- import { r as createFederationBuilder } from "../builder-Dlad1NzZ.mjs";
14
- import { o as createFederation, x as parseHashlinkGatewayRequest } from "../middleware-DTtxkZcU.mjs";
13
+ import { r as createFederationBuilder } from "../builder-D1FP_5nQ.mjs";
14
+ import { o as createFederation, x as parseHashlinkGatewayRequest } from "../middleware-DcXzz-YK.mjs";
15
15
  import { n as RouterError } from "../router-u5O5KCQr.mjs";
16
16
  import { Note } from "@fedify/vocab";
17
17
  import { computeDigestMultibase, encodeMultibase, exportDidKey } from "@fedify/vocab-runtime";
@@ -4,9 +4,9 @@ globalThis.addEventListener = () => {};
4
4
  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
- import { s as signObject } from "../proof-D0_8PUaM.mjs";
7
+ import { s as signObject } from "../proof-BlfZ95--.mjs";
8
8
  import { n as ed25519PrivateKey, r as ed25519PublicKey, t as ed25519Multikey } from "../keys-DIJNHW-Y.mjs";
9
- import { o as createFederation } from "../middleware-DTtxkZcU.mjs";
9
+ import { o as createFederation } from "../middleware-DcXzz-YK.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
@@ -7,12 +7,12 @@ import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
7
7
  import { t as assertFalse } from "../assert_false-CPdRnc3E.mjs";
8
8
  import "../std__assert-DvMDRPes.mjs";
9
9
  import { t as assert } from "../assert-D1Eafmd_.mjs";
10
- import { m as signJsonLd } from "../ld-rNrQkbOP.mjs";
11
- import { s as signObject } from "../proof-D0_8PUaM.mjs";
12
- import { u as signRequest } from "../http-Dl2oG-DY.mjs";
10
+ import { m as signJsonLd } from "../ld-BpkhkDGj.mjs";
11
+ import { s as signObject } from "../proof-BlfZ95--.mjs";
12
+ import { u as signRequest } from "../http-BXbQQZDM.mjs";
13
13
  import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2 } from "../keys-DIJNHW-Y.mjs";
14
- import { o as createFederation } from "../middleware-DTtxkZcU.mjs";
15
- import { c as expandDocument } from "../inbox-view-DE-qXPd4.mjs";
14
+ import { o as createFederation } from "../middleware-DcXzz-YK.mjs";
15
+ import { c as expandDocument } from "../inbox-view-D-d0Ar6o.mjs";
16
16
  import { t as KvKeyCache } from "../keycache-N2opu4-3.mjs";
17
17
  import { Create, CryptographicKey, FeatureRequest, Person } from "@fedify/vocab";
18
18
  import { FetchError, encodeMultibase, preloadedContexts } from "@fedify/vocab-runtime";
@@ -2,12 +2,12 @@ import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
5
- import { m as signJsonLd } from "../ld-rNrQkbOP.mjs";
6
- import { s as signObject } from "../proof-D0_8PUaM.mjs";
7
- import { u as signRequest } from "../http-Dl2oG-DY.mjs";
5
+ import { m as signJsonLd } from "../ld-BpkhkDGj.mjs";
6
+ import { s as signObject } from "../proof-BlfZ95--.mjs";
7
+ import { u as signRequest } from "../http-BXbQQZDM.mjs";
8
8
  import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DIJNHW-Y.mjs";
9
- import { r as createFederationBuilder } from "../builder-Dlad1NzZ.mjs";
10
- import { o as createFederation, t as ContextImpl } from "../middleware-DTtxkZcU.mjs";
9
+ import { r as createFederationBuilder } from "../builder-D1FP_5nQ.mjs";
10
+ import { o as createFederation, t as ContextImpl } from "../middleware-DcXzz-YK.mjs";
11
11
  import { Create, Person } from "@fedify/vocab";
12
12
  import { exportDidKey, parseIri } from "@fedify/vocab-runtime";
13
13
  import { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
@@ -6,7 +6,7 @@ import { t as assertFalse } from "../assert_false-CPdRnc3E.mjs";
6
6
  import "../std__assert-DvMDRPes.mjs";
7
7
  import { t as assertRejects } from "../assert_rejects-CTptdYck.mjs";
8
8
  import { t as assert } from "../assert-D1Eafmd_.mjs";
9
- import { a as createSnapshotOnlyLoader, c as expandDocument, f as restoreVerifiedActivityView, i as createReleasableLoader, l as getActorPresence, n as buildVerifiedActivityView, p as serializeContextSnapshot, r as createContextSnapshot, s as deserializeContextSnapshot, t as ContextSnapshotMissError, u as getPropertyValues } from "../inbox-view-DE-qXPd4.mjs";
9
+ import { a as createSnapshotOnlyLoader, c as expandDocument, f as restoreVerifiedActivityView, i as createReleasableLoader, l as getActorPresence, n as buildVerifiedActivityView, p as serializeContextSnapshot, r as createContextSnapshot, s as deserializeContextSnapshot, t as ContextSnapshotMissError, u as getPropertyValues } from "../inbox-view-D-d0Ar6o.mjs";
10
10
  import { getDocumentLoader, preloadedContexts } from "@fedify/vocab-runtime";
11
11
  import { test } from "@fedify/fixture";
12
12
  //#region src/federation/inbox-view.test.ts
@@ -4,7 +4,7 @@ globalThis.addEventListener = () => {};
4
4
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
5
5
  import { t as assertFalse } from "../assert_false-CPdRnc3E.mjs";
6
6
  import { t as assertThrows } from "../assert_throws-BYITOvPO.mjs";
7
- import { t as actorsHaveSameOrigin } from "../inbox-CnD0d-M3.mjs";
7
+ import { t as actorsHaveSameOrigin } from "../inbox-cS97XzOD.mjs";
8
8
  import { t as ActivityListenerSet } from "../activity-listener-CELFAodc.mjs";
9
9
  import { Activity, Create, Invite, Offer, Update } from "@fedify/vocab";
10
10
  import { parseIri } from "@fedify/vocab-runtime";
@@ -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-M-q8sKlg.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-Uqf8GomB.mjs";
8
8
  import { FetchError } from "@fedify/vocab-runtime";
9
9
  import { createTestMeterProvider, test } from "@fedify/fixture";
10
10
  import { DataPointType, MeterProvider, MetricReader } from "@opentelemetry/sdk-metrics";
@@ -4,8 +4,8 @@ globalThis.addEventListener = () => {};
4
4
  import { t as esm_default } from "../esm-BHXXx4Wx.mjs";
5
5
  import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
6
6
  import { t as ManualClockKvStore } from "../kv-DBRWVx3Q.mjs";
7
- import { a as numberSchema, r as envelopeSchema, t as MockQueue } from "../tasks-IG3pHfvZ.mjs";
8
- import "../testing-_9kJHvqh.mjs";
7
+ import { a as numberSchema, r as envelopeSchema, t as MockQueue } from "../tasks-BCUmQbbz.mjs";
8
+ import "../testing-vrnD5Uaa.mjs";
9
9
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
10
10
  import { t as assertExists } from "../assert_exists-cffSpJ7X.mjs";
11
11
  import { t as assertFalse } from "../assert_false-CPdRnc3E.mjs";
@@ -16,18 +16,18 @@ 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-M-q8sKlg.mjs";
20
- import { _ as verifyJsonLd, a as compactJsonLd, m as signJsonLd, s as detachSignature } from "../ld-rNrQkbOP.mjs";
21
- import { l as verifyObject, s as signObject } from "../proof-D0_8PUaM.mjs";
22
- import { p as verifyRequest, u as signRequest } from "../http-Dl2oG-DY.mjs";
19
+ import { g as recordInboxActivity } from "../metrics-Uqf8GomB.mjs";
20
+ import { _ as verifyJsonLd, a as compactJsonLd, m as signJsonLd, s as detachSignature } from "../ld-BpkhkDGj.mjs";
21
+ import { l as verifyObject, s as signObject } from "../proof-BlfZ95--.mjs";
22
+ import { p as verifyRequest, u as signRequest } from "../http-BXbQQZDM.mjs";
23
23
  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";
24
- import { n as getAuthenticatedDocumentLoader } from "../docloader-BLKe4L-U.mjs";
25
- import { T as handleBenchmarkTrigger, i as KvSpecDeterminer, n as FederationImpl, o as createFederation, r as InboxContextImpl, t as ContextImpl } from "../middleware-DTtxkZcU.mjs";
26
- import { t as doesActorOwnKey } from "../owner-DXBLhiOp.mjs";
24
+ import { n as getAuthenticatedDocumentLoader } from "../docloader-BY-SEID0.mjs";
25
+ import { T as handleBenchmarkTrigger, i as KvSpecDeterminer, n as FederationImpl, o as createFederation, r as InboxContextImpl, t as ContextImpl } from "../middleware-DcXzz-YK.mjs";
26
+ import { t as doesActorOwnKey } from "../owner-BVenIFg1.mjs";
27
27
  import { t as CircuitBreaker } from "../circuit-breaker-XJ53md4S.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";
30
- import { configure, reset, withContext } from "@logtape/logtape";
30
+ import { configure, getTextFormatter, reset, withContext } from "@logtape/logtape";
31
31
  import { RouterError } from "@fedify/uri-template";
32
32
  import * as vocab from "@fedify/vocab";
33
33
  import { Create, CryptographicKey, Note, Offer, Person, getTypeId, lookupObject } from "@fedify/vocab";
@@ -213,7 +213,10 @@ test("createFederation()", async (t) => {
213
213
  });
214
214
  assertEquals(records.length, 1);
215
215
  assertEquals(records[0].level, "warning");
216
- assertEquals(records[0].rawMessage, "Fedify benchmarkMode is enabled; private address checks disabled (allowPrivateAddress=true); HTTP Signature time window disabled (signatureTimeWindow=false). Benchmark endpoints are active and must not be used in production.");
216
+ assertEquals(records[0].rawMessage, "Fedify benchmarkMode is enabled; {relaxationSummary}. Benchmark endpoints are active and must not be used in production.");
217
+ assertEquals(records[0].properties.relaxationSummary, "private address checks disabled (allowPrivateAddress=true); HTTP Signature time window disabled (signatureTimeWindow=false)");
218
+ const formatted = getTextFormatter({ timestamp: "disabled" })(records[0]);
219
+ assert(formatted.includes("private address checks disabled (allowPrivateAddress=true); HTTP Signature time window disabled (signatureTimeWindow=false)"), formatted);
217
220
  assertEquals(records[0].properties.relaxations, [{
218
221
  protection: "private_address_checks",
219
222
  effect: "disabled",
@@ -6154,7 +6157,7 @@ test("FederationImpl.processQueuedTask() circuit breaker", async (t) => {
6154
6157
  ]);
6155
6158
  assertEquals(state?.state, "open");
6156
6159
  assertEquals(Array.isArray(state?.failures), true);
6157
- assertEquals((state?.failures).length, 1);
6160
+ assertEquals((state?.failures)?.length, 1);
6158
6161
  assertExists(state?.opened);
6159
6162
  });
6160
6163
  await t.step("open circuit requeues without sending", async () => {
@@ -6488,7 +6491,7 @@ test("FederationImpl.processQueuedTask() circuit breaker", async (t) => {
6488
6491
  "unavailable.example"
6489
6492
  ]);
6490
6493
  assertEquals(state?.state, "closed");
6491
- assertEquals((state?.failures).length, 1);
6494
+ assertEquals((state?.failures)?.length, 1);
6492
6495
  });
6493
6496
  await t.step("503 Retry-After delays newly opened circuit hold", async () => {
6494
6497
  esm_default.hardReset();
@@ -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-C7hr1d70.cjs");
3
+ const require_federation = require("../federation-pFFwPyoZ.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
  /// <reference lib="esnext.temporal" />
2
- import { _ as InboxVerificationKey, d as InboxProofPolicyFailureReason, f as InboxSignatureCheck, g as InboxVerificationFailureReason, h as InboxVerificationAttempt, m as InboxSignatureIdentity, p as InboxSignatureFailureReason } from "../key-DlHT4R6k.cjs";
3
- import { $ as respondWithObjectIfAcceptable, $t as IsActorAuthenticatedOptions, A as InboxChallengePolicy, An as OutboundResponseBodyEvent, At as HashlinkMediaDispatcher, B as createFederation, Bt as OutboxListenerErrorHandler, C as FederationBenchmarkOptions, Cn as OutboundInboxRequest, Ct as AuthorizePredicate, D as FederationStartQueueOptions, Dn as OutboundPreparationResult, Dt as CustomCollectionCounter, E as FederationOptions, En as OutboundObservers, Et as CollectionDispatcher, F as PortableInboxForwardingOptions, Fn as OutboundWorkerPreparationDiagnostic, Ft as NodeInfoDispatcher, G as TaskHandler, Gt as UnverifiedActivityHandler, H as TaskDefinition, Ht as PortableActorIdMapper, I as Rfc6570Expression, In as OutboundWorkerReport, It as ObjectAuthorizePredicate, J as RetryContext, Jt as SendActivityError, K as TaskRegistry, Kt as UnverifiedActivityReason, L as FederationKvPrefixes, Ln as OutboundWorkerSchedule, Lt as ObjectDispatcher, M as MediaUploaderSetters, Mn as OutboundSourceMetadata, Mt as InboxErrorHandler, N as ObjectCallbackSetters, Nn as OutboundWorkerAction, Nt as InboxListener, O as IdempotencyKeyCallback, On as OutboundProvenance, Ot as CustomCollectionCursor, P as OutboxListenerSetters, Pn as OutboundWorkerChild, Pt as MediaUploaderCallback, Q as respondWithObject, Qt as InboxPrincipal, R as FederationOrigin, Rt as OutboxErrorHandler, S as Federation, Sn as OutboundHttpResponseMetadata, St as ActorKeyPairsDispatcher, T as FederationFetchOptions, Tn as OutboundLocalContext, Tt as CollectionCursor, U as TaskDefinitionOptions, Ut as PortableCollectionOwnerMapper, V as createFederationBuilder, Vt as OutboxPermanentFailureHandler, W as TaskEnqueueOptions, Wt as SharedInboxKeyDispatcher, X as createExponentialBackoffPolicy, Xt as Message, Y as RetryPolicy, Yt as SenderKeyPair, Z as RespondWithObjectOptions, Zt as InboxAuthenticationEvidence, _ as ActorCallbackSetters, _n as OutboundBroadcastEvent, _t as normalizeCircuitBreakerOptions, a as GetObjectOptions, an as InboxAuthentication, at as MessageQueueListenOptions, b as CustomCollectionCallbackSetters, bn as OutboundHeaderSnapshot, bt as ActorDispatcher, c as IsSignedByAudienceOptions, cn as InboxRequestFinishedHandler, ct as CircuitBreakerActivityDrop, d as ParseUriResult, dn as InboxListenerOptions, dt as CircuitBreakerFailurePolicy, en as isActorAuthenticated, et as InProcessMessageQueue, f as PortableRequest, fn as OutboundActivityReference, ft as CircuitBreakerKvState, g as SendActivityOptionsForCollection, gn as OutboundBodyCaptureSummary, gt as NormalizedCircuitBreakerOptions, h as SendActivityOptions, hn as OutboundAttemptResponse, ht as CircuitBreakerStateChange, i as GetActorOptions, it as MessageQueueEnqueueOptions, j as InboxListenerSetters, jn as OutboundSenderPayload, jt as HashlinkMediaRequest, k as IdempotencyStrategy, kn as OutboundResponseBodyCapture, kt as CustomCollectionDispatcher, l as OutboxContext, ln as InboxRequestOutcome, lt as CircuitBreakerBeforeSendDecision, m as RouteActivityOptions, mn as OutboundAttemptReport, mt as CircuitBreakerState, n as Context, nn as buildCollectionSynchronizationHeader, nt as MessageQueue, o as GetSignedKeyOptions, on as InboxJsonValue, ot as ParallelMessageQueue, p as RequestContext, pn as OutboundAttemptFailure, pt as CircuitBreakerOptions, q as CreateExponentialBackoffPolicyOptions, qt as WebFingerLinksDispatcher, r as ForwardActivityOptions, rn as digest, rt as MessageQueueDepth, s as InboxContext, sn as InboxRequestCancellation, st as CircuitBreaker, t as ActorKeyPair, tn as PageItems, tt as InProcessMessageQueueOptions, u as ParseUriOptions, un as InboxRequestReport, ut as CircuitBreakerCreateOptions, v as CollectionCallbackSetters, vn as OutboundDeliveryEvent, vt as parseCircuitBreakerKvState, w as FederationBuilder, wn as OutboundJsonValue, wt as CollectionCounter, x as Federatable, xn as OutboundHttpExchangeReport, xt as ActorHandleMapper, y as ConstructorWithTypeId, yn as OutboundHeaderPolicy, yt as ActorAliasMapper, z as FederationQueueOptions, zt as OutboxListener } from "../context-C1NqcIct.cjs";
2
+ import { _ as InboxVerificationKey, d as InboxProofPolicyFailureReason, f as InboxSignatureCheck, g as InboxVerificationFailureReason, h as InboxVerificationAttempt, m as InboxSignatureIdentity, p as InboxSignatureFailureReason } from "../key-D5fbQkKM.cjs";
3
+ import { $ as respondWithObjectIfAcceptable, $t as IsActorAuthenticatedOptions, A as InboxChallengePolicy, An as OutboundResponseBodyEvent, At as HashlinkMediaDispatcher, B as createFederation, Bt as OutboxListenerErrorHandler, C as FederationBenchmarkOptions, Cn as OutboundInboxRequest, Ct as AuthorizePredicate, D as FederationStartQueueOptions, Dn as OutboundPreparationResult, Dt as CustomCollectionCounter, E as FederationOptions, En as OutboundObservers, Et as CollectionDispatcher, F as PortableInboxForwardingOptions, Fn as OutboundWorkerPreparationDiagnostic, Ft as NodeInfoDispatcher, G as TaskHandler, Gt as UnverifiedActivityHandler, H as TaskDefinition, Ht as PortableActorIdMapper, I as Rfc6570Expression, In as OutboundWorkerReport, It as ObjectAuthorizePredicate, J as RetryContext, Jt as SendActivityError, K as TaskRegistry, Kt as UnverifiedActivityReason, L as FederationKvPrefixes, Ln as OutboundWorkerSchedule, Lt as ObjectDispatcher, M as MediaUploaderSetters, Mn as OutboundSourceMetadata, Mt as InboxErrorHandler, N as ObjectCallbackSetters, Nn as OutboundWorkerAction, Nt as InboxListener, O as IdempotencyKeyCallback, On as OutboundProvenance, Ot as CustomCollectionCursor, P as OutboxListenerSetters, Pn as OutboundWorkerChild, Pt as MediaUploaderCallback, Q as respondWithObject, Qt as InboxPrincipal, R as FederationOrigin, Rt as OutboxErrorHandler, S as Federation, Sn as OutboundHttpResponseMetadata, St as ActorKeyPairsDispatcher, T as FederationFetchOptions, Tn as OutboundLocalContext, Tt as CollectionCursor, U as TaskDefinitionOptions, Ut as PortableCollectionOwnerMapper, V as createFederationBuilder, Vt as OutboxPermanentFailureHandler, W as TaskEnqueueOptions, Wt as SharedInboxKeyDispatcher, X as createExponentialBackoffPolicy, Xt as Message, Y as RetryPolicy, Yt as SenderKeyPair, Z as RespondWithObjectOptions, Zt as InboxAuthenticationEvidence, _ as ActorCallbackSetters, _n as OutboundBroadcastEvent, _t as normalizeCircuitBreakerOptions, a as GetObjectOptions, an as InboxAuthentication, at as MessageQueueListenOptions, b as CustomCollectionCallbackSetters, bn as OutboundHeaderSnapshot, bt as ActorDispatcher, c as IsSignedByAudienceOptions, cn as InboxRequestFinishedHandler, ct as CircuitBreakerActivityDrop, d as ParseUriResult, dn as InboxListenerOptions, dt as CircuitBreakerFailurePolicy, en as isActorAuthenticated, et as InProcessMessageQueue, f as PortableRequest, fn as OutboundActivityReference, ft as CircuitBreakerKvState, g as SendActivityOptionsForCollection, gn as OutboundBodyCaptureSummary, gt as NormalizedCircuitBreakerOptions, h as SendActivityOptions, hn as OutboundAttemptResponse, ht as CircuitBreakerStateChange, i as GetActorOptions, it as MessageQueueEnqueueOptions, j as InboxListenerSetters, jn as OutboundSenderPayload, jt as HashlinkMediaRequest, k as IdempotencyStrategy, kn as OutboundResponseBodyCapture, kt as CustomCollectionDispatcher, l as OutboxContext, ln as InboxRequestOutcome, lt as CircuitBreakerBeforeSendDecision, m as RouteActivityOptions, mn as OutboundAttemptReport, mt as CircuitBreakerState, n as Context, nn as buildCollectionSynchronizationHeader, nt as MessageQueue, o as GetSignedKeyOptions, on as InboxJsonValue, ot as ParallelMessageQueue, p as RequestContext, pn as OutboundAttemptFailure, pt as CircuitBreakerOptions, q as CreateExponentialBackoffPolicyOptions, qt as WebFingerLinksDispatcher, r as ForwardActivityOptions, rn as digest, rt as MessageQueueDepth, s as InboxContext, sn as InboxRequestCancellation, st as CircuitBreaker, t as ActorKeyPair, tn as PageItems, tt as InProcessMessageQueueOptions, u as ParseUriOptions, un as InboxRequestReport, ut as CircuitBreakerCreateOptions, v as CollectionCallbackSetters, vn as OutboundDeliveryEvent, vt as parseCircuitBreakerKvState, w as FederationBuilder, wn as OutboundJsonValue, wt as CollectionCounter, x as Federatable, xn as OutboundHttpExchangeReport, xt as ActorHandleMapper, y as ConstructorWithTypeId, yn as OutboundHeaderPolicy, yt as ActorAliasMapper, z as FederationQueueOptions, zt as OutboxListener } from "../context-apq0IBg2.cjs";
4
4
  import { a as MemoryKvStore, i as KvStoreSetOptions, n as KvStore, r as KvStoreListEntry, t as KvKey } from "../kv-B2mzK5tl.cjs";
5
- import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "../mod-TwiQgEf3.cjs";
5
+ import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "../mod-DB2NOzQF.cjs";
6
6
  export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetActorOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, WebFingerHandlerParameters, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, isActorAuthenticated, normalizeCircuitBreakerOptions, parseCircuitBreakerKvState, respondWithObject, respondWithObjectIfAcceptable };
@@ -1,6 +1,6 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { _ as InboxVerificationKey, d as InboxProofPolicyFailureReason, f as InboxSignatureCheck, g as InboxVerificationFailureReason, h as InboxVerificationAttempt, m as InboxSignatureIdentity, p as InboxSignatureFailureReason } from "../key-dwwAg5bA.js";
3
- import { $ as respondWithObjectIfAcceptable, $t as IsActorAuthenticatedOptions, A as InboxChallengePolicy, An as OutboundResponseBodyEvent, At as HashlinkMediaDispatcher, B as createFederation, Bt as OutboxListenerErrorHandler, C as FederationBenchmarkOptions, Cn as OutboundInboxRequest, Ct as AuthorizePredicate, D as FederationStartQueueOptions, Dn as OutboundPreparationResult, Dt as CustomCollectionCounter, E as FederationOptions, En as OutboundObservers, Et as CollectionDispatcher, F as PortableInboxForwardingOptions, Fn as OutboundWorkerPreparationDiagnostic, Ft as NodeInfoDispatcher, G as TaskHandler, Gt as UnverifiedActivityHandler, H as TaskDefinition, Ht as PortableActorIdMapper, I as Rfc6570Expression, In as OutboundWorkerReport, It as ObjectAuthorizePredicate, J as RetryContext, Jt as SendActivityError, K as TaskRegistry, Kt as UnverifiedActivityReason, L as FederationKvPrefixes, Ln as OutboundWorkerSchedule, Lt as ObjectDispatcher, M as MediaUploaderSetters, Mn as OutboundSourceMetadata, Mt as InboxErrorHandler, N as ObjectCallbackSetters, Nn as OutboundWorkerAction, Nt as InboxListener, O as IdempotencyKeyCallback, On as OutboundProvenance, Ot as CustomCollectionCursor, P as OutboxListenerSetters, Pn as OutboundWorkerChild, Pt as MediaUploaderCallback, Q as respondWithObject, Qt as InboxPrincipal, R as FederationOrigin, Rt as OutboxErrorHandler, S as Federation, Sn as OutboundHttpResponseMetadata, St as ActorKeyPairsDispatcher, T as FederationFetchOptions, Tn as OutboundLocalContext, Tt as CollectionCursor, U as TaskDefinitionOptions, Ut as PortableCollectionOwnerMapper, V as createFederationBuilder, Vt as OutboxPermanentFailureHandler, W as TaskEnqueueOptions, Wt as SharedInboxKeyDispatcher, X as createExponentialBackoffPolicy, Xt as Message, Y as RetryPolicy, Yt as SenderKeyPair, Z as RespondWithObjectOptions, Zt as InboxAuthenticationEvidence, _ as ActorCallbackSetters, _n as OutboundBroadcastEvent, _t as normalizeCircuitBreakerOptions, a as GetObjectOptions, an as InboxAuthentication, at as MessageQueueListenOptions, b as CustomCollectionCallbackSetters, bn as OutboundHeaderSnapshot, bt as ActorDispatcher, c as IsSignedByAudienceOptions, cn as InboxRequestFinishedHandler, ct as CircuitBreakerActivityDrop, d as ParseUriResult, dn as InboxListenerOptions, dt as CircuitBreakerFailurePolicy, en as isActorAuthenticated, et as InProcessMessageQueue, f as PortableRequest, fn as OutboundActivityReference, ft as CircuitBreakerKvState, g as SendActivityOptionsForCollection, gn as OutboundBodyCaptureSummary, gt as NormalizedCircuitBreakerOptions, h as SendActivityOptions, hn as OutboundAttemptResponse, ht as CircuitBreakerStateChange, i as GetActorOptions, it as MessageQueueEnqueueOptions, j as InboxListenerSetters, jn as OutboundSenderPayload, jt as HashlinkMediaRequest, k as IdempotencyStrategy, kn as OutboundResponseBodyCapture, kt as CustomCollectionDispatcher, l as OutboxContext, ln as InboxRequestOutcome, lt as CircuitBreakerBeforeSendDecision, m as RouteActivityOptions, mn as OutboundAttemptReport, mt as CircuitBreakerState, n as Context, nn as buildCollectionSynchronizationHeader, nt as MessageQueue, o as GetSignedKeyOptions, on as InboxJsonValue, ot as ParallelMessageQueue, p as RequestContext, pn as OutboundAttemptFailure, pt as CircuitBreakerOptions, q as CreateExponentialBackoffPolicyOptions, qt as WebFingerLinksDispatcher, r as ForwardActivityOptions, rn as digest, rt as MessageQueueDepth, s as InboxContext, sn as InboxRequestCancellation, st as CircuitBreaker, t as ActorKeyPair, tn as PageItems, tt as InProcessMessageQueueOptions, u as ParseUriOptions, un as InboxRequestReport, ut as CircuitBreakerCreateOptions, v as CollectionCallbackSetters, vn as OutboundDeliveryEvent, vt as parseCircuitBreakerKvState, w as FederationBuilder, wn as OutboundJsonValue, wt as CollectionCounter, x as Federatable, xn as OutboundHttpExchangeReport, xt as ActorHandleMapper, y as ConstructorWithTypeId, yn as OutboundHeaderPolicy, yt as ActorAliasMapper, z as FederationQueueOptions, zt as OutboxListener } from "../context-xrqq4Hrq.js";
2
+ import { _ as InboxVerificationKey, d as InboxProofPolicyFailureReason, f as InboxSignatureCheck, g as InboxVerificationFailureReason, h as InboxVerificationAttempt, m as InboxSignatureIdentity, p as InboxSignatureFailureReason } from "../key-BZw-YiK5.js";
3
+ import { $ as respondWithObjectIfAcceptable, $t as IsActorAuthenticatedOptions, A as InboxChallengePolicy, An as OutboundResponseBodyEvent, At as HashlinkMediaDispatcher, B as createFederation, Bt as OutboxListenerErrorHandler, C as FederationBenchmarkOptions, Cn as OutboundInboxRequest, Ct as AuthorizePredicate, D as FederationStartQueueOptions, Dn as OutboundPreparationResult, Dt as CustomCollectionCounter, E as FederationOptions, En as OutboundObservers, Et as CollectionDispatcher, F as PortableInboxForwardingOptions, Fn as OutboundWorkerPreparationDiagnostic, Ft as NodeInfoDispatcher, G as TaskHandler, Gt as UnverifiedActivityHandler, H as TaskDefinition, Ht as PortableActorIdMapper, I as Rfc6570Expression, In as OutboundWorkerReport, It as ObjectAuthorizePredicate, J as RetryContext, Jt as SendActivityError, K as TaskRegistry, Kt as UnverifiedActivityReason, L as FederationKvPrefixes, Ln as OutboundWorkerSchedule, Lt as ObjectDispatcher, M as MediaUploaderSetters, Mn as OutboundSourceMetadata, Mt as InboxErrorHandler, N as ObjectCallbackSetters, Nn as OutboundWorkerAction, Nt as InboxListener, O as IdempotencyKeyCallback, On as OutboundProvenance, Ot as CustomCollectionCursor, P as OutboxListenerSetters, Pn as OutboundWorkerChild, Pt as MediaUploaderCallback, Q as respondWithObject, Qt as InboxPrincipal, R as FederationOrigin, Rt as OutboxErrorHandler, S as Federation, Sn as OutboundHttpResponseMetadata, St as ActorKeyPairsDispatcher, T as FederationFetchOptions, Tn as OutboundLocalContext, Tt as CollectionCursor, U as TaskDefinitionOptions, Ut as PortableCollectionOwnerMapper, V as createFederationBuilder, Vt as OutboxPermanentFailureHandler, W as TaskEnqueueOptions, Wt as SharedInboxKeyDispatcher, X as createExponentialBackoffPolicy, Xt as Message, Y as RetryPolicy, Yt as SenderKeyPair, Z as RespondWithObjectOptions, Zt as InboxAuthenticationEvidence, _ as ActorCallbackSetters, _n as OutboundBroadcastEvent, _t as normalizeCircuitBreakerOptions, a as GetObjectOptions, an as InboxAuthentication, at as MessageQueueListenOptions, b as CustomCollectionCallbackSetters, bn as OutboundHeaderSnapshot, bt as ActorDispatcher, c as IsSignedByAudienceOptions, cn as InboxRequestFinishedHandler, ct as CircuitBreakerActivityDrop, d as ParseUriResult, dn as InboxListenerOptions, dt as CircuitBreakerFailurePolicy, en as isActorAuthenticated, et as InProcessMessageQueue, f as PortableRequest, fn as OutboundActivityReference, ft as CircuitBreakerKvState, g as SendActivityOptionsForCollection, gn as OutboundBodyCaptureSummary, gt as NormalizedCircuitBreakerOptions, h as SendActivityOptions, hn as OutboundAttemptResponse, ht as CircuitBreakerStateChange, i as GetActorOptions, it as MessageQueueEnqueueOptions, j as InboxListenerSetters, jn as OutboundSenderPayload, jt as HashlinkMediaRequest, k as IdempotencyStrategy, kn as OutboundResponseBodyCapture, kt as CustomCollectionDispatcher, l as OutboxContext, ln as InboxRequestOutcome, lt as CircuitBreakerBeforeSendDecision, m as RouteActivityOptions, mn as OutboundAttemptReport, mt as CircuitBreakerState, n as Context, nn as buildCollectionSynchronizationHeader, nt as MessageQueue, o as GetSignedKeyOptions, on as InboxJsonValue, ot as ParallelMessageQueue, p as RequestContext, pn as OutboundAttemptFailure, pt as CircuitBreakerOptions, q as CreateExponentialBackoffPolicyOptions, qt as WebFingerLinksDispatcher, r as ForwardActivityOptions, rn as digest, rt as MessageQueueDepth, s as InboxContext, sn as InboxRequestCancellation, st as CircuitBreaker, t as ActorKeyPair, tn as PageItems, tt as InProcessMessageQueueOptions, u as ParseUriOptions, un as InboxRequestReport, ut as CircuitBreakerCreateOptions, v as CollectionCallbackSetters, vn as OutboundDeliveryEvent, vt as parseCircuitBreakerKvState, w as FederationBuilder, wn as OutboundJsonValue, wt as CollectionCounter, x as Federatable, xn as OutboundHttpExchangeReport, xt as ActorHandleMapper, y as ConstructorWithTypeId, yn as OutboundHeaderPolicy, yt as ActorAliasMapper, z as FederationQueueOptions, zt as OutboxListener } from "../context-CuLvR1Os.js";
4
4
  import { a as MemoryKvStore, i as KvStoreSetOptions, n as KvStore, r as KvStoreListEntry, t as KvKey } from "../kv-B2mzK5tl.js";
5
- import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "../mod-DO0epJGH.js";
5
+ import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "../mod-BkTi19dI.js";
6
6
  export { ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetActorOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, WebFingerHandlerParameters, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, isActorAuthenticated, normalizeCircuitBreakerOptions, parseCircuitBreakerKvState, respondWithObject, respondWithObjectIfAcceptable };
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { a as respondWithObjectIfAcceptable, c as buildCollectionSynchronizationHeader, d as normalizeCircuitBreakerOptions, f as parseCircuitBreakerKvState, i as respondWithObject, l as digest, n as handleWebFinger, o as SendActivityError, p as createFederationBuilder, r as createExponentialBackoffPolicy, s as isActorAuthenticated, t as createFederation, u as CircuitBreaker } from "../middleware-DwSDtJqA.js";
3
+ import { a as respondWithObjectIfAcceptable, c as buildCollectionSynchronizationHeader, d as normalizeCircuitBreakerOptions, f as parseCircuitBreakerKvState, i as respondWithObject, l as digest, n as handleWebFinger, o as SendActivityError, p as createFederationBuilder, r as createExponentialBackoffPolicy, s as isActorAuthenticated, t as createFederation, u as CircuitBreaker } from "../middleware-Bj91r7r2.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";
@@ -7,7 +7,7 @@ import { t as assertGreaterOrEqual } from "../assert_greater_or_equal-BlafOF4-.m
7
7
  import "../std__assert-DvMDRPes.mjs";
8
8
  import { t as assertRejects } from "../assert_rejects-CTptdYck.mjs";
9
9
  import { t as assert } from "../assert-D1Eafmd_.mjs";
10
- import { r as estimateQueuedMessageSize } from "../inbox-CnD0d-M3.mjs";
10
+ import { r as estimateQueuedMessageSize } from "../inbox-cS97XzOD.mjs";
11
11
  import { n as ParallelMessageQueue, t as InProcessMessageQueue } from "../mq-eF96QxUT.mjs";
12
12
  import { delay } from "es-toolkit";
13
13
  import { test } from "@fedify/fixture";
@@ -4,7 +4,7 @@ globalThis.addEventListener = () => {};
4
4
  import { t as assertFalse } from "../assert_false-CPdRnc3E.mjs";
5
5
  import "../std__assert-DvMDRPes.mjs";
6
6
  import { t as assert } from "../assert-D1Eafmd_.mjs";
7
- import { t as acceptsJsonLd } from "../negotiation-CCocWT_N.mjs";
7
+ import { t as acceptsJsonLd } from "../negotiation-BAKO9nih.mjs";
8
8
  import { test } from "@fedify/fixture";
9
9
  //#region src/federation/negotiation.test.ts
10
10
  test("acceptsJsonLd()", () => {
@@ -2,7 +2,7 @@ import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { n as snapshotBodyCapture, r as takeCapturedDiagnostic, t as captureResponseBody } from "../outbound-capture-DVgnRzlf.mjs";
5
- import { n as FederationBuilderImpl, r as createFederationBuilder } from "../builder-Dlad1NzZ.mjs";
5
+ import { n as FederationBuilderImpl, r as createFederationBuilder } from "../builder-D1FP_5nQ.mjs";
6
6
  import { test } from "@fedify/fixture";
7
7
  import { deepStrictEqual, ok, rejects, strictEqual, throws } from "node:assert/strict";
8
8
  //#region src/federation/outbound-capture.test.ts
@@ -4,7 +4,7 @@ globalThis.addEventListener = () => {};
4
4
  import { t as esm_default } from "../esm-BHXXx4Wx.mjs";
5
5
  import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
6
6
  import { i as rsaPrivateKey2, s as rsaPublicKey2 } from "../keys-DIJNHW-Y.mjs";
7
- import { o as createFederation, t as ContextImpl } from "../middleware-DTtxkZcU.mjs";
7
+ import { o as createFederation, t as ContextImpl } from "../middleware-DcXzz-YK.mjs";
8
8
  import { configure, getLogger, reset, withContext } from "@logtape/logtape";
9
9
  import { Create, Person } from "@fedify/vocab";
10
10
  import { mockDocumentLoader, test } from "@fedify/fixture";
@@ -2,7 +2,7 @@ import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { t as projectSenderPayload } from "../outbound-document-BMgwLXTY.mjs";
5
- import { n as FederationBuilderImpl, r as createFederationBuilder } from "../builder-Dlad1NzZ.mjs";
5
+ import { n as FederationBuilderImpl, r as createFederationBuilder } from "../builder-D1FP_5nQ.mjs";
6
6
  import { test } from "@fedify/fixture";
7
7
  import { deepStrictEqual, ok, strictEqual, throws } from "node:assert/strict";
8
8
  //#region src/federation/outbound-document.test.ts
@@ -3,9 +3,9 @@ import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { t as esm_default } from "../esm-BHXXx4Wx.mjs";
5
5
  import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
6
- import { s as signObject } from "../proof-D0_8PUaM.mjs";
6
+ import { s as signObject } from "../proof-BlfZ95--.mjs";
7
7
  import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DIJNHW-Y.mjs";
8
- import { o as createFederation, t as ContextImpl } from "../middleware-DTtxkZcU.mjs";
8
+ import { o as createFederation, t as ContextImpl } from "../middleware-DcXzz-YK.mjs";
9
9
  import { configure, getLogger, reset, withContext } from "@logtape/logtape";
10
10
  import { Create, Note, Person } from "@fedify/vocab";
11
11
  import { computeDigestMultibase, exportDidKey, parseIri } from "@fedify/vocab-runtime";
@@ -3,11 +3,11 @@ import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { t as esm_default } from "../esm-BHXXx4Wx.mjs";
5
5
  import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
6
- import { x as exportJwk } from "../ld-rNrQkbOP.mjs";
6
+ import { x as exportJwk } from "../ld-BpkhkDGj.mjs";
7
7
  import { i as rsaPrivateKey2, s as rsaPublicKey2 } from "../keys-DIJNHW-Y.mjs";
8
- import { a as snapshotHeaders, i as snapshotHeaderPolicy, n as FederationBuilderImpl, r as createFederationBuilder } from "../builder-Dlad1NzZ.mjs";
9
- import { A as OutboundAttemptObservation, a as OutboxContextImpl, j as OutboundBroadcastObservation, n as FederationImpl, o as createFederation, r as InboxContextImpl, t as ContextImpl } from "../middleware-DTtxkZcU.mjs";
10
- import { i as sendActivity, t as SendActivityError } from "../send-B5Q2gFPx.mjs";
8
+ import { a as snapshotHeaders, i as snapshotHeaderPolicy, n as FederationBuilderImpl, r as createFederationBuilder } from "../builder-D1FP_5nQ.mjs";
9
+ import { A as OutboundAttemptObservation, a as OutboxContextImpl, j as OutboundBroadcastObservation, n as FederationImpl, o as createFederation, r as InboxContextImpl, t as ContextImpl } from "../middleware-DcXzz-YK.mjs";
10
+ import { i as sendActivity, t as SendActivityError } from "../send-DEGHPGFk.mjs";
11
11
  import { configure, reset } from "@logtape/logtape";
12
12
  import { Create, Follow, Person } from "@fedify/vocab";
13
13
  import { SpanKind, SpanStatusCode, TraceFlags, isSpanContextValid, propagation, trace } from "@opentelemetry/api";
@@ -1202,7 +1202,7 @@ test("outbound observers isolate callback and logging errors from success and or
1202
1202
  });
1203
1203
  federation.setOutboundObservers({ onBroadcast() {
1204
1204
  calls++;
1205
- throw "observer failed";
1205
+ throw new Error("observer failed");
1206
1206
  } });
1207
1207
  const ctx = federation.createContext(new URL("https://example.com"), void 0);
1208
1208
  await ctx.sendActivity(sender, [], activity);