@fedify/fedify 2.0.0-pr.457.1754 → 2.0.0-pr.458.1785

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 (148) hide show
  1. package/dist/{actor--EIM8WJq.js → actor--VLnVYXz.js} +1 -1
  2. package/dist/{actor-C1V-Vbaa.cjs → actor-CiSL2a2p.cjs} +185 -185
  3. package/dist/{actor-BkClSt23.js → actor-DNkUFFkh.js} +185 -185
  4. package/dist/{builder-Drp8J0wC.js → builder-CZSde97X.js} +3 -3
  5. package/dist/compat/transformers.test.js +14 -14
  6. package/dist/{docloader-BhDPeZk3.js → docloader-BxuunQZs.js} +2 -2
  7. package/dist/{esm-D2byLwNf.js → esm-QEA87cVm.js} +1 -1
  8. package/dist/federation/builder.test.js +4 -4
  9. package/dist/federation/collection.test.js +2 -2
  10. package/dist/federation/handler.test.js +15 -15
  11. package/dist/federation/idempotency.test.js +15 -15
  12. package/dist/federation/inbox.test.js +3 -3
  13. package/dist/federation/keycache.test.js +3 -3
  14. package/dist/federation/kv.test.js +2 -2
  15. package/dist/federation/middleware.test.js +16 -16
  16. package/dist/federation/mod.cjs +7 -7
  17. package/dist/federation/mod.js +7 -7
  18. package/dist/federation/mq.test.js +2 -2
  19. package/dist/federation/negotiation.test.js +2 -2
  20. package/dist/federation/retry.test.js +2 -2
  21. package/dist/federation/router.test.js +2 -2
  22. package/dist/federation/send.test.js +9 -9
  23. package/dist/{http-ChVy_Zs1.js → http-BhpEc9l3.js} +2 -2
  24. package/dist/{http-CQraRgim.js → http-Cte9nops.js} +2 -2
  25. package/dist/{http-Dc-3AhVQ.cjs → http-a0G1hpRn.cjs} +2 -2
  26. package/dist/{inbox-c2HespXf.js → inbox-Cb8RdXWW.js} +1 -1
  27. package/dist/{key-DfjYEehd.js → key-CdI1yIJy.js} +2 -2
  28. package/dist/{keycache-Bqod49Je.js → keycache-DOfHKENE.js} +1 -1
  29. package/dist/{keys-DpfNqWw3.js → keys-CHUC78-4.js} +1 -1
  30. package/dist/{kv-cache--YUzf-BE.cjs → kv-cache-79bFCewW.cjs} +1 -1
  31. package/dist/{kv-cache-BHyEN0Z7.js → kv-cache-DE_UAzCQ.js} +1 -1
  32. package/dist/{ld-DxH5pJEy.js → ld-CT0gk12A.js} +2 -2
  33. package/dist/{lookup-UlFMEz4S.js → lookup-DAGHb67t.js} +4 -6
  34. package/dist/{lookup-CHu82YNt.cjs → lookup-F01Sg45_.cjs} +4 -6
  35. package/dist/{lookup-C5pO70ss.js → lookup-wnlSK-Zr.js} +188 -190
  36. package/dist/middleware-B4FfUyht.js +15 -0
  37. package/dist/middleware-BPTr1_Jg.cjs +15 -0
  38. package/dist/{middleware-CnVcyowb.js → middleware-BgFkyoHO.js} +11 -11
  39. package/dist/middleware-D9m7PQbH.js +26 -0
  40. package/dist/{middleware-f2BqmeAn.js → middleware-DQewnh68.js} +7 -7
  41. package/dist/{middleware-BjvG3FSg.cjs → middleware-QVu7IGCo.cjs} +7 -7
  42. package/dist/mod.cjs +7 -7
  43. package/dist/mod.js +7 -7
  44. package/dist/nodeinfo/client.test.js +3 -3
  45. package/dist/nodeinfo/handler.test.js +14 -14
  46. package/dist/nodeinfo/types.test.js +2 -2
  47. package/dist/{owner-BqWkxhC_.js → owner-kYdK5AUv.js} +2 -2
  48. package/dist/{proof-DjnaYscE.js → proof-BJ9rweAq.js} +2 -2
  49. package/dist/{proof-DKHqWkww.js → proof-CYQmKDha.js} +3 -3
  50. package/dist/{proof-DHEZDAfy.cjs → proof-fXgRX-LS.cjs} +3 -3
  51. package/dist/{send-DG2jH3Yb.js → send-BEmBRpdV.js} +2 -2
  52. package/dist/sig/http.test.js +7 -7
  53. package/dist/sig/key.test.js +5 -5
  54. package/dist/sig/ld.test.js +6 -6
  55. package/dist/sig/mod.cjs +4 -4
  56. package/dist/sig/mod.js +4 -4
  57. package/dist/sig/owner.test.js +6 -6
  58. package/dist/sig/proof.test.js +6 -6
  59. package/dist/src/vocab/accept.yaml +1 -1
  60. package/dist/src/vocab/activity.yaml +1 -1
  61. package/dist/src/vocab/add.yaml +1 -1
  62. package/dist/src/vocab/announce.yaml +1 -1
  63. package/dist/src/vocab/application.yaml +1 -1
  64. package/dist/src/vocab/arrive.yaml +1 -1
  65. package/dist/src/vocab/article.yaml +1 -1
  66. package/dist/src/vocab/audio.yaml +1 -1
  67. package/dist/src/vocab/block.yaml +1 -1
  68. package/dist/src/vocab/chatmessage.yaml +1 -1
  69. package/dist/src/vocab/collection.yaml +1 -1
  70. package/dist/src/vocab/collectionpage.yaml +1 -1
  71. package/dist/src/vocab/create.yaml +1 -1
  72. package/dist/src/vocab/dataintegrityproof.yaml +1 -1
  73. package/dist/src/vocab/delete.yaml +1 -1
  74. package/dist/src/vocab/didservice.yaml +1 -1
  75. package/dist/src/vocab/dislike.yaml +1 -1
  76. package/dist/src/vocab/document.yaml +1 -1
  77. package/dist/src/vocab/emoji.yaml +1 -1
  78. package/dist/src/vocab/emojireact.yaml +1 -1
  79. package/dist/src/vocab/endpoints.yaml +1 -1
  80. package/dist/src/vocab/event.yaml +1 -1
  81. package/dist/src/vocab/export.yaml +1 -1
  82. package/dist/src/vocab/flag.yaml +1 -1
  83. package/dist/src/vocab/follow.yaml +1 -1
  84. package/dist/src/vocab/group.yaml +1 -1
  85. package/dist/src/vocab/hashtag.yaml +1 -1
  86. package/dist/src/vocab/ignore.yaml +1 -1
  87. package/dist/src/vocab/image.yaml +1 -1
  88. package/dist/src/vocab/intransitiveactivity.yaml +1 -1
  89. package/dist/src/vocab/invite.yaml +1 -1
  90. package/dist/src/vocab/join.yaml +1 -1
  91. package/dist/src/vocab/key.yaml +1 -1
  92. package/dist/src/vocab/leave.yaml +1 -1
  93. package/dist/src/vocab/like.yaml +1 -1
  94. package/dist/src/vocab/link.yaml +1 -1
  95. package/dist/src/vocab/listen.yaml +1 -1
  96. package/dist/src/vocab/mention.yaml +1 -1
  97. package/dist/src/vocab/move.yaml +1 -1
  98. package/dist/src/vocab/multikey.yaml +1 -1
  99. package/dist/src/vocab/note.yaml +1 -1
  100. package/dist/src/vocab/object.yaml +1 -1
  101. package/dist/src/vocab/offer.yaml +1 -1
  102. package/dist/src/vocab/orderedcollection.yaml +1 -1
  103. package/dist/src/vocab/orderedcollectionpage.yaml +1 -1
  104. package/dist/src/vocab/organization.yaml +1 -1
  105. package/dist/src/vocab/page.yaml +1 -1
  106. package/dist/src/vocab/person.yaml +1 -1
  107. package/dist/src/vocab/place.yaml +1 -1
  108. package/dist/src/vocab/profile.yaml +1 -1
  109. package/dist/src/vocab/propertyvalue.yaml +1 -1
  110. package/dist/src/vocab/question.yaml +1 -1
  111. package/dist/src/vocab/read.yaml +1 -1
  112. package/dist/src/vocab/reject.yaml +1 -1
  113. package/dist/src/vocab/relationship.yaml +1 -1
  114. package/dist/src/vocab/remove.yaml +1 -1
  115. package/dist/src/vocab/service.yaml +1 -1
  116. package/dist/src/vocab/source.yaml +1 -1
  117. package/dist/src/vocab/tentativeaccept.yaml +1 -1
  118. package/dist/src/vocab/tentativereject.yaml +1 -1
  119. package/dist/src/vocab/tombstone.yaml +1 -1
  120. package/dist/src/vocab/travel.yaml +1 -1
  121. package/dist/src/vocab/undo.yaml +1 -1
  122. package/dist/src/vocab/update.yaml +1 -1
  123. package/dist/src/vocab/video.yaml +1 -1
  124. package/dist/src/vocab/view.yaml +1 -1
  125. package/dist/testing/docloader.test.js +2 -2
  126. package/dist/testing/mod.js +2 -2
  127. package/dist/{testing-CUOkRXmb.js → testing-CPiwvd6b.js} +1 -1
  128. package/dist/utils/docloader.test.js +8 -8
  129. package/dist/utils/kv-cache.test.js +2 -2
  130. package/dist/utils/mod.cjs +4 -4
  131. package/dist/utils/mod.js +4 -4
  132. package/dist/vocab/actor.test.js +4 -4
  133. package/dist/vocab/lookup.test.js +3 -3
  134. package/dist/vocab/mod.cjs +3 -3
  135. package/dist/vocab/mod.js +3 -3
  136. package/dist/vocab/type.test.js +2 -2
  137. package/dist/vocab/vocab.test.js +7601 -1990
  138. package/dist/{vocab-DWCgeSMU.cjs → vocab-Cm9We5wr.cjs} +2 -2
  139. package/dist/{vocab-HZjpFucb.js → vocab-CwsU_QlZ.js} +2 -2
  140. package/dist/webfinger/handler.test.js +14 -14
  141. package/dist/webfinger/lookup.test.js +3 -3
  142. package/dist/webfinger/mod.cjs +1 -1
  143. package/dist/webfinger/mod.js +1 -1
  144. package/dist/x/cfworkers.test.js +2 -2
  145. package/package.json +6 -6
  146. package/dist/middleware-BPWWS7Li.js +0 -15
  147. package/dist/middleware-BZRfF01Z.cjs +0 -15
  148. package/dist/middleware-d26uv3fL.js +0 -26
@@ -3,8 +3,8 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  const require_chunk = require('./chunk-DqRYRqnO.cjs');
6
- const require_lookup = require('./lookup-CHu82YNt.cjs');
7
- const require_actor = require('./actor-C1V-Vbaa.cjs');
6
+ const require_lookup = require('./lookup-F01Sg45_.cjs');
7
+ const require_actor = require('./actor-CiSL2a2p.cjs');
8
8
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
9
9
  const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
10
10
  const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
@@ -2,8 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { deno_default, lookupWebFinger } from "./lookup-UlFMEz4S.js";
6
- import { Object as Object$1, getTypeId } from "./actor-BkClSt23.js";
5
+ import { deno_default, lookupWebFinger } from "./lookup-DAGHb67t.js";
6
+ import { Object as Object$1, getTypeId } from "./actor-DNkUFFkh.js";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
  import { SpanStatusCode, trace } from "@opentelemetry/api";
9
9
  import { getDocumentLoader } from "@fedify/vocab-runtime";
@@ -3,30 +3,30 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Image, Link, Person } from "../lookup-C5pO70ss.js";
6
+ import { Image, Link, Person } from "../lookup-wnlSK-Zr.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-CRZrzyXm.js";
11
- import { createFederation, handleWebFinger } from "../middleware-CnVcyowb.js";
11
+ import { createFederation, handleWebFinger } from "../middleware-BgFkyoHO.js";
12
12
  import "../client-pY7-3icS.js";
13
13
  import "../types-C2XVl6gj.js";
14
- import "../actor--EIM8WJq.js";
15
- import "../key-DfjYEehd.js";
16
- import "../http-CQraRgim.js";
17
- import "../ld-DxH5pJEy.js";
18
- import "../owner-BqWkxhC_.js";
19
- import "../proof-DjnaYscE.js";
20
- import "../docloader-BhDPeZk3.js";
14
+ import "../actor--VLnVYXz.js";
15
+ import "../key-CdI1yIJy.js";
16
+ import "../http-Cte9nops.js";
17
+ import "../ld-CT0gk12A.js";
18
+ import "../owner-kYdK5AUv.js";
19
+ import "../proof-BJ9rweAq.js";
20
+ import "../docloader-BxuunQZs.js";
21
21
  import "../kv-cache-DN9pfMBe.js";
22
- import "../inbox-c2HespXf.js";
23
- import "../builder-Drp8J0wC.js";
22
+ import "../inbox-Cb8RdXWW.js";
23
+ import "../builder-CZSde97X.js";
24
24
  import "../collection-BzWsN9pB.js";
25
- import "../keycache-Bqod49Je.js";
25
+ import "../keycache-DOfHKENE.js";
26
26
  import "../negotiation-C4nFufNk.js";
27
27
  import "../retry-CfF8Gn4d.js";
28
- import "../send-DG2jH3Yb.js";
29
- import { createRequestContext, test } from "../testing-CUOkRXmb.js";
28
+ import "../send-BEmBRpdV.js";
29
+ import { createRequestContext, test } from "../testing-CPiwvd6b.js";
30
30
  import "../std__assert-DWivtrGR.js";
31
31
  import "../assert_rejects-Ce45JcFg.js";
32
32
  import "../assert_throws-BNXdRGWP.js";
@@ -3,16 +3,16 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { lookupWebFinger } from "../lookup-C5pO70ss.js";
6
+ import { lookupWebFinger } from "../lookup-wnlSK-Zr.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import { test } from "../testing-CUOkRXmb.js";
10
+ import { test } from "../testing-CPiwvd6b.js";
11
11
  import "../std__assert-DWivtrGR.js";
12
12
  import "../assert_rejects-Ce45JcFg.js";
13
13
  import "../assert_throws-BNXdRGWP.js";
14
14
  import "../assert_not_equals-C80BG-_5.js";
15
- import { esm_default } from "../esm-D2byLwNf.js";
15
+ import { esm_default } from "../esm-QEA87cVm.js";
16
16
  import { withTimeout } from "es-toolkit";
17
17
 
18
18
  //#region src/webfinger/lookup.test.ts
@@ -2,7 +2,7 @@
2
2
  const { Temporal } = require("@js-temporal/polyfill");
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
- const require_lookup = require('../lookup-CHu82YNt.cjs');
5
+ const require_lookup = require('../lookup-F01Sg45_.cjs');
6
6
  require('../webfinger-vAtLmxOF.cjs');
7
7
 
8
8
  exports.lookupWebFinger = require_lookup.lookupWebFinger;
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { lookupWebFinger } from "../lookup-UlFMEz4S.js";
5
+ import { lookupWebFinger } from "../lookup-DAGHb67t.js";
6
6
  import "../webfinger-C72Y8lrh.js";
7
7
 
8
8
  export { lookupWebFinger };
@@ -3,11 +3,11 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../lookup-C5pO70ss.js";
6
+ import "../lookup-wnlSK-Zr.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import { test } from "../testing-CUOkRXmb.js";
10
+ import { test } from "../testing-CPiwvd6b.js";
11
11
  import "../std__assert-DWivtrGR.js";
12
12
  import "../assert_rejects-Ce45JcFg.js";
13
13
  import "../assert_throws-BNXdRGWP.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "2.0.0-pr.457.1754+e2ece3ba",
3
+ "version": "2.0.0-pr.458.1785+f5e97597",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -150,9 +150,8 @@
150
150
  }
151
151
  },
152
152
  "dependencies": {
153
- "@cfworker/json-schema": "^4.1.1",
154
153
  "@js-temporal/polyfill": "^0.5.1",
155
- "@logtape/logtape": "^1.0.0",
154
+ "@logtape/logtape": "^1.1.1",
156
155
  "@multiformats/base-x": "^4.0.1",
157
156
  "@opentelemetry/api": "^1.9.0",
158
157
  "@opentelemetry/semantic-conventions": "^1.27.0",
@@ -167,7 +166,7 @@
167
166
  "uri-template-router": "^0.0.17",
168
167
  "url-template": "^3.1.1",
169
168
  "urlpattern-polyfill": "^10.1.0",
170
- "@fedify/vocab-runtime": "2.0.0-pr.457.1754+e2ece3ba"
169
+ "@fedify/vocab-runtime": "2.0.0-pr.458.1785+f5e97597"
171
170
  },
172
171
  "devDependencies": {
173
172
  "@cloudflare/workers-types": "^4.20250529.0",
@@ -182,10 +181,11 @@
182
181
  "tsdown": "^0.12.9",
183
182
  "tsx": "^4.19.4",
184
183
  "typescript": "^5.9.2",
185
- "wrangler": "^4.17.0"
184
+ "wrangler": "^4.17.0",
185
+ "@fedify/vocab-tools": "^2.0.0-pr.458.1785+f5e97597"
186
186
  },
187
187
  "scripts": {
188
- "build": "deno task codegen && pnpm run --filter vocab-runtime build && tsdown",
188
+ "build": "deno task codegen && pnpm run --filter vocab-runtime build && pnpm run --filter vocab-tools build && tsdown",
189
189
  "prepublish": "pnpm run build",
190
190
  "test": "deno task codegen && tsdown && cd dist/ && node --test",
191
191
  "test:bun": "deno task codegen && deno task pnpm:build-vocab && tsdown && cd dist/ && bun test --timeout 60000",
@@ -1,15 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- import "./transformers-BFT6d7J5.js";
6
- import "./lookup-UlFMEz4S.js";
7
- import "./actor-BkClSt23.js";
8
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-f2BqmeAn.js";
9
- import "./http-ChVy_Zs1.js";
10
- import "./proof-DKHqWkww.js";
11
- import "./types-BtUjyi5y.js";
12
- import "./kv-cache-BHyEN0Z7.js";
13
- import "./vocab-HZjpFucb.js";
14
-
15
- export { FederationImpl };
@@ -1,15 +0,0 @@
1
-
2
- const { Temporal } = require("@js-temporal/polyfill");
3
- const { URLPattern } = require("urlpattern-polyfill");
4
-
5
- require('./transformers-CoBS-oFG.cjs');
6
- require('./lookup-CHu82YNt.cjs');
7
- require('./actor-C1V-Vbaa.cjs');
8
- const require_middleware = require('./middleware-BjvG3FSg.cjs');
9
- require('./http-Dc-3AhVQ.cjs');
10
- require('./proof-DHEZDAfy.cjs');
11
- require('./types-CWgzGaqk.cjs');
12
- require('./kv-cache--YUzf-BE.cjs');
13
- require('./vocab-DWCgeSMU.cjs');
14
-
15
- exports.FederationImpl = require_middleware.FederationImpl;
@@ -1,26 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import "./lookup-C5pO70ss.js";
7
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-CnVcyowb.js";
8
- import "./client-pY7-3icS.js";
9
- import "./types-C2XVl6gj.js";
10
- import "./actor--EIM8WJq.js";
11
- import "./key-DfjYEehd.js";
12
- import "./http-CQraRgim.js";
13
- import "./ld-DxH5pJEy.js";
14
- import "./owner-BqWkxhC_.js";
15
- import "./proof-DjnaYscE.js";
16
- import "./docloader-BhDPeZk3.js";
17
- import "./kv-cache-DN9pfMBe.js";
18
- import "./inbox-c2HespXf.js";
19
- import "./builder-Drp8J0wC.js";
20
- import "./collection-BzWsN9pB.js";
21
- import "./keycache-Bqod49Je.js";
22
- import "./negotiation-C4nFufNk.js";
23
- import "./retry-CfF8Gn4d.js";
24
- import "./send-DG2jH3Yb.js";
25
-
26
- export { FederationImpl };