@fedify/fedify 2.1.0-dev.408 → 2.1.0-dev.418

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 (60) hide show
  1. package/dist/{builder-DqJQtxW4.js → builder-Dr8wJfzL.js} +3 -3
  2. package/dist/compat/mod.d.cts +2 -2
  3. package/dist/compat/mod.d.ts +2 -2
  4. package/dist/compat/transformers.test.js +11 -11
  5. package/dist/{context-o4OhjMHe.d.cts → context-D3QkEtZd.d.cts} +4 -23
  6. package/dist/{context-Dy5ro7zD.d.ts → context-DZJhUmzF.d.ts} +4 -23
  7. package/dist/{deno-D_VnPW-Y.js → deno-RllegzSG.js} +1 -1
  8. package/dist/{docloader-D7xSU1xb.js → docloader-Bue7Ij3R.js} +2 -2
  9. package/dist/federation/builder.test.js +3 -3
  10. package/dist/federation/handler.test.js +19 -19
  11. package/dist/federation/idempotency.test.js +11 -11
  12. package/dist/federation/inbox.test.js +2 -2
  13. package/dist/federation/middleware.test.js +27 -12
  14. package/dist/federation/mod.cjs +4 -4
  15. package/dist/federation/mod.d.cts +2 -2
  16. package/dist/federation/mod.d.ts +2 -2
  17. package/dist/federation/mod.js +4 -4
  18. package/dist/federation/send.test.js +5 -5
  19. package/dist/federation/webfinger.test.js +11 -11
  20. package/dist/{http-C3oMHumD.js → http-BNiAwNU-.js} +1 -1
  21. package/dist/{http-CFILUWFj.js → http-Cvsk5Skd.js} +2 -2
  22. package/dist/{http-B-epypwc.cjs → http-Due1pojF.cjs} +1 -1
  23. package/dist/{inbox-FsU-ifET.js → inbox-CYce8kRg.js} +1 -1
  24. package/dist/{key-Cw2GXzkv.js → key-BqMOdwtv.js} +1 -1
  25. package/dist/{kv-cache-K6GW8-uS.js → kv-cache-DjYerrCe.js} +1 -1
  26. package/dist/{kv-cache-YG3yAJRb.cjs → kv-cache-zyDjqzjm.cjs} +1 -1
  27. package/dist/{ld-D4-RbyP8.js → ld-BMgYSVTZ.js} +2 -2
  28. package/dist/{middleware-CVGms5AS.js → middleware-B2L4AM_o.js} +11 -11
  29. package/dist/middleware-BFRIkXyv.cjs +12 -0
  30. package/dist/{middleware-ByN4qQt0.js → middleware-BQ3c3mRY.js} +30 -89
  31. package/dist/{middleware-CzNcdhiV.cjs → middleware-CfgAMF_j.cjs} +29 -88
  32. package/dist/{middleware-D_wNj9p6.js → middleware-CgEEF8s6.js} +4 -4
  33. package/dist/{middleware-Co3x1vLV.js → middleware-CpOJCVxU.js} +36 -95
  34. package/dist/{mod-Bm_GwNTL.d.cts → mod-DVwHUI_x.d.cts} +1 -1
  35. package/dist/{mod-DwqZ5l67.d.cts → mod-Di3W5OdP.d.cts} +1 -1
  36. package/dist/{mod-CIR7gJW8.d.ts → mod-DnSsduJF.d.ts} +1 -1
  37. package/dist/{mod-DQWhp0xs.d.ts → mod-DosD6NsG.d.ts} +1 -1
  38. package/dist/mod.cjs +4 -4
  39. package/dist/mod.d.cts +3 -3
  40. package/dist/mod.d.ts +3 -3
  41. package/dist/mod.js +4 -4
  42. package/dist/nodeinfo/handler.test.js +11 -11
  43. package/dist/{owner-BJOuHY_S.js → owner-rwfm7c6o.js} +1 -1
  44. package/dist/{proof-BNcJ_Sa_.js → proof-BSXD3gxs.js} +1 -1
  45. package/dist/{proof-VvmjtuyP.js → proof-CV9ObID1.js} +2 -2
  46. package/dist/{proof-BmYdRz_f.cjs → proof-CVHxb_s9.cjs} +1 -1
  47. package/dist/{send-DYC2LvJZ.js → send-BUsEdmU0.js} +2 -2
  48. package/dist/sig/http.test.js +3 -3
  49. package/dist/sig/key.test.js +2 -2
  50. package/dist/sig/ld.test.js +3 -3
  51. package/dist/sig/mod.cjs +2 -2
  52. package/dist/sig/mod.js +2 -2
  53. package/dist/sig/owner.test.js +3 -3
  54. package/dist/sig/proof.test.js +3 -3
  55. package/dist/testing/mod.d.ts +4 -23
  56. package/dist/utils/docloader.test.js +4 -4
  57. package/dist/utils/mod.cjs +2 -2
  58. package/dist/utils/mod.js +2 -2
  59. package/package.json +5 -5
  60. package/dist/middleware-DWhDjC7Z.cjs +0 -12
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-D_VnPW-Y.js";
6
+ import { deno_default } from "./deno-RllegzSG.js";
7
7
  import { Router, RouterError } from "./router-D9eI0s4b.js";
8
- import { InboxListenerSet } from "./inbox-FsU-ifET.js";
8
+ import { InboxListenerSet } from "./inbox-CYce8kRg.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { getTypeId } from "@fedify/vocab";
11
11
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
@@ -45,7 +45,7 @@ var FederationBuilderImpl = class {
45
45
  this.collectionTypeIds = {};
46
46
  }
47
47
  async build(options) {
48
- const { FederationImpl } = await import("./middleware-CVGms5AS.js");
48
+ const { FederationImpl } = await import("./middleware-B2L4AM_o.js");
49
49
  const f = new FederationImpl(options);
50
50
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
51
51
  f.router = this.router.clone();
@@ -1,7 +1,7 @@
1
1
  import "../client-C97KOq3x.cjs";
2
2
  import "../http-Cz3MlXAZ.cjs";
3
3
  import "../owner-1AbPBOOZ.cjs";
4
- import { ActivityTransformer } from "../context-o4OhjMHe.cjs";
4
+ import { ActivityTransformer } from "../context-D3QkEtZd.cjs";
5
5
  import "../kv-BL4nlICN.cjs";
6
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-Bm_GwNTL.cjs";
6
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DVwHUI_x.cjs";
7
7
  export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -3,7 +3,7 @@ import { URLPattern } from "urlpattern-polyfill";
3
3
  import "../client-BxMZiQaD.js";
4
4
  import "../http-DkHdFfrc.js";
5
5
  import "../owner-gd0Q9FuU.js";
6
- import { ActivityTransformer } from "../context-Dy5ro7zD.js";
6
+ import { ActivityTransformer } from "../context-DZJhUmzF.js";
7
7
  import "../kv-DXEUEP6z.js";
8
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DQWhp0xs.js";
8
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DosD6NsG.js";
9
9
  export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -8,25 +8,25 @@ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-QzKcOQgP.js";
11
- import "../deno-D_VnPW-Y.js";
12
- import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-Co3x1vLV.js";
11
+ import "../deno-RllegzSG.js";
12
+ import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-CpOJCVxU.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-Cw2GXzkv.js";
17
- import "../http-CFILUWFj.js";
18
- import "../ld-D4-RbyP8.js";
19
- import "../owner-BJOuHY_S.js";
20
- import "../proof-VvmjtuyP.js";
21
- import "../docloader-D7xSU1xb.js";
16
+ import "../key-BqMOdwtv.js";
17
+ import "../http-Cvsk5Skd.js";
18
+ import "../ld-BMgYSVTZ.js";
19
+ import "../owner-rwfm7c6o.js";
20
+ import "../proof-CV9ObID1.js";
21
+ import "../docloader-Bue7Ij3R.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import "../inbox-FsU-ifET.js";
24
- import "../builder-DqJQtxW4.js";
23
+ import "../inbox-CYce8kRg.js";
24
+ import "../builder-Dr8wJfzL.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-DRxpZ5r9.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-DYC2LvJZ.js";
29
+ import "../send-BUsEdmU0.js";
30
30
  import { Follow, Person } from "@fedify/vocab";
31
31
 
32
32
  //#region src/compat/transformers.test.ts
@@ -289,21 +289,12 @@ type OutboxPermanentFailureHandler<TContextData> = (context: Context<TContextDat
289
289
  *
290
290
  * @template TContextData The context data to pass to the {@link Context}.
291
291
  * @param context The request context.
292
- * @param identifier The internal identifier of the actor that is being requested.
293
- * @param signedKey *Deprecated in Fedify 1.5.0 in favor of
294
- * {@link RequestContext.getSignedKey} method.*
295
- * The key that was used to sign the request, or `null` if
296
- * the request was not signed or the signature was invalid.
297
- * @param signedKeyOwner *Deprecated in Fedify 1.5.0 in favor of
298
- * {@link RequestContext.getSignedKeyOwner} method.*
299
- * The actor that owns the key that was used to sign the
300
- * request, or `null` if the request was not signed or the
301
- * signature was invalid, or if the key is not associated
302
- * with an actor.
292
+ * @param identifier The internal identifier of the actor that is being
293
+ * requested.
303
294
  * @returns `true` if the request is authorized, `false` otherwise.
304
295
  * @since 0.7.0
305
296
  */
306
- type AuthorizePredicate<TContextData> = (context: RequestContext<TContextData>, identifier: string, signedKey: CryptographicKey | null, signedKeyOwner: Actor | null) => boolean | Promise<boolean>;
297
+ type AuthorizePredicate<TContextData> = (context: RequestContext<TContextData>, identifier: string) => boolean | Promise<boolean>;
307
298
  /**
308
299
  * A callback that determines if a request is authorized or not.
309
300
  *
@@ -311,20 +302,10 @@ type AuthorizePredicate<TContextData> = (context: RequestContext<TContextData>,
311
302
  * @template TParam The parameter names of the requested URL.
312
303
  * @param context The request context.
313
304
  * @param values The parameters of the requested URL.
314
- * @param signedKey *Deprecated in Fedify 1.5.0 in favor of
315
- * {@link RequestContext.getSignedKey} method.*
316
- * The key that was used to sign the request, or `null` if
317
- * the request was not signed or the signature was invalid.
318
- * @param signedKeyOwner *Deprecated in Fedify 1.5.0 in favor of
319
- * {@link RequestContext.getSignedKeyOwner} method.*
320
- * The actor that owns the key that was used to sign the
321
- * request, or `null` if the request was not signed or the
322
- * signature was invalid, or if the key is not associated
323
- * with an actor.
324
305
  * @returns `true` if the request is authorized, `false` otherwise.
325
306
  * @since 0.7.0
326
307
  */
327
- type ObjectAuthorizePredicate<TContextData, TParam extends string> = (context: RequestContext<TContextData>, values: Record<TParam, string>, signedKey: CryptographicKey | null, signedKeyOwner: Actor | null) => boolean | Promise<boolean>;
308
+ type ObjectAuthorizePredicate<TContextData, TParam extends string> = (context: RequestContext<TContextData>, values: Record<TParam, string>) => boolean | Promise<boolean>;
328
309
  /**
329
310
  * A callback that dispatches a custom collection.
330
311
  *
@@ -291,21 +291,12 @@ type OutboxPermanentFailureHandler<TContextData> = (context: Context<TContextDat
291
291
  *
292
292
  * @template TContextData The context data to pass to the {@link Context}.
293
293
  * @param context The request context.
294
- * @param identifier The internal identifier of the actor that is being requested.
295
- * @param signedKey *Deprecated in Fedify 1.5.0 in favor of
296
- * {@link RequestContext.getSignedKey} method.*
297
- * The key that was used to sign the request, or `null` if
298
- * the request was not signed or the signature was invalid.
299
- * @param signedKeyOwner *Deprecated in Fedify 1.5.0 in favor of
300
- * {@link RequestContext.getSignedKeyOwner} method.*
301
- * The actor that owns the key that was used to sign the
302
- * request, or `null` if the request was not signed or the
303
- * signature was invalid, or if the key is not associated
304
- * with an actor.
294
+ * @param identifier The internal identifier of the actor that is being
295
+ * requested.
305
296
  * @returns `true` if the request is authorized, `false` otherwise.
306
297
  * @since 0.7.0
307
298
  */
308
- type AuthorizePredicate<TContextData> = (context: RequestContext<TContextData>, identifier: string, signedKey: CryptographicKey | null, signedKeyOwner: Actor | null) => boolean | Promise<boolean>;
299
+ type AuthorizePredicate<TContextData> = (context: RequestContext<TContextData>, identifier: string) => boolean | Promise<boolean>;
309
300
  /**
310
301
  * A callback that determines if a request is authorized or not.
311
302
  *
@@ -313,20 +304,10 @@ type AuthorizePredicate<TContextData> = (context: RequestContext<TContextData>,
313
304
  * @template TParam The parameter names of the requested URL.
314
305
  * @param context The request context.
315
306
  * @param values The parameters of the requested URL.
316
- * @param signedKey *Deprecated in Fedify 1.5.0 in favor of
317
- * {@link RequestContext.getSignedKey} method.*
318
- * The key that was used to sign the request, or `null` if
319
- * the request was not signed or the signature was invalid.
320
- * @param signedKeyOwner *Deprecated in Fedify 1.5.0 in favor of
321
- * {@link RequestContext.getSignedKeyOwner} method.*
322
- * The actor that owns the key that was used to sign the
323
- * request, or `null` if the request was not signed or the
324
- * signature was invalid, or if the key is not associated
325
- * with an actor.
326
307
  * @returns `true` if the request is authorized, `false` otherwise.
327
308
  * @since 0.7.0
328
309
  */
329
- type ObjectAuthorizePredicate<TContextData, TParam extends string> = (context: RequestContext<TContextData>, values: Record<TParam, string>, signedKey: CryptographicKey | null, signedKeyOwner: Actor | null) => boolean | Promise<boolean>;
310
+ type ObjectAuthorizePredicate<TContextData, TParam extends string> = (context: RequestContext<TContextData>, values: Record<TParam, string>) => boolean | Promise<boolean>;
330
311
  /**
331
312
  * A callback that dispatches a custom collection.
332
313
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  //#region deno.json
7
7
  var name = "@fedify/fedify";
8
- var version = "2.1.0-dev.408+5c3c9d78";
8
+ var version = "2.1.0-dev.418+6c060f4a";
9
9
  var license = "MIT";
10
10
  var exports = {
11
11
  ".": "./src/mod.ts",
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { validateCryptoKey } from "./key-Cw2GXzkv.js";
7
- import { doubleKnock } from "./http-CFILUWFj.js";
6
+ import { validateCryptoKey } from "./key-BqMOdwtv.js";
7
+ import { doubleKnock } from "./http-Cvsk5Skd.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { curry } from "es-toolkit";
10
10
  import { UrlError, createActivityPubRequest, getRemoteDocument, logRequest, validatePublicUrl } from "@fedify/vocab-runtime";
@@ -8,10 +8,10 @@ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-QzKcOQgP.js";
11
- import "../deno-D_VnPW-Y.js";
11
+ import "../deno-RllegzSG.js";
12
12
  import "../router-D9eI0s4b.js";
13
- import "../inbox-FsU-ifET.js";
14
- import { createFederationBuilder } from "../builder-DqJQtxW4.js";
13
+ import "../inbox-CYce8kRg.js";
14
+ import { createFederationBuilder } from "../builder-Dr8wJfzL.js";
15
15
  import { assertExists } from "../std__assert-DWivtrGR.js";
16
16
  import "../assert_rejects-Ce45JcFg.js";
17
17
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -8,25 +8,25 @@ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-QzKcOQgP.js";
11
- import "../deno-D_VnPW-Y.js";
12
- import { createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-Co3x1vLV.js";
11
+ import "../deno-RllegzSG.js";
12
+ import { createFederation, handleActor, handleCollection, handleCustomCollection, handleInbox, handleObject, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-CpOJCVxU.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-Cw2GXzkv.js";
17
- import { signRequest } from "../http-CFILUWFj.js";
18
- import "../ld-D4-RbyP8.js";
19
- import "../owner-BJOuHY_S.js";
20
- import "../proof-VvmjtuyP.js";
21
- import "../docloader-D7xSU1xb.js";
16
+ import "../key-BqMOdwtv.js";
17
+ import { signRequest } from "../http-Cvsk5Skd.js";
18
+ import "../ld-BMgYSVTZ.js";
19
+ import "../owner-rwfm7c6o.js";
20
+ import "../proof-CV9ObID1.js";
21
+ import "../docloader-Bue7Ij3R.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import { InboxListenerSet } from "../inbox-FsU-ifET.js";
24
- import "../builder-DqJQtxW4.js";
23
+ import { InboxListenerSet } from "../inbox-CYce8kRg.js";
24
+ import "../builder-Dr8wJfzL.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-DRxpZ5r9.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-DYC2LvJZ.js";
29
+ import "../send-BUsEdmU0.js";
30
30
  import "../std__assert-DWivtrGR.js";
31
31
  import "../assert_rejects-Ce45JcFg.js";
32
32
  import "../assert_throws-BNXdRGWP.js";
@@ -157,7 +157,7 @@ test("handleActor()", async () => {
157
157
  context,
158
158
  identifier: "someone",
159
159
  actorDispatcher,
160
- authorizePredicate: (_ctx, _handle, signedKey, signedKeyOwner) => signedKey != null && signedKeyOwner != null,
160
+ authorizePredicate: async (ctx, _handle) => await ctx.getSignedKey() != null && await ctx.getSignedKeyOwner() != null,
161
161
  onNotFound,
162
162
  onUnauthorized
163
163
  });
@@ -174,7 +174,7 @@ test("handleActor()", async () => {
174
174
  context,
175
175
  identifier: "someone",
176
176
  actorDispatcher,
177
- authorizePredicate: (_ctx, _handle, signedKey, signedKeyOwner) => signedKey != null && signedKeyOwner != null,
177
+ authorizePredicate: async (ctx, _handle) => await ctx.getSignedKey() != null && await ctx.getSignedKeyOwner() != null,
178
178
  onNotFound,
179
179
  onUnauthorized
180
180
  });
@@ -384,7 +384,7 @@ test("handleObject()", async () => {
384
384
  id: "123"
385
385
  },
386
386
  objectDispatcher,
387
- authorizePredicate: (_ctx, _values, signedKey, signedKeyOwner) => signedKey != null && signedKeyOwner != null,
387
+ authorizePredicate: async (ctx, _values) => await ctx.getSignedKey() != null && await ctx.getSignedKeyOwner() != null,
388
388
  onNotFound,
389
389
  onUnauthorized
390
390
  });
@@ -404,7 +404,7 @@ test("handleObject()", async () => {
404
404
  id: "123"
405
405
  },
406
406
  objectDispatcher,
407
- authorizePredicate: (_ctx, _values, signedKey, signedKeyOwner) => signedKey != null && signedKeyOwner != null,
407
+ authorizePredicate: async (ctx, _values) => await ctx.getSignedKey() != null && await ctx.getSignedKeyOwner() != null,
408
408
  onNotFound,
409
409
  onUnauthorized
410
410
  });
@@ -630,7 +630,7 @@ test("handleCollection()", async () => {
630
630
  },
631
631
  collectionCallbacks: {
632
632
  dispatcher,
633
- authorizePredicate: (_ctx, _handle, key, keyOwner) => key != null && keyOwner != null
633
+ authorizePredicate: async (ctx, _handle) => await ctx.getSignedKey() != null && await ctx.getSignedKeyOwner() != null
634
634
  },
635
635
  onNotFound,
636
636
  onUnauthorized
@@ -653,7 +653,7 @@ test("handleCollection()", async () => {
653
653
  },
654
654
  collectionCallbacks: {
655
655
  dispatcher,
656
- authorizePredicate: (_ctx, _handle, key, keyOwner) => key != null && keyOwner != null
656
+ authorizePredicate: async (ctx, _handle) => await ctx.getSignedKey() != null && await ctx.getSignedKeyOwner() != null
657
657
  },
658
658
  onNotFound,
659
659
  onUnauthorized
@@ -1356,7 +1356,7 @@ test("handleCustomCollection()", async () => {
1356
1356
  values: { identifier: "someone" },
1357
1357
  collectionCallbacks: {
1358
1358
  dispatcher,
1359
- authorizePredicate: (_ctx, _values, key, keyOwner) => key != null && keyOwner != null
1359
+ authorizePredicate: async (ctx, _values) => await ctx.getSignedKey() != null && await ctx.getSignedKeyOwner() != null
1360
1360
  },
1361
1361
  ...errorHandlers
1362
1362
  });
@@ -1375,7 +1375,7 @@ test("handleCustomCollection()", async () => {
1375
1375
  values: { identifier: "someone" },
1376
1376
  collectionCallbacks: {
1377
1377
  dispatcher,
1378
- authorizePredicate: (_ctx, _values, key, keyOwner) => key != null && keyOwner != null
1378
+ authorizePredicate: async (ctx, _values) => await ctx.getSignedKey() != null && await ctx.getSignedKeyOwner() != null
1379
1379
  },
1380
1380
  ...errorHandlers
1381
1381
  });
@@ -8,25 +8,25 @@ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-QzKcOQgP.js";
11
- import "../deno-D_VnPW-Y.js";
12
- import { createFederation } from "../middleware-Co3x1vLV.js";
11
+ import "../deno-RllegzSG.js";
12
+ import { createFederation } from "../middleware-CpOJCVxU.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-Cw2GXzkv.js";
17
- import "../http-CFILUWFj.js";
18
- import "../ld-D4-RbyP8.js";
19
- import "../owner-BJOuHY_S.js";
20
- import { signObject } from "../proof-VvmjtuyP.js";
21
- import "../docloader-D7xSU1xb.js";
16
+ import "../key-BqMOdwtv.js";
17
+ import "../http-Cvsk5Skd.js";
18
+ import "../ld-BMgYSVTZ.js";
19
+ import "../owner-rwfm7c6o.js";
20
+ import { signObject } from "../proof-CV9ObID1.js";
21
+ import "../docloader-Bue7Ij3R.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import "../inbox-FsU-ifET.js";
24
- import "../builder-DqJQtxW4.js";
23
+ import "../inbox-CYce8kRg.js";
24
+ import "../builder-Dr8wJfzL.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-DRxpZ5r9.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-DYC2LvJZ.js";
29
+ import "../send-BUsEdmU0.js";
30
30
  import "../std__assert-DWivtrGR.js";
31
31
  import "../assert_rejects-Ce45JcFg.js";
32
32
  import "../assert_throws-BNXdRGWP.js";
@@ -5,8 +5,8 @@
5
5
 
6
6
  import { test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
- import "../deno-D_VnPW-Y.js";
9
- import { InboxListenerSet } from "../inbox-FsU-ifET.js";
8
+ import "../deno-RllegzSG.js";
9
+ import { InboxListenerSet } from "../inbox-CYce8kRg.js";
10
10
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
11
11
  import { Activity, Create, Invite, Offer, Update } from "@fedify/vocab";
12
12
 
@@ -8,25 +8,25 @@ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-QzKcOQgP.js";
11
- import "../deno-D_VnPW-Y.js";
12
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-Co3x1vLV.js";
11
+ import "../deno-RllegzSG.js";
12
+ import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "../middleware-CpOJCVxU.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import { RouterError } from "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-Cw2GXzkv.js";
17
- import { signRequest, verifyRequest } from "../http-CFILUWFj.js";
18
- import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-D4-RbyP8.js";
19
- import { doesActorOwnKey } from "../owner-BJOuHY_S.js";
20
- import { signObject, verifyObject } from "../proof-VvmjtuyP.js";
21
- import { getAuthenticatedDocumentLoader } from "../docloader-D7xSU1xb.js";
16
+ import "../key-BqMOdwtv.js";
17
+ import { signRequest, verifyRequest } from "../http-Cvsk5Skd.js";
18
+ import { detachSignature, signJsonLd, verifyJsonLd } from "../ld-BMgYSVTZ.js";
19
+ import { doesActorOwnKey } from "../owner-rwfm7c6o.js";
20
+ import { signObject, verifyObject } from "../proof-CV9ObID1.js";
21
+ import { getAuthenticatedDocumentLoader } from "../docloader-Bue7Ij3R.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import "../inbox-FsU-ifET.js";
24
- import "../builder-DqJQtxW4.js";
23
+ import "../inbox-CYce8kRg.js";
24
+ import "../builder-Dr8wJfzL.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-DRxpZ5r9.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-DYC2LvJZ.js";
29
+ import "../send-BUsEdmU0.js";
30
30
  import { assertStrictEquals } from "../std__assert-DWivtrGR.js";
31
31
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
32
32
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -35,7 +35,7 @@ import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, r
35
35
  import { esm_default } from "../esm-DGl7uK1r.js";
36
36
  import * as vocab from "@fedify/vocab";
37
37
  import { getTypeId, lookupObject } from "@fedify/vocab";
38
- import { getDocumentLoader } from "@fedify/vocab-runtime";
38
+ import { FetchError, getDocumentLoader } from "@fedify/vocab-runtime";
39
39
 
40
40
  //#region ../fixture/src/fixtures/example.com/create.json
41
41
  var __context$2 = "https://www.w3.org/ns/activitystreams";
@@ -728,6 +728,21 @@ test({
728
728
  id: "123"
729
729
  }), new vocab.Note({ summary: "Note 123 by john" }));
730
730
  });
731
+ await t.step("RequestContext.getSignedKeyOwner() returns null on FetchError", async () => {
732
+ const customDocumentLoader = async (url) => {
733
+ if (url === "https://example.com/person2#key3") return await mockDocumentLoader("https://example.com/person2");
734
+ if (url === "https://example.com/person2") throw new FetchError(new URL(url), "HTTP 401: Unauthorized");
735
+ return mockDocumentLoader(url);
736
+ };
737
+ const signedReq = await signRequest(new Request("https://example.com/", { headers: { accept: "application/activity+json" } }), rsaPrivateKey3, rsaPublicKey3.id);
738
+ const fed = createFederation({
739
+ kv,
740
+ documentLoaderFactory: () => customDocumentLoader,
741
+ contextLoaderFactory: () => mockDocumentLoader
742
+ });
743
+ const ctx = fed.createContext(signedReq, void 0);
744
+ assertEquals(await ctx.getSignedKeyOwner(), null);
745
+ });
731
746
  await t.step("RequestContext.clone()", () => {
732
747
  const federation = createFederation({ kv });
733
748
  const req = new Request("https://example.com/", { headers: { "accept": "application/ld+json" } });
@@ -3,12 +3,12 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  require('../transformers-3g8GZwkZ.cjs');
6
- require('../http-B-epypwc.cjs');
7
- const require_middleware = require('../middleware-CzNcdhiV.cjs');
8
- require('../proof-BmYdRz_f.cjs');
6
+ require('../http-Due1pojF.cjs');
7
+ const require_middleware = require('../middleware-CfgAMF_j.cjs');
8
+ require('../proof-CVHxb_s9.cjs');
9
9
  const require_federation = require('../federation-Bp3HI26G.cjs');
10
10
  require('../types-Cd_hszr_.cjs');
11
- require('../kv-cache-YG3yAJRb.cjs');
11
+ require('../kv-cache-zyDjqzjm.cjs');
12
12
 
13
13
  exports.InProcessMessageQueue = require_federation.InProcessMessageQueue;
14
14
  exports.MemoryKvStore = require_federation.MemoryKvStore;
@@ -1,7 +1,7 @@
1
1
  import "../client-C97KOq3x.cjs";
2
2
  import "../http-Cz3MlXAZ.cjs";
3
3
  import "../owner-1AbPBOOZ.cjs";
4
- import { 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, 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, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-o4OhjMHe.cjs";
4
+ import { 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, 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, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-D3QkEtZd.cjs";
5
5
  import { KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore } from "../kv-BL4nlICN.cjs";
6
- import { WebFingerHandlerParameters, handleWebFinger } from "../mod-DwqZ5l67.cjs";
6
+ import { WebFingerHandlerParameters, handleWebFinger } from "../mod-Di3W5OdP.cjs";
7
7
  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 };
@@ -3,7 +3,7 @@ import { URLPattern } from "urlpattern-polyfill";
3
3
  import "../client-BxMZiQaD.js";
4
4
  import "../http-DkHdFfrc.js";
5
5
  import "../owner-gd0Q9FuU.js";
6
- import { 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, 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, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-Dy5ro7zD.js";
6
+ import { 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, 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, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable } from "../context-DZJhUmzF.js";
7
7
  import { KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MemoryKvStore } from "../kv-DXEUEP6z.js";
8
- import { WebFingerHandlerParameters, handleWebFinger } from "../mod-CIR7gJW8.js";
8
+ import { WebFingerHandlerParameters, handleWebFinger } from "../mod-DnSsduJF.js";
9
9
  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 };
@@ -3,11 +3,11 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
5
  import "../transformers-C3FLHUd6.js";
6
- import "../http-C3oMHumD.js";
7
- import { Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-ByN4qQt0.js";
8
- import "../proof-BNcJ_Sa_.js";
6
+ import "../http-BNiAwNU-.js";
7
+ import { Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable } from "../middleware-BQ3c3mRY.js";
8
+ import "../proof-BSXD3gxs.js";
9
9
  import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "../federation-DaMfqRm4.js";
10
10
  import "../types-C93Ob9cU.js";
11
- import "../kv-cache-K6GW8-uS.js";
11
+ import "../kv-cache-DjYerrCe.js";
12
12
 
13
13
  export { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, SendActivityError, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, handleWebFinger, respondWithObject, respondWithObjectIfAcceptable };
@@ -7,11 +7,11 @@ import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-B5f6
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
- import "../deno-D_VnPW-Y.js";
11
- import "../key-Cw2GXzkv.js";
12
- import { verifyRequest } from "../http-CFILUWFj.js";
13
- import { doesActorOwnKey } from "../owner-BJOuHY_S.js";
14
- import { SendActivityError, extractInboxes, sendActivity } from "../send-DYC2LvJZ.js";
10
+ import "../deno-RllegzSG.js";
11
+ import "../key-BqMOdwtv.js";
12
+ import { verifyRequest } from "../http-Cvsk5Skd.js";
13
+ import { doesActorOwnKey } from "../owner-rwfm7c6o.js";
14
+ import { SendActivityError, extractInboxes, sendActivity } from "../send-BUsEdmU0.js";
15
15
  import "../std__assert-DWivtrGR.js";
16
16
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
17
17
  import "../assert_throws-BNXdRGWP.js";
@@ -8,25 +8,25 @@ import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-QzKcOQgP.js";
11
- import "../deno-D_VnPW-Y.js";
12
- import { createFederation, handleWebFinger } from "../middleware-Co3x1vLV.js";
11
+ import "../deno-RllegzSG.js";
12
+ import { createFederation, handleWebFinger } from "../middleware-CpOJCVxU.js";
13
13
  import "../client-Dg7OfUDA.js";
14
14
  import "../router-D9eI0s4b.js";
15
15
  import "../types-CPz01LGH.js";
16
- import "../key-Cw2GXzkv.js";
17
- import "../http-CFILUWFj.js";
18
- import "../ld-D4-RbyP8.js";
19
- import "../owner-BJOuHY_S.js";
20
- import "../proof-VvmjtuyP.js";
21
- import "../docloader-D7xSU1xb.js";
16
+ import "../key-BqMOdwtv.js";
17
+ import "../http-Cvsk5Skd.js";
18
+ import "../ld-BMgYSVTZ.js";
19
+ import "../owner-rwfm7c6o.js";
20
+ import "../proof-CV9ObID1.js";
21
+ import "../docloader-Bue7Ij3R.js";
22
22
  import "../kv-cache-B__dHl7g.js";
23
- import "../inbox-FsU-ifET.js";
24
- import "../builder-DqJQtxW4.js";
23
+ import "../inbox-CYce8kRg.js";
24
+ import "../builder-Dr8wJfzL.js";
25
25
  import "../collection-CcnIw1qY.js";
26
26
  import "../keycache-DRxpZ5r9.js";
27
27
  import "../negotiation-5NPJL6zp.js";
28
28
  import "../retry-D4GJ670a.js";
29
- import "../send-DYC2LvJZ.js";
29
+ import "../send-BUsEdmU0.js";
30
30
  import "../std__assert-DWivtrGR.js";
31
31
  import "../assert_rejects-Ce45JcFg.js";
32
32
  import "../assert_throws-BNXdRGWP.js";
@@ -13,7 +13,7 @@ import { getDocumentLoader } from "@fedify/vocab-runtime";
13
13
 
14
14
  //#region deno.json
15
15
  var name = "@fedify/fedify";
16
- var version = "2.1.0-dev.408+5c3c9d78";
16
+ var version = "2.1.0-dev.418+6c060f4a";
17
17
  var license = "MIT";
18
18
  var exports = {
19
19
  ".": "./src/mod.ts",
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-D_VnPW-Y.js";
7
- import { fetchKey, validateCryptoKey } from "./key-Cw2GXzkv.js";
6
+ import { deno_default } from "./deno-RllegzSG.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-BqMOdwtv.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { CryptographicKey } from "@fedify/vocab";
10
10
  import { SpanStatusCode, trace } from "@opentelemetry/api";
@@ -14,7 +14,7 @@ const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runt
14
14
 
15
15
  //#region deno.json
16
16
  var name = "@fedify/fedify";
17
- var version = "2.1.0-dev.408+5c3c9d78";
17
+ var version = "2.1.0-dev.418+6c060f4a";
18
18
  var license = "MIT";
19
19
  var exports$1 = {
20
20
  ".": "./src/mod.ts",
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-D_VnPW-Y.js";
6
+ import { deno_default } from "./deno-RllegzSG.js";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
  import { Activity, getTypeId } from "@fedify/vocab";
9
9
  import { SpanKind, SpanStatusCode, context, propagation, trace } from "@opentelemetry/api";