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

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-B2olSmzE.mjs → builder-D1OTD3--.mjs} +2 -2
  2. package/dist/compat/transformers.test.mjs +1 -1
  3. package/dist/{compound-proof-XGgYfmgG.mjs → compound-proof-DML23ZA8.mjs} +2 -2
  4. package/dist/{deno-BEh_Ig3G.mjs → deno-CzjcjZ80.mjs} +1 -1
  5. package/dist/{docloader-zZZNW03a.mjs → docloader-tMR7o09T.mjs} +2 -2
  6. package/dist/federation/builder.test.mjs +1 -1
  7. package/dist/federation/compound-fanout.test.mjs +3 -3
  8. package/dist/federation/handler-compound-proof.test.mjs +3 -3
  9. package/dist/federation/handler.test.mjs +5 -5
  10. package/dist/federation/hashlink-media.test.mjs +2 -2
  11. package/dist/federation/idempotency.test.mjs +2 -2
  12. package/dist/federation/inbox-report.test.mjs +5 -5
  13. package/dist/federation/keycache.test.mjs +32 -1
  14. package/dist/federation/metrics.test.mjs +1 -1
  15. package/dist/federation/middleware.test.mjs +7 -7
  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 +5 -5
  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 +3 -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-D0u3VgfT.cjs → federation-BHOSHFCr.cjs} +25 -5
  34. package/dist/{http-DTRRdYU8.cjs → http-CUhaXRsy.cjs} +1 -1
  35. package/dist/{http-C7vJGqC4.mjs → http-DzBwbsDL.mjs} +4 -4
  36. package/dist/{http-D6j_zu-2.js → http-gbfMWXuK.js} +1 -1
  37. package/dist/{key-kfrS3Xr7.mjs → key-CfJ7MJmp.mjs} +2 -2
  38. package/dist/{keycache-Da8A8mZa.mjs → keycache-D-MNltOk.mjs} +23 -2
  39. package/dist/{kv-cache-VW5nqXz4.mjs → kv-cache-B3HjvmZE.mjs} +1 -1
  40. package/dist/{kv-cache-B_v4qKew.js → kv-cache-CyCsAOR6.js} +1 -1
  41. package/dist/{kv-cache-iRvhWQLY.cjs → kv-cache-Y18nY4gZ.cjs} +1 -1
  42. package/dist/{ld-4aIgfSGG.mjs → ld-BzvgaYZi.mjs} +3 -3
  43. package/dist/{metrics-DWkYuEzA.mjs → metrics-Dwkct8jJ.mjs} +1 -1
  44. package/dist/{middleware-BPaY7-yM.mjs → middleware-BFr_zLaE.mjs} +15 -15
  45. package/dist/{middleware-B3WE_tZ-.mjs → middleware-BURmMr0W.mjs} +1 -1
  46. package/dist/{middleware-CfqAsss-.js → middleware-vJzuhHEr.js} +25 -5
  47. package/dist/mod.cjs +4 -4
  48. package/dist/mod.js +4 -4
  49. package/dist/nodeinfo/handler.test.mjs +1 -1
  50. package/dist/{owner-FfKazL5t.mjs → owner-CGXm_YAa.mjs} +3 -3
  51. package/dist/{portable-collection-BJaWFc9A.js → portable-collection-Cnl40K17.js} +1 -1
  52. package/dist/{portable-collection-D-I_Kvxw.mjs → portable-collection-DBAMRYNa.mjs} +2 -2
  53. package/dist/{portable-collection-wepeuvCY.cjs → portable-collection-to2aHmLK.cjs} +1 -1
  54. package/dist/{portable-key-Ckv0tU8z.mjs → portable-key-DqFNrfnc.mjs} +1 -1
  55. package/dist/{proof-DNhnMZ1U.mjs → proof-CImybMS5.mjs} +4 -4
  56. package/dist/{send-BAN1eEVS.mjs → send-oReIfAwd.mjs} +3 -3
  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 +61 -4
  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 +7 -7
  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--envYShj.mjs → temporal-DLaPDeOv.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
@@ -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 { c as verifyPortableObjectProof, d as verifyProof } from "../proof-DNhnMZ1U.mjs";
8
- import { n as getKeyOwner } from "../owner-FfKazL5t.mjs";
9
- import { t as verifyPortableObject } from "../portable-collection-D-I_Kvxw.mjs";
7
+ import { c as verifyPortableObjectProof, d as verifyProof } from "../proof-CImybMS5.mjs";
8
+ import { n as getKeyOwner } from "../owner-CGXm_YAa.mjs";
9
+ import { t as verifyPortableObject } from "../portable-collection-DBAMRYNa.mjs";
10
10
  import { Application, DataIntegrityProof, lookupObject } from "@fedify/vocab";
11
11
  import { mockDocumentLoader, test } from "@fedify/fixture";
12
12
  //#region test-vectors/fep-ef61/tootik-v0.25.4/actor.json
@@ -2,14 +2,14 @@ import { Temporal } from "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
5
- import { a as fetchKeyDetailed, i as fetchKey } from "../key-kfrS3Xr7.mjs";
6
- import { h as verifyJsonLd, p as signJsonLd } from "../ld-4aIgfSGG.mjs";
7
- import { d as verifyProof, r as createProof } from "../proof-DNhnMZ1U.mjs";
8
- import { n as resolvePortableActorKey } from "../portable-key-Ckv0tU8z.mjs";
9
- import { f as verifyRequest, l as signRequest, p as verifyRequestDetailed } from "../http-C7vJGqC4.mjs";
5
+ import { a as fetchKeyDetailed, i as fetchKey } from "../key-CfJ7MJmp.mjs";
6
+ import { h as verifyJsonLd, p as signJsonLd } from "../ld-BzvgaYZi.mjs";
7
+ import { d as verifyProof, r as createProof } from "../proof-CImybMS5.mjs";
8
+ import { n as resolvePortableActorKey } from "../portable-key-DqFNrfnc.mjs";
9
+ import { f as verifyRequest, l as signRequest, p as verifyRequestDetailed } from "../http-DzBwbsDL.mjs";
10
10
  import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2 } from "../keys-DIJNHW-Y.mjs";
11
- import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-FfKazL5t.mjs";
12
- import { t as KvKeyCache } from "../keycache-Da8A8mZa.mjs";
11
+ import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-CGXm_YAa.mjs";
12
+ import { t as KvKeyCache } from "../keycache-D-MNltOk.mjs";
13
13
  import { Create, CryptographicKey, Multikey, Note, Person } from "@fedify/vocab";
14
14
  import { FetchError, encodeMultibase, exportDidKey, exportSpki, parseIri, preloadedContexts } from "@fedify/vocab-runtime";
15
15
  import { test } from "@fedify/fixture";
@@ -11,10 +11,10 @@ import { t as assertRejects } from "../assert_rejects-CTptdYck.mjs";
11
11
  import { t as assert } from "../assert-D1Eafmd_.mjs";
12
12
  import { a as verificationObservation } from "../verification-Dpfcw8ml.mjs";
13
13
  import { r as normalizeOutgoingActivityJsonLd } from "../outgoing-jsonld-4IJqPYos.mjs";
14
- import { a as signObject, c as verifyPortableObjectProof, d as verifyProof, i as hasProofLike, o as verifyMapLocalProof, r as createProof, s as verifyObject } from "../proof-DNhnMZ1U.mjs";
15
- import { f as verifyRequest } from "../http-C7vJGqC4.mjs";
14
+ import { a as signObject, c as verifyPortableObjectProof, d as verifyProof, i as hasProofLike, o as verifyMapLocalProof, r as createProof, s as verifyObject } from "../proof-CImybMS5.mjs";
15
+ import { f as verifyRequest } from "../http-DzBwbsDL.mjs";
16
16
  import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DIJNHW-Y.mjs";
17
- import { t as getAuthenticatedDocumentLoader } from "../docloader-zZZNW03a.mjs";
17
+ import { t as getAuthenticatedDocumentLoader } from "../docloader-tMR7o09T.mjs";
18
18
  import { Create, DataIntegrityProof, Document, Multikey, Note, PUBLIC_COLLECTION, Place, Translation } from "@fedify/vocab";
19
19
  import { decodeMultibase, encodeMultibase, exportDidKey, exportMultibaseKey, formatIri, importMultibaseKey, parseIri } from "@fedify/vocab-runtime";
20
20
  import { createTestMeterProvider, mockDocumentLoader, test } from "@fedify/fixture";
@@ -5,10 +5,10 @@ import { t as MemoryKvStore } from "../kv-DCHkaJ9-.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Z6IcEbWU.mjs";
6
6
  import "../std__assert-DvMDRPes.mjs";
7
7
  import { t as assert } from "../assert-D1Eafmd_.mjs";
8
- import { c as verifyPortableObjectProof } from "../proof-DNhnMZ1U.mjs";
9
- import { p as verifyRequestDetailed } from "../http-C7vJGqC4.mjs";
10
- import { o as createFederation } from "../middleware-BPaY7-yM.mjs";
11
- import { t as doesActorOwnKey } from "../owner-FfKazL5t.mjs";
8
+ import { c as verifyPortableObjectProof } from "../proof-CImybMS5.mjs";
9
+ import { p as verifyRequestDetailed } from "../http-DzBwbsDL.mjs";
10
+ import { o as createFederation } from "../middleware-BFr_zLaE.mjs";
11
+ import { t as doesActorOwnKey } from "../owner-CGXm_YAa.mjs";
12
12
  import { Follow, Person } from "@fedify/vocab";
13
13
  import { mockDocumentLoader, test } from "@fedify/fixture";
14
14
  import { encodeHex } from "byte-encodings/hex";
@@ -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 { c as verifyPortableObjectProof } from "../proof-DNhnMZ1U.mjs";
8
- import { p as verifyRequestDetailed } from "../http-C7vJGqC4.mjs";
9
- import { t as doesActorOwnKey } from "../owner-FfKazL5t.mjs";
7
+ import { c as verifyPortableObjectProof } from "../proof-CImybMS5.mjs";
8
+ import { p as verifyRequestDetailed } from "../http-DzBwbsDL.mjs";
9
+ import { t as doesActorOwnKey } from "../owner-CGXm_YAa.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 { h as verifyJsonLd, p as signJsonLd } from "../ld-4aIgfSGG.mjs";
6
- import { a as signObject, s as verifyObject } from "../proof-DNhnMZ1U.mjs";
7
- import { l as signRequest, p as verifyRequestDetailed } from "../http-C7vJGqC4.mjs";
5
+ import { h as verifyJsonLd, p as signJsonLd } from "../ld-BzvgaYZi.mjs";
6
+ import { a as signObject, s as verifyObject } from "../proof-CImybMS5.mjs";
7
+ import { l as signRequest, p as verifyRequestDetailed } from "../http-DzBwbsDL.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-4aIgfSGG.mjs";
4
+ import { c as getNormalizationContextLoader } from "./ld-BzvgaYZi.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-BPaY7-yM.mjs";
9
+ import { o as createFederation } from "../middleware-BFr_zLaE.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-C7vJGqC4.mjs";
8
+ import { f as verifyRequest } from "../http-DzBwbsDL.mjs";
9
9
  import { i as rsaPrivateKey2 } from "../keys-DIJNHW-Y.mjs";
10
- import { t as getAuthenticatedDocumentLoader } from "../docloader-zZZNW03a.mjs";
10
+ import { t as getAuthenticatedDocumentLoader } from "../docloader-tMR7o09T.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-VW5nqXz4.mjs";
4
+ import { n as kvCache, t as MockKvStore } from "../kv-cache-B3HjvmZE.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-iRvhWQLY.cjs");
3
+ const require_kv_cache = require("../kv-cache-Y18nY4gZ.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-B_v4qKew.js";
3
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-CyCsAOR6.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.2314+d73be480",
3
+ "version": "2.5.0-dev.2327+3a7ba490",
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.2314+d73be480",
155
- "@fedify/vocab-runtime": "2.5.0-dev.2314+d73be480",
156
- "@fedify/webfinger": "2.5.0-dev.2314+d73be480",
157
- "@fedify/vocab": "2.5.0-dev.2314+d73be480"
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"
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.2314+d73be480"
170
+ "@fedify/vocab-tools": "^2.5.0-dev.2327+3a7ba490"
171
171
  },
172
172
  "scripts": {
173
173
  "build:self": "tsdown",