@fedify/fedify 2.5.0-dev.2327 → 2.5.0-dev.2339

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 (82) hide show
  1. package/dist/{builder-D1OTD3--.mjs → builder-4z5McYcY.mjs} +2 -2
  2. package/dist/compat/transformers.test.mjs +1 -1
  3. package/dist/{compound-proof-DML23ZA8.mjs → compound-proof-B6xZTnTr.mjs} +2 -2
  4. package/dist/{deno-CzjcjZ80.mjs → deno-BnX-hlO-.mjs} +1 -1
  5. package/dist/{docloader-tMR7o09T.mjs → docloader-_tslGlJv.mjs} +2 -2
  6. package/dist/exporter-DThFfe7P.mjs +257 -0
  7. package/dist/federation/builder.test.mjs +1 -1
  8. package/dist/federation/compound-fanout.test.mjs +3 -3
  9. package/dist/federation/handler-compound-proof.test.mjs +3 -3
  10. package/dist/federation/handler.test.mjs +224 -5
  11. package/dist/federation/hashlink-media.test.mjs +2 -2
  12. package/dist/federation/idempotency.test.mjs +2 -2
  13. package/dist/federation/inbox-report.test.mjs +5 -5
  14. package/dist/federation/metrics.test.mjs +1 -1
  15. package/dist/federation/middleware.test.mjs +101 -8
  16. package/dist/federation/mod.cjs +1 -1
  17. package/dist/federation/mod.js +1 -1
  18. package/dist/federation/outgoing-proof.test.mjs +5 -5
  19. package/dist/federation/portable-actor.test.mjs +3 -3
  20. package/dist/federation/portable-chain.test.mjs +3 -3
  21. package/dist/federation/portable-collection.test.mjs +4 -4
  22. package/dist/federation/portable-delivery.test.mjs +2 -2
  23. package/dist/federation/portable-gateway-keys.test.mjs +4 -4
  24. package/dist/federation/portable-inbox.test.mjs +4 -4
  25. package/dist/federation/portable-parse-uri.test.mjs +1 -1
  26. package/dist/federation/portable-route-activity.test.mjs +2 -2
  27. package/dist/federation/portable.test.mjs +3 -3
  28. package/dist/federation/send.test.mjs +199 -3
  29. package/dist/federation/tasks/enqueue.test.mjs +1 -1
  30. package/dist/federation/tasks/tasks.test.mjs +2 -2
  31. package/dist/federation/temporal.test.mjs +1 -1
  32. package/dist/federation/webfinger.test.mjs +1 -1
  33. package/dist/{federation-BHOSHFCr.cjs → federation-CV-CkIIZ.cjs} +22 -14
  34. package/dist/{http-CUhaXRsy.cjs → http-BJrxYYP3.cjs} +1 -1
  35. package/dist/{http-DzBwbsDL.mjs → http-BSmcgoaq.mjs} +4 -4
  36. package/dist/{http-gbfMWXuK.js → http-CVT3OEmZ.js} +1 -1
  37. package/dist/{key-CfJ7MJmp.mjs → key-DRLFC1um.mjs} +2 -2
  38. package/dist/{kv-cache-B3HjvmZE.mjs → kv-cache-DTY50c-3.mjs} +1 -1
  39. package/dist/{kv-cache-Y18nY4gZ.cjs → kv-cache-DnCGPsXH.cjs} +1 -1
  40. package/dist/{kv-cache-CyCsAOR6.js → kv-cache-Dv3joZCp.js} +1 -1
  41. package/dist/{ld-BzvgaYZi.mjs → ld-BiFf-T9F.mjs} +3 -3
  42. package/dist/{metrics-Dwkct8jJ.mjs → metrics-BuC9-u1Z.mjs} +1 -1
  43. package/dist/{middleware-BURmMr0W.mjs → middleware-A02EGx8T.mjs} +1 -1
  44. package/dist/{middleware-BFr_zLaE.mjs → middleware-BBSxgV0Y.mjs} +27 -23
  45. package/dist/{middleware-vJzuhHEr.js → middleware-CKEoEiBw.js} +22 -14
  46. package/dist/mod.cjs +4 -4
  47. package/dist/mod.js +4 -4
  48. package/dist/nodeinfo/handler.test.mjs +1 -1
  49. package/dist/otel/exporter.test.mjs +1 -253
  50. package/dist/{owner-CGXm_YAa.mjs → owner-BsgoTcNb.mjs} +3 -3
  51. package/dist/{portable-collection-DBAMRYNa.mjs → portable-collection-BiBpObws.mjs} +2 -2
  52. package/dist/{portable-collection-Cnl40K17.js → portable-collection-BzUoU2gg.js} +1 -1
  53. package/dist/{portable-collection-to2aHmLK.cjs → portable-collection-D3c6LAHN.cjs} +1 -1
  54. package/dist/{portable-key-DqFNrfnc.mjs → portable-key-CF6z6v-f.mjs} +1 -1
  55. package/dist/{proof-CImybMS5.mjs → proof-vlRUtAdS.mjs} +4 -4
  56. package/dist/{send-oReIfAwd.mjs → send-D5aMlvJH.mjs} +10 -6
  57. package/dist/sig/compound-proof-discovery.test.mjs +1 -1
  58. package/dist/sig/compound-proof-producer.test.mjs +1 -1
  59. package/dist/sig/compound-proof-verification.test.mjs +2 -2
  60. package/dist/sig/compound-proof.test.mjs +2 -2
  61. package/dist/sig/http.test.mjs +2 -2
  62. package/dist/sig/key.test.mjs +1 -1
  63. package/dist/sig/ld.test.mjs +2 -2
  64. package/dist/sig/mitra-receive-interop.test.mjs +4 -4
  65. package/dist/sig/mitra-send-interop.test.mjs +3 -3
  66. package/dist/sig/mod.cjs +2 -2
  67. package/dist/sig/mod.js +2 -2
  68. package/dist/sig/owner.test.mjs +1 -1
  69. package/dist/sig/portable-collection.test.mjs +1 -1
  70. package/dist/sig/portable-interop.test.mjs +3 -3
  71. package/dist/sig/portable-key.test.mjs +6 -6
  72. package/dist/sig/proof.test.mjs +3 -3
  73. package/dist/sig/tootik-request-interop.test.mjs +4 -4
  74. package/dist/sig/tootik-send-interop.test.mjs +3 -3
  75. package/dist/sig/verification.test.mjs +3 -3
  76. package/dist/{temporal-DLaPDeOv.mjs → temporal-BE3xoktR.mjs} +1 -1
  77. package/dist/testing/kv.test.mjs +1 -1
  78. package/dist/utils/docloader.test.mjs +2 -2
  79. package/dist/utils/kv-cache.test.mjs +1 -1
  80. package/dist/utils/mod.cjs +1 -1
  81. package/dist/utils/mod.js +1 -1
  82. package/package.json +6 -6
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { c as getNormalizationContextLoader } from "./ld-BzvgaYZi.mjs";
4
+ import { c as getNormalizationContextLoader } from "./ld-BiFf-T9F.mjs";
5
5
  import jsonld from "@fedify/vocab-runtime/jsonld";
6
6
  //#region src/federation/temporal.ts
7
7
  function isPlainObject(value) {
@@ -6,7 +6,7 @@ import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
6
6
  import { t as ManualClockKvStore } from "../kv-DBRWVx3Q.mjs";
7
7
  import { n as baseOptions, o as stringSchema, t as MockQueue } from "../tasks-IG3pHfvZ.mjs";
8
8
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
9
- import { o as createFederation } from "../middleware-BFr_zLaE.mjs";
9
+ import { o as createFederation } from "../middleware-BBSxgV0Y.mjs";
10
10
  //#region src/testing/kv.test.ts
11
11
  test("ManualClockKvStore keeps an entry at its exact expiration instant", async () => {
12
12
  const kv = new ManualClockKvStore();
@@ -5,9 +5,9 @@ import { t as esm_default } from "../esm-BHXXx4Wx.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
6
6
  import "../std__assert-DvMDRPes.mjs";
7
7
  import { t as assertRejects } from "../assert_rejects-CTptdYck.mjs";
8
- import { f as verifyRequest } from "../http-DzBwbsDL.mjs";
8
+ import { f as verifyRequest } from "../http-BSmcgoaq.mjs";
9
9
  import { i as rsaPrivateKey2 } from "../keys-DIJNHW-Y.mjs";
10
- import { t as getAuthenticatedDocumentLoader } from "../docloader-tMR7o09T.mjs";
10
+ import { t as getAuthenticatedDocumentLoader } from "../docloader-_tslGlJv.mjs";
11
11
  import { configure, reset } from "@logtape/logtape";
12
12
  import { FetchError, UrlError } from "@fedify/vocab-runtime";
13
13
  import { mockDocumentLoader, test } from "@fedify/fixture";
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as kvCache, t as MockKvStore } from "../kv-cache-B3HjvmZE.mjs";
4
+ import { n as kvCache, t as MockKvStore } from "../kv-cache-DTY50c-3.mjs";
5
5
  import { preloadedContexts } from "@fedify/vocab-runtime";
6
6
  import { deepStrictEqual, throws } from "node:assert";
7
7
  import { createTestMeterProvider, mockDocumentLoader, test } from "@fedify/fixture";
@@ -1,5 +1,5 @@
1
1
  const { URLPattern } = require("urlpattern-polyfill");
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_kv_cache = require("../kv-cache-Y18nY4gZ.cjs");
3
+ const require_kv_cache = require("../kv-cache-DnCGPsXH.cjs");
4
4
  exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
5
5
  exports.kvCache = require_kv_cache.kvCache;
package/dist/utils/mod.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-CyCsAOR6.js";
3
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-Dv3joZCp.js";
4
4
  export { getAuthenticatedDocumentLoader, kvCache };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "2.5.0-dev.2327+3a7ba490",
3
+ "version": "2.5.0-dev.2339+5e786861",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -151,10 +151,10 @@
151
151
  "structured-field-values": "^2.0.4",
152
152
  "temporal-polyfill": "^1.0.1",
153
153
  "urlpattern-polyfill": "^10.1.0",
154
- "@fedify/uri-template": "2.5.0-dev.2327+3a7ba490",
155
- "@fedify/vocab": "2.5.0-dev.2327+3a7ba490",
156
- "@fedify/webfinger": "2.5.0-dev.2327+3a7ba490",
157
- "@fedify/vocab-runtime": "2.5.0-dev.2327+3a7ba490"
154
+ "@fedify/uri-template": "2.5.0-dev.2339+5e786861",
155
+ "@fedify/webfinger": "2.5.0-dev.2339+5e786861",
156
+ "@fedify/vocab": "2.5.0-dev.2339+5e786861",
157
+ "@fedify/vocab-runtime": "2.5.0-dev.2339+5e786861"
158
158
  },
159
159
  "devDependencies": {
160
160
  "@std/assert": "npm:@jsr/std__assert@^0.226.0",
@@ -167,7 +167,7 @@
167
167
  "typescript": "^6.0.0",
168
168
  "wrangler": "^4.17.0",
169
169
  "@fedify/fixture": "2.0.0",
170
- "@fedify/vocab-tools": "^2.5.0-dev.2327+3a7ba490"
170
+ "@fedify/vocab-tools": "^2.5.0-dev.2339+5e786861"
171
171
  },
172
172
  "scripts": {
173
173
  "build:self": "tsdown",