@fedify/fedify 2.0.33-dev.2413 → 2.0.33-dev.2414

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 (60) hide show
  1. package/dist/{assert_rejects-B-qJtC9Z.mjs → assert_rejects-WyYSTDDX.mjs} +2 -20
  2. package/dist/{assert_throws-4NwKEy2q.mjs → assert_throws-D4DNWrux.mjs} +19 -1
  3. package/dist/{builder-DEj2UtTo.mjs → builder-oPN-KAgG.mjs} +3 -3
  4. package/dist/compat/transformers.test.mjs +1 -1
  5. package/dist/{deno-1poG3nVL.mjs → deno-v7kfTDw9.mjs} +1 -1
  6. package/dist/{docloader-DHhMJMBx.mjs → docloader-C40rdqSR.mjs} +2 -2
  7. package/dist/federation/builder.test.mjs +3 -3
  8. package/dist/federation/collection.test.mjs +1 -1
  9. package/dist/federation/handler.test.mjs +258 -9
  10. package/dist/federation/idempotency.test.mjs +3 -3
  11. package/dist/federation/inbox.test.mjs +25 -2
  12. package/dist/federation/kv.test.mjs +1 -1
  13. package/dist/federation/middleware.test.mjs +128 -10
  14. package/dist/federation/mod.cjs +1 -1
  15. package/dist/federation/mod.js +1 -1
  16. package/dist/federation/mq.test.mjs +2 -2
  17. package/dist/federation/negotiation.test.mjs +2 -2
  18. package/dist/federation/retry.test.mjs +1 -1
  19. package/dist/federation/router.test.mjs +2 -3
  20. package/dist/federation/send.test.mjs +7 -6
  21. package/dist/federation/temporal.test.mjs +3 -3
  22. package/dist/federation/webfinger.test.mjs +2 -2
  23. package/dist/{http-C8SYUIha.mjs → http-BRdkmpRl.mjs} +2 -2
  24. package/dist/{http-0H3c-FW0.cjs → http-CytEl2_x.cjs} +1 -1
  25. package/dist/{http-DaS2vnNk.js → http-i02DDItX.js} +1 -1
  26. package/dist/{inbox-DvbsFXWB.mjs → inbox-Bj-VABWa.mjs} +23 -10
  27. package/dist/{key-CDuFq0mQ.mjs → key-qe6uT5ER.mjs} +1 -1
  28. package/dist/{kv-cache-BNiY7ea-.cjs → kv-cache-CCCwr3Y2.cjs} +1 -1
  29. package/dist/{kv-cache-B7T3rhpo.js → kv-cache-DT2Fk4wy.js} +1 -1
  30. package/dist/{ld-5AEMxXBH.mjs → ld-gf5riP2W.mjs} +2 -2
  31. package/dist/{middleware-CKBMWB3q.cjs → middleware-BDniN395.cjs} +1 -1
  32. package/dist/{middleware-DlYK6kvo.cjs → middleware-C_ybJNaa.cjs} +103 -33
  33. package/dist/{middleware-NUR07Wjx.mjs → middleware-GCF6LA-a.mjs} +1 -1
  34. package/dist/{middleware-Cm5Kx7Nr.mjs → middleware-a9um4sWr.mjs} +89 -32
  35. package/dist/{middleware-B4GK0_I-.js → middleware-rrNFt8Ia.js} +102 -32
  36. package/dist/mod.cjs +4 -4
  37. package/dist/mod.js +4 -4
  38. package/dist/nodeinfo/client.test.mjs +1 -1
  39. package/dist/nodeinfo/handler.test.mjs +2 -2
  40. package/dist/nodeinfo/types.test.mjs +2 -2
  41. package/dist/otel/exporter.test.mjs +1 -1
  42. package/dist/{owner-BUnSHtD3.mjs → owner-DRXYR3jY.mjs} +2 -2
  43. package/dist/{proof-Bg4dnzAo.cjs → proof-BS0ckB77.cjs} +1 -1
  44. package/dist/{proof-nfrx8WZI.mjs → proof-DYP1abqL.mjs} +2 -2
  45. package/dist/{proof-BPWRZzc2.js → proof-PVc8vCvO.js} +1 -1
  46. package/dist/{send-BVjpjEY-.mjs → send-CVlj4zuA.mjs} +2 -2
  47. package/dist/sig/http.test.mjs +5 -5
  48. package/dist/sig/key.test.mjs +5 -5
  49. package/dist/sig/ld.test.mjs +4 -4
  50. package/dist/sig/mod.cjs +2 -2
  51. package/dist/sig/mod.js +2 -2
  52. package/dist/sig/owner.test.mjs +3 -3
  53. package/dist/sig/proof.test.mjs +3 -3
  54. package/dist/{std__assert-BUOJXi-Z.mjs → std__assert-DflMZha5.mjs} +2 -2
  55. package/dist/{temporal-D58JcKAc.mjs → temporal-BwiXwu1s.mjs} +1 -1
  56. package/dist/utils/docloader.test.mjs +4 -4
  57. package/dist/utils/mod.cjs +1 -1
  58. package/dist/utils/mod.js +1 -1
  59. package/package.json +5 -5
  60. /package/dist/{assert_not_equals--wG9hV7u.mjs → assert_not_equals-BkxW5QJI.mjs} +0 -0
@@ -2,11 +2,11 @@ import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
5
- import "../std__assert-BUOJXi-Z.mjs";
6
- import { n as assertFalse } from "../assert_rejects-B-qJtC9Z.mjs";
5
+ import "../std__assert-DflMZha5.mjs";
6
+ import { r as assertFalse } from "../assert_throws-D4DNWrux.mjs";
7
7
  import { t as assert } from "../assert-BhQd8QHP.mjs";
8
8
  import { o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-CCxRJhWa.mjs";
9
- import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-BUnSHtD3.mjs";
9
+ import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-DRXYR3jY.mjs";
10
10
  import { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
11
11
  import { Create, CryptographicKey, lookupObject } from "@fedify/vocab";
12
12
  //#region src/sig/owner.test.ts
@@ -2,11 +2,11 @@ import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
5
- import "../std__assert-BUOJXi-Z.mjs";
6
- import { t as assertRejects } from "../assert_rejects-B-qJtC9Z.mjs";
5
+ import "../std__assert-DflMZha5.mjs";
7
6
  import { n as assertInstanceOf } from "../assert-BhQd8QHP.mjs";
7
+ import { t as assertRejects } from "../assert_rejects-WyYSTDDX.mjs";
8
8
  import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-CCxRJhWa.mjs";
9
- import { i as verifyProof, n as signObject, r as verifyObject, t as createProof } from "../proof-nfrx8WZI.mjs";
9
+ import { i as verifyProof, n as signObject, r as verifyObject, t as createProof } from "../proof-DYP1abqL.mjs";
10
10
  import { mockDocumentLoader, test } from "@fedify/fixture";
11
11
  import { Create, DataIntegrityProof, Multikey, Note, Place } from "@fedify/vocab";
12
12
  import { decodeMultibase, importMultibaseKey } from "@fedify/vocab-runtime";
@@ -2,8 +2,8 @@ import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { a as red, i as buildMessage, l as AssertionError, n as diffStr, r as diff, s as format } from "./assert_equals-Ew3jOFa3.mjs";
5
- import "./assert_rejects-B-qJtC9Z.mjs";
6
- import "./assert_throws-4NwKEy2q.mjs";
5
+ import "./assert_throws-D4DNWrux.mjs";
6
+ import "./assert_rejects-WyYSTDDX.mjs";
7
7
  //#region ../../node_modules/.pnpm/@jsr+std__assert@0.226.0/node_modules/@jsr/std__assert/assert_exists.js
8
8
  /**
9
9
  * Make an assertion that actual is not null or undefined.
@@ -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-5AEMxXBH.mjs";
4
+ import { c as getNormalizationContextLoader } from "./ld-gf5riP2W.mjs";
5
5
  import jsonld from "@fedify/vocab-runtime/jsonld";
6
6
  //#region src/federation/temporal.ts
7
7
  function isPlainObject(value) {
@@ -3,11 +3,11 @@ import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
4
  import { t as esm_default } from "../esm-DVILvP5e.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
6
- import "../std__assert-BUOJXi-Z.mjs";
7
- import { t as assertRejects } from "../assert_rejects-B-qJtC9Z.mjs";
8
- import { l as verifyRequest } from "../http-C8SYUIha.mjs";
6
+ import "../std__assert-DflMZha5.mjs";
7
+ import { t as assertRejects } from "../assert_rejects-WyYSTDDX.mjs";
8
+ import { l as verifyRequest } from "../http-BRdkmpRl.mjs";
9
9
  import { i as rsaPrivateKey2 } from "../keys-CCxRJhWa.mjs";
10
- import { t as getAuthenticatedDocumentLoader } from "../docloader-DHhMJMBx.mjs";
10
+ import { t as getAuthenticatedDocumentLoader } from "../docloader-C40rdqSR.mjs";
11
11
  import { mockDocumentLoader, test } from "@fedify/fixture";
12
12
  import { FetchError, UrlError } from "@fedify/vocab-runtime";
13
13
  import { configure, reset } from "@logtape/logtape";
@@ -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-BNiY7ea-.cjs");
4
+ const require_kv_cache = require("../kv-cache-CCCwr3Y2.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-B7T3rhpo.js";
3
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-DT2Fk4wy.js";
4
4
  export { getAuthenticatedDocumentLoader, kvCache };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "2.0.33-dev.2413+bacabf0a",
3
+ "version": "2.0.33-dev.2414+98deefa2",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -144,9 +144,9 @@
144
144
  "uri-template-router": "^1.0.0",
145
145
  "url-template": "^3.1.1",
146
146
  "urlpattern-polyfill": "^10.1.0",
147
- "@fedify/vocab": "2.0.33-dev.2413+bacabf0a",
148
- "@fedify/webfinger": "2.0.33-dev.2413+bacabf0a",
149
- "@fedify/vocab-runtime": "2.0.33-dev.2413+bacabf0a"
147
+ "@fedify/vocab": "2.0.33-dev.2414+98deefa2",
148
+ "@fedify/vocab-runtime": "2.0.33-dev.2414+98deefa2",
149
+ "@fedify/webfinger": "2.0.33-dev.2414+98deefa2"
150
150
  },
151
151
  "devDependencies": {
152
152
  "@std/assert": "npm:@jsr/std__assert@^0.226.0",
@@ -159,7 +159,7 @@
159
159
  "typescript": "^6.0.0",
160
160
  "wrangler": "^4.17.0",
161
161
  "@fedify/fixture": "2.0.0",
162
- "@fedify/vocab-tools": "^2.0.33-dev.2413+bacabf0a"
162
+ "@fedify/vocab-tools": "^2.0.33-dev.2414+98deefa2"
163
163
  },
164
164
  "scripts": {
165
165
  "build:self": "tsdown",