@fedify/fedify 2.5.0-dev.2370 → 2.5.0-dev.2378

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 (80) hide show
  1. package/dist/{builder-DzGfERAV.mjs → builder-J1K0IJj6.mjs} +2 -2
  2. package/dist/compat/transformers.test.mjs +1 -1
  3. package/dist/{compound-proof-hnZ7MNwN.mjs → compound-proof-DtmVrMV7.mjs} +2 -2
  4. package/dist/{deno-CkkDV5gw.mjs → deno-Ci6tSK9-.mjs} +1 -1
  5. package/dist/{docloader-D6eQ0vA8.mjs → docloader-DZ9h6KJS.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 +4 -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/metrics.test.mjs +1 -1
  14. package/dist/federation/middleware.test.mjs +7 -7
  15. package/dist/federation/mod.cjs +1 -1
  16. package/dist/federation/mod.js +1 -1
  17. package/dist/federation/outgoing-proof.test.mjs +4 -5
  18. package/dist/federation/portable-actor.test.mjs +3 -3
  19. package/dist/federation/portable-chain.test.mjs +3 -3
  20. package/dist/federation/portable-collection.test.mjs +4 -4
  21. package/dist/federation/portable-delivery.test.mjs +2 -2
  22. package/dist/federation/portable-gateway-keys.test.mjs +4 -4
  23. package/dist/federation/portable-inbox.test.mjs +4 -4
  24. package/dist/federation/portable-parse-uri.test.mjs +1 -1
  25. package/dist/federation/portable-route-activity.test.mjs +2 -2
  26. package/dist/federation/portable.test.mjs +3 -3
  27. package/dist/federation/send.test.mjs +3 -3
  28. package/dist/federation/tasks/enqueue.test.mjs +1 -1
  29. package/dist/federation/tasks/tasks.test.mjs +2 -2
  30. package/dist/federation/temporal.test.mjs +1 -1
  31. package/dist/federation/webfinger.test.mjs +1 -1
  32. package/dist/{federation-BkIRrGXG.cjs → federation-lzy7M3hT.cjs} +3 -3
  33. package/dist/{http-DxljNiCC.mjs → http-CFyizTHa.mjs} +4 -4
  34. package/dist/{http-C2gfnrKF.js → http-Cmz7x6Iw.js} +110 -12
  35. package/dist/{http-CjpGhvxc.cjs → http-D1RPHoq3.cjs} +109 -11
  36. package/dist/{kv-cache-nsVJF31j.js → kv-cache-C0-HuvwP.js} +1 -1
  37. package/dist/{kv-cache-BVtotkZw.cjs → kv-cache-Jym5nP3J.cjs} +1 -1
  38. package/dist/{kv-cache-DDwF4zee.mjs → kv-cache-rOQX3I3c.mjs} +1 -1
  39. package/dist/{key-8sZWp4lR.mjs → ld-DJ--ZUpr.mjs} +760 -16
  40. package/dist/{metrics-DiQRjv6y.mjs → metrics-Dwgav7s_.mjs} +1 -1
  41. package/dist/{middleware-ClqRVObS.mjs → middleware-BbBsa5iR.mjs} +13 -14
  42. package/dist/{middleware-BBnHLNpJ.mjs → middleware-CJWxuUy5.mjs} +1 -1
  43. package/dist/{middleware-C_EdDn9c.js → middleware-CqgRIsWM.js} +3 -3
  44. package/dist/mod.cjs +4 -4
  45. package/dist/mod.js +4 -4
  46. package/dist/nodeinfo/handler.test.mjs +1 -1
  47. package/dist/{owner-IiJfae6n.mjs → owner-Btd7SwMj.mjs} +3 -3
  48. package/dist/{portable-collection-BeS_vx1G.cjs → portable-collection-BvWxS1sL.cjs} +1 -1
  49. package/dist/{portable-collection-BtyE_2Rv.js → portable-collection-DwQT28O2.js} +1 -1
  50. package/dist/{portable-collection-CUDbGQ5_.mjs → portable-collection-gb9V8XEO.mjs} +2 -2
  51. package/dist/{portable-key-ENr3Sc97.mjs → portable-key-Cwti99nP.mjs} +1 -1
  52. package/dist/{proof-CGtiU4Lz.mjs → proof-Bwzv6mXZ.mjs} +3 -4
  53. package/dist/{send-CRYlnzg6.mjs → send-BrQYUSb4.mjs} +3 -3
  54. package/dist/sig/compound-proof-discovery.test.mjs +1 -1
  55. package/dist/sig/compound-proof-producer.test.mjs +1 -1
  56. package/dist/sig/compound-proof-verification.test.mjs +2 -2
  57. package/dist/sig/compound-proof.test.mjs +2 -2
  58. package/dist/sig/http.test.mjs +2 -2
  59. package/dist/sig/key.test.mjs +208 -3
  60. package/dist/sig/ld.test.mjs +1 -2
  61. package/dist/sig/mitra-receive-interop.test.mjs +4 -4
  62. package/dist/sig/mitra-send-interop.test.mjs +3 -3
  63. package/dist/sig/mod.cjs +2 -2
  64. package/dist/sig/mod.js +2 -2
  65. package/dist/sig/owner.test.mjs +1 -1
  66. package/dist/sig/portable-collection.test.mjs +1 -1
  67. package/dist/sig/portable-interop.test.mjs +3 -3
  68. package/dist/sig/portable-key.test.mjs +5 -6
  69. package/dist/sig/proof.test.mjs +3 -3
  70. package/dist/sig/tootik-request-interop.test.mjs +4 -4
  71. package/dist/sig/tootik-send-interop.test.mjs +3 -3
  72. package/dist/sig/verification.test.mjs +3 -3
  73. package/dist/{temporal-CDbdX_g_.mjs → temporal-BRaCTxVe.mjs} +1 -1
  74. package/dist/testing/kv.test.mjs +1 -1
  75. package/dist/utils/docloader.test.mjs +2 -2
  76. package/dist/utils/kv-cache.test.mjs +1 -1
  77. package/dist/utils/mod.cjs +1 -1
  78. package/dist/utils/mod.js +1 -1
  79. package/package.json +7 -7
  80. package/dist/ld-DXaIENwZ.mjs +0 -658
@@ -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 { l as verifyPortableObjectProof, p as verifyProof } from "../proof-CGtiU4Lz.mjs";
8
- import { n as getKeyOwner } from "../owner-IiJfae6n.mjs";
9
- import { t as verifyPortableObject } from "../portable-collection-CUDbGQ5_.mjs";
7
+ import { l as verifyPortableObjectProof, p as verifyProof } from "../proof-Bwzv6mXZ.mjs";
8
+ import { n as getKeyOwner } from "../owner-Btd7SwMj.mjs";
9
+ import { t as verifyPortableObject } from "../portable-collection-gb9V8XEO.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,13 +2,12 @@ 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-8sZWp4lR.mjs";
6
- import { h as verifyJsonLd, p as signJsonLd } from "../ld-DXaIENwZ.mjs";
7
- import { p as verifyProof, r as createProof } from "../proof-CGtiU4Lz.mjs";
8
- import { n as resolvePortableActorKey } from "../portable-key-ENr3Sc97.mjs";
9
- import { f as verifyRequest, l as signRequest, p as verifyRequestDetailed } from "../http-DxljNiCC.mjs";
5
+ import { S as fetchKeyDetailed, h as verifyJsonLd, p as signJsonLd, x as fetchKey } from "../ld-DJ--ZUpr.mjs";
6
+ import { p as verifyProof, r as createProof } from "../proof-Bwzv6mXZ.mjs";
7
+ import { n as resolvePortableActorKey } from "../portable-key-Cwti99nP.mjs";
8
+ import { f as verifyRequest, l as signRequest, p as verifyRequestDetailed } from "../http-CFyizTHa.mjs";
10
9
  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-IiJfae6n.mjs";
10
+ import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-Btd7SwMj.mjs";
12
11
  import { t as KvKeyCache } from "../keycache-D-MNltOk.mjs";
13
12
  import { Create, CryptographicKey, Multikey, Note, Person } from "@fedify/vocab";
14
13
  import { FetchError, encodeMultibase, exportDidKey, exportSpki, parseIri, preloadedContexts } from "@fedify/vocab-runtime";
@@ -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 { c as verifyObject, i as hasProofLike, l as verifyPortableObjectProof, o as signObject, p as verifyProof, r as createProof, s as verifyMapLocalProof } from "../proof-CGtiU4Lz.mjs";
15
- import { f as verifyRequest } from "../http-DxljNiCC.mjs";
14
+ import { c as verifyObject, i as hasProofLike, l as verifyPortableObjectProof, o as signObject, p as verifyProof, r as createProof, s as verifyMapLocalProof } from "../proof-Bwzv6mXZ.mjs";
15
+ import { f as verifyRequest } from "../http-CFyizTHa.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-D6eQ0vA8.mjs";
17
+ import { t as getAuthenticatedDocumentLoader } from "../docloader-DZ9h6KJS.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 { l as verifyPortableObjectProof } from "../proof-CGtiU4Lz.mjs";
9
- import { p as verifyRequestDetailed } from "../http-DxljNiCC.mjs";
10
- import { o as createFederation } from "../middleware-ClqRVObS.mjs";
11
- import { t as doesActorOwnKey } from "../owner-IiJfae6n.mjs";
8
+ import { l as verifyPortableObjectProof } from "../proof-Bwzv6mXZ.mjs";
9
+ import { p as verifyRequestDetailed } from "../http-CFyizTHa.mjs";
10
+ import { o as createFederation } from "../middleware-BbBsa5iR.mjs";
11
+ import { t as doesActorOwnKey } from "../owner-Btd7SwMj.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 { l as verifyPortableObjectProof } from "../proof-CGtiU4Lz.mjs";
8
- import { p as verifyRequestDetailed } from "../http-DxljNiCC.mjs";
9
- import { t as doesActorOwnKey } from "../owner-IiJfae6n.mjs";
7
+ import { l as verifyPortableObjectProof } from "../proof-Bwzv6mXZ.mjs";
8
+ import { p as verifyRequestDetailed } from "../http-CFyizTHa.mjs";
9
+ import { t as doesActorOwnKey } from "../owner-Btd7SwMj.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-DXaIENwZ.mjs";
6
- import { c as verifyObject, o as signObject } from "../proof-CGtiU4Lz.mjs";
7
- import { l as signRequest, p as verifyRequestDetailed } from "../http-DxljNiCC.mjs";
5
+ import { h as verifyJsonLd, p as signJsonLd } from "../ld-DJ--ZUpr.mjs";
6
+ import { c as verifyObject, o as signObject } from "../proof-Bwzv6mXZ.mjs";
7
+ import { l as signRequest, p as verifyRequestDetailed } from "../http-CFyizTHa.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-DXaIENwZ.mjs";
4
+ import { c as getNormalizationContextLoader } from "./ld-DJ--ZUpr.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-ClqRVObS.mjs";
9
+ import { o as createFederation } from "../middleware-BbBsa5iR.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-DxljNiCC.mjs";
8
+ import { f as verifyRequest } from "../http-CFyizTHa.mjs";
9
9
  import { i as rsaPrivateKey2 } from "../keys-DIJNHW-Y.mjs";
10
- import { t as getAuthenticatedDocumentLoader } from "../docloader-D6eQ0vA8.mjs";
10
+ import { t as getAuthenticatedDocumentLoader } from "../docloader-DZ9h6KJS.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-DDwF4zee.mjs";
4
+ import { n as kvCache, t as MockKvStore } from "../kv-cache-rOQX3I3c.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-BVtotkZw.cjs");
3
+ const require_kv_cache = require("../kv-cache-Jym5nP3J.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-nsVJF31j.js";
3
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-C0-HuvwP.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.2370+e0cfd033",
3
+ "version": "2.5.0-dev.2378+fea9c751",
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.2370+e0cfd033",
155
- "@fedify/vocab-runtime": "2.5.0-dev.2370+e0cfd033",
156
- "@fedify/webfinger": "2.5.0-dev.2370+e0cfd033",
157
- "@fedify/vocab": "2.5.0-dev.2370+e0cfd033"
154
+ "@fedify/uri-template": "2.5.0-dev.2378+fea9c751",
155
+ "@fedify/webfinger": "2.5.0-dev.2378+fea9c751",
156
+ "@fedify/vocab-runtime": "2.5.0-dev.2378+fea9c751",
157
+ "@fedify/vocab": "2.5.0-dev.2378+fea9c751"
158
158
  },
159
159
  "devDependencies": {
160
160
  "@std/assert": "npm:@jsr/std__assert@^0.226.0",
@@ -166,8 +166,8 @@
166
166
  "tsx": "^4.21.0",
167
167
  "typescript": "^6.0.0",
168
168
  "wrangler": "^4.17.0",
169
- "@fedify/vocab-tools": "^2.5.0-dev.2370+e0cfd033",
170
- "@fedify/fixture": "2.0.0"
169
+ "@fedify/fixture": "2.0.0",
170
+ "@fedify/vocab-tools": "^2.5.0-dev.2378+fea9c751"
171
171
  },
172
172
  "scripts": {
173
173
  "build:self": "tsdown",