@fedify/fedify 1.9.0-pr.378.1394 → 1.9.0-pr.383.1403

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 (97) hide show
  1. package/dist/{actor-Uh1YDuVl.d.ts → actor-Ch5yFYFG.d.ts} +1 -1
  2. package/dist/{actor-B7EOS7sj.js → actor-DnPEDWLF.js} +1 -1
  3. package/dist/{actor-DVhqV33k.js → actor-eZbQYdo8.js} +1299 -179
  4. package/dist/{authdocloader-C4Z-T6r4.js → authdocloader-CJp5Zfjg.js} +3 -3
  5. package/dist/{authdocloader-C3NOxWC4.js → authdocloader-CnEXUcuh.js} +3 -3
  6. package/dist/{builder-DWbYd7Uz.js → builder-DuTTkBSu.js} +4 -4
  7. package/dist/{client-MeYeu6QM.js → client-BTeMw-gE.js} +1 -1
  8. package/dist/compat/mod.d.ts +7 -7
  9. package/dist/compat/transformers.test.js +16 -16
  10. package/dist/{context-CnveeHUR.d.ts → context-DJQB_Zv4.d.ts} +5 -5
  11. package/dist/{docloader-lRn6Iz9h.js → docloader-DX3Np5vD.js} +35 -1
  12. package/dist/{esm-Cbcf_ekH.js → esm-Z0ZE8jo2.js} +1 -1
  13. package/dist/federation/builder.test.js +5 -5
  14. package/dist/federation/collection.test.js +3 -3
  15. package/dist/federation/handler.test.js +17 -17
  16. package/dist/federation/inbox.test.js +4 -4
  17. package/dist/federation/keycache.test.js +4 -4
  18. package/dist/federation/kv.test.js +3 -3
  19. package/dist/federation/middleware.test.js +18 -18
  20. package/dist/federation/mod.d.ts +6 -6
  21. package/dist/federation/mod.js +10 -10
  22. package/dist/federation/mq.test.js +3 -3
  23. package/dist/federation/retry.test.js +3 -3
  24. package/dist/federation/router.test.js +3 -3
  25. package/dist/federation/send.test.js +10 -10
  26. package/dist/{http-jsbQZmEx.js → http-CeLPDaRi.js} +2 -2
  27. package/dist/{http-DtG44GdM.d.ts → http-D8Q4xH0d.d.ts} +1 -1
  28. package/dist/{http-Xaq8uKR0.js → http-K4Tla_KJ.js} +3 -3
  29. package/dist/{inbox-Bvgh0p3t.js → inbox-BN0NXeC5.js} +1 -1
  30. package/dist/{key-7GjX3d6i.js → key-BsAiUXA4.js} +4 -4
  31. package/dist/{key-CGiIDuCb.js → key-CF7W9XLg.js} +2 -2
  32. package/dist/{key-B_hS87hg.js → key-DDiv1qGZ.js} +3 -3
  33. package/dist/{key-BA-VESrE.js → key-D_LpnL8C.js} +2 -2
  34. package/dist/{keycache-CaGRPD2D.js → keycache-CdO0iFUd.js} +1 -1
  35. package/dist/{keys-n8TnpEvl.js → keys-DSIJcr9B.js} +1 -1
  36. package/dist/{ld-536I1uoS.js → ld-JDE42vh9.js} +2 -2
  37. package/dist/{lookup-CpQFwuYT.js → lookup-BsolMp1L.js} +1 -1
  38. package/dist/{lookup-B51nxTWE.js → lookup-x9_o9BYY.js} +1 -1
  39. package/dist/{middleware-AR3RfTfO.js → middleware-BTtHOwFm.js} +17 -18
  40. package/dist/middleware-D1Ikw9dP.js +26 -0
  41. package/dist/middleware-DuCivxEy.js +17 -0
  42. package/dist/{middleware-D550um_p.js → middleware-sVKKoAcN.js} +14 -15
  43. package/dist/{mod-tQVUxQ_D.d.ts → mod-B7Pc0I7F.d.ts} +2 -2
  44. package/dist/{mod-mSMqo9JU.d.ts → mod-BAuhKa9d.d.ts} +1 -1
  45. package/dist/{mod-cz-tNIqP.d.ts → mod-Cy6pkZSn.d.ts} +1 -1
  46. package/dist/{mod-DPpunL8j.d.ts → mod-eBo9RUEr.d.ts} +2 -2
  47. package/dist/mod.d.ts +9 -9
  48. package/dist/mod.js +10 -10
  49. package/dist/nodeinfo/client.test.js +5 -5
  50. package/dist/nodeinfo/handler.test.js +16 -16
  51. package/dist/nodeinfo/mod.js +2 -2
  52. package/dist/nodeinfo/semver.test.js +3 -3
  53. package/dist/nodeinfo/types.test.js +3 -3
  54. package/dist/{owner-C12klfeG.d.ts → owner-D38zBIMc.d.ts} +2 -2
  55. package/dist/{owner-Dp73PxeY.js → owner-SUDnUN_3.js} +2 -2
  56. package/dist/{proof-DWJpYhi0.js → proof-BLxP2Ck2.js} +2 -2
  57. package/dist/{proof-DKtgyz5B.js → proof-BudfEhst.js} +3 -3
  58. package/dist/runtime/authdocloader.test.js +9 -9
  59. package/dist/runtime/docloader.test.js +4 -4
  60. package/dist/runtime/key.test.js +5 -5
  61. package/dist/runtime/langstr.test.js +3 -3
  62. package/dist/runtime/mod.d.ts +3 -3
  63. package/dist/runtime/mod.js +6 -6
  64. package/dist/runtime/multibase/multibase.test.js +3 -3
  65. package/dist/runtime/url.test.js +3 -3
  66. package/dist/{send-DucL-V0N.js → send-WVrf9Rly.js} +2 -2
  67. package/dist/sig/http.test.js +8 -8
  68. package/dist/sig/key.test.js +6 -6
  69. package/dist/sig/ld.test.js +7 -7
  70. package/dist/sig/mod.d.ts +5 -5
  71. package/dist/sig/mod.js +6 -6
  72. package/dist/sig/owner.test.js +7 -7
  73. package/dist/sig/proof.test.js +7 -7
  74. package/dist/src/vocab/collection.yaml +72 -0
  75. package/dist/testing/docloader.test.js +3 -3
  76. package/dist/testing/mod.d.ts +176 -0
  77. package/dist/testing/mod.js +3 -3
  78. package/dist/{testing-CjUbycJE.js → testing-CY2ikEnk.js} +2 -2
  79. package/dist/{type-CQXrP5Lt.js → type-CysHu9KY.js} +1408 -254
  80. package/dist/{types-CCNn1tuL.js → types-Od3pVz0f.js} +1 -1
  81. package/dist/vocab/actor.test.js +5 -5
  82. package/dist/vocab/lookup.test.js +4 -4
  83. package/dist/vocab/mod.d.ts +3 -3
  84. package/dist/vocab/mod.js +4 -4
  85. package/dist/vocab/type.test.js +3 -3
  86. package/dist/vocab/vocab.test.js +14 -4
  87. package/dist/{vocab-Ukxjz3TM.d.ts → vocab-BEEm2I6u.d.ts} +176 -0
  88. package/dist/{vocab-Dqyc86T5.js → vocab-CiVt6gtY.js} +3 -3
  89. package/dist/webfinger/handler.test.js +16 -16
  90. package/dist/webfinger/lookup.test.js +4 -4
  91. package/dist/webfinger/mod.js +2 -2
  92. package/dist/x/cfworkers.test.js +3 -3
  93. package/dist/x/hono.d.ts +6 -6
  94. package/dist/x/sveltekit.d.ts +6 -6
  95. package/package.json +1 -1
  96. package/dist/middleware-DLmV3Z7C.js +0 -26
  97. package/dist/middleware-JbhBHf-6.js +0 -17
@@ -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, getDocumentLoader } from "./docloader-lRn6Iz9h.js";
6
- import { lookupWebFinger } from "./lookup-B51nxTWE.js";
5
+ import { deno_default, getDocumentLoader } from "./docloader-DX3Np5vD.js";
6
+ import { lookupWebFinger } from "./lookup-x9_o9BYY.js";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
  import { SpanStatusCode, trace } from "@opentelemetry/api";
9
9
  import jsonld from "jsonld";
@@ -371,7 +371,7 @@ async function importSpki(pem) {
371
371
  * @since 0.5.0
372
372
  */
373
373
  async function exportSpki(key) {
374
- const { validateCryptoKey } = await import("./key-7GjX3d6i.js");
374
+ const { validateCryptoKey } = await import("./key-BsAiUXA4.js");
375
375
  validateCryptoKey(key);
376
376
  const spki = await crypto.subtle.exportKey("spki", key);
377
377
  let pem = encodeBase64(spki);
@@ -925,7 +925,7 @@ var Object$1 = class Object$1 {
925
925
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
926
926
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
927
927
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
928
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
928
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
929
929
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
930
930
  let fetchResult;
931
931
  try {
@@ -1051,7 +1051,7 @@ var Object$1 = class Object$1 {
1051
1051
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1052
1052
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1053
1053
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1054
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
1054
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
1055
1055
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1056
1056
  let fetchResult;
1057
1057
  try {
@@ -1231,7 +1231,7 @@ var Object$1 = class Object$1 {
1231
1231
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1232
1232
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1233
1233
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1234
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
1234
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
1235
1235
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1236
1236
  let fetchResult;
1237
1237
  try {
@@ -1387,7 +1387,7 @@ var Object$1 = class Object$1 {
1387
1387
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1388
1388
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1389
1389
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1390
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
1390
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
1391
1391
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1392
1392
  let fetchResult;
1393
1393
  try {
@@ -1530,7 +1530,7 @@ var Object$1 = class Object$1 {
1530
1530
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1531
1531
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1532
1532
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1533
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
1533
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
1534
1534
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1535
1535
  let fetchResult;
1536
1536
  try {
@@ -1641,7 +1641,7 @@ var Object$1 = class Object$1 {
1641
1641
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1642
1642
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1643
1643
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1644
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
1644
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
1645
1645
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1646
1646
  let fetchResult;
1647
1647
  try {
@@ -1779,7 +1779,7 @@ var Object$1 = class Object$1 {
1779
1779
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1780
1780
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1781
1781
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1782
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
1782
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
1783
1783
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1784
1784
  let fetchResult;
1785
1785
  try {
@@ -1917,7 +1917,7 @@ var Object$1 = class Object$1 {
1917
1917
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1918
1918
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1919
1919
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1920
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
1920
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
1921
1921
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1922
1922
  let fetchResult;
1923
1923
  try {
@@ -2062,7 +2062,7 @@ var Object$1 = class Object$1 {
2062
2062
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2063
2063
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2064
2064
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2065
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
2065
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
2066
2066
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2067
2067
  let fetchResult;
2068
2068
  try {
@@ -2207,7 +2207,7 @@ var Object$1 = class Object$1 {
2207
2207
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2208
2208
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2209
2209
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2210
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
2210
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
2211
2211
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2212
2212
  let fetchResult;
2213
2213
  try {
@@ -2357,7 +2357,7 @@ var Object$1 = class Object$1 {
2357
2357
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2358
2358
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2359
2359
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2360
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
2360
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
2361
2361
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2362
2362
  let fetchResult;
2363
2363
  try {
@@ -2457,7 +2457,7 @@ var Object$1 = class Object$1 {
2457
2457
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2458
2458
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2459
2459
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2460
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
2460
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
2461
2461
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2462
2462
  let fetchResult;
2463
2463
  try {
@@ -2563,7 +2563,7 @@ var Object$1 = class Object$1 {
2563
2563
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2564
2564
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2565
2565
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2566
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
2566
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
2567
2567
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2568
2568
  let fetchResult;
2569
2569
  try {
@@ -2669,7 +2669,7 @@ var Object$1 = class Object$1 {
2669
2669
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2670
2670
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2671
2671
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2672
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
2672
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
2673
2673
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2674
2674
  let fetchResult;
2675
2675
  try {
@@ -2793,7 +2793,7 @@ var Object$1 = class Object$1 {
2793
2793
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2794
2794
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2795
2795
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2796
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
2796
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
2797
2797
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2798
2798
  let fetchResult;
2799
2799
  try {
@@ -2926,7 +2926,7 @@ var Object$1 = class Object$1 {
2926
2926
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2927
2927
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2928
2928
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2929
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
2929
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
2930
2930
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2931
2931
  let fetchResult;
2932
2932
  try {
@@ -3062,7 +3062,7 @@ var Object$1 = class Object$1 {
3062
3062
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3063
3063
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3064
3064
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3065
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
3065
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
3066
3066
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3067
3067
  let fetchResult;
3068
3068
  try {
@@ -3198,7 +3198,7 @@ var Object$1 = class Object$1 {
3198
3198
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3199
3199
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3200
3200
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3201
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
3201
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
3202
3202
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3203
3203
  let fetchResult;
3204
3204
  try {
@@ -3334,7 +3334,7 @@ var Object$1 = class Object$1 {
3334
3334
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3335
3335
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3336
3336
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3337
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
3337
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
3338
3338
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3339
3339
  let fetchResult;
3340
3340
  try {
@@ -3507,7 +3507,7 @@ var Object$1 = class Object$1 {
3507
3507
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3508
3508
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3509
3509
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3510
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
3510
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
3511
3511
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3512
3512
  let fetchResult;
3513
3513
  try {
@@ -4366,7 +4366,7 @@ var Object$1 = class Object$1 {
4366
4366
  */
4367
4367
  static async fromJsonLd(json, options = {}) {
4368
4368
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
4369
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
4369
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
4370
4370
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
4371
4371
  try {
4372
4372
  const object = await this.__fromJsonLd__Object__(json, span, options);
@@ -5515,7 +5515,7 @@ var Emoji = class Emoji extends Object$1 {
5515
5515
  */
5516
5516
  static async fromJsonLd(json, options = {}) {
5517
5517
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
5518
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
5518
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
5519
5519
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
5520
5520
  try {
5521
5521
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
@@ -5758,7 +5758,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
5758
5758
  */
5759
5759
  static async fromJsonLd(json, options = {}) {
5760
5760
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
5761
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
5761
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
5762
5762
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
5763
5763
  try {
5764
5764
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
@@ -5975,7 +5975,7 @@ var Activity = class Activity extends Object$1 {
5975
5975
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5976
5976
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5977
5977
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5978
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
5978
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
5979
5979
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5980
5980
  let fetchResult;
5981
5981
  try {
@@ -6155,7 +6155,7 @@ var Activity = class Activity extends Object$1 {
6155
6155
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6156
6156
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6157
6157
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6158
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
6158
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
6159
6159
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6160
6160
  let fetchResult;
6161
6161
  try {
@@ -6293,7 +6293,7 @@ var Activity = class Activity extends Object$1 {
6293
6293
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6294
6294
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6295
6295
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6296
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
6296
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
6297
6297
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6298
6298
  let fetchResult;
6299
6299
  try {
@@ -6437,7 +6437,7 @@ var Activity = class Activity extends Object$1 {
6437
6437
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6438
6438
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6439
6439
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6440
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
6440
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
6441
6441
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6442
6442
  let fetchResult;
6443
6443
  try {
@@ -6575,7 +6575,7 @@ var Activity = class Activity extends Object$1 {
6575
6575
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6576
6576
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6577
6577
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6578
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
6578
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
6579
6579
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6580
6580
  let fetchResult;
6581
6581
  try {
@@ -6715,7 +6715,7 @@ var Activity = class Activity extends Object$1 {
6715
6715
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6716
6716
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6717
6717
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6718
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
6718
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
6719
6719
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6720
6720
  let fetchResult;
6721
6721
  try {
@@ -6957,7 +6957,7 @@ var Activity = class Activity extends Object$1 {
6957
6957
  */
6958
6958
  static async fromJsonLd(json, options = {}) {
6959
6959
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
6960
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
6960
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
6961
6961
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
6962
6962
  try {
6963
6963
  const object = await this.__fromJsonLd__Activity__(json, span, options);
@@ -7251,7 +7251,7 @@ var EmojiReact = class EmojiReact extends Activity {
7251
7251
  */
7252
7252
  static async fromJsonLd(json, options = {}) {
7253
7253
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
7254
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
7254
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
7255
7255
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
7256
7256
  try {
7257
7257
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
@@ -7508,7 +7508,7 @@ var PropertyValue = class {
7508
7508
  */
7509
7509
  static async fromJsonLd(json, options = {}) {
7510
7510
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
7511
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
7511
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
7512
7512
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
7513
7513
  try {
7514
7514
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
@@ -7748,7 +7748,7 @@ var DidService = class {
7748
7748
  */
7749
7749
  static async fromJsonLd(json, options = {}) {
7750
7750
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
7751
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
7751
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
7752
7752
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
7753
7753
  try {
7754
7754
  const object = await this.__fromJsonLd__DidService__(json, span, options);
@@ -7908,7 +7908,7 @@ var Export = class Export extends DidService {
7908
7908
  */
7909
7909
  static async fromJsonLd(json, options = {}) {
7910
7910
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
7911
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
7911
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
7912
7912
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
7913
7913
  try {
7914
7914
  const object = await this.__fromJsonLd__Export__(json, span, options);
@@ -8078,7 +8078,7 @@ var DataIntegrityProof = class {
8078
8078
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8079
8079
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8080
8080
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8081
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
8081
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
8082
8082
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
8083
8083
  let fetchResult;
8084
8084
  try {
@@ -8292,7 +8292,7 @@ var DataIntegrityProof = class {
8292
8292
  */
8293
8293
  static async fromJsonLd(json, options = {}) {
8294
8294
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
8295
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
8295
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
8296
8296
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
8297
8297
  try {
8298
8298
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
@@ -8499,7 +8499,7 @@ var CryptographicKey = class {
8499
8499
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8500
8500
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8501
8501
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8502
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
8502
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
8503
8503
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
8504
8504
  let fetchResult;
8505
8505
  try {
@@ -8744,7 +8744,7 @@ var CryptographicKey = class {
8744
8744
  */
8745
8745
  static async fromJsonLd(json, options = {}) {
8746
8746
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
8747
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
8747
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
8748
8748
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
8749
8749
  try {
8750
8750
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
@@ -8920,7 +8920,7 @@ var Multikey = class {
8920
8920
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8921
8921
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8922
8922
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8923
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
8923
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
8924
8924
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
8925
8925
  let fetchResult;
8926
8926
  try {
@@ -9171,7 +9171,7 @@ var Multikey = class {
9171
9171
  */
9172
9172
  static async fromJsonLd(json, options = {}) {
9173
9173
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
9174
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
9174
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
9175
9175
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
9176
9176
  try {
9177
9177
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
@@ -9356,7 +9356,7 @@ var Accept = class Accept extends Activity {
9356
9356
  */
9357
9357
  static async fromJsonLd(json, options = {}) {
9358
9358
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
9359
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
9359
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
9360
9360
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
9361
9361
  try {
9362
9362
  const object = await this.__fromJsonLd__Accept__(json, span, options);
@@ -9514,7 +9514,7 @@ var Add = class Add extends Activity {
9514
9514
  */
9515
9515
  static async fromJsonLd(json, options = {}) {
9516
9516
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
9517
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
9517
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
9518
9518
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
9519
9519
  try {
9520
9520
  const object = await this.__fromJsonLd__Add__(json, span, options);
@@ -9689,7 +9689,7 @@ var Announce = class Announce extends Activity {
9689
9689
  */
9690
9690
  static async fromJsonLd(json, options = {}) {
9691
9691
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
9692
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
9692
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
9693
9693
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
9694
9694
  try {
9695
9695
  const object = await this.__fromJsonLd__Announce__(json, span, options);
@@ -9988,7 +9988,7 @@ var Application = class Application extends Object$1 {
9988
9988
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9989
9989
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9990
9990
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9991
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
9991
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
9992
9992
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
9993
9993
  let fetchResult;
9994
9994
  try {
@@ -10122,7 +10122,7 @@ var Application = class Application extends Object$1 {
10122
10122
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10123
10123
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10124
10124
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10125
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
10125
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
10126
10126
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10127
10127
  let fetchResult;
10128
10128
  try {
@@ -10274,7 +10274,7 @@ var Application = class Application extends Object$1 {
10274
10274
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10275
10275
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10276
10276
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10277
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
10277
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
10278
10278
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10279
10279
  let fetchResult;
10280
10280
  try {
@@ -10394,7 +10394,7 @@ var Application = class Application extends Object$1 {
10394
10394
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10395
10395
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10396
10396
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10397
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
10397
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
10398
10398
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10399
10399
  let fetchResult;
10400
10400
  try {
@@ -10511,7 +10511,7 @@ var Application = class Application extends Object$1 {
10511
10511
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10512
10512
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10513
10513
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10514
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
10514
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
10515
10515
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10516
10516
  let fetchResult;
10517
10517
  try {
@@ -10614,7 +10614,7 @@ var Application = class Application extends Object$1 {
10614
10614
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10615
10615
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10616
10616
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10617
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
10617
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
10618
10618
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10619
10619
  let fetchResult;
10620
10620
  try {
@@ -10720,7 +10720,7 @@ var Application = class Application extends Object$1 {
10720
10720
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10721
10721
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10722
10722
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10723
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
10723
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
10724
10724
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10725
10725
  let fetchResult;
10726
10726
  try {
@@ -10824,7 +10824,7 @@ var Application = class Application extends Object$1 {
10824
10824
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10825
10825
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10826
10826
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10827
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
10827
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
10828
10828
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10829
10829
  let fetchResult;
10830
10830
  try {
@@ -10926,7 +10926,7 @@ var Application = class Application extends Object$1 {
10926
10926
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10927
10927
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10928
10928
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10929
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
10929
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
10930
10930
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10931
10931
  let fetchResult;
10932
10932
  try {
@@ -11028,7 +11028,7 @@ var Application = class Application extends Object$1 {
11028
11028
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11029
11029
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11030
11030
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11031
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
11031
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
11032
11032
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11033
11033
  let fetchResult;
11034
11034
  try {
@@ -11172,7 +11172,7 @@ var Application = class Application extends Object$1 {
11172
11172
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11173
11173
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11174
11174
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11175
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
11175
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
11176
11176
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11177
11177
  let fetchResult;
11178
11178
  try {
@@ -11313,7 +11313,7 @@ var Application = class Application extends Object$1 {
11313
11313
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11314
11314
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11315
11315
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11316
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
11316
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
11317
11317
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11318
11318
  let fetchResult;
11319
11319
  try {
@@ -11495,7 +11495,7 @@ var Application = class Application extends Object$1 {
11495
11495
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11496
11496
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11497
11497
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11498
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
11498
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
11499
11499
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11500
11500
  let fetchResult;
11501
11501
  try {
@@ -12219,7 +12219,7 @@ var Application = class Application extends Object$1 {
12219
12219
  */
12220
12220
  static async fromJsonLd(json, options = {}) {
12221
12221
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
12222
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
12222
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
12223
12223
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
12224
12224
  try {
12225
12225
  const object = await this.__fromJsonLd__Application__(json, span, options);
@@ -12706,7 +12706,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
12706
12706
  */
12707
12707
  static async fromJsonLd(json, options = {}) {
12708
12708
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
12709
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
12709
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
12710
12710
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
12711
12711
  try {
12712
12712
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
@@ -12865,7 +12865,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
12865
12865
  */
12866
12866
  static async fromJsonLd(json, options = {}) {
12867
12867
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
12868
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
12868
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
12869
12869
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
12870
12870
  try {
12871
12871
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
@@ -13106,7 +13106,7 @@ var Article = class Article extends Object$1 {
13106
13106
  */
13107
13107
  static async fromJsonLd(json, options = {}) {
13108
13108
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
13109
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
13109
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
13110
13110
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
13111
13111
  try {
13112
13112
  const object = await this.__fromJsonLd__Article__(json, span, options);
@@ -13346,7 +13346,7 @@ var Document = class Document extends Object$1 {
13346
13346
  */
13347
13347
  static async fromJsonLd(json, options = {}) {
13348
13348
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
13349
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
13349
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
13350
13350
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
13351
13351
  try {
13352
13352
  const object = await this.__fromJsonLd__Document__(json, span, options);
@@ -13536,7 +13536,7 @@ var Audio = class Audio extends Document {
13536
13536
  */
13537
13537
  static async fromJsonLd(json, options = {}) {
13538
13538
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
13539
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
13539
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
13540
13540
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
13541
13541
  try {
13542
13542
  const object = await this.__fromJsonLd__Audio__(json, span, options);
@@ -13691,7 +13691,7 @@ var Ignore = class Ignore extends Activity {
13691
13691
  */
13692
13692
  static async fromJsonLd(json, options = {}) {
13693
13693
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
13694
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
13694
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
13695
13695
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
13696
13696
  try {
13697
13697
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
@@ -13849,7 +13849,7 @@ var Block = class Block extends Ignore {
13849
13849
  */
13850
13850
  static async fromJsonLd(json, options = {}) {
13851
13851
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
13852
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
13852
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
13853
13853
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
13854
13854
  try {
13855
13855
  const object = await this.__fromJsonLd__Block__(json, span, options);
@@ -13932,6 +13932,14 @@ var Collection = class Collection extends Object$1 {
13932
13932
  #_J52RqweMe6hhv7RnLJMC8BExTE5_first = [];
13933
13933
  #_gyJJnyEFnuNVi1HFZKfAn3Hfn26_last = [];
13934
13934
  #_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = [];
13935
+ #_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = [];
13936
+ #_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = [];
13937
+ #_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = [];
13938
+ #_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = [];
13939
+ #_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = [];
13940
+ #_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = [];
13941
+ #_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = [];
13942
+ #_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = [];
13935
13943
  /**
13936
13944
  * Constructs a new instance of Collection with the given values.
13937
13945
  * @param values The values to initialize the instance with.
@@ -13949,6 +13957,22 @@ var Collection = class Collection extends Object$1 {
13949
13957
  else throw new TypeError("The last must be of type CollectionPage | URL.");
13950
13958
  if ("items" in values && values.items != null) if (Array.isArray(values.items) && values.items.every((v) => v instanceof Object$1 || v instanceof Link || v instanceof URL)) this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
13951
13959
  else throw new TypeError("The items must be an array of type Object | Link | URL.");
13960
+ if ("likesOf" in values && values.likesOf != null) if (values.likesOf instanceof Object$1 || values.likesOf instanceof URL) this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = [values.likesOf];
13961
+ else throw new TypeError("The likesOf must be of type Object | URL.");
13962
+ if ("sharesOf" in values && values.sharesOf != null) if (values.sharesOf instanceof Object$1 || values.sharesOf instanceof URL) this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = [values.sharesOf];
13963
+ else throw new TypeError("The sharesOf must be of type Object | URL.");
13964
+ if ("repliesOf" in values && values.repliesOf != null) if (values.repliesOf instanceof Object$1 || values.repliesOf instanceof URL) this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = [values.repliesOf];
13965
+ else throw new TypeError("The repliesOf must be of type Object | URL.");
13966
+ if ("inboxOf" in values && values.inboxOf != null) if (values.inboxOf instanceof Object$1 || values.inboxOf instanceof URL) this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = [values.inboxOf];
13967
+ else throw new TypeError("The inboxOf must be of type Object | URL.");
13968
+ if ("outboxOf" in values && values.outboxOf != null) if (values.outboxOf instanceof Object$1 || values.outboxOf instanceof URL) this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = [values.outboxOf];
13969
+ else throw new TypeError("The outboxOf must be of type Object | URL.");
13970
+ if ("followersOf" in values && values.followersOf != null) if (values.followersOf instanceof Object$1 || values.followersOf instanceof URL) this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = [values.followersOf];
13971
+ else throw new TypeError("The followersOf must be of type Object | URL.");
13972
+ if ("followingOf" in values && values.followingOf != null) if (values.followingOf instanceof Object$1 || values.followingOf instanceof URL) this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = [values.followingOf];
13973
+ else throw new TypeError("The followingOf must be of type Object | URL.");
13974
+ if ("likedOf" in values && values.likedOf != null) if (values.likedOf instanceof Object$1 || values.likedOf instanceof URL) this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = [values.likedOf];
13975
+ else throw new TypeError("The likedOf must be of type Object | URL.");
13952
13976
  }
13953
13977
  /**
13954
13978
  * Clones this instance, optionally updating it with the given values.
@@ -13980,6 +14004,30 @@ var Collection = class Collection extends Object$1 {
13980
14004
  clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = this.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;
13981
14005
  if ("items" in values && values.items != null) if (Array.isArray(values.items) && values.items.every((v) => v instanceof Object$1 || v instanceof Link || v instanceof URL)) clone.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = values.items;
13982
14006
  else throw new TypeError("The items must be an array of type Object | Link | URL.");
14007
+ clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;
14008
+ if ("likesOf" in values && values.likesOf != null) if (values.likesOf instanceof Object$1 || values.likesOf instanceof URL) clone.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = [values.likesOf];
14009
+ else throw new TypeError("The likesOf must be of type Object | URL.");
14010
+ clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;
14011
+ if ("sharesOf" in values && values.sharesOf != null) if (values.sharesOf instanceof Object$1 || values.sharesOf instanceof URL) clone.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = [values.sharesOf];
14012
+ else throw new TypeError("The sharesOf must be of type Object | URL.");
14013
+ clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;
14014
+ if ("repliesOf" in values && values.repliesOf != null) if (values.repliesOf instanceof Object$1 || values.repliesOf instanceof URL) clone.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = [values.repliesOf];
14015
+ else throw new TypeError("The repliesOf must be of type Object | URL.");
14016
+ clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;
14017
+ if ("inboxOf" in values && values.inboxOf != null) if (values.inboxOf instanceof Object$1 || values.inboxOf instanceof URL) clone.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = [values.inboxOf];
14018
+ else throw new TypeError("The inboxOf must be of type Object | URL.");
14019
+ clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;
14020
+ if ("outboxOf" in values && values.outboxOf != null) if (values.outboxOf instanceof Object$1 || values.outboxOf instanceof URL) clone.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = [values.outboxOf];
14021
+ else throw new TypeError("The outboxOf must be of type Object | URL.");
14022
+ clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;
14023
+ if ("followersOf" in values && values.followersOf != null) if (values.followersOf instanceof Object$1 || values.followersOf instanceof URL) clone.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = [values.followersOf];
14024
+ else throw new TypeError("The followersOf must be of type Object | URL.");
14025
+ clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;
14026
+ if ("followingOf" in values && values.followingOf != null) if (values.followingOf instanceof Object$1 || values.followingOf instanceof URL) clone.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = [values.followingOf];
14027
+ else throw new TypeError("The followingOf must be of type Object | URL.");
14028
+ clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;
14029
+ if ("likedOf" in values && values.likedOf != null) if (values.likedOf instanceof Object$1 || values.likedOf instanceof URL) clone.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = [values.likedOf];
14030
+ else throw new TypeError("The likedOf must be of type Object | URL.");
13983
14031
  return clone;
13984
14032
  }
13985
14033
  /** A non-negative integer specifying the total number of objects contained by
@@ -13995,7 +14043,7 @@ var Collection = class Collection extends Object$1 {
13995
14043
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13996
14044
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13997
14045
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13998
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
14046
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
13999
14047
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14000
14048
  let fetchResult;
14001
14049
  try {
@@ -14095,7 +14143,7 @@ var Collection = class Collection extends Object$1 {
14095
14143
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14096
14144
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14097
14145
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14098
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
14146
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14099
14147
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14100
14148
  let fetchResult;
14101
14149
  try {
@@ -14195,7 +14243,7 @@ var Collection = class Collection extends Object$1 {
14195
14243
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14196
14244
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14197
14245
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14198
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
14246
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14199
14247
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14200
14248
  let fetchResult;
14201
14249
  try {
@@ -14295,7 +14343,7 @@ var Collection = class Collection extends Object$1 {
14295
14343
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14296
14344
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14297
14345
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14298
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
14346
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14299
14347
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14300
14348
  let fetchResult;
14301
14349
  try {
@@ -14403,6 +14451,798 @@ var Collection = class Collection extends Object$1 {
14403
14451
  yield v;
14404
14452
  }
14405
14453
  }
14454
+ async #fetchLikesOf(url, options = {}) {
14455
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14456
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14457
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14458
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14459
+ return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14460
+ let fetchResult;
14461
+ try {
14462
+ fetchResult = await documentLoader(url.href);
14463
+ } catch (error) {
14464
+ span.setStatus({
14465
+ code: SpanStatusCode.ERROR,
14466
+ message: String(error)
14467
+ });
14468
+ span.end();
14469
+ if (options.suppressError) {
14470
+ getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
14471
+ error,
14472
+ url: url.href
14473
+ });
14474
+ return null;
14475
+ }
14476
+ throw error;
14477
+ }
14478
+ const { document } = fetchResult;
14479
+ try {
14480
+ const obj = await this.#likesOf_fromJsonLd(document, {
14481
+ documentLoader,
14482
+ contextLoader,
14483
+ tracerProvider
14484
+ });
14485
+ span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
14486
+ span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
14487
+ return obj;
14488
+ } catch (e) {
14489
+ if (options.suppressError) {
14490
+ getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
14491
+ error: e,
14492
+ url: url.href
14493
+ });
14494
+ return null;
14495
+ }
14496
+ span.setStatus({
14497
+ code: SpanStatusCode.ERROR,
14498
+ message: String(e)
14499
+ });
14500
+ throw e;
14501
+ } finally {
14502
+ span.end();
14503
+ }
14504
+ });
14505
+ }
14506
+ async #likesOf_fromJsonLd(jsonLd, options) {
14507
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14508
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14509
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14510
+ try {
14511
+ return await Object$1.fromJsonLd(jsonLd, {
14512
+ documentLoader,
14513
+ contextLoader,
14514
+ tracerProvider
14515
+ });
14516
+ } catch (e) {
14517
+ if (!(e instanceof TypeError)) throw e;
14518
+ }
14519
+ throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
14520
+ }
14521
+ /**
14522
+ * Similar to
14523
+ * {@link Collection.getLikesOf},
14524
+ * but returns its `@id` URL instead of the object itself.
14525
+ */
14526
+ get likesOfId() {
14527
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14528
+ if (this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.length < 1) return null;
14529
+ const v = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf[0];
14530
+ if (v instanceof URL) return v;
14531
+ return v.id;
14532
+ }
14533
+ /** Defines an object for which the collection is the value of the likes property.
14534
+ */
14535
+ async getLikesOf(options = {}) {
14536
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14537
+ if (this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.length < 1) return null;
14538
+ const v = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf[0];
14539
+ if (v instanceof URL) {
14540
+ const fetched = await this.#fetchLikesOf(v, options);
14541
+ if (fetched == null) return null;
14542
+ this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf[0] = fetched;
14543
+ this._cachedJsonLd = void 0;
14544
+ return fetched;
14545
+ }
14546
+ if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "likesOf" in this._cachedJsonLd) {
14547
+ const prop = this._cachedJsonLd["likesOf"];
14548
+ const obj = Array.isArray(prop) ? prop[0] : prop;
14549
+ if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#likesOf_fromJsonLd(obj, options);
14550
+ }
14551
+ return v;
14552
+ }
14553
+ async #fetchSharesOf(url, options = {}) {
14554
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14555
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14556
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14557
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14558
+ return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14559
+ let fetchResult;
14560
+ try {
14561
+ fetchResult = await documentLoader(url.href);
14562
+ } catch (error) {
14563
+ span.setStatus({
14564
+ code: SpanStatusCode.ERROR,
14565
+ message: String(error)
14566
+ });
14567
+ span.end();
14568
+ if (options.suppressError) {
14569
+ getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
14570
+ error,
14571
+ url: url.href
14572
+ });
14573
+ return null;
14574
+ }
14575
+ throw error;
14576
+ }
14577
+ const { document } = fetchResult;
14578
+ try {
14579
+ const obj = await this.#sharesOf_fromJsonLd(document, {
14580
+ documentLoader,
14581
+ contextLoader,
14582
+ tracerProvider
14583
+ });
14584
+ span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
14585
+ span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
14586
+ return obj;
14587
+ } catch (e) {
14588
+ if (options.suppressError) {
14589
+ getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
14590
+ error: e,
14591
+ url: url.href
14592
+ });
14593
+ return null;
14594
+ }
14595
+ span.setStatus({
14596
+ code: SpanStatusCode.ERROR,
14597
+ message: String(e)
14598
+ });
14599
+ throw e;
14600
+ } finally {
14601
+ span.end();
14602
+ }
14603
+ });
14604
+ }
14605
+ async #sharesOf_fromJsonLd(jsonLd, options) {
14606
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14607
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14608
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14609
+ try {
14610
+ return await Object$1.fromJsonLd(jsonLd, {
14611
+ documentLoader,
14612
+ contextLoader,
14613
+ tracerProvider
14614
+ });
14615
+ } catch (e) {
14616
+ if (!(e instanceof TypeError)) throw e;
14617
+ }
14618
+ throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
14619
+ }
14620
+ /**
14621
+ * Similar to
14622
+ * {@link Collection.getSharesOf},
14623
+ * but returns its `@id` URL instead of the object itself.
14624
+ */
14625
+ get sharesOfId() {
14626
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14627
+ if (this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.length < 1) return null;
14628
+ const v = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf[0];
14629
+ if (v instanceof URL) return v;
14630
+ return v.id;
14631
+ }
14632
+ /** Defines an object for which the collection is the value of the shares property.
14633
+ */
14634
+ async getSharesOf(options = {}) {
14635
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14636
+ if (this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.length < 1) return null;
14637
+ const v = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf[0];
14638
+ if (v instanceof URL) {
14639
+ const fetched = await this.#fetchSharesOf(v, options);
14640
+ if (fetched == null) return null;
14641
+ this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf[0] = fetched;
14642
+ this._cachedJsonLd = void 0;
14643
+ return fetched;
14644
+ }
14645
+ if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "sharesOf" in this._cachedJsonLd) {
14646
+ const prop = this._cachedJsonLd["sharesOf"];
14647
+ const obj = Array.isArray(prop) ? prop[0] : prop;
14648
+ if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#sharesOf_fromJsonLd(obj, options);
14649
+ }
14650
+ return v;
14651
+ }
14652
+ async #fetchRepliesOf(url, options = {}) {
14653
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14654
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14655
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14656
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14657
+ return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14658
+ let fetchResult;
14659
+ try {
14660
+ fetchResult = await documentLoader(url.href);
14661
+ } catch (error) {
14662
+ span.setStatus({
14663
+ code: SpanStatusCode.ERROR,
14664
+ message: String(error)
14665
+ });
14666
+ span.end();
14667
+ if (options.suppressError) {
14668
+ getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
14669
+ error,
14670
+ url: url.href
14671
+ });
14672
+ return null;
14673
+ }
14674
+ throw error;
14675
+ }
14676
+ const { document } = fetchResult;
14677
+ try {
14678
+ const obj = await this.#repliesOf_fromJsonLd(document, {
14679
+ documentLoader,
14680
+ contextLoader,
14681
+ tracerProvider
14682
+ });
14683
+ span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
14684
+ span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
14685
+ return obj;
14686
+ } catch (e) {
14687
+ if (options.suppressError) {
14688
+ getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
14689
+ error: e,
14690
+ url: url.href
14691
+ });
14692
+ return null;
14693
+ }
14694
+ span.setStatus({
14695
+ code: SpanStatusCode.ERROR,
14696
+ message: String(e)
14697
+ });
14698
+ throw e;
14699
+ } finally {
14700
+ span.end();
14701
+ }
14702
+ });
14703
+ }
14704
+ async #repliesOf_fromJsonLd(jsonLd, options) {
14705
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14706
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14707
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14708
+ try {
14709
+ return await Object$1.fromJsonLd(jsonLd, {
14710
+ documentLoader,
14711
+ contextLoader,
14712
+ tracerProvider
14713
+ });
14714
+ } catch (e) {
14715
+ if (!(e instanceof TypeError)) throw e;
14716
+ }
14717
+ throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
14718
+ }
14719
+ /**
14720
+ * Similar to
14721
+ * {@link Collection.getRepliesOf},
14722
+ * but returns its `@id` URL instead of the object itself.
14723
+ */
14724
+ get repliesOfId() {
14725
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14726
+ if (this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.length < 1) return null;
14727
+ const v = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf[0];
14728
+ if (v instanceof URL) return v;
14729
+ return v.id;
14730
+ }
14731
+ /** Defines an object for which the collection is the value of the replies property.
14732
+ */
14733
+ async getRepliesOf(options = {}) {
14734
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14735
+ if (this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.length < 1) return null;
14736
+ const v = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf[0];
14737
+ if (v instanceof URL) {
14738
+ const fetched = await this.#fetchRepliesOf(v, options);
14739
+ if (fetched == null) return null;
14740
+ this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf[0] = fetched;
14741
+ this._cachedJsonLd = void 0;
14742
+ return fetched;
14743
+ }
14744
+ if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "repliesOf" in this._cachedJsonLd) {
14745
+ const prop = this._cachedJsonLd["repliesOf"];
14746
+ const obj = Array.isArray(prop) ? prop[0] : prop;
14747
+ if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#repliesOf_fromJsonLd(obj, options);
14748
+ }
14749
+ return v;
14750
+ }
14751
+ async #fetchInboxOf(url, options = {}) {
14752
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14753
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14754
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14755
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14756
+ return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14757
+ let fetchResult;
14758
+ try {
14759
+ fetchResult = await documentLoader(url.href);
14760
+ } catch (error) {
14761
+ span.setStatus({
14762
+ code: SpanStatusCode.ERROR,
14763
+ message: String(error)
14764
+ });
14765
+ span.end();
14766
+ if (options.suppressError) {
14767
+ getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
14768
+ error,
14769
+ url: url.href
14770
+ });
14771
+ return null;
14772
+ }
14773
+ throw error;
14774
+ }
14775
+ const { document } = fetchResult;
14776
+ try {
14777
+ const obj = await this.#inboxOf_fromJsonLd(document, {
14778
+ documentLoader,
14779
+ contextLoader,
14780
+ tracerProvider
14781
+ });
14782
+ span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
14783
+ span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
14784
+ return obj;
14785
+ } catch (e) {
14786
+ if (options.suppressError) {
14787
+ getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
14788
+ error: e,
14789
+ url: url.href
14790
+ });
14791
+ return null;
14792
+ }
14793
+ span.setStatus({
14794
+ code: SpanStatusCode.ERROR,
14795
+ message: String(e)
14796
+ });
14797
+ throw e;
14798
+ } finally {
14799
+ span.end();
14800
+ }
14801
+ });
14802
+ }
14803
+ async #inboxOf_fromJsonLd(jsonLd, options) {
14804
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14805
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14806
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14807
+ try {
14808
+ return await Object$1.fromJsonLd(jsonLd, {
14809
+ documentLoader,
14810
+ contextLoader,
14811
+ tracerProvider
14812
+ });
14813
+ } catch (e) {
14814
+ if (!(e instanceof TypeError)) throw e;
14815
+ }
14816
+ throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
14817
+ }
14818
+ /**
14819
+ * Similar to
14820
+ * {@link Collection.getInboxOf},
14821
+ * but returns its `@id` URL instead of the object itself.
14822
+ */
14823
+ get inboxOfId() {
14824
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14825
+ if (this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.length < 1) return null;
14826
+ const v = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf[0];
14827
+ if (v instanceof URL) return v;
14828
+ return v.id;
14829
+ }
14830
+ /** Defines an actor for which the collection is the value of the inbox property.
14831
+ */
14832
+ async getInboxOf(options = {}) {
14833
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14834
+ if (this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.length < 1) return null;
14835
+ const v = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf[0];
14836
+ if (v instanceof URL) {
14837
+ const fetched = await this.#fetchInboxOf(v, options);
14838
+ if (fetched == null) return null;
14839
+ this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf[0] = fetched;
14840
+ this._cachedJsonLd = void 0;
14841
+ return fetched;
14842
+ }
14843
+ if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "inboxOf" in this._cachedJsonLd) {
14844
+ const prop = this._cachedJsonLd["inboxOf"];
14845
+ const obj = Array.isArray(prop) ? prop[0] : prop;
14846
+ if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#inboxOf_fromJsonLd(obj, options);
14847
+ }
14848
+ return v;
14849
+ }
14850
+ async #fetchOutboxOf(url, options = {}) {
14851
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14852
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14853
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14854
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14855
+ return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14856
+ let fetchResult;
14857
+ try {
14858
+ fetchResult = await documentLoader(url.href);
14859
+ } catch (error) {
14860
+ span.setStatus({
14861
+ code: SpanStatusCode.ERROR,
14862
+ message: String(error)
14863
+ });
14864
+ span.end();
14865
+ if (options.suppressError) {
14866
+ getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
14867
+ error,
14868
+ url: url.href
14869
+ });
14870
+ return null;
14871
+ }
14872
+ throw error;
14873
+ }
14874
+ const { document } = fetchResult;
14875
+ try {
14876
+ const obj = await this.#outboxOf_fromJsonLd(document, {
14877
+ documentLoader,
14878
+ contextLoader,
14879
+ tracerProvider
14880
+ });
14881
+ span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
14882
+ span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
14883
+ return obj;
14884
+ } catch (e) {
14885
+ if (options.suppressError) {
14886
+ getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
14887
+ error: e,
14888
+ url: url.href
14889
+ });
14890
+ return null;
14891
+ }
14892
+ span.setStatus({
14893
+ code: SpanStatusCode.ERROR,
14894
+ message: String(e)
14895
+ });
14896
+ throw e;
14897
+ } finally {
14898
+ span.end();
14899
+ }
14900
+ });
14901
+ }
14902
+ async #outboxOf_fromJsonLd(jsonLd, options) {
14903
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14904
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14905
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14906
+ try {
14907
+ return await Object$1.fromJsonLd(jsonLd, {
14908
+ documentLoader,
14909
+ contextLoader,
14910
+ tracerProvider
14911
+ });
14912
+ } catch (e) {
14913
+ if (!(e instanceof TypeError)) throw e;
14914
+ }
14915
+ throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
14916
+ }
14917
+ /**
14918
+ * Similar to
14919
+ * {@link Collection.getOutboxOf},
14920
+ * but returns its `@id` URL instead of the object itself.
14921
+ */
14922
+ get outboxOfId() {
14923
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14924
+ if (this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.length < 1) return null;
14925
+ const v = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf[0];
14926
+ if (v instanceof URL) return v;
14927
+ return v.id;
14928
+ }
14929
+ /** Defines an actor for which the collection is the value of the outbox property.
14930
+ */
14931
+ async getOutboxOf(options = {}) {
14932
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
14933
+ if (this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.length < 1) return null;
14934
+ const v = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf[0];
14935
+ if (v instanceof URL) {
14936
+ const fetched = await this.#fetchOutboxOf(v, options);
14937
+ if (fetched == null) return null;
14938
+ this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf[0] = fetched;
14939
+ this._cachedJsonLd = void 0;
14940
+ return fetched;
14941
+ }
14942
+ if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "outboxOf" in this._cachedJsonLd) {
14943
+ const prop = this._cachedJsonLd["outboxOf"];
14944
+ const obj = Array.isArray(prop) ? prop[0] : prop;
14945
+ if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#outboxOf_fromJsonLd(obj, options);
14946
+ }
14947
+ return v;
14948
+ }
14949
+ async #fetchFollowersOf(url, options = {}) {
14950
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14951
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14952
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14953
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14954
+ return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14955
+ let fetchResult;
14956
+ try {
14957
+ fetchResult = await documentLoader(url.href);
14958
+ } catch (error) {
14959
+ span.setStatus({
14960
+ code: SpanStatusCode.ERROR,
14961
+ message: String(error)
14962
+ });
14963
+ span.end();
14964
+ if (options.suppressError) {
14965
+ getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
14966
+ error,
14967
+ url: url.href
14968
+ });
14969
+ return null;
14970
+ }
14971
+ throw error;
14972
+ }
14973
+ const { document } = fetchResult;
14974
+ try {
14975
+ const obj = await this.#followersOf_fromJsonLd(document, {
14976
+ documentLoader,
14977
+ contextLoader,
14978
+ tracerProvider
14979
+ });
14980
+ span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
14981
+ span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
14982
+ return obj;
14983
+ } catch (e) {
14984
+ if (options.suppressError) {
14985
+ getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
14986
+ error: e,
14987
+ url: url.href
14988
+ });
14989
+ return null;
14990
+ }
14991
+ span.setStatus({
14992
+ code: SpanStatusCode.ERROR,
14993
+ message: String(e)
14994
+ });
14995
+ throw e;
14996
+ } finally {
14997
+ span.end();
14998
+ }
14999
+ });
15000
+ }
15001
+ async #followersOf_fromJsonLd(jsonLd, options) {
15002
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15003
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15004
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15005
+ try {
15006
+ return await Object$1.fromJsonLd(jsonLd, {
15007
+ documentLoader,
15008
+ contextLoader,
15009
+ tracerProvider
15010
+ });
15011
+ } catch (e) {
15012
+ if (!(e instanceof TypeError)) throw e;
15013
+ }
15014
+ throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
15015
+ }
15016
+ /**
15017
+ * Similar to
15018
+ * {@link Collection.getFollowersOf},
15019
+ * but returns its `@id` URL instead of the object itself.
15020
+ */
15021
+ get followersOfId() {
15022
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
15023
+ if (this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.length < 1) return null;
15024
+ const v = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf[0];
15025
+ if (v instanceof URL) return v;
15026
+ return v.id;
15027
+ }
15028
+ /** Defines an actor for which the collection is the value of the followers property.
15029
+ */
15030
+ async getFollowersOf(options = {}) {
15031
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
15032
+ if (this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.length < 1) return null;
15033
+ const v = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf[0];
15034
+ if (v instanceof URL) {
15035
+ const fetched = await this.#fetchFollowersOf(v, options);
15036
+ if (fetched == null) return null;
15037
+ this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf[0] = fetched;
15038
+ this._cachedJsonLd = void 0;
15039
+ return fetched;
15040
+ }
15041
+ if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "followersOf" in this._cachedJsonLd) {
15042
+ const prop = this._cachedJsonLd["followersOf"];
15043
+ const obj = Array.isArray(prop) ? prop[0] : prop;
15044
+ if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#followersOf_fromJsonLd(obj, options);
15045
+ }
15046
+ return v;
15047
+ }
15048
+ async #fetchFollowingOf(url, options = {}) {
15049
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15050
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15051
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15052
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
15053
+ return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
15054
+ let fetchResult;
15055
+ try {
15056
+ fetchResult = await documentLoader(url.href);
15057
+ } catch (error) {
15058
+ span.setStatus({
15059
+ code: SpanStatusCode.ERROR,
15060
+ message: String(error)
15061
+ });
15062
+ span.end();
15063
+ if (options.suppressError) {
15064
+ getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
15065
+ error,
15066
+ url: url.href
15067
+ });
15068
+ return null;
15069
+ }
15070
+ throw error;
15071
+ }
15072
+ const { document } = fetchResult;
15073
+ try {
15074
+ const obj = await this.#followingOf_fromJsonLd(document, {
15075
+ documentLoader,
15076
+ contextLoader,
15077
+ tracerProvider
15078
+ });
15079
+ span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
15080
+ span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
15081
+ return obj;
15082
+ } catch (e) {
15083
+ if (options.suppressError) {
15084
+ getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
15085
+ error: e,
15086
+ url: url.href
15087
+ });
15088
+ return null;
15089
+ }
15090
+ span.setStatus({
15091
+ code: SpanStatusCode.ERROR,
15092
+ message: String(e)
15093
+ });
15094
+ throw e;
15095
+ } finally {
15096
+ span.end();
15097
+ }
15098
+ });
15099
+ }
15100
+ async #followingOf_fromJsonLd(jsonLd, options) {
15101
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15102
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15103
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15104
+ try {
15105
+ return await Object$1.fromJsonLd(jsonLd, {
15106
+ documentLoader,
15107
+ contextLoader,
15108
+ tracerProvider
15109
+ });
15110
+ } catch (e) {
15111
+ if (!(e instanceof TypeError)) throw e;
15112
+ }
15113
+ throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
15114
+ }
15115
+ /**
15116
+ * Similar to
15117
+ * {@link Collection.getFollowingOf},
15118
+ * but returns its `@id` URL instead of the object itself.
15119
+ */
15120
+ get followingOfId() {
15121
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
15122
+ if (this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.length < 1) return null;
15123
+ const v = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf[0];
15124
+ if (v instanceof URL) return v;
15125
+ return v.id;
15126
+ }
15127
+ /** Defines an actor for which the collection is the value of the following property.
15128
+ */
15129
+ async getFollowingOf(options = {}) {
15130
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
15131
+ if (this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.length < 1) return null;
15132
+ const v = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf[0];
15133
+ if (v instanceof URL) {
15134
+ const fetched = await this.#fetchFollowingOf(v, options);
15135
+ if (fetched == null) return null;
15136
+ this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf[0] = fetched;
15137
+ this._cachedJsonLd = void 0;
15138
+ return fetched;
15139
+ }
15140
+ if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "followingOf" in this._cachedJsonLd) {
15141
+ const prop = this._cachedJsonLd["followingOf"];
15142
+ const obj = Array.isArray(prop) ? prop[0] : prop;
15143
+ if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#followingOf_fromJsonLd(obj, options);
15144
+ }
15145
+ return v;
15146
+ }
15147
+ async #fetchLikedOf(url, options = {}) {
15148
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15149
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15150
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15151
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
15152
+ return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
15153
+ let fetchResult;
15154
+ try {
15155
+ fetchResult = await documentLoader(url.href);
15156
+ } catch (error) {
15157
+ span.setStatus({
15158
+ code: SpanStatusCode.ERROR,
15159
+ message: String(error)
15160
+ });
15161
+ span.end();
15162
+ if (options.suppressError) {
15163
+ getLogger(["fedify", "vocab"]).error("Failed to fetch {url}: {error}", {
15164
+ error,
15165
+ url: url.href
15166
+ });
15167
+ return null;
15168
+ }
15169
+ throw error;
15170
+ }
15171
+ const { document } = fetchResult;
15172
+ try {
15173
+ const obj = await this.#likedOf_fromJsonLd(document, {
15174
+ documentLoader,
15175
+ contextLoader,
15176
+ tracerProvider
15177
+ });
15178
+ span.setAttribute("activitypub.object.id", (obj.id ?? url).href);
15179
+ span.setAttribute("activitypub.object.type", obj.constructor.typeId.href);
15180
+ return obj;
15181
+ } catch (e) {
15182
+ if (options.suppressError) {
15183
+ getLogger(["fedify", "vocab"]).error("Failed to parse {url}: {error}", {
15184
+ error: e,
15185
+ url: url.href
15186
+ });
15187
+ return null;
15188
+ }
15189
+ span.setStatus({
15190
+ code: SpanStatusCode.ERROR,
15191
+ message: String(e)
15192
+ });
15193
+ throw e;
15194
+ } finally {
15195
+ span.end();
15196
+ }
15197
+ });
15198
+ }
15199
+ async #likedOf_fromJsonLd(jsonLd, options) {
15200
+ const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15201
+ const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15202
+ const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15203
+ try {
15204
+ return await Object$1.fromJsonLd(jsonLd, {
15205
+ documentLoader,
15206
+ contextLoader,
15207
+ tracerProvider
15208
+ });
15209
+ } catch (e) {
15210
+ if (!(e instanceof TypeError)) throw e;
15211
+ }
15212
+ throw new TypeError("Expected an object of any type of: " + ["https://www.w3.org/ns/activitystreams#Object"].join(", "));
15213
+ }
15214
+ /**
15215
+ * Similar to
15216
+ * {@link Collection.getLikedOf},
15217
+ * but returns its `@id` URL instead of the object itself.
15218
+ */
15219
+ get likedOfId() {
15220
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
15221
+ if (this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.length < 1) return null;
15222
+ const v = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf[0];
15223
+ if (v instanceof URL) return v;
15224
+ return v.id;
15225
+ }
15226
+ /** Defines an actor for which the collection is the value of the liked property.
15227
+ */
15228
+ async getLikedOf(options = {}) {
15229
+ if (this._warning != null) getLogger(this._warning.category).warn(this._warning.message, this._warning.values);
15230
+ if (this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.length < 1) return null;
15231
+ const v = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf[0];
15232
+ if (v instanceof URL) {
15233
+ const fetched = await this.#fetchLikedOf(v, options);
15234
+ if (fetched == null) return null;
15235
+ this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf[0] = fetched;
15236
+ this._cachedJsonLd = void 0;
15237
+ return fetched;
15238
+ }
15239
+ if (this._cachedJsonLd != null && typeof this._cachedJsonLd === "object" && "@context" in this._cachedJsonLd && "likedOf" in this._cachedJsonLd) {
15240
+ const prop = this._cachedJsonLd["likedOf"];
15241
+ const obj = Array.isArray(prop) ? prop[0] : prop;
15242
+ if (obj != null && typeof obj === "object" && "@context" in obj) return await this.#likedOf_fromJsonLd(obj, options);
15243
+ }
15244
+ return v;
15245
+ }
14406
15246
  /**
14407
15247
  * Converts this object to a JSON-LD structure.
14408
15248
  * @param options The options to use.
@@ -14477,6 +15317,86 @@ var Collection = class Collection extends Object$1 {
14477
15317
  compactItems.push(item);
14478
15318
  }
14479
15319
  if (compactItems.length > 0) result["items"] = compactItems.length > 1 ? compactItems : compactItems[0];
15320
+ compactItems = [];
15321
+ for (const v of this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf) {
15322
+ const item = v instanceof URL ? v.href : await v.toJsonLd({
15323
+ ...options,
15324
+ format: void 0,
15325
+ context: void 0
15326
+ });
15327
+ compactItems.push(item);
15328
+ }
15329
+ if (compactItems.length > 0) result["likesOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
15330
+ compactItems = [];
15331
+ for (const v of this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf) {
15332
+ const item = v instanceof URL ? v.href : await v.toJsonLd({
15333
+ ...options,
15334
+ format: void 0,
15335
+ context: void 0
15336
+ });
15337
+ compactItems.push(item);
15338
+ }
15339
+ if (compactItems.length > 0) result["sharesOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
15340
+ compactItems = [];
15341
+ for (const v of this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf) {
15342
+ const item = v instanceof URL ? v.href : await v.toJsonLd({
15343
+ ...options,
15344
+ format: void 0,
15345
+ context: void 0
15346
+ });
15347
+ compactItems.push(item);
15348
+ }
15349
+ if (compactItems.length > 0) result["repliesOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
15350
+ compactItems = [];
15351
+ for (const v of this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf) {
15352
+ const item = v instanceof URL ? v.href : await v.toJsonLd({
15353
+ ...options,
15354
+ format: void 0,
15355
+ context: void 0
15356
+ });
15357
+ compactItems.push(item);
15358
+ }
15359
+ if (compactItems.length > 0) result["inboxOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
15360
+ compactItems = [];
15361
+ for (const v of this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf) {
15362
+ const item = v instanceof URL ? v.href : await v.toJsonLd({
15363
+ ...options,
15364
+ format: void 0,
15365
+ context: void 0
15366
+ });
15367
+ compactItems.push(item);
15368
+ }
15369
+ if (compactItems.length > 0) result["outboxOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
15370
+ compactItems = [];
15371
+ for (const v of this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf) {
15372
+ const item = v instanceof URL ? v.href : await v.toJsonLd({
15373
+ ...options,
15374
+ format: void 0,
15375
+ context: void 0
15376
+ });
15377
+ compactItems.push(item);
15378
+ }
15379
+ if (compactItems.length > 0) result["followersOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
15380
+ compactItems = [];
15381
+ for (const v of this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf) {
15382
+ const item = v instanceof URL ? v.href : await v.toJsonLd({
15383
+ ...options,
15384
+ format: void 0,
15385
+ context: void 0
15386
+ });
15387
+ compactItems.push(item);
15388
+ }
15389
+ if (compactItems.length > 0) result["followingOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
15390
+ compactItems = [];
15391
+ for (const v of this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf) {
15392
+ const item = v instanceof URL ? v.href : await v.toJsonLd({
15393
+ ...options,
15394
+ format: void 0,
15395
+ context: void 0
15396
+ });
15397
+ compactItems.push(item);
15398
+ }
15399
+ if (compactItems.length > 0) result["likedOf"] = compactItems.length > 1 ? compactItems : compactItems[0];
14480
15400
  result["type"] = "Collection";
14481
15401
  if (this.id != null) result["id"] = this.id.href;
14482
15402
  result["@context"] = [
@@ -14557,6 +15477,78 @@ var Collection = class Collection extends Object$1 {
14557
15477
  const propValue = array;
14558
15478
  values["https://www.w3.org/ns/activitystreams#items"] = propValue;
14559
15479
  }
15480
+ array = [];
15481
+ for (const v of this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf) {
15482
+ const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
15483
+ array.push(element);
15484
+ }
15485
+ if (array.length > 0) {
15486
+ const propValue = array;
15487
+ values["https://w3id.org/fep/5711#likesOf"] = propValue;
15488
+ }
15489
+ array = [];
15490
+ for (const v of this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf) {
15491
+ const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
15492
+ array.push(element);
15493
+ }
15494
+ if (array.length > 0) {
15495
+ const propValue = array;
15496
+ values["https://w3id.org/fep/5711#sharesOf"] = propValue;
15497
+ }
15498
+ array = [];
15499
+ for (const v of this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf) {
15500
+ const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
15501
+ array.push(element);
15502
+ }
15503
+ if (array.length > 0) {
15504
+ const propValue = array;
15505
+ values["https://w3id.org/fep/5711#repliesOf"] = propValue;
15506
+ }
15507
+ array = [];
15508
+ for (const v of this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf) {
15509
+ const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
15510
+ array.push(element);
15511
+ }
15512
+ if (array.length > 0) {
15513
+ const propValue = array;
15514
+ values["https://w3id.org/fep/5711#inboxOf"] = propValue;
15515
+ }
15516
+ array = [];
15517
+ for (const v of this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf) {
15518
+ const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
15519
+ array.push(element);
15520
+ }
15521
+ if (array.length > 0) {
15522
+ const propValue = array;
15523
+ values["https://w3id.org/fep/5711#outboxOf"] = propValue;
15524
+ }
15525
+ array = [];
15526
+ for (const v of this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf) {
15527
+ const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
15528
+ array.push(element);
15529
+ }
15530
+ if (array.length > 0) {
15531
+ const propValue = array;
15532
+ values["https://w3id.org/fep/5711#followersOf"] = propValue;
15533
+ }
15534
+ array = [];
15535
+ for (const v of this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf) {
15536
+ const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
15537
+ array.push(element);
15538
+ }
15539
+ if (array.length > 0) {
15540
+ const propValue = array;
15541
+ values["https://w3id.org/fep/5711#followingOf"] = propValue;
15542
+ }
15543
+ array = [];
15544
+ for (const v of this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf) {
15545
+ const element = v instanceof URL ? { "@id": v.href } : await v.toJsonLd(options);
15546
+ array.push(element);
15547
+ }
15548
+ if (array.length > 0) {
15549
+ const propValue = array;
15550
+ values["https://w3id.org/fep/5711#likedOf"] = propValue;
15551
+ }
14560
15552
  values["@type"] = ["https://www.w3.org/ns/activitystreams#Collection"];
14561
15553
  if (this.id != null) values["@id"] = this.id.href;
14562
15554
  if (options.format === "expand") return await jsonld.expand(values, { documentLoader: options.contextLoader });
@@ -14604,7 +15596,7 @@ var Collection = class Collection extends Object$1 {
14604
15596
  */
14605
15597
  static async fromJsonLd(json, options = {}) {
14606
15598
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
14607
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
15599
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14608
15600
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
14609
15601
  try {
14610
15602
  const object = await this.__fromJsonLd__Collection__(json, span, options);
@@ -14765,6 +15757,94 @@ var Collection = class Collection extends Object$1 {
14765
15757
  _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.push(decoded);
14766
15758
  }
14767
15759
  instance.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;
15760
+ const _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = [];
15761
+ let _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array = values["https://w3id.org/fep/5711#likesOf"];
15762
+ for (const v of _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array == null ? [] : _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array.length === 1 && "@list" in _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array[0] ? _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array[0]["@list"] : _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf__array) {
15763
+ if (v == null) continue;
15764
+ if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
15765
+ _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
15766
+ continue;
15767
+ }
15768
+ _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.push(await Object$1.fromJsonLd(v, options));
15769
+ }
15770
+ instance.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf;
15771
+ const _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = [];
15772
+ let _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array = values["https://w3id.org/fep/5711#sharesOf"];
15773
+ for (const v of _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array == null ? [] : _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array.length === 1 && "@list" in _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array[0] ? _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array[0]["@list"] : _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf__array) {
15774
+ if (v == null) continue;
15775
+ if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
15776
+ _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
15777
+ continue;
15778
+ }
15779
+ _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.push(await Object$1.fromJsonLd(v, options));
15780
+ }
15781
+ instance.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf;
15782
+ const _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = [];
15783
+ let _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array = values["https://w3id.org/fep/5711#repliesOf"];
15784
+ for (const v of _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array == null ? [] : _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array.length === 1 && "@list" in _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array[0] ? _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array[0]["@list"] : _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf__array) {
15785
+ if (v == null) continue;
15786
+ if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
15787
+ _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
15788
+ continue;
15789
+ }
15790
+ _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.push(await Object$1.fromJsonLd(v, options));
15791
+ }
15792
+ instance.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf;
15793
+ const _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = [];
15794
+ let _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array = values["https://w3id.org/fep/5711#inboxOf"];
15795
+ for (const v of _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array == null ? [] : _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array.length === 1 && "@list" in _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array[0] ? _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array[0]["@list"] : _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf__array) {
15796
+ if (v == null) continue;
15797
+ if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
15798
+ _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
15799
+ continue;
15800
+ }
15801
+ _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.push(await Object$1.fromJsonLd(v, options));
15802
+ }
15803
+ instance.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf;
15804
+ const _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = [];
15805
+ let _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array = values["https://w3id.org/fep/5711#outboxOf"];
15806
+ for (const v of _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array == null ? [] : _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array.length === 1 && "@list" in _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array[0] ? _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array[0]["@list"] : _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf__array) {
15807
+ if (v == null) continue;
15808
+ if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
15809
+ _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
15810
+ continue;
15811
+ }
15812
+ _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.push(await Object$1.fromJsonLd(v, options));
15813
+ }
15814
+ instance.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf;
15815
+ const _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = [];
15816
+ let _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array = values["https://w3id.org/fep/5711#followersOf"];
15817
+ for (const v of _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array == null ? [] : _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array.length === 1 && "@list" in _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array[0] ? _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array[0]["@list"] : _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf__array) {
15818
+ if (v == null) continue;
15819
+ if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
15820
+ _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
15821
+ continue;
15822
+ }
15823
+ _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.push(await Object$1.fromJsonLd(v, options));
15824
+ }
15825
+ instance.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf;
15826
+ const _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = [];
15827
+ let _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array = values["https://w3id.org/fep/5711#followingOf"];
15828
+ for (const v of _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array == null ? [] : _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array.length === 1 && "@list" in _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array[0] ? _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array[0]["@list"] : _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf__array) {
15829
+ if (v == null) continue;
15830
+ if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
15831
+ _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
15832
+ continue;
15833
+ }
15834
+ _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.push(await Object$1.fromJsonLd(v, options));
15835
+ }
15836
+ instance.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf;
15837
+ const _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = [];
15838
+ let _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array = values["https://w3id.org/fep/5711#likedOf"];
15839
+ for (const v of _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array == null ? [] : _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array.length === 1 && "@list" in _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array[0] ? _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array[0]["@list"] : _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf__array) {
15840
+ if (v == null) continue;
15841
+ if (typeof v === "object" && "@id" in v && !("@type" in v) && globalThis.Object.keys(v).length === 1) {
15842
+ _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.push(!URL.canParse(v["@id"]) && v["@id"].startsWith("at://") ? new URL("at://" + encodeURIComponent(v["@id"].substring(5))) : new URL(v["@id"]));
15843
+ continue;
15844
+ }
15845
+ _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.push(await Object$1.fromJsonLd(v, options));
15846
+ }
15847
+ instance.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf;
14768
15848
  if (!("_fromSubclass" in options) || !options._fromSubclass) try {
14769
15849
  instance._cachedJsonLd = structuredClone(json);
14770
15850
  } catch {
@@ -14799,6 +15879,46 @@ var Collection = class Collection extends Object$1 {
14799
15879
  [Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
14800
15880
  } : v);
14801
15881
  if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.length > 1 || !("item" in proxy) && _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items.length > 0) proxy.items = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg_items;
15882
+ const _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf = this.#_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.map((v) => v instanceof URL ? {
15883
+ [Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
15884
+ [Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
15885
+ } : v);
15886
+ if (_4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf.length == 1) proxy.likesOf = _4TB9Qd9ddtcZEpMfzbHhzafE6jaJ_likesOf[0];
15887
+ const _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf = this.#_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.map((v) => v instanceof URL ? {
15888
+ [Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
15889
+ [Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
15890
+ } : v);
15891
+ if (_3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf.length == 1) proxy.sharesOf = _3manzgeKiPsugpztKGiaUUwJ3ito_sharesOf[0];
15892
+ const _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf = this.#_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.map((v) => v instanceof URL ? {
15893
+ [Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
15894
+ [Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
15895
+ } : v);
15896
+ if (_3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf.length == 1) proxy.repliesOf = _3T3oGm3twpcQUcrnMisXQtmDZ32X_repliesOf[0];
15897
+ const _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf = this.#_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.map((v) => v instanceof URL ? {
15898
+ [Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
15899
+ [Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
15900
+ } : v);
15901
+ if (_2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf.length == 1) proxy.inboxOf = _2bvRkAFZjMfVD8jiUWZJr5YokSeN_inboxOf[0];
15902
+ const _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf = this.#_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.map((v) => v instanceof URL ? {
15903
+ [Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
15904
+ [Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
15905
+ } : v);
15906
+ if (_4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf.length == 1) proxy.outboxOf = _4AHzVZDxHjK6uEWa9UiKHGK34yYm_outboxOf[0];
15907
+ const _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf = this.#_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.map((v) => v instanceof URL ? {
15908
+ [Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
15909
+ [Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
15910
+ } : v);
15911
+ if (_41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf.length == 1) proxy.followersOf = _41aoZ5M6yRUHy3Zx8q6iuZQxtopb_followersOf[0];
15912
+ const _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf = this.#_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.map((v) => v instanceof URL ? {
15913
+ [Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
15914
+ [Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
15915
+ } : v);
15916
+ if (_2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf.length == 1) proxy.followingOf = _2nXT2Ah42UjEEQF5oJQ39CbKB1xj_followingOf[0];
15917
+ const _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf = this.#_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.map((v) => v instanceof URL ? {
15918
+ [Symbol.for("Deno.customInspect")]: (inspect, options) => "URL " + inspect(v.href, options),
15919
+ [Symbol.for("nodejs.util.inspect.custom")]: (_depth, options, inspect) => "URL " + inspect(v.href, options)
15920
+ } : v);
15921
+ if (_2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf.length == 1) proxy.likedOf = _2bsySzmT3qEZcrnoe3tZ5xBjXSju_likedOf[0];
14802
15922
  return proxy;
14803
15923
  }
14804
15924
  [Symbol.for("Deno.customInspect")](inspect, options) {
@@ -14868,7 +15988,7 @@ var CollectionPage = class CollectionPage extends Collection {
14868
15988
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14869
15989
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14870
15990
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14871
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
15991
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14872
15992
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14873
15993
  let fetchResult;
14874
15994
  try {
@@ -14968,7 +16088,7 @@ var CollectionPage = class CollectionPage extends Collection {
14968
16088
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14969
16089
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14970
16090
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14971
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
16091
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
14972
16092
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14973
16093
  let fetchResult;
14974
16094
  try {
@@ -15067,7 +16187,7 @@ var CollectionPage = class CollectionPage extends Collection {
15067
16187
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15068
16188
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15069
16189
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15070
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
16190
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
15071
16191
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
15072
16192
  let fetchResult;
15073
16193
  try {
@@ -15322,7 +16442,7 @@ var CollectionPage = class CollectionPage extends Collection {
15322
16442
  */
15323
16443
  static async fromJsonLd(json, options = {}) {
15324
16444
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
15325
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
16445
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
15326
16446
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
15327
16447
  try {
15328
16448
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
@@ -15545,7 +16665,7 @@ var Create = class Create extends Activity {
15545
16665
  */
15546
16666
  static async fromJsonLd(json, options = {}) {
15547
16667
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
15548
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
16668
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
15549
16669
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
15550
16670
  try {
15551
16671
  const object = await this.__fromJsonLd__Create__(json, span, options);
@@ -15716,7 +16836,7 @@ var Delete = class Delete extends Activity {
15716
16836
  */
15717
16837
  static async fromJsonLd(json, options = {}) {
15718
16838
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
15719
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
16839
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
15720
16840
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
15721
16841
  try {
15722
16842
  const object = await this.__fromJsonLd__Delete__(json, span, options);
@@ -15874,7 +16994,7 @@ var Dislike = class Dislike extends Activity {
15874
16994
  */
15875
16995
  static async fromJsonLd(json, options = {}) {
15876
16996
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
15877
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
16997
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
15878
16998
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
15879
16999
  try {
15880
17000
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
@@ -16244,7 +17364,7 @@ var Endpoints = class {
16244
17364
  */
16245
17365
  static async fromJsonLd(json, options = {}) {
16246
17366
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
16247
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
17367
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
16248
17368
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
16249
17369
  try {
16250
17370
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
@@ -16477,7 +17597,7 @@ var Event = class Event extends Object$1 {
16477
17597
  */
16478
17598
  static async fromJsonLd(json, options = {}) {
16479
17599
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
16480
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
17600
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
16481
17601
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
16482
17602
  try {
16483
17603
  const object = await this.__fromJsonLd__Event__(json, span, options);
@@ -16633,7 +17753,7 @@ var Flag = class Flag extends Activity {
16633
17753
  */
16634
17754
  static async fromJsonLd(json, options = {}) {
16635
17755
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
16636
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
17756
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
16637
17757
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
16638
17758
  try {
16639
17759
  const object = await this.__fromJsonLd__Flag__(json, span, options);
@@ -16793,7 +17913,7 @@ var Follow = class Follow extends Activity {
16793
17913
  */
16794
17914
  static async fromJsonLd(json, options = {}) {
16795
17915
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
16796
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
17916
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
16797
17917
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
16798
17918
  try {
16799
17919
  const object = await this.__fromJsonLd__Follow__(json, span, options);
@@ -17092,7 +18212,7 @@ var Group = class Group extends Object$1 {
17092
18212
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17093
18213
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17094
18214
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17095
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
18215
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
17096
18216
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17097
18217
  let fetchResult;
17098
18218
  try {
@@ -17226,7 +18346,7 @@ var Group = class Group extends Object$1 {
17226
18346
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17227
18347
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17228
18348
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17229
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
18349
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
17230
18350
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17231
18351
  let fetchResult;
17232
18352
  try {
@@ -17378,7 +18498,7 @@ var Group = class Group extends Object$1 {
17378
18498
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17379
18499
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17380
18500
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17381
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
18501
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
17382
18502
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17383
18503
  let fetchResult;
17384
18504
  try {
@@ -17498,7 +18618,7 @@ var Group = class Group extends Object$1 {
17498
18618
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17499
18619
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17500
18620
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17501
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
18621
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
17502
18622
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17503
18623
  let fetchResult;
17504
18624
  try {
@@ -17615,7 +18735,7 @@ var Group = class Group extends Object$1 {
17615
18735
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17616
18736
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17617
18737
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17618
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
18738
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
17619
18739
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17620
18740
  let fetchResult;
17621
18741
  try {
@@ -17718,7 +18838,7 @@ var Group = class Group extends Object$1 {
17718
18838
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17719
18839
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17720
18840
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17721
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
18841
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
17722
18842
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17723
18843
  let fetchResult;
17724
18844
  try {
@@ -17824,7 +18944,7 @@ var Group = class Group extends Object$1 {
17824
18944
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17825
18945
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17826
18946
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17827
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
18947
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
17828
18948
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17829
18949
  let fetchResult;
17830
18950
  try {
@@ -17928,7 +19048,7 @@ var Group = class Group extends Object$1 {
17928
19048
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17929
19049
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17930
19050
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17931
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
19051
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
17932
19052
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17933
19053
  let fetchResult;
17934
19054
  try {
@@ -18030,7 +19150,7 @@ var Group = class Group extends Object$1 {
18030
19150
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18031
19151
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18032
19152
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18033
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
19153
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
18034
19154
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18035
19155
  let fetchResult;
18036
19156
  try {
@@ -18132,7 +19252,7 @@ var Group = class Group extends Object$1 {
18132
19252
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18133
19253
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18134
19254
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18135
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
19255
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
18136
19256
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18137
19257
  let fetchResult;
18138
19258
  try {
@@ -18276,7 +19396,7 @@ var Group = class Group extends Object$1 {
18276
19396
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18277
19397
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18278
19398
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18279
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
19399
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
18280
19400
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18281
19401
  let fetchResult;
18282
19402
  try {
@@ -18417,7 +19537,7 @@ var Group = class Group extends Object$1 {
18417
19537
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18418
19538
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18419
19539
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18420
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
19540
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
18421
19541
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18422
19542
  let fetchResult;
18423
19543
  try {
@@ -18599,7 +19719,7 @@ var Group = class Group extends Object$1 {
18599
19719
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18600
19720
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18601
19721
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18602
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
19722
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
18603
19723
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18604
19724
  let fetchResult;
18605
19725
  try {
@@ -19323,7 +20443,7 @@ var Group = class Group extends Object$1 {
19323
20443
  */
19324
20444
  static async fromJsonLd(json, options = {}) {
19325
20445
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
19326
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
20446
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
19327
20447
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
19328
20448
  try {
19329
20449
  const object = await this.__fromJsonLd__Group__(json, span, options);
@@ -19938,7 +21058,7 @@ var Link = class Link {
19938
21058
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19939
21059
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19940
21060
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19941
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
21061
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
19942
21062
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
19943
21063
  let fetchResult;
19944
21064
  try {
@@ -20237,7 +21357,7 @@ var Link = class Link {
20237
21357
  */
20238
21358
  static async fromJsonLd(json, options = {}) {
20239
21359
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
20240
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
21360
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
20241
21361
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
20242
21362
  try {
20243
21363
  const object = await this.__fromJsonLd__Link__(json, span, options);
@@ -20565,7 +21685,7 @@ var Hashtag = class Hashtag extends Link {
20565
21685
  */
20566
21686
  static async fromJsonLd(json, options = {}) {
20567
21687
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
20568
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
21688
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
20569
21689
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
20570
21690
  try {
20571
21691
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
@@ -20727,7 +21847,7 @@ var Image = class Image extends Document {
20727
21847
  */
20728
21848
  static async fromJsonLd(json, options = {}) {
20729
21849
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
20730
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
21850
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
20731
21851
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
20732
21852
  try {
20733
21853
  const object = await this.__fromJsonLd__Image__(json, span, options);
@@ -20883,7 +22003,7 @@ var Offer = class Offer extends Activity {
20883
22003
  */
20884
22004
  static async fromJsonLd(json, options = {}) {
20885
22005
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
20886
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
22006
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
20887
22007
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
20888
22008
  try {
20889
22009
  const object = await this.__fromJsonLd__Offer__(json, span, options);
@@ -21039,7 +22159,7 @@ var Invite = class Invite extends Offer {
21039
22159
  */
21040
22160
  static async fromJsonLd(json, options = {}) {
21041
22161
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
21042
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
22162
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
21043
22163
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
21044
22164
  try {
21045
22165
  const object = await this.__fromJsonLd__Invite__(json, span, options);
@@ -21194,7 +22314,7 @@ var Join = class Join extends Activity {
21194
22314
  */
21195
22315
  static async fromJsonLd(json, options = {}) {
21196
22316
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
21197
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
22317
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
21198
22318
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
21199
22319
  try {
21200
22320
  const object = await this.__fromJsonLd__Join__(json, span, options);
@@ -21349,7 +22469,7 @@ var Leave = class Leave extends Activity {
21349
22469
  */
21350
22470
  static async fromJsonLd(json, options = {}) {
21351
22471
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
21352
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
22472
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
21353
22473
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
21354
22474
  try {
21355
22475
  const object = await this.__fromJsonLd__Leave__(json, span, options);
@@ -21508,7 +22628,7 @@ var Like = class Like extends Activity {
21508
22628
  */
21509
22629
  static async fromJsonLd(json, options = {}) {
21510
22630
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
21511
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
22631
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
21512
22632
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
21513
22633
  try {
21514
22634
  const object = await this.__fromJsonLd__Like__(json, span, options);
@@ -21662,7 +22782,7 @@ var Listen = class Listen extends Activity {
21662
22782
  */
21663
22783
  static async fromJsonLd(json, options = {}) {
21664
22784
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
21665
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
22785
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
21666
22786
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
21667
22787
  try {
21668
22788
  const object = await this.__fromJsonLd__Listen__(json, span, options);
@@ -21821,7 +22941,7 @@ var Mention = class Mention extends Link {
21821
22941
  */
21822
22942
  static async fromJsonLd(json, options = {}) {
21823
22943
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
21824
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
22944
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
21825
22945
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
21826
22946
  try {
21827
22947
  const object = await this.__fromJsonLd__Mention__(json, span, options);
@@ -21977,7 +23097,7 @@ var Move = class Move extends Activity {
21977
23097
  */
21978
23098
  static async fromJsonLd(json, options = {}) {
21979
23099
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
21980
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
23100
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
21981
23101
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
21982
23102
  try {
21983
23103
  const object = await this.__fromJsonLd__Move__(json, span, options);
@@ -22219,7 +23339,7 @@ var Note = class Note extends Object$1 {
22219
23339
  */
22220
23340
  static async fromJsonLd(json, options = {}) {
22221
23341
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
22222
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
23342
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
22223
23343
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
22224
23344
  try {
22225
23345
  const object = await this.__fromJsonLd__Note__(json, span, options);
@@ -22343,7 +23463,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
22343
23463
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22344
23464
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22345
23465
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22346
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
23466
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
22347
23467
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22348
23468
  let fetchResult;
22349
23469
  try {
@@ -22578,7 +23698,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
22578
23698
  */
22579
23699
  static async fromJsonLd(json, options = {}) {
22580
23700
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
22581
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
23701
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
22582
23702
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
22583
23703
  try {
22584
23704
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
@@ -22773,7 +23893,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
22773
23893
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22774
23894
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22775
23895
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22776
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
23896
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
22777
23897
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22778
23898
  let fetchResult;
22779
23899
  try {
@@ -23034,7 +24154,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
23034
24154
  */
23035
24155
  static async fromJsonLd(json, options = {}) {
23036
24156
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
23037
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
24157
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
23038
24158
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
23039
24159
  try {
23040
24160
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
@@ -23423,7 +24543,7 @@ var Organization = class Organization extends Object$1 {
23423
24543
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23424
24544
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23425
24545
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23426
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
24546
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
23427
24547
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23428
24548
  let fetchResult;
23429
24549
  try {
@@ -23557,7 +24677,7 @@ var Organization = class Organization extends Object$1 {
23557
24677
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23558
24678
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23559
24679
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23560
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
24680
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
23561
24681
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23562
24682
  let fetchResult;
23563
24683
  try {
@@ -23709,7 +24829,7 @@ var Organization = class Organization extends Object$1 {
23709
24829
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23710
24830
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23711
24831
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23712
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
24832
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
23713
24833
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23714
24834
  let fetchResult;
23715
24835
  try {
@@ -23829,7 +24949,7 @@ var Organization = class Organization extends Object$1 {
23829
24949
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23830
24950
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23831
24951
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23832
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
24952
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
23833
24953
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23834
24954
  let fetchResult;
23835
24955
  try {
@@ -23946,7 +25066,7 @@ var Organization = class Organization extends Object$1 {
23946
25066
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23947
25067
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23948
25068
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23949
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
25069
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
23950
25070
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23951
25071
  let fetchResult;
23952
25072
  try {
@@ -24049,7 +25169,7 @@ var Organization = class Organization extends Object$1 {
24049
25169
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24050
25170
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24051
25171
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24052
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
25172
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
24053
25173
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24054
25174
  let fetchResult;
24055
25175
  try {
@@ -24155,7 +25275,7 @@ var Organization = class Organization extends Object$1 {
24155
25275
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24156
25276
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24157
25277
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24158
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
25278
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
24159
25279
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24160
25280
  let fetchResult;
24161
25281
  try {
@@ -24259,7 +25379,7 @@ var Organization = class Organization extends Object$1 {
24259
25379
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24260
25380
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24261
25381
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24262
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
25382
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
24263
25383
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24264
25384
  let fetchResult;
24265
25385
  try {
@@ -24361,7 +25481,7 @@ var Organization = class Organization extends Object$1 {
24361
25481
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24362
25482
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24363
25483
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24364
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
25484
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
24365
25485
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24366
25486
  let fetchResult;
24367
25487
  try {
@@ -24463,7 +25583,7 @@ var Organization = class Organization extends Object$1 {
24463
25583
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24464
25584
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24465
25585
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24466
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
25586
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
24467
25587
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24468
25588
  let fetchResult;
24469
25589
  try {
@@ -24607,7 +25727,7 @@ var Organization = class Organization extends Object$1 {
24607
25727
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24608
25728
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24609
25729
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24610
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
25730
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
24611
25731
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24612
25732
  let fetchResult;
24613
25733
  try {
@@ -24748,7 +25868,7 @@ var Organization = class Organization extends Object$1 {
24748
25868
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24749
25869
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24750
25870
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24751
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
25871
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
24752
25872
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24753
25873
  let fetchResult;
24754
25874
  try {
@@ -24930,7 +26050,7 @@ var Organization = class Organization extends Object$1 {
24930
26050
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24931
26051
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24932
26052
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24933
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
26053
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
24934
26054
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24935
26055
  let fetchResult;
24936
26056
  try {
@@ -25654,7 +26774,7 @@ var Organization = class Organization extends Object$1 {
25654
26774
  */
25655
26775
  static async fromJsonLd(json, options = {}) {
25656
26776
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
25657
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
26777
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
25658
26778
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
25659
26779
  try {
25660
26780
  const object = await this.__fromJsonLd__Organization__(json, span, options);
@@ -26147,7 +27267,7 @@ var Page = class Page extends Document {
26147
27267
  */
26148
27268
  static async fromJsonLd(json, options = {}) {
26149
27269
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
26150
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
27270
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
26151
27271
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
26152
27272
  try {
26153
27273
  const object = await this.__fromJsonLd__Page__(json, span, options);
@@ -26446,7 +27566,7 @@ var Person = class Person extends Object$1 {
26446
27566
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26447
27567
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26448
27568
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26449
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
27569
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
26450
27570
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26451
27571
  let fetchResult;
26452
27572
  try {
@@ -26580,7 +27700,7 @@ var Person = class Person extends Object$1 {
26580
27700
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26581
27701
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26582
27702
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26583
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
27703
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
26584
27704
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26585
27705
  let fetchResult;
26586
27706
  try {
@@ -26732,7 +27852,7 @@ var Person = class Person extends Object$1 {
26732
27852
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26733
27853
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26734
27854
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26735
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
27855
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
26736
27856
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26737
27857
  let fetchResult;
26738
27858
  try {
@@ -26852,7 +27972,7 @@ var Person = class Person extends Object$1 {
26852
27972
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26853
27973
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26854
27974
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26855
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
27975
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
26856
27976
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26857
27977
  let fetchResult;
26858
27978
  try {
@@ -26969,7 +28089,7 @@ var Person = class Person extends Object$1 {
26969
28089
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26970
28090
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26971
28091
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26972
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
28092
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
26973
28093
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26974
28094
  let fetchResult;
26975
28095
  try {
@@ -27072,7 +28192,7 @@ var Person = class Person extends Object$1 {
27072
28192
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27073
28193
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27074
28194
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27075
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
28195
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
27076
28196
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27077
28197
  let fetchResult;
27078
28198
  try {
@@ -27178,7 +28298,7 @@ var Person = class Person extends Object$1 {
27178
28298
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27179
28299
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27180
28300
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27181
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
28301
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
27182
28302
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27183
28303
  let fetchResult;
27184
28304
  try {
@@ -27282,7 +28402,7 @@ var Person = class Person extends Object$1 {
27282
28402
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27283
28403
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27284
28404
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27285
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
28405
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
27286
28406
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27287
28407
  let fetchResult;
27288
28408
  try {
@@ -27384,7 +28504,7 @@ var Person = class Person extends Object$1 {
27384
28504
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27385
28505
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27386
28506
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27387
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
28507
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
27388
28508
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27389
28509
  let fetchResult;
27390
28510
  try {
@@ -27486,7 +28606,7 @@ var Person = class Person extends Object$1 {
27486
28606
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27487
28607
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27488
28608
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27489
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
28609
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
27490
28610
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27491
28611
  let fetchResult;
27492
28612
  try {
@@ -27630,7 +28750,7 @@ var Person = class Person extends Object$1 {
27630
28750
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27631
28751
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27632
28752
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27633
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
28753
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
27634
28754
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27635
28755
  let fetchResult;
27636
28756
  try {
@@ -27771,7 +28891,7 @@ var Person = class Person extends Object$1 {
27771
28891
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27772
28892
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27773
28893
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27774
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
28894
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
27775
28895
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27776
28896
  let fetchResult;
27777
28897
  try {
@@ -27953,7 +29073,7 @@ var Person = class Person extends Object$1 {
27953
29073
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27954
29074
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27955
29075
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27956
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
29076
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
27957
29077
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27958
29078
  let fetchResult;
27959
29079
  try {
@@ -28677,7 +29797,7 @@ var Person = class Person extends Object$1 {
28677
29797
  */
28678
29798
  static async fromJsonLd(json, options = {}) {
28679
29799
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
28680
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
29800
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
28681
29801
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
28682
29802
  try {
28683
29803
  const object = await this.__fromJsonLd__Person__(json, span, options);
@@ -29363,7 +30483,7 @@ var Place = class Place extends Object$1 {
29363
30483
  */
29364
30484
  static async fromJsonLd(json, options = {}) {
29365
30485
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
29366
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
30486
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
29367
30487
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
29368
30488
  try {
29369
30489
  const object = await this.__fromJsonLd__Place__(json, span, options);
@@ -29550,7 +30670,7 @@ var Profile = class Profile extends Object$1 {
29550
30670
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29551
30671
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29552
30672
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29553
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
30673
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
29554
30674
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
29555
30675
  let fetchResult;
29556
30676
  try {
@@ -29728,7 +30848,7 @@ var Profile = class Profile extends Object$1 {
29728
30848
  */
29729
30849
  static async fromJsonLd(json, options = {}) {
29730
30850
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
29731
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
30851
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
29732
30852
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
29733
30853
  try {
29734
30854
  const object = await this.__fromJsonLd__Profile__(json, span, options);
@@ -29884,7 +31004,7 @@ var Question = class Question extends IntransitiveActivity {
29884
31004
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29885
31005
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29886
31006
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29887
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
31007
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
29888
31008
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
29889
31009
  let fetchResult;
29890
31010
  try {
@@ -29988,7 +31108,7 @@ var Question = class Question extends IntransitiveActivity {
29988
31108
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29989
31109
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29990
31110
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29991
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
31111
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
29992
31112
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
29993
31113
  let fetchResult;
29994
31114
  try {
@@ -30247,7 +31367,7 @@ var Question = class Question extends IntransitiveActivity {
30247
31367
  */
30248
31368
  static async fromJsonLd(json, options = {}) {
30249
31369
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
30250
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
31370
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
30251
31371
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
30252
31372
  try {
30253
31373
  const object = await this.__fromJsonLd__Question__(json, span, options);
@@ -30473,7 +31593,7 @@ var Read = class Read extends Activity {
30473
31593
  */
30474
31594
  static async fromJsonLd(json, options = {}) {
30475
31595
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
30476
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
31596
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
30477
31597
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
30478
31598
  try {
30479
31599
  const object = await this.__fromJsonLd__Read__(json, span, options);
@@ -30628,7 +31748,7 @@ var Reject = class Reject extends Activity {
30628
31748
  */
30629
31749
  static async fromJsonLd(json, options = {}) {
30630
31750
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
30631
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
31751
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
30632
31752
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
30633
31753
  try {
30634
31754
  const object = await this.__fromJsonLd__Reject__(json, span, options);
@@ -30776,7 +31896,7 @@ var Relationship = class Relationship extends Object$1 {
30776
31896
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30777
31897
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30778
31898
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30779
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
31899
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
30780
31900
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
30781
31901
  let fetchResult;
30782
31902
  try {
@@ -30878,7 +31998,7 @@ var Relationship = class Relationship extends Object$1 {
30878
31998
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30879
31999
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30880
32000
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30881
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
32001
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
30882
32002
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
30883
32003
  let fetchResult;
30884
32004
  try {
@@ -31012,7 +32132,7 @@ var Relationship = class Relationship extends Object$1 {
31012
32132
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31013
32133
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31014
32134
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31015
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
32135
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
31016
32136
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
31017
32137
  let fetchResult;
31018
32138
  try {
@@ -31266,7 +32386,7 @@ var Relationship = class Relationship extends Object$1 {
31266
32386
  */
31267
32387
  static async fromJsonLd(json, options = {}) {
31268
32388
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
31269
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
32389
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
31270
32390
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
31271
32391
  try {
31272
32392
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
@@ -31471,7 +32591,7 @@ var Remove = class Remove extends Activity {
31471
32591
  */
31472
32592
  static async fromJsonLd(json, options = {}) {
31473
32593
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
31474
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
32594
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
31475
32595
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
31476
32596
  try {
31477
32597
  const object = await this.__fromJsonLd__Remove__(json, span, options);
@@ -31770,7 +32890,7 @@ var Service = class Service extends Object$1 {
31770
32890
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31771
32891
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31772
32892
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31773
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
32893
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
31774
32894
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
31775
32895
  let fetchResult;
31776
32896
  try {
@@ -31904,7 +33024,7 @@ var Service = class Service extends Object$1 {
31904
33024
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31905
33025
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31906
33026
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31907
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
33027
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
31908
33028
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
31909
33029
  let fetchResult;
31910
33030
  try {
@@ -32056,7 +33176,7 @@ var Service = class Service extends Object$1 {
32056
33176
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32057
33177
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32058
33178
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32059
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
33179
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
32060
33180
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32061
33181
  let fetchResult;
32062
33182
  try {
@@ -32176,7 +33296,7 @@ var Service = class Service extends Object$1 {
32176
33296
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32177
33297
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32178
33298
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32179
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
33299
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
32180
33300
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32181
33301
  let fetchResult;
32182
33302
  try {
@@ -32293,7 +33413,7 @@ var Service = class Service extends Object$1 {
32293
33413
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32294
33414
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32295
33415
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32296
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
33416
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
32297
33417
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32298
33418
  let fetchResult;
32299
33419
  try {
@@ -32396,7 +33516,7 @@ var Service = class Service extends Object$1 {
32396
33516
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32397
33517
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32398
33518
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32399
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
33519
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
32400
33520
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32401
33521
  let fetchResult;
32402
33522
  try {
@@ -32502,7 +33622,7 @@ var Service = class Service extends Object$1 {
32502
33622
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32503
33623
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32504
33624
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32505
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
33625
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
32506
33626
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32507
33627
  let fetchResult;
32508
33628
  try {
@@ -32606,7 +33726,7 @@ var Service = class Service extends Object$1 {
32606
33726
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32607
33727
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32608
33728
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32609
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
33729
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
32610
33730
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32611
33731
  let fetchResult;
32612
33732
  try {
@@ -32708,7 +33828,7 @@ var Service = class Service extends Object$1 {
32708
33828
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32709
33829
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32710
33830
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32711
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
33831
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
32712
33832
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32713
33833
  let fetchResult;
32714
33834
  try {
@@ -32810,7 +33930,7 @@ var Service = class Service extends Object$1 {
32810
33930
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32811
33931
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32812
33932
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32813
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
33933
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
32814
33934
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32815
33935
  let fetchResult;
32816
33936
  try {
@@ -32954,7 +34074,7 @@ var Service = class Service extends Object$1 {
32954
34074
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32955
34075
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32956
34076
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32957
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
34077
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
32958
34078
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32959
34079
  let fetchResult;
32960
34080
  try {
@@ -33095,7 +34215,7 @@ var Service = class Service extends Object$1 {
33095
34215
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33096
34216
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33097
34217
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33098
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
34218
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
33099
34219
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33100
34220
  let fetchResult;
33101
34221
  try {
@@ -33277,7 +34397,7 @@ var Service = class Service extends Object$1 {
33277
34397
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33278
34398
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33279
34399
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33280
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
34400
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
33281
34401
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33282
34402
  let fetchResult;
33283
34403
  try {
@@ -34001,7 +35121,7 @@ var Service = class Service extends Object$1 {
34001
35121
  */
34002
35122
  static async fromJsonLd(json, options = {}) {
34003
35123
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
34004
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
35124
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
34005
35125
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
34006
35126
  try {
34007
35127
  const object = await this.__fromJsonLd__Service__(json, span, options);
@@ -34589,7 +35709,7 @@ var Source = class {
34589
35709
  */
34590
35710
  static async fromJsonLd(json, options = {}) {
34591
35711
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
34592
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
35712
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
34593
35713
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
34594
35714
  try {
34595
35715
  const object = await this.__fromJsonLd__Source__(json, span, options);
@@ -34770,7 +35890,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
34770
35890
  */
34771
35891
  static async fromJsonLd(json, options = {}) {
34772
35892
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
34773
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
35893
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
34774
35894
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
34775
35895
  try {
34776
35896
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
@@ -34925,7 +36045,7 @@ var TentativeReject = class TentativeReject extends Reject {
34925
36045
  */
34926
36046
  static async fromJsonLd(json, options = {}) {
34927
36047
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
34928
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
36048
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
34929
36049
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
34930
36050
  try {
34931
36051
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
@@ -35121,7 +36241,7 @@ var Tombstone = class Tombstone extends Object$1 {
35121
36241
  */
35122
36242
  static async fromJsonLd(json, options = {}) {
35123
36243
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
35124
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
36244
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
35125
36245
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
35126
36246
  try {
35127
36247
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
@@ -35290,7 +36410,7 @@ var Travel = class Travel extends IntransitiveActivity {
35290
36410
  */
35291
36411
  static async fromJsonLd(json, options = {}) {
35292
36412
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
35293
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
36413
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
35294
36414
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
35295
36415
  try {
35296
36416
  const object = await this.__fromJsonLd__Travel__(json, span, options);
@@ -35459,7 +36579,7 @@ var Undo = class Undo extends Activity {
35459
36579
  */
35460
36580
  static async fromJsonLd(json, options = {}) {
35461
36581
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
35462
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
36582
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
35463
36583
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
35464
36584
  try {
35465
36585
  const object = await this.__fromJsonLd__Undo__(json, span, options);
@@ -35666,7 +36786,7 @@ var Update = class Update extends Activity {
35666
36786
  */
35667
36787
  static async fromJsonLd(json, options = {}) {
35668
36788
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
35669
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
36789
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
35670
36790
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
35671
36791
  try {
35672
36792
  const object = await this.__fromJsonLd__Update__(json, span, options);
@@ -35828,7 +36948,7 @@ var Video = class Video extends Document {
35828
36948
  */
35829
36949
  static async fromJsonLd(json, options = {}) {
35830
36950
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
35831
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
36951
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
35832
36952
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
35833
36953
  try {
35834
36954
  const object = await this.__fromJsonLd__Video__(json, span, options);
@@ -35982,7 +37102,7 @@ var View = class View extends Activity {
35982
37102
  */
35983
37103
  static async fromJsonLd(json, options = {}) {
35984
37104
  const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
35985
- const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.378.1394+f8f667ea");
37105
+ const tracer = tracerProvider.getTracer("@fedify/fedify", "1.9.0-pr.383.1403+350a35b0");
35986
37106
  return await tracer.startActiveSpan("activitypub.parse_object", async (span) => {
35987
37107
  try {
35988
37108
  const object = await this.__fromJsonLd__View__(json, span, options);