@fedify/fedify 2.3.0-pr.809.39 → 2.3.1

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 (50) hide show
  1. package/README.md +3 -0
  2. package/dist/{builder-NR4lKzpE.mjs → builder-hivpmhlD.mjs} +2 -2
  3. package/dist/compat/transformers.test.mjs +1 -1
  4. package/dist/{deno-CPGNlj8l.mjs → deno-C8RG0HM3.mjs} +1 -1
  5. package/dist/{docloader-B8nIVAgc.mjs → docloader-YZA0m_3O.mjs} +2 -2
  6. package/dist/federation/builder.test.mjs +1 -1
  7. package/dist/federation/handler.test.mjs +3 -3
  8. package/dist/federation/idempotency.test.mjs +2 -2
  9. package/dist/federation/metrics.test.mjs +1 -1
  10. package/dist/federation/middleware.test.mjs +7 -7
  11. package/dist/federation/mod.cjs +1 -1
  12. package/dist/federation/mod.js +1 -1
  13. package/dist/federation/send.test.mjs +3 -3
  14. package/dist/federation/temporal.test.mjs +1 -1
  15. package/dist/federation/webfinger.test.mjs +1 -1
  16. package/dist/{http-D-LWifAg.cjs → http-BajqV0pH.cjs} +17 -7
  17. package/dist/{http-CBxlpQqr.js → http-DPOMa1DD.js} +17 -7
  18. package/dist/{http-DXPJbpv9.mjs → http-PCt0862M.mjs} +3 -3
  19. package/dist/{key-7cVn1GJd.mjs → key-BKYwmbur.mjs} +18 -8
  20. package/dist/{kv-cache-COHwLJGY.cjs → kv-cache-CVG3m2_-.cjs} +1 -1
  21. package/dist/{kv-cache-C_e_R-q_.mjs → kv-cache-Ceg0c1wh.mjs} +1 -1
  22. package/dist/{kv-cache-XXGgcgMy.js → kv-cache-IjRceERu.js} +1 -1
  23. package/dist/{ld-DIyfeBeK.mjs → ld-Dcw2skfn.mjs} +3 -3
  24. package/dist/{metrics-BCsIkCwT.mjs → metrics-Pue1x4ta.mjs} +1 -1
  25. package/dist/{middleware-YGG3vZdB.cjs → middleware-BiXEAbn2.cjs} +24 -7
  26. package/dist/{middleware-C4d4kOWj.js → middleware-By8lqc18.js} +24 -7
  27. package/dist/{middleware-SXiJl5UP.mjs → middleware-CyxqoeW9.mjs} +1 -1
  28. package/dist/{middleware-Bq7GPP5C.mjs → middleware-WU_5fbGS.mjs} +33 -16
  29. package/dist/mod.cjs +4 -4
  30. package/dist/mod.js +4 -4
  31. package/dist/nodeinfo/handler.test.mjs +1 -1
  32. package/dist/{owner-Bz_Bbg0O.mjs → owner-pVJ0Twi7.mjs} +2 -2
  33. package/dist/{proof-D1AyK_PB.js → proof-DA8Kbchf.js} +1 -1
  34. package/dist/{proof-CPHVDi7l.cjs → proof-HzavUYxN.cjs} +1 -1
  35. package/dist/{proof-B4oneGAW.mjs → proof-pXYODmNV.mjs} +3 -3
  36. package/dist/{send-BGNF5MG3.mjs → send-BfAp60BJ.mjs} +3 -3
  37. package/dist/sig/http.test.mjs +2 -2
  38. package/dist/sig/key.test.mjs +51 -1
  39. package/dist/sig/ld.test.mjs +2 -2
  40. package/dist/sig/mod.cjs +2 -2
  41. package/dist/sig/mod.js +2 -2
  42. package/dist/sig/owner.test.mjs +1 -1
  43. package/dist/sig/proof.test.mjs +1 -1
  44. package/dist/{temporal-DVimxGza.mjs → temporal-HZHBbbk4.mjs} +1 -1
  45. package/dist/utils/docloader.test.mjs +2 -2
  46. package/dist/utils/kv-cache.test.mjs +1 -1
  47. package/dist/utils/mod.cjs +1 -1
  48. package/dist/utils/mod.js +1 -1
  49. package/package.json +7 -7
  50. package/skills/fedify/SKILL.md +0 -462
package/dist/mod.cjs CHANGED
@@ -4,11 +4,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  require("./chunk-DDcVe30Y.cjs");
5
5
  const require_transformers = require("./transformers-NeAONrAq.cjs");
6
6
  require("./compat/mod.cjs");
7
- const require_http = require("./http-D-LWifAg.cjs");
8
- const require_middleware = require("./middleware-YGG3vZdB.cjs");
9
- const require_proof = require("./proof-CPHVDi7l.cjs");
7
+ const require_http = require("./http-BajqV0pH.cjs");
8
+ const require_middleware = require("./middleware-BiXEAbn2.cjs");
9
+ const require_proof = require("./proof-HzavUYxN.cjs");
10
10
  const require_types = require("./types-KC4QAoxe.cjs");
11
- const require_kv_cache = require("./kv-cache-COHwLJGY.cjs");
11
+ const require_kv_cache = require("./kv-cache-CVG3m2_-.cjs");
12
12
  const require_federation_mod = require("./federation/mod.cjs");
13
13
  require("./nodeinfo/mod.cjs");
14
14
  require("./runtime/mod.cjs");
package/dist/mod.js CHANGED
@@ -3,11 +3,11 @@ import { URLPattern } from "urlpattern-polyfill";
3
3
  import "./chunk-CRNNMoPX.js";
4
4
  import { n as autoIdAssigner, r as getDefaultActivityTransformers, t as actorDehydrator } from "./transformers-BGMIq1cs.js";
5
5
  import "./compat/mod.js";
6
- import { A as formatAcceptSignature, M as parseAcceptSignature, N as validateAcceptSignature, a as verifyRequestDetailed, c as fetchKeyDetailed, i as verifyRequest, j as fulfillAcceptSignature, l as generateCryptoKeyPair, o as exportJwk, r as signRequest, s as fetchKey, u as importJwk } from "./http-CBxlpQqr.js";
7
- import { a as SendActivityError, c as buildCollectionSynchronizationHeader, d as normalizeCircuitBreakerOptions, f as parseCircuitBreakerKvState, i as createExponentialBackoffPolicy, l as digest, o as respondWithObject, p as createFederationBuilder, r as handleWebFinger, s as respondWithObjectIfAcceptable, t as createFederation, u as CircuitBreaker } from "./middleware-C4d4kOWj.js";
8
- import { C as verifySignature, S as verifyJsonLd, _ as hasSignatureLike, a as verifyProof, b as signJsonLd, c as getKeyOwner, d as attachSignature, i as verifyObject, m as detachSignature, n as hasProofLike, p as createSignature, r as signObject, s as doesActorOwnKey, t as createProof } from "./proof-D1AyK_PB.js";
6
+ import { A as formatAcceptSignature, M as parseAcceptSignature, N as validateAcceptSignature, a as verifyRequestDetailed, c as fetchKeyDetailed, i as verifyRequest, j as fulfillAcceptSignature, l as generateCryptoKeyPair, o as exportJwk, r as signRequest, s as fetchKey, u as importJwk } from "./http-DPOMa1DD.js";
7
+ import { a as SendActivityError, c as buildCollectionSynchronizationHeader, d as normalizeCircuitBreakerOptions, f as parseCircuitBreakerKvState, i as createExponentialBackoffPolicy, l as digest, o as respondWithObject, p as createFederationBuilder, r as handleWebFinger, s as respondWithObjectIfAcceptable, t as createFederation, u as CircuitBreaker } from "./middleware-By8lqc18.js";
8
+ import { C as verifySignature, S as verifyJsonLd, _ as hasSignatureLike, a as verifyProof, b as signJsonLd, c as getKeyOwner, d as attachSignature, i as verifyObject, m as detachSignature, n as hasProofLike, p as createSignature, r as signObject, s as doesActorOwnKey, t as createProof } from "./proof-DA8Kbchf.js";
9
9
  import { n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "./types-CAY3OdLq.js";
10
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./kv-cache-XXGgcgMy.js";
10
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./kv-cache-IjRceERu.js";
11
11
  import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError } from "./federation/mod.js";
12
12
  import "./nodeinfo/mod.js";
13
13
  import "./runtime/mod.js";
@@ -5,7 +5,7 @@ import { r as createRequestContext } from "../context-DVoTs_wM.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-C-ZRDbaf.mjs";
6
6
  import "../std__assert-BBjXFNOb.mjs";
7
7
  import { t as MemoryKvStore } from "../kv-rV3vodCc.mjs";
8
- import { _ as handleNodeInfo, o as createFederation, v as handleNodeInfoJrd } from "../middleware-Bq7GPP5C.mjs";
8
+ import { _ as handleNodeInfo, o as createFederation, v as handleNodeInfoJrd } from "../middleware-WU_5fbGS.mjs";
9
9
  import { test } from "@fedify/fixture";
10
10
  //#region src/nodeinfo/handler.test.ts
11
11
  test("handleNodeInfo()", async () => {
@@ -1,8 +1,8 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as version, t as name } from "./deno-CPGNlj8l.mjs";
5
- import "./key-7cVn1GJd.mjs";
4
+ import { n as version, t as name } from "./deno-C8RG0HM3.mjs";
5
+ import "./key-BKYwmbur.mjs";
6
6
  import { CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
7
7
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  import { getDocumentLoader } from "@fedify/vocab-runtime";
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { F as version, P as name, _ as measureSignatureKeyFetch, d as validateCryptoKey, f as getDurationMs, p as getFederationMetrics, s as fetchKey } from "./http-CBxlpQqr.js";
3
+ import { F as version, P as name, _ as measureSignatureKeyFetch, d as validateCryptoKey, f as getDurationMs, p as getFederationMetrics, s as fetchKey } from "./http-DPOMa1DD.js";
4
4
  import { getLogger } from "@logtape/logtape";
5
5
  import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, PUBLIC_COLLECTION, getTypeId, isActor } from "@fedify/vocab";
6
6
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
@@ -1,7 +1,7 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  const require_chunk = require("./chunk-DDcVe30Y.cjs");
4
- const require_http = require("./http-D-LWifAg.cjs");
4
+ const require_http = require("./http-BajqV0pH.cjs");
5
5
  let _logtape_logtape = require("@logtape/logtape");
6
6
  let _fedify_vocab = require("@fedify/vocab");
7
7
  let _opentelemetry_api = require("@opentelemetry/api");
@@ -1,9 +1,9 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as version, t as name } from "./deno-CPGNlj8l.mjs";
5
- import { n as getDurationMs, r as getFederationMetrics, s as measureSignatureKeyFetch } from "./metrics-BCsIkCwT.mjs";
6
- import { n as fetchKey, o as validateCryptoKey } from "./key-7cVn1GJd.mjs";
4
+ import { n as version, t as name } from "./deno-C8RG0HM3.mjs";
5
+ import { n as getDurationMs, r as getFederationMetrics, s as measureSignatureKeyFetch } from "./metrics-Pue1x4ta.mjs";
6
+ import { n as fetchKey, o as validateCryptoKey } from "./key-BKYwmbur.mjs";
7
7
  import { n as preloadedOnlyDocumentLoader } from "./public-audience-Cvbr2Gzt.mjs";
8
8
  import { r as normalizeOutgoingActivityJsonLd } from "./outgoing-jsonld-L_DbOaFe.mjs";
9
9
  import { getLogger } from "@logtape/logtape";
@@ -1,9 +1,9 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as version, t as name } from "./deno-CPGNlj8l.mjs";
5
- import { n as getDurationMs, r as getFederationMetrics } from "./metrics-BCsIkCwT.mjs";
6
- import { n as doubleKnock } from "./http-DXPJbpv9.mjs";
4
+ import { n as version, t as name } from "./deno-C8RG0HM3.mjs";
5
+ import { n as getDurationMs, r as getFederationMetrics } from "./metrics-Pue1x4ta.mjs";
6
+ import { n as doubleKnock } from "./http-PCt0862M.mjs";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
9
9
  import { FetchError } from "@fedify/vocab-runtime";
@@ -7,8 +7,8 @@ import { r as assertExists, t as assertStringIncludes } from "../std__assert-BBj
7
7
  import { n as assertGreaterOrEqual, r as assertFalse, t as assertRejects } from "../assert_rejects-DN60FHPX.mjs";
8
8
  import { t as assertThrows } from "../assert_throws-BOkhLGYc.mjs";
9
9
  import { t as assert } from "../assert-OguE97r2.mjs";
10
- import { t as exportJwk } from "../key-7cVn1GJd.mjs";
11
- import { a as parseRfc9421Signature, c as timingSafeEqual, i as formatRfc9421SignatureParameters, l as verifyRequest, n as doubleKnock, o as parseRfc9421SignatureInput, r as formatRfc9421Signature, s as signRequest, t as createRfc9421SignatureBase, u as verifyRequestDetailed } from "../http-DXPJbpv9.mjs";
10
+ import { t as exportJwk } from "../key-BKYwmbur.mjs";
11
+ import { a as parseRfc9421Signature, c as timingSafeEqual, i as formatRfc9421SignatureParameters, l as verifyRequest, n as doubleKnock, o as parseRfc9421SignatureInput, r as formatRfc9421Signature, s as signRequest, t as createRfc9421SignatureBase, u as verifyRequestDetailed } from "../http-PCt0862M.mjs";
12
12
  import { i as rsaPrivateKey2, l as rsaPublicKey5, o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-DGu1NFwu.mjs";
13
13
  import { createTestMeterProvider, createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
14
14
  import { FetchError, exportSpki } from "@fedify/vocab-runtime";
@@ -5,7 +5,7 @@ import { t as assertEquals } from "../assert_equals-C-ZRDbaf.mjs";
5
5
  import "../std__assert-BBjXFNOb.mjs";
6
6
  import { t as assertRejects } from "../assert_rejects-DN60FHPX.mjs";
7
7
  import { t as assertThrows } from "../assert_throws-BOkhLGYc.mjs";
8
- import { a as importJwk, i as generateCryptoKeyPair, n as fetchKey, o as validateCryptoKey, r as fetchKeyDetailed, t as exportJwk } from "../key-7cVn1GJd.mjs";
8
+ import { a as importJwk, i as generateCryptoKeyPair, n as fetchKey, o as validateCryptoKey, r as fetchKeyDetailed, t as exportJwk } from "../key-BKYwmbur.mjs";
9
9
  import { c as rsaPublicKey3, i as rsaPrivateKey2, o as rsaPublicKey1, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DGu1NFwu.mjs";
10
10
  import { CryptographicKey, Multikey } from "@fedify/vocab";
11
11
  import { createTestMeterProvider, createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
@@ -400,5 +400,55 @@ test("fetchKey() works when meterProvider is omitted", async () => {
400
400
  contextLoader: mockDocumentLoader
401
401
  })).cached, false);
402
402
  });
403
+ test("fetchKey() returns null for a malformed actor publicKey", async () => {
404
+ const actorId = "https://example.com/malformed-public-key";
405
+ const keyId = "https://example.com/malformed-public-key#main-key";
406
+ const cache = {};
407
+ const options = {
408
+ async documentLoader(resource) {
409
+ if (resource === actorId) return {
410
+ contextUrl: null,
411
+ documentUrl: resource,
412
+ document: {
413
+ "@context": ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"],
414
+ id: actorId,
415
+ type: "Person",
416
+ publicKey: keyId
417
+ }
418
+ };
419
+ if (resource === keyId) return {
420
+ contextUrl: null,
421
+ documentUrl: resource,
422
+ document: {
423
+ "@context": "https://w3id.org/security/v1",
424
+ id: keyId,
425
+ type: "Key",
426
+ owner: actorId,
427
+ publicKeyPem: "not a public key"
428
+ }
429
+ };
430
+ return await mockDocumentLoader(resource);
431
+ },
432
+ contextLoader: mockDocumentLoader,
433
+ keyCache: {
434
+ get(keyId) {
435
+ return Promise.resolve(cache[keyId.href]);
436
+ },
437
+ set(keyId, key) {
438
+ cache[keyId.href] = key;
439
+ return Promise.resolve();
440
+ }
441
+ }
442
+ };
443
+ assertEquals(await fetchKey(actorId, CryptographicKey, options), {
444
+ key: null,
445
+ cached: false
446
+ });
447
+ assertEquals(cache, { [actorId]: null });
448
+ assertEquals(await fetchKey(actorId, CryptographicKey, options), {
449
+ key: null,
450
+ cached: true
451
+ });
452
+ });
403
453
  //#endregion
404
454
  export {};
@@ -5,9 +5,9 @@ import { t as assertEquals } from "../assert_equals-C-ZRDbaf.mjs";
5
5
  import { n as assertGreaterOrEqual, r as assertFalse, t as assertRejects } from "../assert_rejects-DN60FHPX.mjs";
6
6
  import { t as assertThrows } from "../assert_throws-BOkhLGYc.mjs";
7
7
  import { t as assert } from "../assert-OguE97r2.mjs";
8
- import { i as generateCryptoKeyPair } from "../key-7cVn1GJd.mjs";
8
+ import { i as generateCryptoKeyPair } from "../key-BKYwmbur.mjs";
9
9
  import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DGu1NFwu.mjs";
10
- import { a as compactJsonLd, f as isInvalidUrlTypeError, g as verifySignature, h as verifyJsonLd, i as attachSignature, n as UnsafeJsonLdError, o as createSignature, p as signJsonLd, s as detachSignature, u as hasSignatureLike } from "../ld-DIyfeBeK.mjs";
10
+ import { a as compactJsonLd, f as isInvalidUrlTypeError, g as verifySignature, h as verifyJsonLd, i as attachSignature, n as UnsafeJsonLdError, o as createSignature, p as signJsonLd, s as detachSignature, u as hasSignatureLike } from "../ld-Dcw2skfn.mjs";
11
11
  import { CryptographicKey } from "@fedify/vocab";
12
12
  import { createTestMeterProvider, mockDocumentLoader, test } from "@fedify/fixture";
13
13
  import { encodeBase64 } from "byte-encodings/base64";
package/dist/sig/mod.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const require_http = require("../http-D-LWifAg.cjs");
5
- const require_proof = require("../proof-CPHVDi7l.cjs");
4
+ const require_http = require("../http-BajqV0pH.cjs");
5
+ const require_proof = require("../proof-HzavUYxN.cjs");
6
6
  exports.attachSignature = require_proof.attachSignature;
7
7
  exports.createProof = require_proof.createProof;
8
8
  exports.createSignature = require_proof.createSignature;
package/dist/sig/mod.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { A as formatAcceptSignature, M as parseAcceptSignature, N as validateAcceptSignature, a as verifyRequestDetailed, c as fetchKeyDetailed, i as verifyRequest, j as fulfillAcceptSignature, l as generateCryptoKeyPair, o as exportJwk, r as signRequest, s as fetchKey, u as importJwk } from "../http-CBxlpQqr.js";
4
- import { C as verifySignature, S as verifyJsonLd, _ as hasSignatureLike, a as verifyProof, b as signJsonLd, c as getKeyOwner, d as attachSignature, i as verifyObject, m as detachSignature, n as hasProofLike, p as createSignature, r as signObject, s as doesActorOwnKey, t as createProof } from "../proof-D1AyK_PB.js";
3
+ import { A as formatAcceptSignature, M as parseAcceptSignature, N as validateAcceptSignature, a as verifyRequestDetailed, c as fetchKeyDetailed, i as verifyRequest, j as fulfillAcceptSignature, l as generateCryptoKeyPair, o as exportJwk, r as signRequest, s as fetchKey, u as importJwk } from "../http-DPOMa1DD.js";
4
+ import { C as verifySignature, S as verifyJsonLd, _ as hasSignatureLike, a as verifyProof, b as signJsonLd, c as getKeyOwner, d as attachSignature, i as verifyObject, m as detachSignature, n as hasProofLike, p as createSignature, r as signObject, s as doesActorOwnKey, t as createProof } from "../proof-DA8Kbchf.js";
5
5
  export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getKeyOwner, hasProofLike, hasSignatureLike, importJwk, parseAcceptSignature, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
@@ -6,7 +6,7 @@ import "../std__assert-BBjXFNOb.mjs";
6
6
  import { r as assertFalse } from "../assert_rejects-DN60FHPX.mjs";
7
7
  import { t as assert } from "../assert-OguE97r2.mjs";
8
8
  import { o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-DGu1NFwu.mjs";
9
- import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-Bz_Bbg0O.mjs";
9
+ import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-pVJ0Twi7.mjs";
10
10
  import { Create, CryptographicKey, lookupObject } from "@fedify/vocab";
11
11
  import { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
12
12
  //#region src/sig/owner.test.ts
@@ -8,7 +8,7 @@ import { t as assertInstanceOf } from "../assert_instance_of-DBC5X09g.mjs";
8
8
  import { t as assert } from "../assert-OguE97r2.mjs";
9
9
  import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-DGu1NFwu.mjs";
10
10
  import { r as normalizeOutgoingActivityJsonLd } from "../outgoing-jsonld-L_DbOaFe.mjs";
11
- import { a as verifyProof, i as verifyObject, n as hasProofLike, r as signObject, t as createProof } from "../proof-B4oneGAW.mjs";
11
+ import { a as verifyProof, i as verifyObject, n as hasProofLike, r as signObject, t as createProof } from "../proof-pXYODmNV.mjs";
12
12
  import { Create, DataIntegrityProof, Document, Multikey, Note, PUBLIC_COLLECTION, Place } from "@fedify/vocab";
13
13
  import { createTestMeterProvider, mockDocumentLoader, test } from "@fedify/fixture";
14
14
  import { decodeMultibase, importMultibaseKey } from "@fedify/vocab-runtime";
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { c as getNormalizationContextLoader } from "./ld-DIyfeBeK.mjs";
4
+ import { c as getNormalizationContextLoader } from "./ld-Dcw2skfn.mjs";
5
5
  import jsonld from "@fedify/vocab-runtime/jsonld";
6
6
  //#region src/federation/temporal.ts
7
7
  function isPlainObject(value) {
@@ -5,9 +5,9 @@ import { t as esm_default } from "../esm-vrlUxr60.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-C-ZRDbaf.mjs";
6
6
  import "../std__assert-BBjXFNOb.mjs";
7
7
  import { t as assertRejects } from "../assert_rejects-DN60FHPX.mjs";
8
- import { l as verifyRequest } from "../http-DXPJbpv9.mjs";
8
+ import { l as verifyRequest } from "../http-PCt0862M.mjs";
9
9
  import { i as rsaPrivateKey2 } from "../keys-DGu1NFwu.mjs";
10
- import { t as getAuthenticatedDocumentLoader } from "../docloader-B8nIVAgc.mjs";
10
+ import { t as getAuthenticatedDocumentLoader } from "../docloader-YZA0m_3O.mjs";
11
11
  import { mockDocumentLoader, test } from "@fedify/fixture";
12
12
  import { UrlError } from "@fedify/vocab-runtime";
13
13
  //#region src/utils/docloader.test.ts
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as kvCache, t as MockKvStore } from "../kv-cache-C_e_R-q_.mjs";
4
+ import { n as kvCache, t as MockKvStore } from "../kv-cache-Ceg0c1wh.mjs";
5
5
  import { deepStrictEqual, throws } from "node:assert";
6
6
  import { createTestMeterProvider, mockDocumentLoader, test } from "@fedify/fixture";
7
7
  import { preloadedContexts } from "@fedify/vocab-runtime";
@@ -1,6 +1,6 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const require_kv_cache = require("../kv-cache-COHwLJGY.cjs");
4
+ const require_kv_cache = require("../kv-cache-CVG3m2_-.cjs");
5
5
  exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
6
6
  exports.kvCache = require_kv_cache.kvCache;
package/dist/utils/mod.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-XXGgcgMy.js";
3
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-IjRceERu.js";
4
4
  export { getAuthenticatedDocumentLoader, kvCache };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "2.3.0-pr.809.39+f65f60c0",
3
+ "version": "2.3.1",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -140,7 +140,7 @@
140
140
  },
141
141
  "dependencies": {
142
142
  "@js-temporal/polyfill": "^0.5.1",
143
- "@logtape/logtape": "^2.1.0",
143
+ "@logtape/logtape": "^2.2.0",
144
144
  "@opentelemetry/api": "^1.9.1",
145
145
  "@opentelemetry/core": "^2.7.1",
146
146
  "@opentelemetry/sdk-metrics": "2.7.1",
@@ -152,10 +152,10 @@
152
152
  "jsonld": "^9.0.0",
153
153
  "structured-field-values": "^2.0.4",
154
154
  "urlpattern-polyfill": "^10.1.0",
155
- "@fedify/vocab": "2.3.0-pr.809.39+f65f60c0",
156
- "@fedify/uri-template": "2.3.0-pr.809.39+f65f60c0",
157
- "@fedify/webfinger": "2.3.0-pr.809.39+f65f60c0",
158
- "@fedify/vocab-runtime": "2.3.0-pr.809.39+f65f60c0"
155
+ "@fedify/uri-template": "2.3.1",
156
+ "@fedify/vocab": "2.3.1",
157
+ "@fedify/webfinger": "2.3.1",
158
+ "@fedify/vocab-runtime": "2.3.1"
159
159
  },
160
160
  "devDependencies": {
161
161
  "@std/assert": "npm:@jsr/std__assert@^0.226.0",
@@ -168,7 +168,7 @@
168
168
  "typescript": "^6.0.0",
169
169
  "wrangler": "^4.17.0",
170
170
  "@fedify/fixture": "2.0.0",
171
- "@fedify/vocab-tools": "^2.3.0-pr.809.39+f65f60c0"
171
+ "@fedify/vocab-tools": "^2.3.1"
172
172
  },
173
173
  "scripts": {
174
174
  "build:self": "tsdown",