@fedify/fedify 2.5.0-dev.2568 → 2.5.0-dev.2609

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 (86) hide show
  1. package/dist/{builder--6f2TLFq.mjs → builder-BLCvt0zp.mjs} +2 -2
  2. package/dist/compat/transformers.test.mjs +1 -1
  3. package/dist/{compound-proof-hbwJQJsw.mjs → compound-proof-DNhLvscb.mjs} +6 -4
  4. package/dist/{deno-CO44bTZ_.mjs → deno-DYkYmKp0.mjs} +1 -1
  5. package/dist/{docloader-NCv7GVFg.mjs → docloader-B9RO5nh9.mjs} +2 -2
  6. package/dist/federation/builder.test.mjs +1 -1
  7. package/dist/federation/compound-fanout.test.mjs +3 -3
  8. package/dist/federation/handler-compound-proof.test.mjs +3 -3
  9. package/dist/federation/handler.test.mjs +12 -4
  10. package/dist/federation/hashlink-media.test.mjs +2 -2
  11. package/dist/federation/idempotency.test.mjs +2 -2
  12. package/dist/federation/inbox-actorless.test.mjs +5 -5
  13. package/dist/federation/inbox-report.test.mjs +5 -5
  14. package/dist/federation/inbox-view.test.mjs +1 -1
  15. package/dist/federation/inbox.test.mjs +1 -1
  16. package/dist/federation/metrics.test.mjs +1 -1
  17. package/dist/federation/middleware.test.mjs +7 -7
  18. package/dist/federation/mod.cjs +1 -1
  19. package/dist/federation/mod.js +1 -1
  20. package/dist/federation/mq.test.mjs +1 -1
  21. package/dist/federation/outgoing-proof.test.mjs +4 -4
  22. package/dist/federation/portable-actor.test.mjs +3 -3
  23. package/dist/federation/portable-chain.test.mjs +3 -3
  24. package/dist/federation/portable-collection.test.mjs +4 -4
  25. package/dist/federation/portable-delivery.test.mjs +2 -2
  26. package/dist/federation/portable-gateway-keys.test.mjs +5 -5
  27. package/dist/federation/portable-inbox.test.mjs +4 -4
  28. package/dist/federation/portable-parse-uri.test.mjs +1 -1
  29. package/dist/federation/portable-route-activity.test.mjs +2 -2
  30. package/dist/federation/portable.test.mjs +3 -3
  31. package/dist/federation/send.test.mjs +3 -3
  32. package/dist/federation/tasks/enqueue.test.mjs +1 -1
  33. package/dist/federation/tasks/tasks.test.mjs +2 -2
  34. package/dist/federation/temporal.test.mjs +1 -1
  35. package/dist/federation/webfinger.test.mjs +1 -1
  36. package/dist/{federation-CJ4C_i9D.cjs → federation-DzMdu4zU.cjs} +7 -5
  37. package/dist/{http-DVQIHkSJ.cjs → http-BdTJujR0.cjs} +1 -1
  38. package/dist/{http-cOf_6J25.js → http-EoFzzh1s.js} +1 -1
  39. package/dist/{http-CY7-Udm1.mjs → http-TgeyuTDM.mjs} +4 -4
  40. package/dist/{inbox-DWz1XDLv.mjs → inbox-ChkbRxCN.mjs} +2 -2
  41. package/dist/{inbox-view-BnmZFXPT.mjs → inbox-view-BosBZdlt.mjs} +1 -1
  42. package/dist/{kv-cache-BfvPfl7g.cjs → kv-cache-B0o18_Ni.cjs} +1 -1
  43. package/dist/{kv-cache-CfIj4orG.js → kv-cache-CMgOYiLU.js} +1 -1
  44. package/dist/{kv-cache-lqq4WGMx.mjs → kv-cache-CTA2i08a.mjs} +1 -1
  45. package/dist/{ld-Cf48sUNp.mjs → ld-CZsMAfOw.mjs} +2 -2
  46. package/dist/{metrics-BI2qL4aO.mjs → metrics-Kc9mP1LD.mjs} +1 -1
  47. package/dist/{middleware-DO218FXs.js → middleware-B-pjIvQ8.js} +7 -5
  48. package/dist/{middleware-Bvra_CPx.mjs → middleware-C1coPz8l.mjs} +1 -1
  49. package/dist/{middleware-BlcHd2sw.mjs → middleware-CIRoIVSU.mjs} +15 -15
  50. package/dist/mod.cjs +4 -4
  51. package/dist/mod.js +4 -4
  52. package/dist/nodeinfo/handler.test.mjs +1 -1
  53. package/dist/{owner-DRQj8Hx9.mjs → owner-Dwz4fGUW.mjs} +3 -3
  54. package/dist/{portable-collection-vTKJniJJ.js → portable-collection-BikiijSk.js} +1 -1
  55. package/dist/{portable-collection-FSBuEbXm.cjs → portable-collection-Ci6vIhbR.cjs} +1 -1
  56. package/dist/{portable-collection-gBH8-Fix.mjs → portable-collection-Oxfavx8f.mjs} +2 -2
  57. package/dist/{portable-key-B56XKHZ3.mjs → portable-key--fWpTNDN.mjs} +1 -1
  58. package/dist/{proof-BlfJEiJ4.mjs → proof-D6Kb0Qq9.mjs} +3 -3
  59. package/dist/{send-i8WV9Zn3.mjs → send-BFti0L3I.mjs} +3 -3
  60. package/dist/sig/compound-proof-discovery.test.mjs +1 -1
  61. package/dist/sig/compound-proof-producer.test.mjs +1 -1
  62. package/dist/sig/compound-proof-verification.test.mjs +20 -2
  63. package/dist/sig/compound-proof.test.mjs +2 -2
  64. package/dist/sig/http.test.mjs +2 -2
  65. package/dist/sig/key.test.mjs +1 -1
  66. package/dist/sig/ld.test.mjs +1 -1
  67. package/dist/sig/mitra-receive-interop.test.mjs +4 -4
  68. package/dist/sig/mitra-send-interop.test.mjs +3 -3
  69. package/dist/sig/mod.cjs +2 -2
  70. package/dist/sig/mod.js +2 -2
  71. package/dist/sig/owner.test.mjs +1 -1
  72. package/dist/sig/portable-collection.test.mjs +1 -1
  73. package/dist/sig/portable-interop.test.mjs +3 -3
  74. package/dist/sig/portable-key.test.mjs +5 -5
  75. package/dist/sig/proof.test.mjs +3 -3
  76. package/dist/sig/tootik-request-interop.test.mjs +4 -4
  77. package/dist/sig/tootik-send-interop.test.mjs +3 -3
  78. package/dist/sig/verification.test.mjs +3 -3
  79. package/dist/{temporal-FI5ClPeQ.mjs → temporal-DlYL_raW.mjs} +1 -1
  80. package/dist/testing/kv.test.mjs +1 -1
  81. package/dist/testing/mod.d.mts +9 -4
  82. package/dist/utils/docloader.test.mjs +2 -2
  83. package/dist/utils/kv-cache.test.mjs +1 -1
  84. package/dist/utils/mod.cjs +1 -1
  85. package/dist/utils/mod.js +1 -1
  86. package/package.json +7 -7
@@ -4,9 +4,9 @@ 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 assert } from "../assert-D1Eafmd_.mjs";
7
- import { d as verifyPortableObjectProof } from "../proof-BlfJEiJ4.mjs";
8
- import { m as verifyRequestDetailed } from "../http-CY7-Udm1.mjs";
9
- import { t as doesActorOwnKey } from "../owner-DRQj8Hx9.mjs";
7
+ import { d as verifyPortableObjectProof } from "../proof-D6Kb0Qq9.mjs";
8
+ import { m as verifyRequestDetailed } from "../http-TgeyuTDM.mjs";
9
+ import { t as doesActorOwnKey } from "../owner-Dwz4fGUW.mjs";
10
10
  import { Create } from "@fedify/vocab";
11
11
  import { decodeMultibase, importDidKey } from "@fedify/vocab-runtime";
12
12
  import { mockDocumentLoader, test } from "@fedify/fixture";
@@ -2,9 +2,9 @@ import "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { a as verificationObservation } from "../verification-Dpfcw8ml.mjs";
5
- import { _ as verifyJsonLd, m as signJsonLd } from "../ld-Cf48sUNp.mjs";
6
- import { l as verifyObject, s as signObject } from "../proof-BlfJEiJ4.mjs";
7
- import { m as verifyRequestDetailed, u as signRequest } from "../http-CY7-Udm1.mjs";
5
+ import { _ as verifyJsonLd, m as signJsonLd } from "../ld-CZsMAfOw.mjs";
6
+ import { l as verifyObject, s as signObject } from "../proof-D6Kb0Qq9.mjs";
7
+ import { m as verifyRequestDetailed, u as signRequest } from "../http-TgeyuTDM.mjs";
8
8
  import { i as rsaPrivateKey2, n as ed25519PrivateKey, o as rsaPublicKey1, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DIJNHW-Y.mjs";
9
9
  import { Activity, Create, CryptographicKey, Multikey } from "@fedify/vocab";
10
10
  import { FetchError } from "@fedify/vocab-runtime";
@@ -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-Cf48sUNp.mjs";
4
+ import { c as getNormalizationContextLoader } from "./ld-CZsMAfOw.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-BlcHd2sw.mjs";
9
+ import { o as createFederation } from "../middleware-CIRoIVSU.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();
@@ -5445,6 +5445,11 @@ declare class MockQueue implements MessageQueue {
5445
5445
  //#region ../fixture/dist/mod.d.ts
5446
5446
  //#endregion
5447
5447
  //#region src/test.d.ts
5448
+ /**
5449
+ * Deno's per-test permission options, declared structurally so that this
5450
+ * module does not depend on Deno's ambient types.
5451
+ */
5452
+ type DenoPermissionOptions = "inherit" | "none" | { readonly [name in "env" | "ffi" | "import" | "net" | "read" | "run" | "sys" | "write"]?: "inherit" | boolean | readonly (string | URL)[] };
5448
5453
  /** A test callback that uses only APIs supported by every test runtime. */
5449
5454
  type TestFunction = (t: TestContext) => void | Promise<void>;
5450
5455
  /** A nested test step supported by Deno, Node.js, Bun, and Workers. */
@@ -5465,10 +5470,10 @@ interface TestContext {
5465
5470
  interface TestDefinition {
5466
5471
  name: string;
5467
5472
  ignore?: boolean;
5468
- permissions?: Deno.TestDefinition["permissions"];
5469
- sanitizeExit?: Deno.TestDefinition["sanitizeExit"];
5470
- sanitizeOps?: Deno.TestDefinition["sanitizeOps"];
5471
- sanitizeResources?: Deno.TestDefinition["sanitizeResources"];
5473
+ permissions?: DenoPermissionOptions;
5474
+ sanitizeExit?: boolean;
5475
+ sanitizeOps?: boolean;
5476
+ sanitizeResources?: boolean;
5472
5477
  fn: TestFunction;
5473
5478
  }
5474
5479
  declare const testDefinitions: TestDefinition[];
@@ -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 { p as verifyRequest } from "../http-CY7-Udm1.mjs";
8
+ import { p as verifyRequest } from "../http-TgeyuTDM.mjs";
9
9
  import { i as rsaPrivateKey2 } from "../keys-DIJNHW-Y.mjs";
10
- import { n as getAuthenticatedDocumentLoader, t as createAuthenticatedDocumentLoader } from "../docloader-NCv7GVFg.mjs";
10
+ import { n as getAuthenticatedDocumentLoader, t as createAuthenticatedDocumentLoader } from "../docloader-B9RO5nh9.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-lqq4WGMx.mjs";
4
+ import { n as kvCache, t as MockKvStore } from "../kv-cache-CTA2i08a.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-BfvPfl7g.cjs");
3
+ const require_kv_cache = require("../kv-cache-B0o18_Ni.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-CfIj4orG.js";
3
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-CMgOYiLU.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.2568+889927c4",
3
+ "version": "2.5.0-dev.2609+017171aa",
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.2568+889927c4",
155
- "@fedify/webfinger": "2.5.0-dev.2568+889927c4",
156
- "@fedify/vocab": "2.5.0-dev.2568+889927c4",
157
- "@fedify/vocab-runtime": "2.5.0-dev.2568+889927c4"
154
+ "@fedify/uri-template": "2.5.0-dev.2609+017171aa",
155
+ "@fedify/vocab": "2.5.0-dev.2609+017171aa",
156
+ "@fedify/vocab-runtime": "2.5.0-dev.2609+017171aa",
157
+ "@fedify/webfinger": "2.5.0-dev.2609+017171aa"
158
158
  },
159
159
  "devDependencies": {
160
160
  "@std/assert": "npm:@jsr/std__assert@^0.226.0",
@@ -163,10 +163,10 @@
163
163
  "miniflare": "^4.20250523.0",
164
164
  "tsdown": "^0.22.0",
165
165
  "tsx": "^4.21.0",
166
- "typescript": "^6.0.0",
166
+ "typescript": "^6.0.3",
167
167
  "wrangler": "^4.17.0",
168
168
  "@fedify/fixture": "2.0.0",
169
- "@fedify/vocab-tools": "^2.5.0-dev.2568+889927c4"
169
+ "@fedify/vocab-tools": "^2.5.0-dev.2609+017171aa"
170
170
  },
171
171
  "scripts": {
172
172
  "build:self": "tsdown",