@fedify/fedify 1.9.6 → 1.9.8

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 (274) hide show
  1. package/dist/{actor-CEGEmRll.js → actor-BTA45fXF.js} +1205 -2768
  2. package/dist/{actor-Ydzhc8dj.d.cts → actor-Be-68iJP.d.cts} +3 -3
  3. package/dist/{actor-C1Euqngb.d.ts → actor-C5AY0Tno.d.ts} +3 -3
  4. package/dist/{actor-DbpZ6pzg.js → actor-DGa1EWaV.mjs} +8 -15
  5. package/dist/{actor-DlS-Q8hE.cjs → actor-DxfJk4lY.cjs} +3112 -4674
  6. package/dist/{assert-MZs1qjMx.js → assert-DikXweDx.mjs} +5 -9
  7. package/dist/{assert_equals-DSbWqCm3.js → assert_equals-Ew3jOFa3.mjs} +55 -69
  8. package/dist/{assert_instance_of-DHz7EHNU.js → assert_instance_of-C4Ri6VuN.mjs} +5 -9
  9. package/dist/{assert_is_error-BPGph1Jx.js → assert_is_error-C50x8tnw.mjs} +5 -9
  10. package/dist/{assert_not_equals-f3m3epl3.js → assert_not_equals--wG9hV7u.mjs} +6 -13
  11. package/dist/{assert_rejects-DiIiJbZn.js → assert_rejects-CJC9ThS-.mjs} +6 -11
  12. package/dist/{assert_throws-BOO88avQ.js → assert_throws-BIL7gChy.mjs} +6 -10
  13. package/dist/{authdocloader-DUQcOTRS.js → authdocloader-BC2rYCy1.mjs} +9 -14
  14. package/dist/{authdocloader-CT_V4Z7G.cjs → authdocloader-BrhFB421.cjs} +14 -22
  15. package/dist/{authdocloader-BLqMyboS.js → authdocloader-CqtNsX_N.js} +8 -15
  16. package/dist/{builder-BO61xeXE.js → builder-CIkAhIGC.mjs} +31 -40
  17. package/dist/{client-DF8anIB5.d.ts → client-D8OSiPBT.d.ts} +2 -2
  18. package/dist/{client-UG5wpNhG.js → client-MXqit6c-.mjs} +11 -15
  19. package/dist/{client-DjT_tegg.d.cts → client-T0VFOdMw.d.cts} +2 -2
  20. package/dist/{collection-CSzG2j1P.js → collection-BD6-SZ6O.mjs} +7 -12
  21. package/dist/compat/mod.cjs +5 -8
  22. package/dist/compat/mod.d.cts +78 -12
  23. package/dist/compat/mod.d.ts +78 -12
  24. package/dist/compat/mod.js +4 -8
  25. package/dist/compat/transformers.test.mjs +62 -0
  26. package/dist/{context-CwUAkopp.d.cts → context-CACMqDzl.d.cts} +33 -26
  27. package/dist/{context-CXUibY4L.d.ts → context-K4cCphQj.d.ts} +33 -26
  28. package/dist/{denokv-Bv33Xxea.js → denokv-CoSB_Eps.mjs} +22 -11
  29. package/dist/{docloader-BIFI3OS7.cjs → docloader-BVuUhBLI.cjs} +112 -212
  30. package/dist/{docloader-fJgJeqiX.js → docloader-BoXhusJ1.js} +17 -151
  31. package/dist/{docloader-CxWcuWqQ.d.ts → docloader-DSaLRXEA.d.ts} +2 -7
  32. package/dist/{docloader-D-MrRyHl.d.cts → docloader-DpGRDZrn.d.cts} +2 -7
  33. package/dist/{esm-C1EfGjSS.js → esm-BHJ7sdNg.mjs} +49 -85
  34. package/dist/federation/{builder.test.js → builder.test.mjs} +22 -41
  35. package/dist/federation/collection.test.d.mts +2 -0
  36. package/dist/federation/collection.test.mjs +21 -0
  37. package/dist/federation/handler.test.d.mts +2 -0
  38. package/dist/federation/{handler.test.js → handler.test.mjs} +22 -49
  39. package/dist/federation/idempotency.test.d.mts +2 -0
  40. package/dist/federation/{idempotency.test.js → idempotency.test.mjs} +29 -59
  41. package/dist/federation/inbox.test.d.mts +2 -0
  42. package/dist/federation/{inbox.test.js → inbox.test.mjs} +10 -15
  43. package/dist/federation/keycache.test.d.mts +2 -0
  44. package/dist/federation/{keycache.test.js → keycache.test.mjs} +13 -18
  45. package/dist/federation/kv.test.d.mts +2 -0
  46. package/dist/federation/{kv.test.js → kv.test.mjs} +9 -20
  47. package/dist/federation/middleware.test.d.mts +2 -0
  48. package/dist/federation/{middleware.test.js → middleware.test.mjs} +182 -197
  49. package/dist/federation/mod.cjs +223 -21
  50. package/dist/federation/mod.d.cts +4 -13
  51. package/dist/federation/mod.d.ts +4 -13
  52. package/dist/federation/mod.js +218 -18
  53. package/dist/federation/mq.test.d.mts +2 -0
  54. package/dist/federation/{mq.test.js → mq.test.mjs} +23 -38
  55. package/dist/federation/retry.test.d.mts +2 -0
  56. package/dist/federation/{retry.test.js → retry.test.mjs} +9 -14
  57. package/dist/federation/router.test.d.mts +2 -0
  58. package/dist/federation/{router.test.js → router.test.mjs} +12 -19
  59. package/dist/federation/send.test.d.mts +2 -0
  60. package/dist/federation/{send.test.js → send.test.mjs} +17 -26
  61. package/dist/{http-wsGR6KkT.d.ts → http-BZpls--H.d.ts} +5 -9
  62. package/dist/{http-CR-Eg1Uq.js → http-Bu5ZNlhZ.mjs} +16 -32
  63. package/dist/{http-B1_DzfAU.d.cts → http-C7WoprmE.d.cts} +5 -9
  64. package/dist/{http-BgopPF-8.cjs → http-DKw-O_VY.cjs} +51 -68
  65. package/dist/{http-05HxN-lp.js → http-VJbz6sKD.js} +17 -33
  66. package/dist/{inbox-DcJN1cxM.js → inbox-DkbTULXE.mjs} +17 -25
  67. package/dist/key-4fu6v0Jf.mjs +5 -0
  68. package/dist/{key-DjS1X9TG.cjs → key-B-wFdaPB.cjs} +42 -50
  69. package/dist/{key-ibMO03_0.js → key-BNMK_IVr.mjs} +12 -18
  70. package/dist/key-CancShOo.cjs +4 -0
  71. package/dist/{key-CPJcJjp-.js → key-DK3o0FEH.js} +19 -19
  72. package/dist/{keycache-CMUfqYqr.js → keycache-D-Vj8z88.mjs} +6 -10
  73. package/dist/{keys-IZ5050fT.js → keys-B27nVeIs.mjs} +6 -10
  74. package/dist/{kv-C7sopW2E.d.ts → kv-Bq9QLKm5.d.ts} +1 -1
  75. package/dist/{kv-CRZrzyXm.js → kv-DM1zFCtL.mjs} +6 -10
  76. package/dist/{kv-63Cil1MD.d.cts → kv-GIrOktyG.d.cts} +1 -1
  77. package/dist/{ld-DHNA2RSQ.js → ld-6jAVu3jV.mjs} +17 -31
  78. package/dist/{lookup-CKZfuyxA.js → lookup-BaU75j-d.js} +5 -11
  79. package/dist/{lookup-C4_dVYz7.cjs → lookup-BiIPmTwB.cjs} +16 -23
  80. package/dist/{lookup-BMAWLsP2.js → lookup-DmeJ8WUw.mjs} +8 -17
  81. package/dist/middleware-9ByEpBvV.cjs +4 -0
  82. package/dist/{middleware-CGbvIGvy.cjs → middleware-C188G4Go.cjs} +494 -547
  83. package/dist/{middleware-DrhEvfTo.js → middleware-Db1yZQaT.mjs} +276 -321
  84. package/dist/{middleware-ODfDRN3q.js → middleware-Do06X21v.js} +349 -393
  85. package/dist/middleware-DrfZEjyc.mjs +5 -0
  86. package/dist/{mod-CDObsV1d.d.ts → mod-BSwc3_rD.d.ts} +3 -3
  87. package/dist/{mod-DBzN0aCM.d.ts → mod-BTNpXcPj.d.ts} +2 -2
  88. package/dist/{mod-fjqfsrty.d.cts → mod-Chb_NKPp.d.cts} +4 -4
  89. package/dist/{mod-DgcYoyZK.d.ts → mod-DHoc3toL.d.ts} +4 -4
  90. package/dist/{mod-jQ4OODsl.d.cts → mod-DIMx6YjJ.d.cts} +2 -2
  91. package/dist/{mod-BUbqxBev.d.cts → mod-HElaq2UB.d.cts} +3 -3
  92. package/dist/mod.cjs +31 -33
  93. package/dist/mod.d.cts +15 -17
  94. package/dist/mod.d.ts +15 -17
  95. package/dist/mod.js +20 -23
  96. package/dist/{mq-B7R1Q-M5.d.cts → mq-CrItclRD.d.cts} +1 -1
  97. package/dist/{mq-CRGm1e_F.d.ts → mq-D_ZZRdby.d.ts} +1 -1
  98. package/dist/nodeinfo/client.test.d.mts +2 -0
  99. package/dist/nodeinfo/{client.test.js → client.test.mjs} +23 -45
  100. package/dist/nodeinfo/handler.test.d.mts +2 -0
  101. package/dist/nodeinfo/{handler.test.js → handler.test.mjs} +14 -43
  102. package/dist/nodeinfo/mod.cjs +5 -9
  103. package/dist/nodeinfo/mod.d.cts +2 -5
  104. package/dist/nodeinfo/mod.d.ts +2 -5
  105. package/dist/nodeinfo/mod.js +4 -9
  106. package/dist/nodeinfo/semver.test.d.mts +2 -0
  107. package/dist/nodeinfo/{semver.test.js → semver.test.mjs} +28 -51
  108. package/dist/nodeinfo/types.test.d.mts +2 -0
  109. package/dist/nodeinfo/{types.test.js → types.test.mjs} +10 -21
  110. package/dist/{owner-DDHsHYQO.js → owner-CKuGt_T9.mjs} +10 -13
  111. package/dist/{owner-BbeUDvOu.d.ts → owner-DPAPnB0R.d.ts} +4 -4
  112. package/dist/{owner-6KSEp9eV.d.cts → owner-_rFs0ik_.d.cts} +4 -4
  113. package/dist/{proof-V1uQaB2y.js → proof-CmTtG_t-.js} +33 -57
  114. package/dist/{proof-CX7ujFFX.cjs → proof-DLOy7HYU.cjs} +112 -135
  115. package/dist/{proof-exgGRW88.js → proof-mJLL2gSA.mjs} +20 -32
  116. package/dist/{retry-D4GJ670a.js → retry-Ddbq3AcK.mjs} +4 -7
  117. package/dist/rolldown-runtime-C7fyD9f2.js +15 -0
  118. package/dist/runtime/authdocloader.test.d.mts +2 -0
  119. package/dist/runtime/{authdocloader.test.js → authdocloader.test.mjs} +16 -28
  120. package/dist/runtime/docloader.test.d.mts +2 -0
  121. package/dist/runtime/{docloader.test.js → docloader.test.mjs} +52 -72
  122. package/dist/runtime/key.test.d.mts +2 -0
  123. package/dist/runtime/{key.test.js → key.test.mjs} +27 -57
  124. package/dist/runtime/langstr.test.d.mts +2 -0
  125. package/dist/runtime/{langstr.test.js → langstr.test.mjs} +9 -19
  126. package/dist/runtime/link.test.d.mts +2 -0
  127. package/dist/runtime/{link.test.js → link.test.mjs} +7 -11
  128. package/dist/runtime/mod.cjs +7 -13
  129. package/dist/runtime/mod.d.cts +103 -6
  130. package/dist/runtime/mod.d.ts +103 -6
  131. package/dist/runtime/mod.js +6 -13
  132. package/dist/runtime/multibase/multibase.test.d.mts +2 -0
  133. package/dist/runtime/multibase/{multibase.test.js → multibase.test.mjs} +16 -33
  134. package/dist/runtime/url.test.d.mts +2 -0
  135. package/dist/runtime/{url.test.js → url.test.mjs} +10 -15
  136. package/dist/{semver-dArNLkR9.js → semver-CgD82xxg.mjs} +13 -28
  137. package/dist/{send-BfMYakUE.js → send-BsQbGuw4.mjs} +7 -12
  138. package/dist/sig/http.test.d.mts +2 -0
  139. package/dist/sig/{http.test.js → http.test.mjs} +119 -203
  140. package/dist/sig/key.test.d.mts +2 -0
  141. package/dist/sig/{key.test.js → key.test.mjs} +13 -22
  142. package/dist/sig/ld.test.d.mts +2 -0
  143. package/dist/sig/{ld.test.js → ld.test.mjs} +24 -39
  144. package/dist/sig/mod.cjs +7 -13
  145. package/dist/sig/mod.d.cts +3 -7
  146. package/dist/sig/mod.d.ts +3 -7
  147. package/dist/sig/mod.js +6 -13
  148. package/dist/sig/owner.test.d.mts +2 -0
  149. package/dist/sig/owner.test.mjs +39 -0
  150. package/dist/sig/proof.test.d.mts +2 -0
  151. package/dist/sig/{proof.test.js → proof.test.mjs} +18 -31
  152. package/dist/{std__assert-X-_kMxKM.js → std__assert-2v7gYiZp.mjs} +13 -24
  153. package/dist/testing/docloader.test.d.mts +2 -0
  154. package/dist/testing/docloader.test.mjs +12 -0
  155. package/dist/testing/{mod.d.ts → mod.d.mts} +371 -541
  156. package/dist/testing/mod.mjs +5 -0
  157. package/dist/{testing-RPOc_gVG.js → testing-DS3gcq8V.mjs} +27 -35
  158. package/dist/{transformers-CoBS-oFG.cjs → transformers-BM0M8hnW.cjs} +20 -25
  159. package/dist/{transformers-BFT6d7J5.js → transformers-BV4OeK9o.js} +3 -7
  160. package/dist/{types-Cptev2nt.js → types-BXfL-dsX.js} +18 -36
  161. package/dist/{types-BIgY6c-l.js → types-CAnkAQGM.mjs} +5 -9
  162. package/dist/{types-CGnM1vft.cjs → types-DpM4FhjW.cjs} +45 -64
  163. package/dist/vocab/actor.test.d.mts +2 -0
  164. package/dist/vocab/{actor.test.js → actor.test.mjs} +308 -550
  165. package/dist/vocab/cjs.test.d.mts +2 -0
  166. package/dist/vocab/cjs.test.mjs +14 -0
  167. package/dist/vocab/lookup.test.d.mts +2 -0
  168. package/dist/vocab/{lookup.test.js → lookup.test.mjs} +29 -45
  169. package/dist/vocab/mod.cjs +251 -16
  170. package/dist/vocab/mod.d.cts +3 -5
  171. package/dist/vocab/mod.d.ts +3 -5
  172. package/dist/vocab/mod.js +244 -10
  173. package/dist/vocab/type.test.d.mts +2 -0
  174. package/dist/vocab/type.test.mjs +16 -0
  175. package/dist/vocab/vocab.test.d.mts +2 -0
  176. package/dist/vocab/{vocab.test.js → vocab.test.mjs} +178 -311
  177. package/dist/{vocab-CDHNj5zp.d.ts → vocab-BLvSEtuz.d.cts} +2 -4
  178. package/dist/{type-COPv6pMi.js → vocab-DuW9rL1h.mjs} +1177 -2871
  179. package/dist/{vocab-Cfs0937i.d.cts → vocab-lhCS9lzq.d.ts} +4 -2
  180. package/dist/webfinger/handler.test.d.mts +2 -0
  181. package/dist/webfinger/{handler.test.js → handler.test.mjs} +23 -56
  182. package/dist/webfinger/lookup.test.d.mts +2 -0
  183. package/dist/webfinger/{lookup.test.js → lookup.test.mjs} +13 -27
  184. package/dist/webfinger/mod.cjs +5 -9
  185. package/dist/webfinger/mod.d.cts +1 -3
  186. package/dist/webfinger/mod.d.ts +1 -3
  187. package/dist/webfinger/mod.js +4 -9
  188. package/dist/x/cfworkers.cjs +25 -14
  189. package/dist/x/cfworkers.d.cts +33 -6
  190. package/dist/x/cfworkers.d.ts +33 -6
  191. package/dist/x/cfworkers.js +22 -12
  192. package/dist/x/cfworkers.test.d.mts +2 -0
  193. package/dist/x/{cfworkers.test.js → cfworkers.test.mjs} +28 -26
  194. package/dist/x/hono.cjs +25 -14
  195. package/dist/x/hono.d.cts +1 -11
  196. package/dist/x/hono.d.ts +1 -11
  197. package/dist/x/hono.js +22 -12
  198. package/dist/x/sveltekit.cjs +23 -12
  199. package/dist/x/sveltekit.d.cts +1 -11
  200. package/dist/x/sveltekit.d.ts +1 -11
  201. package/dist/x/sveltekit.js +20 -10
  202. package/package.json +2 -2
  203. package/dist/chunk-DqRYRqnO.cjs +0 -34
  204. package/dist/compat/transformers.test.d.ts +0 -3
  205. package/dist/compat/transformers.test.js +0 -86
  206. package/dist/compat-DmDDELst.cjs +0 -4
  207. package/dist/compat-nxUqe4Z-.js +0 -4
  208. package/dist/federation/builder.test.d.ts +0 -3
  209. package/dist/federation/collection.test.d.ts +0 -3
  210. package/dist/federation/collection.test.js +0 -35
  211. package/dist/federation/handler.test.d.ts +0 -3
  212. package/dist/federation/idempotency.test.d.ts +0 -3
  213. package/dist/federation/inbox.test.d.ts +0 -3
  214. package/dist/federation/keycache.test.d.ts +0 -3
  215. package/dist/federation/kv.test.d.ts +0 -3
  216. package/dist/federation/middleware.test.d.ts +0 -3
  217. package/dist/federation/mq.test.d.ts +0 -3
  218. package/dist/federation/retry.test.d.ts +0 -3
  219. package/dist/federation/router.test.d.ts +0 -3
  220. package/dist/federation/send.test.d.ts +0 -3
  221. package/dist/federation-D1U8YY9t.js +0 -226
  222. package/dist/federation-H2_En3j5.cjs +0 -244
  223. package/dist/key-BCUd8FWp.js +0 -10
  224. package/dist/key-BUardnTH.cjs +0 -10
  225. package/dist/key-Dr6H_e3K.js +0 -10
  226. package/dist/middleware-BJ83veqi.js +0 -26
  227. package/dist/middleware-CJ4W2ir5.cjs +0 -17
  228. package/dist/middleware-Ve2mHJgo.js +0 -17
  229. package/dist/mod-BcObK1Lz.d.ts +0 -82
  230. package/dist/mod-C2tOeRkN.d.cts +0 -1
  231. package/dist/mod-CIbqfZW0.d.ts +0 -104
  232. package/dist/mod-Dt-G9ZOS.d.cts +0 -102
  233. package/dist/mod-FZd39qVq.d.cts +0 -1
  234. package/dist/mod-mXx9V0q5.d.cts +0 -80
  235. package/dist/nodeinfo/client.test.d.ts +0 -3
  236. package/dist/nodeinfo/handler.test.d.ts +0 -3
  237. package/dist/nodeinfo/semver.test.d.ts +0 -3
  238. package/dist/nodeinfo/types.test.d.ts +0 -3
  239. package/dist/nodeinfo-Co9lJrWl.cjs +0 -4
  240. package/dist/nodeinfo-DfycQ8Wf.js +0 -4
  241. package/dist/runtime/authdocloader.test.d.ts +0 -3
  242. package/dist/runtime/docloader.test.d.ts +0 -3
  243. package/dist/runtime/key.test.d.ts +0 -3
  244. package/dist/runtime/langstr.test.d.ts +0 -3
  245. package/dist/runtime/link.test.d.ts +0 -3
  246. package/dist/runtime/multibase/multibase.test.d.ts +0 -3
  247. package/dist/runtime/url.test.d.ts +0 -3
  248. package/dist/runtime-C58AJWSv.cjs +0 -4
  249. package/dist/runtime-DPYEDf-o.js +0 -4
  250. package/dist/sig/http.test.d.ts +0 -3
  251. package/dist/sig/key.test.d.ts +0 -3
  252. package/dist/sig/ld.test.d.ts +0 -3
  253. package/dist/sig/owner.test.d.ts +0 -3
  254. package/dist/sig/owner.test.js +0 -52
  255. package/dist/sig/proof.test.d.ts +0 -3
  256. package/dist/sig-ByHXzqUi.cjs +0 -4
  257. package/dist/sig-Cj3tk-ig.js +0 -4
  258. package/dist/testing/docloader.test.d.ts +0 -3
  259. package/dist/testing/docloader.test.js +0 -24
  260. package/dist/testing/mod.js +0 -10
  261. package/dist/vocab/actor.test.d.ts +0 -3
  262. package/dist/vocab/lookup.test.d.ts +0 -3
  263. package/dist/vocab/type.test.d.ts +0 -3
  264. package/dist/vocab/type.test.js +0 -25
  265. package/dist/vocab/vocab.test.d.ts +0 -3
  266. package/dist/vocab-BFy1CS5L.cjs +0 -289
  267. package/dist/vocab-BPFiQ650.js +0 -253
  268. package/dist/webfinger/handler.test.d.ts +0 -3
  269. package/dist/webfinger/lookup.test.d.ts +0 -3
  270. package/dist/webfinger-BjOEdFPs.cjs +0 -4
  271. package/dist/webfinger-De_bU0iE.js +0 -4
  272. package/dist/x/cfworkers.test.d.ts +0 -3
  273. /package/dist/{mod-1pDWKvUL.d.ts → compat/transformers.test.d.mts} +0 -0
  274. /package/dist/{mod-g0xFzAP9.d.ts → federation/builder.test.d.mts} +0 -0
@@ -0,0 +1,2 @@
1
+ import { Temporal } from "@js-temporal/polyfill";
2
+ import { URLPattern } from "urlpattern-polyfill";
@@ -0,0 +1,14 @@
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ globalThis.addEventListener = () => {};
4
+ import { t as test } from "../testing-DS3gcq8V.mjs";
5
+ import { createRequire } from "node:module";
6
+ import { strictEqual } from "node:assert";
7
+ //#region src/vocab/cjs.test.ts
8
+ test("CommonJS vocab entry exports Object", { ignore: "Deno" in globalThis }, () => {
9
+ const vocab = createRequire(import.meta.url)("./mod.cjs");
10
+ strictEqual(typeof vocab.Object, "function");
11
+ strictEqual(typeof vocab.Update, "function");
12
+ });
13
+ //#endregion
14
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Temporal } from "@js-temporal/polyfill";
2
+ import { URLPattern } from "urlpattern-polyfill";
@@ -1,22 +1,15 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import { Collection, Note, Object as Object$1, Person } from "../type-COPv6pMi.js";
7
- import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
- import "../assert-MZs1qjMx.js";
9
- import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
- import { lookupObject, traverseCollection } from "../lookup-BMAWLsP2.js";
11
- import { mockDocumentLoader, test } from "../testing-RPOc_gVG.js";
12
- import "../std__assert-X-_kMxKM.js";
13
- import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
14
- import "../assert_is_error-BPGph1Jx.js";
15
- import "../assert_not_equals-f3m3epl3.js";
16
- import "../assert_throws-BOO88avQ.js";
17
- import { esm_default } from "../esm-C1EfGjSS.js";
1
+ import "@js-temporal/polyfill";
2
+ import "urlpattern-polyfill";
3
+ globalThis.addEventListener = () => {};
4
+ import { C as Person, _ as Note, i as Collection, v as Object$1 } from "../vocab-DuW9rL1h.mjs";
5
+ import { n as traverseCollection, t as lookupObject } from "../lookup-DmeJ8WUw.mjs";
6
+ import { a as mockDocumentLoader, t as test } from "../testing-DS3gcq8V.mjs";
7
+ import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
8
+ import "../std__assert-2v7gYiZp.mjs";
9
+ import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
10
+ import { t as assertInstanceOf } from "../assert_instance_of-C4Ri6VuN.mjs";
11
+ import { t as esm_default } from "../esm-BHJ7sdNg.mjs";
18
12
  import { deepStrictEqual } from "node:assert";
19
-
20
13
  //#region src/vocab/lookup.test.ts
21
14
  test("lookupObject()", {
22
15
  sanitizeResources: false,
@@ -52,10 +45,8 @@ test("lookupObject()", {
52
45
  assertInstanceOf(person, Person);
53
46
  assertEquals(person.id, new URL("https://example.com/person"));
54
47
  assertEquals(person.name, "John Doe");
55
- const person2 = await lookupObject("johndoe@example.com", options);
56
- assertEquals(person2, person);
57
- const person3 = await lookupObject("acct:johndoe@example.com", options);
58
- assertEquals(person3, person);
48
+ assertEquals(await lookupObject("johndoe@example.com", options), person);
49
+ assertEquals(await lookupObject("acct:johndoe@example.com", options), person);
59
50
  });
60
51
  await t.step("object", async () => {
61
52
  const object = await lookupObject("https://example.com/object", options);
@@ -140,11 +131,10 @@ test("lookupObject()", {
140
131
  await t.step("cancellation with immediate abort", async () => {
141
132
  const controller = new AbortController();
142
133
  controller.abort();
143
- const result = await lookupObject("johndoe@example.com", {
134
+ assertEquals(await lookupObject("johndoe@example.com", {
144
135
  ...options,
145
136
  signal: controller.signal
146
- });
147
- assertEquals(result, null);
137
+ }), null);
148
138
  });
149
139
  esm_default.removeRoutes();
150
140
  esm_default.get("https://example.com/slow-object", () => new Promise((resolve) => {
@@ -224,11 +214,10 @@ test("FEP-fe34: lookupObject() cross-origin security", {
224
214
  };
225
215
  throw new Error(`Unexpected URL: ${url}`);
226
216
  };
227
- const result = await lookupObject("https://example.com/note", {
217
+ assertEquals(await lookupObject("https://example.com/note", {
228
218
  documentLoader: crossOriginDocumentLoader,
229
219
  contextLoader: mockDocumentLoader
230
- });
231
- assertEquals(result, null);
220
+ }), null);
232
221
  });
233
222
  await t.step("crossOrigin: throw - throws error for cross-origin objects", async () => {
234
223
  const crossOriginDocumentLoader = async (url) => {
@@ -339,11 +328,10 @@ test("FEP-fe34: lookupObject() cross-origin security", {
339
328
  };
340
329
  throw new Error(`Unexpected URL: ${url}`);
341
330
  };
342
- const result1 = await lookupObject("@user@example.com", {
331
+ assertEquals(await lookupObject("@user@example.com", {
343
332
  documentLoader: webfingerDocumentLoader,
344
333
  contextLoader: mockDocumentLoader
345
- });
346
- assertEquals(result1, null);
334
+ }), null);
347
335
  await assertRejects(() => lookupObject("@user@example.com", {
348
336
  documentLoader: webfingerDocumentLoader,
349
337
  contextLoader: mockDocumentLoader,
@@ -373,11 +361,10 @@ test("FEP-fe34: lookupObject() cross-origin security", {
373
361
  };
374
362
  throw new Error(`Unexpected URL: ${url}`);
375
363
  };
376
- const result = await lookupObject("https://api.example.com/note", {
364
+ assertEquals(await lookupObject("https://api.example.com/note", {
377
365
  documentLoader: subdomainDocumentLoader,
378
366
  contextLoader: mockDocumentLoader
379
- });
380
- assertEquals(result, null);
367
+ }), null);
381
368
  });
382
369
  await t.step("different port same-origin check", async () => {
383
370
  const differentPortDocumentLoader = async (url) => {
@@ -393,11 +380,10 @@ test("FEP-fe34: lookupObject() cross-origin security", {
393
380
  };
394
381
  throw new Error(`Unexpected URL: ${url}`);
395
382
  };
396
- const result = await lookupObject("https://example.com:8080/note", {
383
+ assertEquals(await lookupObject("https://example.com:8080/note", {
397
384
  documentLoader: differentPortDocumentLoader,
398
385
  contextLoader: mockDocumentLoader
399
- });
400
- assertEquals(result, null);
386
+ }), null);
401
387
  });
402
388
  await t.step("protocol difference same-origin check", async () => {
403
389
  const differentProtocolDocumentLoader = async (url) => {
@@ -413,22 +399,20 @@ test("FEP-fe34: lookupObject() cross-origin security", {
413
399
  };
414
400
  throw new Error(`Unexpected URL: ${url}`);
415
401
  };
416
- const result = await lookupObject("https://example.com/note", {
402
+ assertEquals(await lookupObject("https://example.com/note", {
417
403
  documentLoader: differentProtocolDocumentLoader,
418
404
  contextLoader: mockDocumentLoader
419
- });
420
- assertEquals(result, null);
405
+ }), null);
421
406
  });
422
407
  await t.step("error handling with crossOrigin throw option", async () => {
423
408
  const errorDocumentLoader = async (_url) => {
424
409
  throw new Error("Network error");
425
410
  };
426
- const result = await lookupObject("https://example.com/note", {
411
+ assertEquals(await lookupObject("https://example.com/note", {
427
412
  documentLoader: errorDocumentLoader,
428
413
  contextLoader: mockDocumentLoader,
429
414
  crossOrigin: "throw"
430
- });
431
- assertEquals(result, null);
415
+ }), null);
432
416
  });
433
417
  await t.step("malformed JSON handling with cross-origin policy", async () => {
434
418
  const malformedJsonDocumentLoader = async (url) => {
@@ -456,5 +440,5 @@ test("FEP-fe34: lookupObject() cross-origin security", {
456
440
  }), null);
457
441
  });
458
442
  });
459
-
460
- //#endregion
443
+ //#endregion
444
+ export {};
@@ -1,12 +1,247 @@
1
-
2
- const { Temporal } = require("@js-temporal/polyfill");
3
- const { URLPattern } = require("urlpattern-polyfill");
4
-
5
- require('../docloader-BIFI3OS7.cjs');
6
- const require_actor = require('../actor-DlS-Q8hE.cjs');
7
- require('../lookup-C4_dVYz7.cjs');
8
- const require_vocab = require('../vocab-BFy1CS5L.cjs');
9
-
1
+ const { Temporal } = require("@js-temporal/polyfill");
2
+ const { URLPattern } = require("urlpattern-polyfill");
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
+ const require_docloader = require("../docloader-BVuUhBLI.cjs");
5
+ const require_actor = require("../actor-DxfJk4lY.cjs");
6
+ const require_lookup = require("../lookup-BiIPmTwB.cjs");
7
+ let _logtape_logtape = require("@logtape/logtape");
8
+ let _opentelemetry_api = require("@opentelemetry/api");
9
+ let es_toolkit = require("es-toolkit");
10
+ //#region src/vocab/handle.ts
11
+ /**
12
+ * Regular expression to match a fediverse handle in the format `@user@server`
13
+ * or `user@server`. The `user` part can contain alphanumeric characters and
14
+ * some special characters except `@`. The `server` part is all characters
15
+ * after the `@` symbol in the middle.
16
+ */
17
+ const handleRegexp = /^@?((?:[-A-Za-z0-9._~!$&'()*+,;=]|%[A-Fa-f0-9]{2})+)@([^@]+)$/;
18
+ /**
19
+ * Parses a fediverse handle in the format `@user@server` or `user@server`.
20
+ * The `user` part can contain alphanumeric characters and some special
21
+ * characters except `@`. The `server` part is all characters after the `@`
22
+ * symbol in the middle.
23
+ *
24
+ * @example
25
+ * ```typescript
26
+ * const handle = parseFediverseHandle("@username@example.com");
27
+ * console.log(handle?.username); // "username"
28
+ * console.log(handle?.host); // "example.com"
29
+ * ```
30
+ *
31
+ * @param handle - The fediverse handle string to parse.
32
+ * @returns A {@link FediverseHandle} object with `username` and `host`
33
+ * if the input is valid; otherwise `null`.
34
+ * @since 1.8.0
35
+ */
36
+ function parseFediverseHandle(handle) {
37
+ const match = handleRegexp.exec(handle);
38
+ if (match) return {
39
+ username: match[1],
40
+ host: match[2]
41
+ };
42
+ return null;
43
+ }
44
+ /**
45
+ * Checks if a string is a valid fediverse handle in the format `@user@server`
46
+ * or `user@server`. The `user` part can contain alphanumeric characters and
47
+ * some special characters except `@`. The `server` part is all characters
48
+ * after the `@` symbol in the middle.
49
+ *
50
+ * @example
51
+ * ```typescript
52
+ * console.log(isFediverseHandle("@username@example.com")); // true
53
+ * console.log(isFediverseHandle("username@example.com")); // true
54
+ * console.log(isFediverseHandle("@username@")); // false
55
+ * ```
56
+ *
57
+ * @param handle - The string to test as a fediverse handle.
58
+ * @returns `true` if the string matches the fediverse handle pattern;
59
+ * otherwise `false`.
60
+ * @since 1.8.0
61
+ */
62
+ function isFediverseHandle(handle) {
63
+ return handleRegexp.test(handle);
64
+ }
65
+ /**
66
+ * Converts a fediverse handle in the format `@user@server` or `user@server`
67
+ * to an `acct:` URI, which is a URL-like identifier for ActivityPub actors.
68
+ *
69
+ * @example
70
+ * ```typescript
71
+ * const identifier = toAcctUrl("@username@example.com");
72
+ * console.log(identifier?.href); // "acct:username@example.com"
73
+ * ```
74
+ *
75
+ * @param handle - The fediverse handle string to convert.
76
+ * @returns A `URL` object representing the `acct:` URI if conversion succeeds;
77
+ * otherwise `null`.
78
+ * @since 1.8.0
79
+ */
80
+ function toAcctUrl(handle) {
81
+ const parsed = parseFediverseHandle(handle);
82
+ if (!parsed) return null;
83
+ return new URL(`acct:${parsed.username}@${parsed.host}`);
84
+ }
85
+ //#endregion
86
+ //#region src/vocab/lookup.ts
87
+ const logger = (0, _logtape_logtape.getLogger)([
88
+ "fedify",
89
+ "vocab",
90
+ "lookup"
91
+ ]);
92
+ /**
93
+ * Looks up an ActivityStreams object by its URI (including `acct:` URIs)
94
+ * or a fediverse handle (e.g., `@user@server` or `user@server`).
95
+ *
96
+ * @example
97
+ * ``` typescript
98
+ * // Look up an actor by its fediverse handle:
99
+ * await lookupObject("@hongminhee@fosstodon.org");
100
+ * // returning a `Person` object.
101
+ *
102
+ * // A fediverse handle can omit the leading '@':
103
+ * await lookupObject("hongminhee@fosstodon.org");
104
+ * // returning a `Person` object.
105
+ *
106
+ * // A `acct:` URI can be used as well:
107
+ * await lookupObject("acct:hongminhee@fosstodon.org");
108
+ * // returning a `Person` object.
109
+ *
110
+ * // Look up an object by its URI:
111
+ * await lookupObject("https://todon.eu/@hongminhee/112060633798771581");
112
+ * // returning a `Note` object.
113
+ *
114
+ * // It can be a `URL` object as well:
115
+ * await lookupObject(new URL("https://todon.eu/@hongminhee/112060633798771581"));
116
+ * // returning a `Note` object.
117
+ * ```
118
+ *
119
+ * @param identifier The URI or fediverse handle to look up.
120
+ * @param options Lookup options.
121
+ * @returns The object, or `null` if not found.
122
+ * @since 0.2.0
123
+ */
124
+ async function lookupObject(identifier, options = {}) {
125
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer(require_docloader.name, require_docloader.version).startActiveSpan("activitypub.lookup_object", async (span) => {
126
+ try {
127
+ const result = await lookupObjectInternal(identifier, options);
128
+ if (result == null) span.setStatus({ code: _opentelemetry_api.SpanStatusCode.ERROR });
129
+ else {
130
+ if (result.id != null) span.setAttribute("activitypub.object.id", result.id.href);
131
+ span.setAttribute("activitypub.object.type", require_actor.getTypeId(result).href);
132
+ if (result.replyTargetIds.length > 0) span.setAttribute("activitypub.object.in_reply_to", result.replyTargetIds.map((id) => id.href));
133
+ }
134
+ return result;
135
+ } catch (error) {
136
+ span.setStatus({
137
+ code: _opentelemetry_api.SpanStatusCode.ERROR,
138
+ message: String(error)
139
+ });
140
+ throw error;
141
+ } finally {
142
+ span.end();
143
+ }
144
+ });
145
+ }
146
+ async function lookupObjectInternal(identifier, options = {}) {
147
+ const documentLoader = options.documentLoader ?? require_docloader.getDocumentLoader({ userAgent: options.userAgent });
148
+ if (typeof identifier === "string") identifier = toAcctUrl(identifier) ?? new URL(identifier);
149
+ let remoteDoc = null;
150
+ if (identifier.protocol === "http:" || identifier.protocol === "https:") try {
151
+ remoteDoc = await documentLoader(identifier.href, { signal: options.signal });
152
+ } catch (error) {
153
+ logger.debug("Failed to fetch remote document:\n{error}", { error });
154
+ }
155
+ if (remoteDoc == null) {
156
+ const jrd = await require_lookup.lookupWebFinger(identifier, {
157
+ userAgent: options.userAgent,
158
+ tracerProvider: options.tracerProvider,
159
+ allowPrivateAddress: "allowPrivateAddress" in options && options.allowPrivateAddress === true,
160
+ signal: options.signal
161
+ });
162
+ if (jrd?.links == null) return null;
163
+ for (const l of jrd.links) {
164
+ if (l.type !== "application/activity+json" && !l.type?.match(/application\/ld\+json;\s*profile="https:\/\/www.w3.org\/ns\/activitystreams"/) || l.rel !== "self" || l.href == null) continue;
165
+ try {
166
+ remoteDoc = await documentLoader(l.href, { signal: options.signal });
167
+ break;
168
+ } catch (error) {
169
+ logger.debug("Failed to fetch remote document:\n{error}", { error });
170
+ continue;
171
+ }
172
+ }
173
+ }
174
+ if (remoteDoc == null) return null;
175
+ let object;
176
+ try {
177
+ object = await require_actor.Object.fromJsonLd(remoteDoc.document, {
178
+ documentLoader,
179
+ contextLoader: options.contextLoader,
180
+ tracerProvider: options.tracerProvider,
181
+ baseUrl: new URL(remoteDoc.documentUrl)
182
+ });
183
+ } catch (error) {
184
+ if (error instanceof TypeError) {
185
+ logger.debug("Failed to parse JSON-LD document: {error}\n{document}", {
186
+ ...remoteDoc,
187
+ error
188
+ });
189
+ return null;
190
+ }
191
+ throw error;
192
+ }
193
+ if (options.crossOrigin !== "trust" && object.id != null && object.id.origin !== new URL(remoteDoc.documentUrl).origin) {
194
+ if (options.crossOrigin === "throw") throw new Error(`The object's @id (${object.id.href}) has a different origin than the document URL (${remoteDoc.documentUrl}); refusing to return the object. If you want to bypass this check and are aware of the security implications, set the crossOrigin option to "trust".`);
195
+ logger.warn("The object's @id ({objectId}) has a different origin than the document URL ({documentUrl}); refusing to return the object. If you want to bypass this check and are aware of the security implications, set the crossOrigin option to \"trust\".", {
196
+ ...remoteDoc,
197
+ objectId: object.id.href
198
+ });
199
+ return null;
200
+ }
201
+ return object;
202
+ }
203
+ /**
204
+ * Traverses a collection, yielding each item in the collection.
205
+ * If the collection is paginated, it will fetch the next page
206
+ * automatically.
207
+ *
208
+ * @example
209
+ * ``` typescript
210
+ * const collection = await lookupObject(collectionUrl);
211
+ * if (collection instanceof Collection) {
212
+ * for await (const item of traverseCollection(collection)) {
213
+ * console.log(item.id?.href);
214
+ * }
215
+ * }
216
+ * ```
217
+ *
218
+ * @param collection The collection to traverse.
219
+ * @param options Options for traversing the collection.
220
+ * @returns An async iterable of each item in the collection.
221
+ * @since 1.1.0
222
+ */
223
+ async function* traverseCollection(collection, options = {}) {
224
+ const interval = Temporal.Duration.from(options.interval ?? { seconds: 0 }).total("millisecond");
225
+ let page = await collection.getFirst(options);
226
+ if (page == null) for await (const item of collection.getItems(options)) yield item;
227
+ else while (page != null) {
228
+ for await (const item of page.getItems(options)) yield item;
229
+ if (interval > 0) await (0, es_toolkit.delay)(interval);
230
+ page = await page.getNext(options);
231
+ }
232
+ }
233
+ //#endregion
234
+ //#region src/vocab/constants.ts
235
+ /**
236
+ * The special public collection for [public addressing]. *Do not mutate this
237
+ * object.*
238
+ *
239
+ * [public addressing]: https://www.w3.org/TR/activitypub/#public-addressing
240
+ *
241
+ * @since 0.7.0
242
+ */
243
+ const PUBLIC_COLLECTION = new URL("https://www.w3.org/ns/activitystreams#Public");
244
+ //#endregion
10
245
  exports.Accept = require_actor.Accept;
11
246
  exports.Activity = require_actor.Activity;
12
247
  exports.Add = require_actor.Add;
@@ -48,12 +283,12 @@ exports.Mention = require_actor.Mention;
48
283
  exports.Move = require_actor.Move;
49
284
  exports.Multikey = require_actor.Multikey;
50
285
  exports.Note = require_actor.Note;
51
- exports.Object = require_actor.Object$1;
286
+ exports.Object = require_actor.Object;
52
287
  exports.Offer = require_actor.Offer;
53
288
  exports.OrderedCollection = require_actor.OrderedCollection;
54
289
  exports.OrderedCollectionPage = require_actor.OrderedCollectionPage;
55
290
  exports.Organization = require_actor.Organization;
56
- exports.PUBLIC_COLLECTION = require_vocab.PUBLIC_COLLECTION;
291
+ exports.PUBLIC_COLLECTION = PUBLIC_COLLECTION;
57
292
  exports.Page = require_actor.Page;
58
293
  exports.Person = require_actor.Person;
59
294
  exports.Place = require_actor.Place;
@@ -79,9 +314,9 @@ exports.getActorHandle = require_actor.getActorHandle;
79
314
  exports.getActorTypeName = require_actor.getActorTypeName;
80
315
  exports.getTypeId = require_actor.getTypeId;
81
316
  exports.isActor = require_actor.isActor;
82
- exports.isFediverseHandle = require_vocab.isFediverseHandle;
83
- exports.lookupObject = require_vocab.lookupObject;
317
+ exports.isFediverseHandle = isFediverseHandle;
318
+ exports.lookupObject = lookupObject;
84
319
  exports.normalizeActorHandle = require_actor.normalizeActorHandle;
85
- exports.parseFediverseHandle = require_vocab.parseFediverseHandle;
86
- exports.toAcctUrl = require_vocab.toAcctUrl;
87
- exports.traverseCollection = require_vocab.traverseCollection;
320
+ exports.parseFediverseHandle = parseFediverseHandle;
321
+ exports.toAcctUrl = toAcctUrl;
322
+ exports.traverseCollection = traverseCollection;
@@ -1,6 +1,4 @@
1
- import "../kv-63Cil1MD.cjs";
2
- import "../docloader-D-MrRyHl.cjs";
3
- import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-Cfs0937i.cjs";
4
- import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-Ydzhc8dj.cjs";
5
- import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-BUbqxBev.cjs";
1
+ import { $ as Read, A as Image, B as Multikey, C as Event, D as Group, E as Follow, F as Like, G as OrderedCollectionPage, H as Object$1, I as Link, J as Person, K as Organization, L as Listen, M as Invite, N as Join, O as Hashtag, P as Leave, Q as Question, R as Mention, S as Endpoints, T as Flag, U as Offer, V as Note, W as OrderedCollection, X as Profile, Y as Place, Z as PropertyValue, _ as DidService, a as Application, at as TentativeAccept, b as Emoji, c as Audio, ct as Travel, d as Collection, dt as Video, et as Reject, f as CollectionPage, ft as View, g as Delete, h as DataIntegrityProof, i as Announce, it as Source, j as IntransitiveActivity, k as Ignore, l as Block, lt as Undo, m as CryptographicKey, n as Activity, nt as Remove, o as Arrive, ot as TentativeReject, p as Create, q as Page, r as Add, rt as Service, s as Article, st as Tombstone, t as Accept, tt as Relationship, u as ChatMessage, ut as Update, v as Dislike, w as Export, x as EmojiReact, y as Document, z as Move } from "../vocab-BLvSEtuz.cjs";
2
+ import { a as Recipient, c as getActorTypeName, i as NormalizeActorHandleOptions, l as isActor, n as ActorTypeName, o as getActorClassByTypeName, r as GetActorHandleOptions, s as getActorHandle, t as Actor, u as normalizeActorHandle } from "../actor-Be-68iJP.cjs";
3
+ import { a as toAcctUrl, c as TraverseCollectionOptions, i as parseFediverseHandle, l as lookupObject, n as FediverseHandle, o as PUBLIC_COLLECTION, r as isFediverseHandle, s as LookupObjectOptions, t as getTypeId, u as traverseCollection } from "../mod-HElaq2UB.cjs";
6
4
  export { Accept, Activity, Actor, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
@@ -1,8 +1,6 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import "../kv-C7sopW2E.js";
4
- import "../docloader-CxWcuWqQ.js";
5
- import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-CDHNj5zp.js";
6
- import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-C1Euqngb.js";
7
- import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-CDObsV1d.js";
3
+ import { $ as Read, A as Image, B as Multikey, C as Event, D as Group, E as Follow, F as Like, G as OrderedCollectionPage, H as Object$1, I as Link, J as Person, K as Organization, L as Listen, M as Invite, N as Join, O as Hashtag, P as Leave, Q as Question, R as Mention, S as Endpoints, T as Flag, U as Offer, V as Note, W as OrderedCollection, X as Profile, Y as Place, Z as PropertyValue, _ as DidService, a as Application, at as TentativeAccept, b as Emoji, c as Audio, ct as Travel, d as Collection, dt as Video, et as Reject, f as CollectionPage, ft as View, g as Delete, h as DataIntegrityProof, i as Announce, it as Source, j as IntransitiveActivity, k as Ignore, l as Block, lt as Undo, m as CryptographicKey, n as Activity, nt as Remove, o as Arrive, ot as TentativeReject, p as Create, q as Page, r as Add, rt as Service, s as Article, st as Tombstone, t as Accept, tt as Relationship, u as ChatMessage, ut as Update, v as Dislike, w as Export, x as EmojiReact, y as Document, z as Move } from "../vocab-lhCS9lzq.js";
4
+ import { a as Recipient, c as getActorTypeName, i as NormalizeActorHandleOptions, l as isActor, n as ActorTypeName, o as getActorClassByTypeName, r as GetActorHandleOptions, s as getActorHandle, t as Actor, u as normalizeActorHandle } from "../actor-C5AY0Tno.js";
5
+ import { a as toAcctUrl, c as TraverseCollectionOptions, i as parseFediverseHandle, l as lookupObject, n as FediverseHandle, o as PUBLIC_COLLECTION, r as isFediverseHandle, s as LookupObjectOptions, t as getTypeId, u as traverseCollection } from "../mod-BSwc3_rD.js";
8
6
  export { Accept, Activity, Actor, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };