@fedify/vocab 2.2.1 → 2.2.2

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.
@@ -4,6 +4,7 @@ import { SpanStatusCode, trace } from "@opentelemetry/api";
4
4
  import jsonld from "@fedify/vocab-runtime/jsonld";
5
5
  import { getLogger } from "@logtape/logtape";
6
6
  import { LanguageString, decodeMultibase, encodeMultibase, exportMultibaseKey, exportSpki, getDocumentLoader, importMultibaseKey, importPem, isDecimal, parseDecimal } from "@fedify/vocab-runtime";
7
+ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/temporal";
7
8
  //#region \0rolldown/runtime.js
8
9
  var __create = Object.create;
9
10
  var __defProp = Object.defineProperty;
@@ -273,7 +274,7 @@ var Object$1 = class Object$1 {
273
274
  if (Array.isArray(values.names) && values.names.every((v) => typeof v === "string" || v instanceof LanguageString)) this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
274
275
  else throw new TypeError("The names must be an array of type string | LanguageString.");
275
276
  }
276
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
277
+ if ("endTime" in values && values.endTime != null) if (isTemporalInstant(values.endTime)) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
277
278
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
278
279
  if ("generators" in values && values.generators != null) if (Array.isArray(values.generators) && values.generators.every((v) => v instanceof Object$1 || v instanceof Link || v instanceof URL)) {
279
280
  this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
@@ -334,7 +335,7 @@ var Object$1 = class Object$1 {
334
335
  for (let i = 0; i < values.previews.length; i++) this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
335
336
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
336
337
  }
337
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
338
+ if ("published" in values && values.published != null) if (isTemporalInstant(values.published)) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
338
339
  else throw new TypeError("The published must be of type Temporal.Instant.");
339
340
  if ("replies" in values && values.replies != null) if (values.replies instanceof Collection || values.replies instanceof URL) {
340
341
  this.#_7UpwM3JWcXhADcscukEehBorf6k_replies = [values.replies];
@@ -352,7 +353,7 @@ var Object$1 = class Object$1 {
352
353
  this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = [values.emojiReactions];
353
354
  this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.add(0);
354
355
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
355
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
356
+ if ("startTime" in values && values.startTime != null) if (isTemporalInstant(values.startTime)) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
356
357
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
357
358
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof LanguageString) this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
358
359
  else throw new TypeError("The summary must be of type string | LanguageString.");
@@ -365,7 +366,7 @@ var Object$1 = class Object$1 {
365
366
  this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
366
367
  for (let i = 0; i < values.tags.length; i++) this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
367
368
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
368
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
369
+ if ("updated" in values && values.updated != null) if (isTemporalInstant(values.updated)) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
369
370
  else throw new TypeError("The updated must be of type Temporal.Instant.");
370
371
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
371
372
  else throw new TypeError("The url must be of type URL | Link.");
@@ -420,7 +421,7 @@ var Object$1 = class Object$1 {
420
421
  }
421
422
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
422
423
  else throw new TypeError("The mediaType must be of type string.");
423
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
424
+ if ("duration" in values && values.duration != null) if (isTemporalDuration(values.duration)) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
424
425
  else throw new TypeError("The duration must be of type Temporal.Duration.");
425
426
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
426
427
  else throw new TypeError("The sensitive must be of type boolean.");
@@ -528,7 +529,7 @@ var Object$1 = class Object$1 {
528
529
  else throw new TypeError("The names must be an array of type string | LanguageString.");
529
530
  }
530
531
  clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
531
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
532
+ if ("endTime" in values && values.endTime != null) if (isTemporalInstant(values.endTime)) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
532
533
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
533
534
  clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;
534
535
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
@@ -608,7 +609,7 @@ var Object$1 = class Object$1 {
608
609
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
609
610
  }
610
611
  clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
611
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
612
+ if ("published" in values && values.published != null) if (isTemporalInstant(values.published)) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
612
613
  else throw new TypeError("The published must be of type Temporal.Instant.");
613
614
  clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;
614
615
  clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
@@ -635,7 +636,7 @@ var Object$1 = class Object$1 {
635
636
  clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set([0]);
636
637
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
637
638
  clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
638
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
639
+ if ("startTime" in values && values.startTime != null) if (isTemporalInstant(values.startTime)) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
639
640
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
640
641
  clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
641
642
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof LanguageString) clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
@@ -653,7 +654,7 @@ var Object$1 = class Object$1 {
653
654
  for (let i = 0; i < values.tags.length; i++) clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
654
655
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
655
656
  clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
656
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
657
+ if ("updated" in values && values.updated != null) if (isTemporalInstant(values.updated)) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
657
658
  else throw new TypeError("The updated must be of type Temporal.Instant.");
658
659
  clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
659
660
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
@@ -723,7 +724,7 @@ var Object$1 = class Object$1 {
723
724
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
724
725
  else throw new TypeError("The mediaType must be of type string.");
725
726
  clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
726
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
727
+ if ("duration" in values && values.duration != null) if (isTemporalDuration(values.duration)) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
727
728
  else throw new TypeError("The duration must be of type Temporal.Duration.");
728
729
  clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
729
730
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
@@ -775,7 +776,7 @@ var Object$1 = class Object$1 {
775
776
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
776
777
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
777
778
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
778
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
779
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
779
780
  let fetchResult;
780
781
  try {
781
782
  fetchResult = await documentLoader(url.href);
@@ -921,7 +922,7 @@ var Object$1 = class Object$1 {
921
922
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
922
923
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
923
924
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
924
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
925
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
925
926
  let fetchResult;
926
927
  try {
927
928
  fetchResult = await documentLoader(url.href);
@@ -1133,7 +1134,7 @@ var Object$1 = class Object$1 {
1133
1134
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1134
1135
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1135
1136
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1136
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1137
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1137
1138
  let fetchResult;
1138
1139
  try {
1139
1140
  fetchResult = await documentLoader(url.href);
@@ -1317,7 +1318,7 @@ var Object$1 = class Object$1 {
1317
1318
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1318
1319
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1319
1320
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1320
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1321
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1321
1322
  let fetchResult;
1322
1323
  try {
1323
1324
  fetchResult = await documentLoader(url.href);
@@ -1479,7 +1480,7 @@ var Object$1 = class Object$1 {
1479
1480
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1480
1481
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1481
1482
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1482
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1483
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1483
1484
  let fetchResult;
1484
1485
  try {
1485
1486
  fetchResult = await documentLoader(url.href);
@@ -1609,7 +1610,7 @@ var Object$1 = class Object$1 {
1609
1610
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1610
1611
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1611
1612
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1612
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1613
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1613
1614
  let fetchResult;
1614
1615
  try {
1615
1616
  fetchResult = await documentLoader(url.href);
@@ -1775,7 +1776,7 @@ var Object$1 = class Object$1 {
1775
1776
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1776
1777
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1777
1778
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1778
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1779
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1779
1780
  let fetchResult;
1780
1781
  try {
1781
1782
  fetchResult = await documentLoader(url.href);
@@ -1941,7 +1942,7 @@ var Object$1 = class Object$1 {
1941
1942
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1942
1943
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1943
1944
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1944
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1945
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1945
1946
  let fetchResult;
1946
1947
  try {
1947
1948
  fetchResult = await documentLoader(url.href);
@@ -2115,7 +2116,7 @@ var Object$1 = class Object$1 {
2115
2116
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2116
2117
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2117
2118
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2118
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2119
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2119
2120
  let fetchResult;
2120
2121
  try {
2121
2122
  fetchResult = await documentLoader(url.href);
@@ -2289,7 +2290,7 @@ var Object$1 = class Object$1 {
2289
2290
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2290
2291
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2291
2292
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2292
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2293
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2293
2294
  let fetchResult;
2294
2295
  try {
2295
2296
  fetchResult = await documentLoader(url.href);
@@ -2468,7 +2469,7 @@ var Object$1 = class Object$1 {
2468
2469
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2469
2470
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2470
2471
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2471
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2472
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2472
2473
  let fetchResult;
2473
2474
  try {
2474
2475
  fetchResult = await documentLoader(url.href);
@@ -2589,7 +2590,7 @@ var Object$1 = class Object$1 {
2589
2590
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2590
2591
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2591
2592
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2592
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2593
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2593
2594
  let fetchResult;
2594
2595
  try {
2595
2596
  fetchResult = await documentLoader(url.href);
@@ -2716,7 +2717,7 @@ var Object$1 = class Object$1 {
2716
2717
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2717
2718
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2718
2719
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2719
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2720
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2720
2721
  let fetchResult;
2721
2722
  try {
2722
2723
  fetchResult = await documentLoader(url.href);
@@ -2843,7 +2844,7 @@ var Object$1 = class Object$1 {
2843
2844
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2844
2845
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2845
2846
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2846
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2847
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2847
2848
  let fetchResult;
2848
2849
  try {
2849
2850
  fetchResult = await documentLoader(url.href);
@@ -2988,7 +2989,7 @@ var Object$1 = class Object$1 {
2988
2989
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2989
2990
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2990
2991
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2991
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2992
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2992
2993
  let fetchResult;
2993
2994
  try {
2994
2995
  fetchResult = await documentLoader(url.href);
@@ -3140,7 +3141,7 @@ var Object$1 = class Object$1 {
3140
3141
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3141
3142
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3142
3143
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3143
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3144
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3144
3145
  let fetchResult;
3145
3146
  try {
3146
3147
  fetchResult = await documentLoader(url.href);
@@ -3304,7 +3305,7 @@ var Object$1 = class Object$1 {
3304
3305
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3305
3306
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3306
3307
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3307
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3308
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3308
3309
  let fetchResult;
3309
3310
  try {
3310
3311
  fetchResult = await documentLoader(url.href);
@@ -3468,7 +3469,7 @@ var Object$1 = class Object$1 {
3468
3469
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3469
3470
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3470
3471
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3471
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3472
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3472
3473
  let fetchResult;
3473
3474
  try {
3474
3475
  fetchResult = await documentLoader(url.href);
@@ -3632,7 +3633,7 @@ var Object$1 = class Object$1 {
3632
3633
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3633
3634
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3634
3635
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3635
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3636
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3636
3637
  let fetchResult;
3637
3638
  try {
3638
3639
  fetchResult = await documentLoader(url.href);
@@ -3833,7 +3834,7 @@ var Object$1 = class Object$1 {
3833
3834
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3834
3835
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3835
3836
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3836
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3837
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3837
3838
  let fetchResult;
3838
3839
  try {
3839
3840
  fetchResult = await documentLoader(url.href);
@@ -4020,7 +4021,7 @@ var Object$1 = class Object$1 {
4020
4021
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4021
4022
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4022
4023
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4023
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
4024
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
4024
4025
  let fetchResult;
4025
4026
  try {
4026
4027
  fetchResult = await documentLoader(url.href);
@@ -4141,7 +4142,7 @@ var Object$1 = class Object$1 {
4141
4142
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4142
4143
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4143
4144
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4144
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
4145
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
4145
4146
  let fetchResult;
4146
4147
  try {
4147
4148
  fetchResult = await documentLoader(url.href);
@@ -4262,7 +4263,7 @@ var Object$1 = class Object$1 {
4262
4263
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4263
4264
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4264
4265
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4265
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
4266
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
4266
4267
  let fetchResult;
4267
4268
  try {
4268
4269
  fetchResult = await documentLoader(url.href);
@@ -5089,7 +5090,7 @@ var Object$1 = class Object$1 {
5089
5090
  * @throws {TypeError} If the given `json` is invalid.
5090
5091
  */
5091
5092
  static async fromJsonLd(json, options = {}) {
5092
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
5093
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
5093
5094
  try {
5094
5095
  const object = await this.__fromJsonLd__Object__(json, span, options);
5095
5096
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6539,7 +6540,7 @@ var Emoji = class Emoji extends Object$1 {
6539
6540
  * @throws {TypeError} If the given `json` is invalid.
6540
6541
  */
6541
6542
  static async fromJsonLd(json, options = {}) {
6542
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
6543
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
6543
6544
  try {
6544
6545
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
6545
6546
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6673,7 +6674,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
6673
6674
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6674
6675
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6675
6676
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6676
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
6677
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
6677
6678
  let fetchResult;
6678
6679
  try {
6679
6680
  fetchResult = await documentLoader(url.href);
@@ -6811,7 +6812,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
6811
6812
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6812
6813
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6813
6814
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6814
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
6815
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
6815
6816
  let fetchResult;
6816
6817
  try {
6817
6818
  fetchResult = await documentLoader(url.href);
@@ -7095,7 +7096,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7095
7096
  * @throws {TypeError} If the given `json` is invalid.
7096
7097
  */
7097
7098
  static async fromJsonLd(json, options = {}) {
7098
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
7099
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
7099
7100
  try {
7100
7101
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
7101
7102
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7420,7 +7421,7 @@ var Activity = class Activity extends Object$1 {
7420
7421
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7421
7422
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7422
7423
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7423
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
7424
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
7424
7425
  let fetchResult;
7425
7426
  try {
7426
7427
  fetchResult = await documentLoader(url.href);
@@ -7632,7 +7633,7 @@ var Activity = class Activity extends Object$1 {
7632
7633
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7633
7634
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7634
7635
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7635
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
7636
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
7636
7637
  let fetchResult;
7637
7638
  try {
7638
7639
  fetchResult = await documentLoader(url.href);
@@ -7798,7 +7799,7 @@ var Activity = class Activity extends Object$1 {
7798
7799
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7799
7800
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7800
7801
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7801
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
7802
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
7802
7803
  let fetchResult;
7803
7804
  try {
7804
7805
  fetchResult = await documentLoader(url.href);
@@ -7970,7 +7971,7 @@ var Activity = class Activity extends Object$1 {
7970
7971
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7971
7972
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7972
7973
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7973
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
7974
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
7974
7975
  let fetchResult;
7975
7976
  try {
7976
7977
  fetchResult = await documentLoader(url.href);
@@ -8136,7 +8137,7 @@ var Activity = class Activity extends Object$1 {
8136
8137
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8137
8138
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8138
8139
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8139
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
8140
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
8140
8141
  let fetchResult;
8141
8142
  try {
8142
8143
  fetchResult = await documentLoader(url.href);
@@ -8304,7 +8305,7 @@ var Activity = class Activity extends Object$1 {
8304
8305
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8305
8306
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8306
8307
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8307
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
8308
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
8308
8309
  let fetchResult;
8309
8310
  try {
8310
8311
  fetchResult = await documentLoader(url.href);
@@ -8555,7 +8556,7 @@ var Activity = class Activity extends Object$1 {
8555
8556
  * @throws {TypeError} If the given `json` is invalid.
8556
8557
  */
8557
8558
  static async fromJsonLd(json, options = {}) {
8558
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
8559
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
8559
8560
  try {
8560
8561
  const object = await this.__fromJsonLd__Activity__(json, span, options);
8561
8562
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8888,7 +8889,7 @@ var EmojiReact = class EmojiReact extends Activity {
8888
8889
  * @throws {TypeError} If the given `json` is invalid.
8889
8890
  */
8890
8891
  static async fromJsonLd(json, options = {}) {
8891
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
8892
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
8892
8893
  try {
8893
8894
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
8894
8895
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9134,7 +9135,7 @@ var PropertyValue = class {
9134
9135
  * @throws {TypeError} If the given `json` is invalid.
9135
9136
  */
9136
9137
  static async fromJsonLd(json, options = {}) {
9137
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
9138
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
9138
9139
  try {
9139
9140
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
9140
9141
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9399,7 +9400,7 @@ var Measure = class {
9399
9400
  * @throws {TypeError} If the given `json` is invalid.
9400
9401
  */
9401
9402
  static async fromJsonLd(json, options = {}) {
9402
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
9403
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
9403
9404
  try {
9404
9405
  const object = await this.__fromJsonLd__Measure__(json, span, options);
9405
9406
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9559,7 +9560,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9559
9560
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9560
9561
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9561
9562
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9562
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
9563
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
9563
9564
  let fetchResult;
9564
9565
  try {
9565
9566
  fetchResult = await documentLoader(url.href);
@@ -9680,7 +9681,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9680
9681
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9681
9682
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9682
9683
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9683
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
9684
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
9684
9685
  let fetchResult;
9685
9686
  try {
9686
9687
  fetchResult = await documentLoader(url.href);
@@ -9896,7 +9897,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9896
9897
  * @throws {TypeError} If the given `json` is invalid.
9897
9898
  */
9898
9899
  static async fromJsonLd(json, options = {}) {
9899
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
9900
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
9900
9901
  try {
9901
9902
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
9902
9903
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10097,7 +10098,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
10097
10098
  * @throws {TypeError} If the given `json` is invalid.
10098
10099
  */
10099
10100
  static async fromJsonLd(json, options = {}) {
10100
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
10101
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
10101
10102
  try {
10102
10103
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
10103
10104
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10361,7 +10362,7 @@ var InteractionPolicy = class {
10361
10362
  * @throws {TypeError} If the given `json` is invalid.
10362
10363
  */
10363
10364
  static async fromJsonLd(json, options = {}) {
10364
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
10365
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
10365
10366
  try {
10366
10367
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
10367
10368
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10686,7 +10687,7 @@ var InteractionRule = class {
10686
10687
  * @throws {TypeError} If the given `json` is invalid.
10687
10688
  */
10688
10689
  static async fromJsonLd(json, options = {}) {
10689
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
10690
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
10690
10691
  try {
10691
10692
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
10692
10693
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10847,7 +10848,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
10847
10848
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10848
10849
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10849
10850
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10850
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
10851
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
10851
10852
  let fetchResult;
10852
10853
  try {
10853
10854
  fetchResult = await documentLoader(url.href);
@@ -10968,7 +10969,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
10968
10969
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10969
10970
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10970
10971
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10971
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
10972
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
10972
10973
  let fetchResult;
10973
10974
  try {
10974
10975
  fetchResult = await documentLoader(url.href);
@@ -11184,7 +11185,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11184
11185
  * @throws {TypeError} If the given `json` is invalid.
11185
11186
  */
11186
11187
  static async fromJsonLd(json, options = {}) {
11187
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
11188
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
11188
11189
  try {
11189
11190
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
11190
11191
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11384,7 +11385,7 @@ var LikeRequest = class LikeRequest extends Activity {
11384
11385
  * @throws {TypeError} If the given `json` is invalid.
11385
11386
  */
11386
11387
  static async fromJsonLd(json, options = {}) {
11387
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
11388
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
11388
11389
  try {
11389
11390
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
11390
11391
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11515,7 +11516,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11515
11516
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11516
11517
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11517
11518
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11518
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
11519
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
11519
11520
  let fetchResult;
11520
11521
  try {
11521
11522
  fetchResult = await documentLoader(url.href);
@@ -11636,7 +11637,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11636
11637
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11637
11638
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11638
11639
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11639
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
11640
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
11640
11641
  let fetchResult;
11641
11642
  try {
11642
11643
  fetchResult = await documentLoader(url.href);
@@ -11852,7 +11853,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11852
11853
  * @throws {TypeError} If the given `json` is invalid.
11853
11854
  */
11854
11855
  static async fromJsonLd(json, options = {}) {
11855
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
11856
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
11856
11857
  try {
11857
11858
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
11858
11859
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12052,7 +12053,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
12052
12053
  * @throws {TypeError} If the given `json` is invalid.
12053
12054
  */
12054
12055
  static async fromJsonLd(json, options = {}) {
12055
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
12056
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
12056
12057
  try {
12057
12058
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
12058
12059
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12183,7 +12184,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12183
12184
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12184
12185
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12185
12186
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12186
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
12187
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
12187
12188
  let fetchResult;
12188
12189
  try {
12189
12190
  fetchResult = await documentLoader(url.href);
@@ -12303,7 +12304,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12303
12304
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12304
12305
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12305
12306
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12306
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
12307
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
12307
12308
  let fetchResult;
12308
12309
  try {
12309
12310
  fetchResult = await documentLoader(url.href);
@@ -12521,7 +12522,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12521
12522
  * @throws {TypeError} If the given `json` is invalid.
12522
12523
  */
12523
12524
  static async fromJsonLd(json, options = {}) {
12524
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
12525
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
12525
12526
  try {
12526
12527
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
12527
12528
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12751,7 +12752,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
12751
12752
  * @throws {TypeError} If the given `json` is invalid.
12752
12753
  */
12753
12754
  static async fromJsonLd(json, options = {}) {
12754
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
12755
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
12755
12756
  try {
12756
12757
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
12757
12758
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12957,7 +12958,7 @@ var DidService = class {
12957
12958
  * @throws {TypeError} If the given `json` is invalid.
12958
12959
  */
12959
12960
  static async fromJsonLd(json, options = {}) {
12960
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
12961
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
12961
12962
  try {
12962
12963
  const object = await this.__fromJsonLd__DidService__(json, span, options);
12963
12964
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13113,7 +13114,7 @@ var Export = class Export extends DidService {
13113
13114
  * @throws {TypeError} If the given `json` is invalid.
13114
13115
  */
13115
13116
  static async fromJsonLd(json, options = {}) {
13116
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
13117
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
13117
13118
  try {
13118
13119
  const object = await this.__fromJsonLd__Export__(json, span, options);
13119
13120
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13237,7 +13238,7 @@ var DataIntegrityProof = class {
13237
13238
  else throw new TypeError("The proofPurpose must be of type \"assertionMethod\" | \"authentication\" | \"capabilityInvocation\" | \"capabilityDelegation\" | \"keyAgreement\".");
13238
13239
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
13239
13240
  else throw new TypeError("The proofValue must be of type Uint8Array.");
13240
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
13241
+ if ("created" in values && values.created != null) if (isTemporalInstant(values.created)) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
13241
13242
  else throw new TypeError("The created must be of type Temporal.Instant.");
13242
13243
  }
13243
13244
  /**
@@ -13271,7 +13272,7 @@ var DataIntegrityProof = class {
13271
13272
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
13272
13273
  else throw new TypeError("The proofValue must be of type Uint8Array.");
13273
13274
  clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
13274
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
13275
+ if ("created" in values && values.created != null) if (isTemporalInstant(values.created)) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
13275
13276
  else throw new TypeError("The created must be of type Temporal.Instant.");
13276
13277
  return clone;
13277
13278
  }
@@ -13286,7 +13287,7 @@ var DataIntegrityProof = class {
13286
13287
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13287
13288
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13288
13289
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13289
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
13290
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
13290
13291
  let fetchResult;
13291
13292
  try {
13292
13293
  fetchResult = await documentLoader(url.href);
@@ -13505,7 +13506,7 @@ var DataIntegrityProof = class {
13505
13506
  * @throws {TypeError} If the given `json` is invalid.
13506
13507
  */
13507
13508
  static async fromJsonLd(json, options = {}) {
13508
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
13509
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
13509
13510
  try {
13510
13511
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
13511
13512
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13729,7 +13730,7 @@ var CryptographicKey = class {
13729
13730
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13730
13731
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13731
13732
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13732
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
13733
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
13733
13734
  let fetchResult;
13734
13735
  try {
13735
13736
  fetchResult = await documentLoader(url.href);
@@ -13991,7 +13992,7 @@ var CryptographicKey = class {
13991
13992
  * @throws {TypeError} If the given `json` is invalid.
13992
13993
  */
13993
13994
  static async fromJsonLd(json, options = {}) {
13994
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
13995
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
13995
13996
  try {
13996
13997
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
13997
13998
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14188,7 +14189,7 @@ var Multikey = class {
14188
14189
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14189
14190
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14190
14191
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14191
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
14192
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
14192
14193
  let fetchResult;
14193
14194
  try {
14194
14195
  fetchResult = await documentLoader(url.href);
@@ -14456,7 +14457,7 @@ var Multikey = class {
14456
14457
  * @throws {TypeError} If the given `json` is invalid.
14457
14458
  */
14458
14459
  static async fromJsonLd(json, options = {}) {
14459
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
14460
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
14460
14461
  try {
14461
14462
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
14462
14463
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14844,7 +14845,7 @@ var Intent = class {
14844
14845
  * @throws {TypeError} If the given `json` is invalid.
14845
14846
  */
14846
14847
  static async fromJsonLd(json, options = {}) {
14847
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
14848
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
14848
14849
  try {
14849
14850
  const object = await this.__fromJsonLd__Intent__(json, span, options);
14850
14851
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15261,7 +15262,7 @@ var Proposal = class Proposal extends Object$1 {
15261
15262
  * @throws {TypeError} If the given `json` is invalid.
15262
15263
  */
15263
15264
  static async fromJsonLd(json, options = {}) {
15264
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
15265
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
15265
15266
  try {
15266
15267
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
15267
15268
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15474,7 +15475,7 @@ var Accept = class Accept extends Activity {
15474
15475
  * @throws {TypeError} If the given `json` is invalid.
15475
15476
  */
15476
15477
  static async fromJsonLd(json, options = {}) {
15477
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
15478
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
15478
15479
  try {
15479
15480
  const object = await this.__fromJsonLd__Accept__(json, span, options);
15480
15481
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15626,7 +15627,7 @@ var Add = class Add extends Activity {
15626
15627
  * @throws {TypeError} If the given `json` is invalid.
15627
15628
  */
15628
15629
  static async fromJsonLd(json, options = {}) {
15629
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
15630
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
15630
15631
  try {
15631
15632
  const object = await this.__fromJsonLd__Add__(json, span, options);
15632
15633
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15805,7 +15806,7 @@ var Announce = class Announce extends Activity {
15805
15806
  * @throws {TypeError} If the given `json` is invalid.
15806
15807
  */
15807
15808
  static async fromJsonLd(json, options = {}) {
15808
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
15809
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
15809
15810
  try {
15810
15811
  const object = await this.__fromJsonLd__Announce__(json, span, options);
15811
15812
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16200,7 +16201,7 @@ var Application = class Application extends Object$1 {
16200
16201
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16201
16202
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16202
16203
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16203
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16204
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16204
16205
  let fetchResult;
16205
16206
  try {
16206
16207
  fetchResult = await documentLoader(url.href);
@@ -16362,7 +16363,7 @@ var Application = class Application extends Object$1 {
16362
16363
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16363
16364
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16364
16365
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16365
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16366
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16366
16367
  let fetchResult;
16367
16368
  try {
16368
16369
  fetchResult = await documentLoader(url.href);
@@ -16542,7 +16543,7 @@ var Application = class Application extends Object$1 {
16542
16543
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16543
16544
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16544
16545
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16545
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16546
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16546
16547
  let fetchResult;
16547
16548
  try {
16548
16549
  fetchResult = await documentLoader(url.href);
@@ -16684,7 +16685,7 @@ var Application = class Application extends Object$1 {
16684
16685
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16685
16686
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16686
16687
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16687
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16688
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16688
16689
  let fetchResult;
16689
16690
  try {
16690
16691
  fetchResult = await documentLoader(url.href);
@@ -16823,7 +16824,7 @@ var Application = class Application extends Object$1 {
16823
16824
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16824
16825
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16825
16826
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16826
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16827
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16827
16828
  let fetchResult;
16828
16829
  try {
16829
16830
  fetchResult = await documentLoader(url.href);
@@ -16947,7 +16948,7 @@ var Application = class Application extends Object$1 {
16947
16948
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16948
16949
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16949
16950
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16950
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16951
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16951
16952
  let fetchResult;
16952
16953
  try {
16953
16954
  fetchResult = await documentLoader(url.href);
@@ -17074,7 +17075,7 @@ var Application = class Application extends Object$1 {
17074
17075
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17075
17076
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17076
17077
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17077
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17078
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17078
17079
  let fetchResult;
17079
17080
  try {
17080
17081
  fetchResult = await documentLoader(url.href);
@@ -17199,7 +17200,7 @@ var Application = class Application extends Object$1 {
17199
17200
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17200
17201
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17201
17202
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17202
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17203
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17203
17204
  let fetchResult;
17204
17205
  try {
17205
17206
  fetchResult = await documentLoader(url.href);
@@ -17322,7 +17323,7 @@ var Application = class Application extends Object$1 {
17322
17323
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17323
17324
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17324
17325
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17325
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17326
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17326
17327
  let fetchResult;
17327
17328
  try {
17328
17329
  fetchResult = await documentLoader(url.href);
@@ -17445,7 +17446,7 @@ var Application = class Application extends Object$1 {
17445
17446
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17446
17447
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17447
17448
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17448
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17449
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17449
17450
  let fetchResult;
17450
17451
  try {
17451
17452
  fetchResult = await documentLoader(url.href);
@@ -17607,7 +17608,7 @@ var Application = class Application extends Object$1 {
17607
17608
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17608
17609
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17609
17610
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17610
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17611
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17611
17612
  let fetchResult;
17612
17613
  try {
17613
17614
  fetchResult = await documentLoader(url.href);
@@ -17773,7 +17774,7 @@ var Application = class Application extends Object$1 {
17773
17774
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17774
17775
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17775
17776
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17776
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17777
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17777
17778
  let fetchResult;
17778
17779
  try {
17779
17780
  fetchResult = await documentLoader(url.href);
@@ -17987,7 +17988,7 @@ var Application = class Application extends Object$1 {
17987
17988
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17988
17989
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17989
17990
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17990
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17991
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17991
17992
  let fetchResult;
17992
17993
  try {
17993
17994
  fetchResult = await documentLoader(url.href);
@@ -18672,7 +18673,7 @@ var Application = class Application extends Object$1 {
18672
18673
  * @throws {TypeError} If the given `json` is invalid.
18673
18674
  */
18674
18675
  static async fromJsonLd(json, options = {}) {
18675
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
18676
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
18676
18677
  try {
18677
18678
  const object = await this.__fromJsonLd__Application__(json, span, options);
18678
18679
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19260,7 +19261,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
19260
19261
  * @throws {TypeError} If the given `json` is invalid.
19261
19262
  */
19262
19263
  static async fromJsonLd(json, options = {}) {
19263
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
19264
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
19264
19265
  try {
19265
19266
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
19266
19267
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19413,7 +19414,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
19413
19414
  * @throws {TypeError} If the given `json` is invalid.
19414
19415
  */
19415
19416
  static async fromJsonLd(json, options = {}) {
19416
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
19417
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
19417
19418
  try {
19418
19419
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
19419
19420
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19543,7 +19544,7 @@ var Article = class Article extends Object$1 {
19543
19544
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19544
19545
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19545
19546
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19546
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
19547
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
19547
19548
  let fetchResult;
19548
19549
  try {
19549
19550
  fetchResult = await documentLoader(url.href);
@@ -19681,7 +19682,7 @@ var Article = class Article extends Object$1 {
19681
19682
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19682
19683
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19683
19684
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19684
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
19685
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
19685
19686
  let fetchResult;
19686
19687
  try {
19687
19688
  fetchResult = await documentLoader(url.href);
@@ -19967,7 +19968,7 @@ var Article = class Article extends Object$1 {
19967
19968
  * @throws {TypeError} If the given `json` is invalid.
19968
19969
  */
19969
19970
  static async fromJsonLd(json, options = {}) {
19970
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
19971
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
19971
19972
  try {
19972
19973
  const object = await this.__fromJsonLd__Article__(json, span, options);
19973
19974
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20248,7 +20249,7 @@ var Document = class Document extends Object$1 {
20248
20249
  * @throws {TypeError} If the given `json` is invalid.
20249
20250
  */
20250
20251
  static async fromJsonLd(json, options = {}) {
20251
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
20252
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
20252
20253
  try {
20253
20254
  const object = await this.__fromJsonLd__Document__(json, span, options);
20254
20255
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20443,7 +20444,7 @@ var Audio = class Audio extends Document {
20443
20444
  * @throws {TypeError} If the given `json` is invalid.
20444
20445
  */
20445
20446
  static async fromJsonLd(json, options = {}) {
20446
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
20447
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
20447
20448
  try {
20448
20449
  const object = await this.__fromJsonLd__Audio__(json, span, options);
20449
20450
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20592,7 +20593,7 @@ var Ignore = class Ignore extends Activity {
20592
20593
  * @throws {TypeError} If the given `json` is invalid.
20593
20594
  */
20594
20595
  static async fromJsonLd(json, options = {}) {
20595
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
20596
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
20596
20597
  try {
20597
20598
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
20598
20599
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20744,7 +20745,7 @@ var Block = class Block extends Ignore {
20744
20745
  * @throws {TypeError} If the given `json` is invalid.
20745
20746
  */
20746
20747
  static async fromJsonLd(json, options = {}) {
20747
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
20748
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
20748
20749
  try {
20749
20750
  const object = await this.__fromJsonLd__Block__(json, span, options);
20750
20751
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21008,7 +21009,7 @@ var Collection = class Collection extends Object$1 {
21008
21009
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21009
21010
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21010
21011
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21011
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21012
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21012
21013
  let fetchResult;
21013
21014
  try {
21014
21015
  fetchResult = await documentLoader(url.href);
@@ -21129,7 +21130,7 @@ var Collection = class Collection extends Object$1 {
21129
21130
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21130
21131
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21131
21132
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21132
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21133
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21133
21134
  let fetchResult;
21134
21135
  try {
21135
21136
  fetchResult = await documentLoader(url.href);
@@ -21250,7 +21251,7 @@ var Collection = class Collection extends Object$1 {
21250
21251
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21251
21252
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21252
21253
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21253
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21254
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21254
21255
  let fetchResult;
21255
21256
  try {
21256
21257
  fetchResult = await documentLoader(url.href);
@@ -21371,7 +21372,7 @@ var Collection = class Collection extends Object$1 {
21371
21372
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21372
21373
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21373
21374
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21374
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21375
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21375
21376
  let fetchResult;
21376
21377
  try {
21377
21378
  fetchResult = await documentLoader(url.href);
@@ -21502,7 +21503,7 @@ var Collection = class Collection extends Object$1 {
21502
21503
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21503
21504
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21504
21505
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21505
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21506
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21506
21507
  let fetchResult;
21507
21508
  try {
21508
21509
  fetchResult = await documentLoader(url.href);
@@ -21622,7 +21623,7 @@ var Collection = class Collection extends Object$1 {
21622
21623
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21623
21624
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21624
21625
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21625
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21626
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21626
21627
  let fetchResult;
21627
21628
  try {
21628
21629
  fetchResult = await documentLoader(url.href);
@@ -21742,7 +21743,7 @@ var Collection = class Collection extends Object$1 {
21742
21743
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21743
21744
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21744
21745
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21745
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21746
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21746
21747
  let fetchResult;
21747
21748
  try {
21748
21749
  fetchResult = await documentLoader(url.href);
@@ -21862,7 +21863,7 @@ var Collection = class Collection extends Object$1 {
21862
21863
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21863
21864
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21864
21865
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21865
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21866
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21866
21867
  let fetchResult;
21867
21868
  try {
21868
21869
  fetchResult = await documentLoader(url.href);
@@ -21982,7 +21983,7 @@ var Collection = class Collection extends Object$1 {
21982
21983
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21983
21984
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21984
21985
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21985
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21986
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21986
21987
  let fetchResult;
21987
21988
  try {
21988
21989
  fetchResult = await documentLoader(url.href);
@@ -22102,7 +22103,7 @@ var Collection = class Collection extends Object$1 {
22102
22103
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22103
22104
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22104
22105
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22105
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
22106
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
22106
22107
  let fetchResult;
22107
22108
  try {
22108
22109
  fetchResult = await documentLoader(url.href);
@@ -22222,7 +22223,7 @@ var Collection = class Collection extends Object$1 {
22222
22223
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22223
22224
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22224
22225
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22225
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
22226
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
22226
22227
  let fetchResult;
22227
22228
  try {
22228
22229
  fetchResult = await documentLoader(url.href);
@@ -22342,7 +22343,7 @@ var Collection = class Collection extends Object$1 {
22342
22343
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22343
22344
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22344
22345
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22345
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
22346
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
22346
22347
  let fetchResult;
22347
22348
  try {
22348
22349
  fetchResult = await documentLoader(url.href);
@@ -22791,7 +22792,7 @@ var Collection = class Collection extends Object$1 {
22791
22792
  * @throws {TypeError} If the given `json` is invalid.
22792
22793
  */
22793
22794
  static async fromJsonLd(json, options = {}) {
22794
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
22795
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
22795
22796
  try {
22796
22797
  const object = await this.__fromJsonLd__Collection__(json, span, options);
22797
22798
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23271,7 +23272,7 @@ var CollectionPage = class CollectionPage extends Collection {
23271
23272
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23272
23273
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23273
23274
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23274
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
23275
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
23275
23276
  let fetchResult;
23276
23277
  try {
23277
23278
  fetchResult = await documentLoader(url.href);
@@ -23392,7 +23393,7 @@ var CollectionPage = class CollectionPage extends Collection {
23392
23393
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23393
23394
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23394
23395
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23395
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
23396
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
23396
23397
  let fetchResult;
23397
23398
  try {
23398
23399
  fetchResult = await documentLoader(url.href);
@@ -23512,7 +23513,7 @@ var CollectionPage = class CollectionPage extends Collection {
23512
23513
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23513
23514
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23514
23515
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23515
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
23516
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
23516
23517
  let fetchResult;
23517
23518
  try {
23518
23519
  fetchResult = await documentLoader(url.href);
@@ -23798,7 +23799,7 @@ var CollectionPage = class CollectionPage extends Collection {
23798
23799
  * @throws {TypeError} If the given `json` is invalid.
23799
23800
  */
23800
23801
  static async fromJsonLd(json, options = {}) {
23801
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
23802
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
23802
23803
  try {
23803
23804
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
23804
23805
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24041,7 +24042,7 @@ var Create = class Create extends Activity {
24041
24042
  * @throws {TypeError} If the given `json` is invalid.
24042
24043
  */
24043
24044
  static async fromJsonLd(json, options = {}) {
24044
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
24045
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
24045
24046
  try {
24046
24047
  const object = await this.__fromJsonLd__Create__(json, span, options);
24047
24048
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24216,7 +24217,7 @@ var Delete = class Delete extends Activity {
24216
24217
  * @throws {TypeError} If the given `json` is invalid.
24217
24218
  */
24218
24219
  static async fromJsonLd(json, options = {}) {
24219
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
24220
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
24220
24221
  try {
24221
24222
  const object = await this.__fromJsonLd__Delete__(json, span, options);
24222
24223
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24368,7 +24369,7 @@ var Dislike = class Dislike extends Activity {
24368
24369
  * @throws {TypeError} If the given `json` is invalid.
24369
24370
  */
24370
24371
  static async fromJsonLd(json, options = {}) {
24371
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
24372
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
24372
24373
  try {
24373
24374
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
24374
24375
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24713,7 +24714,7 @@ var Endpoints = class {
24713
24714
  * @throws {TypeError} If the given `json` is invalid.
24714
24715
  */
24715
24716
  static async fromJsonLd(json, options = {}) {
24716
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
24717
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
24717
24718
  try {
24718
24719
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
24719
24720
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24959,7 +24960,7 @@ var Event = class Event extends Object$1 {
24959
24960
  * @throws {TypeError} If the given `json` is invalid.
24960
24961
  */
24961
24962
  static async fromJsonLd(json, options = {}) {
24962
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
24963
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
24963
24964
  try {
24964
24965
  const object = await this.__fromJsonLd__Event__(json, span, options);
24965
24966
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25109,7 +25110,7 @@ var Flag = class Flag extends Activity {
25109
25110
  * @throws {TypeError} If the given `json` is invalid.
25110
25111
  */
25111
25112
  static async fromJsonLd(json, options = {}) {
25112
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
25113
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
25113
25114
  try {
25114
25115
  const object = await this.__fromJsonLd__Flag__(json, span, options);
25115
25116
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25263,7 +25264,7 @@ var Follow = class Follow extends Activity {
25263
25264
  * @throws {TypeError} If the given `json` is invalid.
25264
25265
  */
25265
25266
  static async fromJsonLd(json, options = {}) {
25266
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
25267
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
25267
25268
  try {
25268
25269
  const object = await this.__fromJsonLd__Follow__(json, span, options);
25269
25270
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25658,7 +25659,7 @@ var Group = class Group extends Object$1 {
25658
25659
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25659
25660
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25660
25661
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25661
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
25662
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
25662
25663
  let fetchResult;
25663
25664
  try {
25664
25665
  fetchResult = await documentLoader(url.href);
@@ -25820,7 +25821,7 @@ var Group = class Group extends Object$1 {
25820
25821
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25821
25822
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25822
25823
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25823
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
25824
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
25824
25825
  let fetchResult;
25825
25826
  try {
25826
25827
  fetchResult = await documentLoader(url.href);
@@ -26000,7 +26001,7 @@ var Group = class Group extends Object$1 {
26000
26001
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26001
26002
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26002
26003
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26003
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26004
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26004
26005
  let fetchResult;
26005
26006
  try {
26006
26007
  fetchResult = await documentLoader(url.href);
@@ -26142,7 +26143,7 @@ var Group = class Group extends Object$1 {
26142
26143
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26143
26144
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26144
26145
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26145
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26146
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26146
26147
  let fetchResult;
26147
26148
  try {
26148
26149
  fetchResult = await documentLoader(url.href);
@@ -26281,7 +26282,7 @@ var Group = class Group extends Object$1 {
26281
26282
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26282
26283
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26283
26284
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26284
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26285
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26285
26286
  let fetchResult;
26286
26287
  try {
26287
26288
  fetchResult = await documentLoader(url.href);
@@ -26405,7 +26406,7 @@ var Group = class Group extends Object$1 {
26405
26406
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26406
26407
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26407
26408
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26408
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26409
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26409
26410
  let fetchResult;
26410
26411
  try {
26411
26412
  fetchResult = await documentLoader(url.href);
@@ -26532,7 +26533,7 @@ var Group = class Group extends Object$1 {
26532
26533
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26533
26534
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26534
26535
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26535
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26536
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26536
26537
  let fetchResult;
26537
26538
  try {
26538
26539
  fetchResult = await documentLoader(url.href);
@@ -26657,7 +26658,7 @@ var Group = class Group extends Object$1 {
26657
26658
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26658
26659
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26659
26660
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26660
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26661
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26661
26662
  let fetchResult;
26662
26663
  try {
26663
26664
  fetchResult = await documentLoader(url.href);
@@ -26780,7 +26781,7 @@ var Group = class Group extends Object$1 {
26780
26781
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26781
26782
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26782
26783
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26783
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26784
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26784
26785
  let fetchResult;
26785
26786
  try {
26786
26787
  fetchResult = await documentLoader(url.href);
@@ -26903,7 +26904,7 @@ var Group = class Group extends Object$1 {
26903
26904
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26904
26905
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26905
26906
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26906
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26907
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26907
26908
  let fetchResult;
26908
26909
  try {
26909
26910
  fetchResult = await documentLoader(url.href);
@@ -27065,7 +27066,7 @@ var Group = class Group extends Object$1 {
27065
27066
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27066
27067
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27067
27068
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27068
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
27069
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
27069
27070
  let fetchResult;
27070
27071
  try {
27071
27072
  fetchResult = await documentLoader(url.href);
@@ -27231,7 +27232,7 @@ var Group = class Group extends Object$1 {
27231
27232
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27232
27233
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27233
27234
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27234
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
27235
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
27235
27236
  let fetchResult;
27236
27237
  try {
27237
27238
  fetchResult = await documentLoader(url.href);
@@ -27445,7 +27446,7 @@ var Group = class Group extends Object$1 {
27445
27446
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27446
27447
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27447
27448
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27448
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
27449
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
27449
27450
  let fetchResult;
27450
27451
  try {
27451
27452
  fetchResult = await documentLoader(url.href);
@@ -28130,7 +28131,7 @@ var Group = class Group extends Object$1 {
28130
28131
  * @throws {TypeError} If the given `json` is invalid.
28131
28132
  */
28132
28133
  static async fromJsonLd(json, options = {}) {
28133
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
28134
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
28134
28135
  try {
28135
28136
  const object = await this.__fromJsonLd__Group__(json, span, options);
28136
28137
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28856,7 +28857,7 @@ var Link = class Link {
28856
28857
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28857
28858
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28858
28859
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28859
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
28860
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
28860
28861
  let fetchResult;
28861
28862
  try {
28862
28863
  fetchResult = await documentLoader(url.href);
@@ -29148,7 +29149,7 @@ var Link = class Link {
29148
29149
  * @throws {TypeError} If the given `json` is invalid.
29149
29150
  */
29150
29151
  static async fromJsonLd(json, options = {}) {
29151
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29152
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29152
29153
  try {
29153
29154
  const object = await this.__fromJsonLd__Link__(json, span, options);
29154
29155
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29496,7 +29497,7 @@ var Hashtag = class Hashtag extends Link {
29496
29497
  * @throws {TypeError} If the given `json` is invalid.
29497
29498
  */
29498
29499
  static async fromJsonLd(json, options = {}) {
29499
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29500
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29500
29501
  try {
29501
29502
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
29502
29503
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29658,7 +29659,7 @@ var Image = class Image extends Document {
29658
29659
  * @throws {TypeError} If the given `json` is invalid.
29659
29660
  */
29660
29661
  static async fromJsonLd(json, options = {}) {
29661
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29662
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29662
29663
  try {
29663
29664
  const object = await this.__fromJsonLd__Image__(json, span, options);
29664
29665
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29808,7 +29809,7 @@ var Offer = class Offer extends Activity {
29808
29809
  * @throws {TypeError} If the given `json` is invalid.
29809
29810
  */
29810
29811
  static async fromJsonLd(json, options = {}) {
29811
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29812
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29812
29813
  try {
29813
29814
  const object = await this.__fromJsonLd__Offer__(json, span, options);
29814
29815
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29958,7 +29959,7 @@ var Invite = class Invite extends Offer {
29958
29959
  * @throws {TypeError} If the given `json` is invalid.
29959
29960
  */
29960
29961
  static async fromJsonLd(json, options = {}) {
29961
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29962
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29962
29963
  try {
29963
29964
  const object = await this.__fromJsonLd__Invite__(json, span, options);
29964
29965
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30107,7 +30108,7 @@ var Join = class Join extends Activity {
30107
30108
  * @throws {TypeError} If the given `json` is invalid.
30108
30109
  */
30109
30110
  static async fromJsonLd(json, options = {}) {
30110
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30111
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30111
30112
  try {
30112
30113
  const object = await this.__fromJsonLd__Join__(json, span, options);
30113
30114
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30256,7 +30257,7 @@ var Leave = class Leave extends Activity {
30256
30257
  * @throws {TypeError} If the given `json` is invalid.
30257
30258
  */
30258
30259
  static async fromJsonLd(json, options = {}) {
30259
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30260
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30260
30261
  try {
30261
30262
  const object = await this.__fromJsonLd__Leave__(json, span, options);
30262
30263
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30409,7 +30410,7 @@ var Like = class Like extends Activity {
30409
30410
  * @throws {TypeError} If the given `json` is invalid.
30410
30411
  */
30411
30412
  static async fromJsonLd(json, options = {}) {
30412
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30413
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30413
30414
  try {
30414
30415
  const object = await this.__fromJsonLd__Like__(json, span, options);
30415
30416
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30557,7 +30558,7 @@ var Listen = class Listen extends Activity {
30557
30558
  * @throws {TypeError} If the given `json` is invalid.
30558
30559
  */
30559
30560
  static async fromJsonLd(json, options = {}) {
30560
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30561
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30561
30562
  try {
30562
30563
  const object = await this.__fromJsonLd__Listen__(json, span, options);
30563
30564
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30708,7 +30709,7 @@ var Mention = class Mention extends Link {
30708
30709
  * @throws {TypeError} If the given `json` is invalid.
30709
30710
  */
30710
30711
  static async fromJsonLd(json, options = {}) {
30711
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30712
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30712
30713
  try {
30713
30714
  const object = await this.__fromJsonLd__Mention__(json, span, options);
30714
30715
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30858,7 +30859,7 @@ var Move = class Move extends Activity {
30858
30859
  * @throws {TypeError} If the given `json` is invalid.
30859
30860
  */
30860
30861
  static async fromJsonLd(json, options = {}) {
30861
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30862
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30862
30863
  try {
30863
30864
  const object = await this.__fromJsonLd__Move__(json, span, options);
30864
30865
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30989,7 +30990,7 @@ var Note = class Note extends Object$1 {
30989
30990
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30990
30991
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30991
30992
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30992
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
30993
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
30993
30994
  let fetchResult;
30994
30995
  try {
30995
30996
  fetchResult = await documentLoader(url.href);
@@ -31127,7 +31128,7 @@ var Note = class Note extends Object$1 {
31127
31128
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31128
31129
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31129
31130
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31130
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
31131
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
31131
31132
  let fetchResult;
31132
31133
  try {
31133
31134
  fetchResult = await documentLoader(url.href);
@@ -31413,7 +31414,7 @@ var Note = class Note extends Object$1 {
31413
31414
  * @throws {TypeError} If the given `json` is invalid.
31414
31415
  */
31415
31416
  static async fromJsonLd(json, options = {}) {
31416
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
31417
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
31417
31418
  try {
31418
31419
  const object = await this.__fromJsonLd__Note__(json, span, options);
31419
31420
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31586,7 +31587,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
31586
31587
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31587
31588
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31588
31589
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31589
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
31590
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
31590
31591
  let fetchResult;
31591
31592
  try {
31592
31593
  fetchResult = await documentLoader(url.href);
@@ -31856,7 +31857,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
31856
31857
  * @throws {TypeError} If the given `json` is invalid.
31857
31858
  */
31858
31859
  static async fromJsonLd(json, options = {}) {
31859
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
31860
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
31860
31861
  try {
31861
31862
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
31862
31863
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32071,7 +32072,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
32071
32072
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32072
32073
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32073
32074
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32074
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
32075
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
32075
32076
  let fetchResult;
32076
32077
  try {
32077
32078
  fetchResult = await documentLoader(url.href);
@@ -32364,7 +32365,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
32364
32365
  * @throws {TypeError} If the given `json` is invalid.
32365
32366
  */
32366
32367
  static async fromJsonLd(json, options = {}) {
32367
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
32368
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
32368
32369
  try {
32369
32370
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
32370
32371
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32867,7 +32868,7 @@ var Organization = class Organization extends Object$1 {
32867
32868
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32868
32869
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32869
32870
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32870
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
32871
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
32871
32872
  let fetchResult;
32872
32873
  try {
32873
32874
  fetchResult = await documentLoader(url.href);
@@ -33029,7 +33030,7 @@ var Organization = class Organization extends Object$1 {
33029
33030
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33030
33031
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33031
33032
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33032
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33033
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33033
33034
  let fetchResult;
33034
33035
  try {
33035
33036
  fetchResult = await documentLoader(url.href);
@@ -33209,7 +33210,7 @@ var Organization = class Organization extends Object$1 {
33209
33210
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33210
33211
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33211
33212
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33212
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33213
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33213
33214
  let fetchResult;
33214
33215
  try {
33215
33216
  fetchResult = await documentLoader(url.href);
@@ -33351,7 +33352,7 @@ var Organization = class Organization extends Object$1 {
33351
33352
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33352
33353
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33353
33354
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33354
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33355
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33355
33356
  let fetchResult;
33356
33357
  try {
33357
33358
  fetchResult = await documentLoader(url.href);
@@ -33490,7 +33491,7 @@ var Organization = class Organization extends Object$1 {
33490
33491
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33491
33492
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33492
33493
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33493
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33494
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33494
33495
  let fetchResult;
33495
33496
  try {
33496
33497
  fetchResult = await documentLoader(url.href);
@@ -33614,7 +33615,7 @@ var Organization = class Organization extends Object$1 {
33614
33615
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33615
33616
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33616
33617
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33617
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33618
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33618
33619
  let fetchResult;
33619
33620
  try {
33620
33621
  fetchResult = await documentLoader(url.href);
@@ -33741,7 +33742,7 @@ var Organization = class Organization extends Object$1 {
33741
33742
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33742
33743
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33743
33744
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33744
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33745
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33745
33746
  let fetchResult;
33746
33747
  try {
33747
33748
  fetchResult = await documentLoader(url.href);
@@ -33866,7 +33867,7 @@ var Organization = class Organization extends Object$1 {
33866
33867
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33867
33868
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33868
33869
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33869
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33870
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33870
33871
  let fetchResult;
33871
33872
  try {
33872
33873
  fetchResult = await documentLoader(url.href);
@@ -33989,7 +33990,7 @@ var Organization = class Organization extends Object$1 {
33989
33990
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33990
33991
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33991
33992
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33992
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33993
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33993
33994
  let fetchResult;
33994
33995
  try {
33995
33996
  fetchResult = await documentLoader(url.href);
@@ -34112,7 +34113,7 @@ var Organization = class Organization extends Object$1 {
34112
34113
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34113
34114
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34114
34115
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34115
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
34116
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
34116
34117
  let fetchResult;
34117
34118
  try {
34118
34119
  fetchResult = await documentLoader(url.href);
@@ -34274,7 +34275,7 @@ var Organization = class Organization extends Object$1 {
34274
34275
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34275
34276
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34276
34277
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34277
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
34278
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
34278
34279
  let fetchResult;
34279
34280
  try {
34280
34281
  fetchResult = await documentLoader(url.href);
@@ -34440,7 +34441,7 @@ var Organization = class Organization extends Object$1 {
34440
34441
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34441
34442
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34442
34443
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34443
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
34444
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
34444
34445
  let fetchResult;
34445
34446
  try {
34446
34447
  fetchResult = await documentLoader(url.href);
@@ -34654,7 +34655,7 @@ var Organization = class Organization extends Object$1 {
34654
34655
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34655
34656
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34656
34657
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34657
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
34658
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
34658
34659
  let fetchResult;
34659
34660
  try {
34660
34661
  fetchResult = await documentLoader(url.href);
@@ -35339,7 +35340,7 @@ var Organization = class Organization extends Object$1 {
35339
35340
  * @throws {TypeError} If the given `json` is invalid.
35340
35341
  */
35341
35342
  static async fromJsonLd(json, options = {}) {
35342
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
35343
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
35343
35344
  try {
35344
35345
  const object = await this.__fromJsonLd__Organization__(json, span, options);
35345
35346
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35939,7 +35940,7 @@ var Page = class Page extends Document {
35939
35940
  * @throws {TypeError} If the given `json` is invalid.
35940
35941
  */
35941
35942
  static async fromJsonLd(json, options = {}) {
35942
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
35943
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
35943
35944
  try {
35944
35945
  const object = await this.__fromJsonLd__Page__(json, span, options);
35945
35946
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -36334,7 +36335,7 @@ var Person = class Person extends Object$1 {
36334
36335
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36335
36336
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36336
36337
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36337
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36338
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36338
36339
  let fetchResult;
36339
36340
  try {
36340
36341
  fetchResult = await documentLoader(url.href);
@@ -36496,7 +36497,7 @@ var Person = class Person extends Object$1 {
36496
36497
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36497
36498
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36498
36499
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36499
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36500
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36500
36501
  let fetchResult;
36501
36502
  try {
36502
36503
  fetchResult = await documentLoader(url.href);
@@ -36676,7 +36677,7 @@ var Person = class Person extends Object$1 {
36676
36677
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36677
36678
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36678
36679
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36679
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36680
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36680
36681
  let fetchResult;
36681
36682
  try {
36682
36683
  fetchResult = await documentLoader(url.href);
@@ -36818,7 +36819,7 @@ var Person = class Person extends Object$1 {
36818
36819
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36819
36820
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36820
36821
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36821
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36822
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36822
36823
  let fetchResult;
36823
36824
  try {
36824
36825
  fetchResult = await documentLoader(url.href);
@@ -36957,7 +36958,7 @@ var Person = class Person extends Object$1 {
36957
36958
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36958
36959
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36959
36960
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36960
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36961
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36961
36962
  let fetchResult;
36962
36963
  try {
36963
36964
  fetchResult = await documentLoader(url.href);
@@ -37081,7 +37082,7 @@ var Person = class Person extends Object$1 {
37081
37082
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37082
37083
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37083
37084
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37084
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37085
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37085
37086
  let fetchResult;
37086
37087
  try {
37087
37088
  fetchResult = await documentLoader(url.href);
@@ -37208,7 +37209,7 @@ var Person = class Person extends Object$1 {
37208
37209
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37209
37210
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37210
37211
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37211
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37212
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37212
37213
  let fetchResult;
37213
37214
  try {
37214
37215
  fetchResult = await documentLoader(url.href);
@@ -37333,7 +37334,7 @@ var Person = class Person extends Object$1 {
37333
37334
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37334
37335
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37335
37336
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37336
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37337
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37337
37338
  let fetchResult;
37338
37339
  try {
37339
37340
  fetchResult = await documentLoader(url.href);
@@ -37456,7 +37457,7 @@ var Person = class Person extends Object$1 {
37456
37457
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37457
37458
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37458
37459
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37459
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37460
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37460
37461
  let fetchResult;
37461
37462
  try {
37462
37463
  fetchResult = await documentLoader(url.href);
@@ -37579,7 +37580,7 @@ var Person = class Person extends Object$1 {
37579
37580
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37580
37581
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37581
37582
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37582
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37583
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37583
37584
  let fetchResult;
37584
37585
  try {
37585
37586
  fetchResult = await documentLoader(url.href);
@@ -37741,7 +37742,7 @@ var Person = class Person extends Object$1 {
37741
37742
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37742
37743
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37743
37744
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37744
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37745
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37745
37746
  let fetchResult;
37746
37747
  try {
37747
37748
  fetchResult = await documentLoader(url.href);
@@ -37907,7 +37908,7 @@ var Person = class Person extends Object$1 {
37907
37908
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37908
37909
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37909
37910
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37910
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37911
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37911
37912
  let fetchResult;
37912
37913
  try {
37913
37914
  fetchResult = await documentLoader(url.href);
@@ -38121,7 +38122,7 @@ var Person = class Person extends Object$1 {
38121
38122
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38122
38123
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38123
38124
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38124
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
38125
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
38125
38126
  let fetchResult;
38126
38127
  try {
38127
38128
  fetchResult = await documentLoader(url.href);
@@ -38806,7 +38807,7 @@ var Person = class Person extends Object$1 {
38806
38807
  * @throws {TypeError} If the given `json` is invalid.
38807
38808
  */
38808
38809
  static async fromJsonLd(json, options = {}) {
38809
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
38810
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
38810
38811
  try {
38811
38812
  const object = await this.__fromJsonLd__Person__(json, span, options);
38812
38813
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39583,7 +39584,7 @@ var Place = class Place extends Object$1 {
39583
39584
  * @throws {TypeError} If the given `json` is invalid.
39584
39585
  */
39585
39586
  static async fromJsonLd(json, options = {}) {
39586
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
39587
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
39587
39588
  try {
39588
39589
  const object = await this.__fromJsonLd__Place__(json, span, options);
39589
39590
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39784,7 +39785,7 @@ var Profile = class Profile extends Object$1 {
39784
39785
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39785
39786
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39786
39787
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39787
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
39788
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
39788
39789
  let fetchResult;
39789
39790
  try {
39790
39791
  fetchResult = await documentLoader(url.href);
@@ -39985,7 +39986,7 @@ var Profile = class Profile extends Object$1 {
39985
39986
  * @throws {TypeError} If the given `json` is invalid.
39986
39987
  */
39987
39988
  static async fromJsonLd(json, options = {}) {
39988
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
39989
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
39989
39990
  try {
39990
39991
  const object = await this.__fromJsonLd__Profile__(json, span, options);
39991
39992
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40111,7 +40112,7 @@ var Question = class Question extends IntransitiveActivity {
40111
40112
  this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
40112
40113
  for (let i = 0; i < values.inclusiveOptions.length; i++) this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
40113
40114
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
40114
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
40115
+ if ("closed" in values && values.closed != null) if (isTemporalInstant(values.closed) || typeof values.closed === "boolean") this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
40115
40116
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
40116
40117
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
40117
40118
  else throw new TypeError("The voters must be of type number.");
@@ -40156,7 +40157,7 @@ var Question = class Question extends IntransitiveActivity {
40156
40157
  for (let i = 0; i < values.inclusiveOptions.length; i++) clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
40157
40158
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
40158
40159
  clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
40159
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
40160
+ if ("closed" in values && values.closed != null) if (isTemporalInstant(values.closed) || typeof values.closed === "boolean") clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
40160
40161
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
40161
40162
  clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
40162
40163
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
@@ -40182,7 +40183,7 @@ var Question = class Question extends IntransitiveActivity {
40182
40183
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40183
40184
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40184
40185
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40185
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
40186
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
40186
40187
  let fetchResult;
40187
40188
  try {
40188
40189
  fetchResult = await documentLoader(url.href);
@@ -40304,7 +40305,7 @@ var Question = class Question extends IntransitiveActivity {
40304
40305
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40305
40306
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40306
40307
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40307
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
40308
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
40308
40309
  let fetchResult;
40309
40310
  try {
40310
40311
  fetchResult = await documentLoader(url.href);
@@ -40442,7 +40443,7 @@ var Question = class Question extends IntransitiveActivity {
40442
40443
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40443
40444
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40444
40445
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40445
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
40446
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
40446
40447
  let fetchResult;
40447
40448
  try {
40448
40449
  fetchResult = await documentLoader(url.href);
@@ -40580,7 +40581,7 @@ var Question = class Question extends IntransitiveActivity {
40580
40581
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40581
40582
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40582
40583
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40583
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
40584
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
40584
40585
  let fetchResult;
40585
40586
  try {
40586
40587
  fetchResult = await documentLoader(url.href);
@@ -40734,7 +40735,7 @@ var Question = class Question extends IntransitiveActivity {
40734
40735
  if (array.length > 0) values["https://www.w3.org/ns/activitystreams#anyOf"] = array;
40735
40736
  array = [];
40736
40737
  for (const v of this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed) {
40737
- const element = v instanceof Temporal.Instant ? {
40738
+ const element = isTemporalInstant(v) ? {
40738
40739
  "@type": "http://www.w3.org/2001/XMLSchema#dateTime",
40739
40740
  "@value": v.toString()
40740
40741
  } : { "@value": v };
@@ -40832,7 +40833,7 @@ var Question = class Question extends IntransitiveActivity {
40832
40833
  * @throws {TypeError} If the given `json` is invalid.
40833
40834
  */
40834
40835
  static async fromJsonLd(json, options = {}) {
40835
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
40836
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
40836
40837
  try {
40837
40838
  const object = await this.__fromJsonLd__Question__(json, span, options);
40838
40839
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41109,7 +41110,7 @@ var Read = class Read extends Activity {
41109
41110
  * @throws {TypeError} If the given `json` is invalid.
41110
41111
  */
41111
41112
  static async fromJsonLd(json, options = {}) {
41112
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
41113
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
41113
41114
  try {
41114
41115
  const object = await this.__fromJsonLd__Read__(json, span, options);
41115
41116
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41258,7 +41259,7 @@ var Reject = class Reject extends Activity {
41258
41259
  * @throws {TypeError} If the given `json` is invalid.
41259
41260
  */
41260
41261
  static async fromJsonLd(json, options = {}) {
41261
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
41262
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
41262
41263
  try {
41263
41264
  const object = await this.__fromJsonLd__Reject__(json, span, options);
41264
41265
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41431,7 +41432,7 @@ var Relationship = class Relationship extends Object$1 {
41431
41432
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41432
41433
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41433
41434
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41434
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
41435
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
41435
41436
  let fetchResult;
41436
41437
  try {
41437
41438
  fetchResult = await documentLoader(url.href);
@@ -41554,7 +41555,7 @@ var Relationship = class Relationship extends Object$1 {
41554
41555
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41555
41556
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41556
41557
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41557
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
41558
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
41558
41559
  let fetchResult;
41559
41560
  try {
41560
41561
  fetchResult = await documentLoader(url.href);
@@ -41716,7 +41717,7 @@ var Relationship = class Relationship extends Object$1 {
41716
41717
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41717
41718
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41718
41719
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41719
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
41720
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
41720
41721
  let fetchResult;
41721
41722
  try {
41722
41723
  fetchResult = await documentLoader(url.href);
@@ -41994,7 +41995,7 @@ var Relationship = class Relationship extends Object$1 {
41994
41995
  * @throws {TypeError} If the given `json` is invalid.
41995
41996
  */
41996
41997
  static async fromJsonLd(json, options = {}) {
41997
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
41998
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
41998
41999
  try {
41999
42000
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
42000
42001
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42209,7 +42210,7 @@ var Remove = class Remove extends Activity {
42209
42210
  * @throws {TypeError} If the given `json` is invalid.
42210
42211
  */
42211
42212
  static async fromJsonLd(json, options = {}) {
42212
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
42213
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
42213
42214
  try {
42214
42215
  const object = await this.__fromJsonLd__Remove__(json, span, options);
42215
42216
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42604,7 +42605,7 @@ var Service = class Service extends Object$1 {
42604
42605
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42605
42606
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42606
42607
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42607
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
42608
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
42608
42609
  let fetchResult;
42609
42610
  try {
42610
42611
  fetchResult = await documentLoader(url.href);
@@ -42766,7 +42767,7 @@ var Service = class Service extends Object$1 {
42766
42767
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42767
42768
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42768
42769
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42769
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
42770
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
42770
42771
  let fetchResult;
42771
42772
  try {
42772
42773
  fetchResult = await documentLoader(url.href);
@@ -42946,7 +42947,7 @@ var Service = class Service extends Object$1 {
42946
42947
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42947
42948
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42948
42949
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42949
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
42950
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
42950
42951
  let fetchResult;
42951
42952
  try {
42952
42953
  fetchResult = await documentLoader(url.href);
@@ -43088,7 +43089,7 @@ var Service = class Service extends Object$1 {
43088
43089
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43089
43090
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43090
43091
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43091
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43092
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43092
43093
  let fetchResult;
43093
43094
  try {
43094
43095
  fetchResult = await documentLoader(url.href);
@@ -43227,7 +43228,7 @@ var Service = class Service extends Object$1 {
43227
43228
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43228
43229
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43229
43230
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43230
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43231
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43231
43232
  let fetchResult;
43232
43233
  try {
43233
43234
  fetchResult = await documentLoader(url.href);
@@ -43351,7 +43352,7 @@ var Service = class Service extends Object$1 {
43351
43352
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43352
43353
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43353
43354
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43354
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43355
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43355
43356
  let fetchResult;
43356
43357
  try {
43357
43358
  fetchResult = await documentLoader(url.href);
@@ -43478,7 +43479,7 @@ var Service = class Service extends Object$1 {
43478
43479
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43479
43480
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43480
43481
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43481
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43482
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43482
43483
  let fetchResult;
43483
43484
  try {
43484
43485
  fetchResult = await documentLoader(url.href);
@@ -43603,7 +43604,7 @@ var Service = class Service extends Object$1 {
43603
43604
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43604
43605
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43605
43606
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43606
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43607
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43607
43608
  let fetchResult;
43608
43609
  try {
43609
43610
  fetchResult = await documentLoader(url.href);
@@ -43726,7 +43727,7 @@ var Service = class Service extends Object$1 {
43726
43727
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43727
43728
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43728
43729
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43729
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43730
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43730
43731
  let fetchResult;
43731
43732
  try {
43732
43733
  fetchResult = await documentLoader(url.href);
@@ -43849,7 +43850,7 @@ var Service = class Service extends Object$1 {
43849
43850
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43850
43851
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43851
43852
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43852
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43853
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43853
43854
  let fetchResult;
43854
43855
  try {
43855
43856
  fetchResult = await documentLoader(url.href);
@@ -44011,7 +44012,7 @@ var Service = class Service extends Object$1 {
44011
44012
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44012
44013
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44013
44014
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44014
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
44015
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
44015
44016
  let fetchResult;
44016
44017
  try {
44017
44018
  fetchResult = await documentLoader(url.href);
@@ -44177,7 +44178,7 @@ var Service = class Service extends Object$1 {
44177
44178
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44178
44179
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44179
44180
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44180
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
44181
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
44181
44182
  let fetchResult;
44182
44183
  try {
44183
44184
  fetchResult = await documentLoader(url.href);
@@ -44391,7 +44392,7 @@ var Service = class Service extends Object$1 {
44391
44392
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44392
44393
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44393
44394
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44394
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
44395
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
44395
44396
  let fetchResult;
44396
44397
  try {
44397
44398
  fetchResult = await documentLoader(url.href);
@@ -45076,7 +45077,7 @@ var Service = class Service extends Object$1 {
45076
45077
  * @throws {TypeError} If the given `json` is invalid.
45077
45078
  */
45078
45079
  static async fromJsonLd(json, options = {}) {
45079
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
45080
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
45080
45081
  try {
45081
45082
  const object = await this.__fromJsonLd__Service__(json, span, options);
45082
45083
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45758,7 +45759,7 @@ var Source = class {
45758
45759
  * @throws {TypeError} If the given `json` is invalid.
45759
45760
  */
45760
45761
  static async fromJsonLd(json, options = {}) {
45761
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
45762
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
45762
45763
  try {
45763
45764
  const object = await this.__fromJsonLd__Source__(json, span, options);
45764
45765
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45936,7 +45937,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
45936
45937
  * @throws {TypeError} If the given `json` is invalid.
45937
45938
  */
45938
45939
  static async fromJsonLd(json, options = {}) {
45939
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
45940
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
45940
45941
  try {
45941
45942
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
45942
45943
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46085,7 +46086,7 @@ var TentativeReject = class TentativeReject extends Reject {
46085
46086
  * @throws {TypeError} If the given `json` is invalid.
46086
46087
  */
46087
46088
  static async fromJsonLd(json, options = {}) {
46088
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46089
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46089
46090
  try {
46090
46091
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
46091
46092
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46174,7 +46175,7 @@ var Tombstone = class Tombstone extends Object$1 {
46174
46175
  if (Array.isArray(values.formerTypes) && values.formerTypes.every((v) => isEntityType(v))) this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
46175
46176
  else throw new TypeError("The formerTypes must be an array of type $EntityType.");
46176
46177
  }
46177
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
46178
+ if ("deleted" in values && values.deleted != null) if (isTemporalInstant(values.deleted)) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
46178
46179
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
46179
46180
  }
46180
46181
  /**
@@ -46201,7 +46202,7 @@ var Tombstone = class Tombstone extends Object$1 {
46201
46202
  else throw new TypeError("The formerTypes must be an array of type $EntityType.");
46202
46203
  }
46203
46204
  clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
46204
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
46205
+ if ("deleted" in values && values.deleted != null) if (isTemporalInstant(values.deleted)) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
46205
46206
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
46206
46207
  return clone;
46207
46208
  }
@@ -46323,7 +46324,7 @@ var Tombstone = class Tombstone extends Object$1 {
46323
46324
  * @throws {TypeError} If the given `json` is invalid.
46324
46325
  */
46325
46326
  static async fromJsonLd(json, options = {}) {
46326
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46327
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46327
46328
  try {
46328
46329
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
46329
46330
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46509,7 +46510,7 @@ var Travel = class Travel extends IntransitiveActivity {
46509
46510
  * @throws {TypeError} If the given `json` is invalid.
46510
46511
  */
46511
46512
  static async fromJsonLd(json, options = {}) {
46512
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46513
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46513
46514
  try {
46514
46515
  const object = await this.__fromJsonLd__Travel__(json, span, options);
46515
46516
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46672,7 +46673,7 @@ var Undo = class Undo extends Activity {
46672
46673
  * @throws {TypeError} If the given `json` is invalid.
46673
46674
  */
46674
46675
  static async fromJsonLd(json, options = {}) {
46675
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46676
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46676
46677
  try {
46677
46678
  const object = await this.__fromJsonLd__Undo__(json, span, options);
46678
46679
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46883,7 +46884,7 @@ var Update = class Update extends Activity {
46883
46884
  * @throws {TypeError} If the given `json` is invalid.
46884
46885
  */
46885
46886
  static async fromJsonLd(json, options = {}) {
46886
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46887
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46887
46888
  try {
46888
46889
  const object = await this.__fromJsonLd__Update__(json, span, options);
46889
46890
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -47045,7 +47046,7 @@ var Video = class Video extends Document {
47045
47046
  * @throws {TypeError} If the given `json` is invalid.
47046
47047
  */
47047
47048
  static async fromJsonLd(json, options = {}) {
47048
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
47049
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
47049
47050
  try {
47050
47051
  const object = await this.__fromJsonLd__Video__(json, span, options);
47051
47052
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -47193,7 +47194,7 @@ var View = class View extends Activity {
47193
47194
  * @throws {TypeError} If the given `json` is invalid.
47194
47195
  */
47195
47196
  static async fromJsonLd(json, options = {}) {
47196
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
47197
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
47197
47198
  try {
47198
47199
  const object = await this.__fromJsonLd__View__(json, span, options);
47199
47200
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);