@fedify/vocab 2.0.16 → 2.0.17-dev.1093

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 } 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;
@@ -250,7 +251,7 @@ var Object$1 = class Object$1 {
250
251
  if (Array.isArray(values.names) && values.names.every((v) => typeof v === "string" || v instanceof LanguageString)) this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
251
252
  else throw new TypeError("The names must be an array of type string | LanguageString.");
252
253
  }
253
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
254
+ if ("endTime" in values && values.endTime != null) if (isTemporalInstant(values.endTime)) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
254
255
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
255
256
  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)) {
256
257
  this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
@@ -311,7 +312,7 @@ var Object$1 = class Object$1 {
311
312
  for (let i = 0; i < values.previews.length; i++) this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
312
313
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
313
314
  }
314
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
315
+ if ("published" in values && values.published != null) if (isTemporalInstant(values.published)) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
315
316
  else throw new TypeError("The published must be of type Temporal.Instant.");
316
317
  if ("replies" in values && values.replies != null) if (values.replies instanceof Collection || values.replies instanceof URL) {
317
318
  this.#_7UpwM3JWcXhADcscukEehBorf6k_replies = [values.replies];
@@ -329,7 +330,7 @@ var Object$1 = class Object$1 {
329
330
  this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = [values.emojiReactions];
330
331
  this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.add(0);
331
332
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
332
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
333
+ if ("startTime" in values && values.startTime != null) if (isTemporalInstant(values.startTime)) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
333
334
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
334
335
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof LanguageString) this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
335
336
  else throw new TypeError("The summary must be of type string | LanguageString.");
@@ -342,7 +343,7 @@ var Object$1 = class Object$1 {
342
343
  this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
343
344
  for (let i = 0; i < values.tags.length; i++) this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
344
345
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
345
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
346
+ if ("updated" in values && values.updated != null) if (isTemporalInstant(values.updated)) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
346
347
  else throw new TypeError("The updated must be of type Temporal.Instant.");
347
348
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
348
349
  else throw new TypeError("The url must be of type URL | Link.");
@@ -397,7 +398,7 @@ var Object$1 = class Object$1 {
397
398
  }
398
399
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
399
400
  else throw new TypeError("The mediaType must be of type string.");
400
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
401
+ if ("duration" in values && values.duration != null) if (isTemporalDuration(values.duration)) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
401
402
  else throw new TypeError("The duration must be of type Temporal.Duration.");
402
403
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
403
404
  else throw new TypeError("The sensitive must be of type boolean.");
@@ -489,7 +490,7 @@ var Object$1 = class Object$1 {
489
490
  else throw new TypeError("The names must be an array of type string | LanguageString.");
490
491
  }
491
492
  clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
492
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
493
+ if ("endTime" in values && values.endTime != null) if (isTemporalInstant(values.endTime)) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
493
494
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
494
495
  clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;
495
496
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
@@ -569,7 +570,7 @@ var Object$1 = class Object$1 {
569
570
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
570
571
  }
571
572
  clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
572
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
573
+ if ("published" in values && values.published != null) if (isTemporalInstant(values.published)) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
573
574
  else throw new TypeError("The published must be of type Temporal.Instant.");
574
575
  clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;
575
576
  clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
@@ -596,7 +597,7 @@ var Object$1 = class Object$1 {
596
597
  clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set([0]);
597
598
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
598
599
  clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
599
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
600
+ if ("startTime" in values && values.startTime != null) if (isTemporalInstant(values.startTime)) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
600
601
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
601
602
  clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
602
603
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof LanguageString) clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
@@ -614,7 +615,7 @@ var Object$1 = class Object$1 {
614
615
  for (let i = 0; i < values.tags.length; i++) clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
615
616
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
616
617
  clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
617
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
618
+ if ("updated" in values && values.updated != null) if (isTemporalInstant(values.updated)) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
618
619
  else throw new TypeError("The updated must be of type Temporal.Instant.");
619
620
  clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
620
621
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
@@ -684,7 +685,7 @@ var Object$1 = class Object$1 {
684
685
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
685
686
  else throw new TypeError("The mediaType must be of type string.");
686
687
  clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
687
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
688
+ if ("duration" in values && values.duration != null) if (isTemporalDuration(values.duration)) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
688
689
  else throw new TypeError("The duration must be of type Temporal.Duration.");
689
690
  clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
690
691
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
@@ -712,7 +713,7 @@ var Object$1 = class Object$1 {
712
713
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
713
714
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
714
715
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
715
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
716
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
716
717
  let fetchResult;
717
718
  try {
718
719
  fetchResult = await documentLoader(url.href);
@@ -858,7 +859,7 @@ var Object$1 = class Object$1 {
858
859
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
859
860
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
860
861
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
861
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
862
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
862
863
  let fetchResult;
863
864
  try {
864
865
  fetchResult = await documentLoader(url.href);
@@ -1070,7 +1071,7 @@ var Object$1 = class Object$1 {
1070
1071
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1071
1072
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1072
1073
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1073
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1074
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1074
1075
  let fetchResult;
1075
1076
  try {
1076
1077
  fetchResult = await documentLoader(url.href);
@@ -1254,7 +1255,7 @@ var Object$1 = class Object$1 {
1254
1255
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1255
1256
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1256
1257
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1257
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1258
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1258
1259
  let fetchResult;
1259
1260
  try {
1260
1261
  fetchResult = await documentLoader(url.href);
@@ -1416,7 +1417,7 @@ var Object$1 = class Object$1 {
1416
1417
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1417
1418
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1418
1419
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1419
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1420
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1420
1421
  let fetchResult;
1421
1422
  try {
1422
1423
  fetchResult = await documentLoader(url.href);
@@ -1546,7 +1547,7 @@ var Object$1 = class Object$1 {
1546
1547
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1547
1548
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1548
1549
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1549
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1550
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1550
1551
  let fetchResult;
1551
1552
  try {
1552
1553
  fetchResult = await documentLoader(url.href);
@@ -1712,7 +1713,7 @@ var Object$1 = class Object$1 {
1712
1713
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1713
1714
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1714
1715
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1715
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1716
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1716
1717
  let fetchResult;
1717
1718
  try {
1718
1719
  fetchResult = await documentLoader(url.href);
@@ -1878,7 +1879,7 @@ var Object$1 = class Object$1 {
1878
1879
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1879
1880
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1880
1881
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1881
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1882
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1882
1883
  let fetchResult;
1883
1884
  try {
1884
1885
  fetchResult = await documentLoader(url.href);
@@ -2052,7 +2053,7 @@ var Object$1 = class Object$1 {
2052
2053
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2053
2054
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2054
2055
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2055
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2056
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2056
2057
  let fetchResult;
2057
2058
  try {
2058
2059
  fetchResult = await documentLoader(url.href);
@@ -2226,7 +2227,7 @@ var Object$1 = class Object$1 {
2226
2227
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2227
2228
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2228
2229
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2229
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2230
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2230
2231
  let fetchResult;
2231
2232
  try {
2232
2233
  fetchResult = await documentLoader(url.href);
@@ -2405,7 +2406,7 @@ var Object$1 = class Object$1 {
2405
2406
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2406
2407
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2407
2408
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2408
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2409
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2409
2410
  let fetchResult;
2410
2411
  try {
2411
2412
  fetchResult = await documentLoader(url.href);
@@ -2526,7 +2527,7 @@ var Object$1 = class Object$1 {
2526
2527
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2527
2528
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2528
2529
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2529
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2530
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2530
2531
  let fetchResult;
2531
2532
  try {
2532
2533
  fetchResult = await documentLoader(url.href);
@@ -2653,7 +2654,7 @@ var Object$1 = class Object$1 {
2653
2654
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2654
2655
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2655
2656
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2656
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2657
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2657
2658
  let fetchResult;
2658
2659
  try {
2659
2660
  fetchResult = await documentLoader(url.href);
@@ -2780,7 +2781,7 @@ var Object$1 = class Object$1 {
2780
2781
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2781
2782
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2782
2783
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2783
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2784
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2784
2785
  let fetchResult;
2785
2786
  try {
2786
2787
  fetchResult = await documentLoader(url.href);
@@ -2925,7 +2926,7 @@ var Object$1 = class Object$1 {
2925
2926
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2926
2927
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2927
2928
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2928
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2929
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2929
2930
  let fetchResult;
2930
2931
  try {
2931
2932
  fetchResult = await documentLoader(url.href);
@@ -3077,7 +3078,7 @@ var Object$1 = class Object$1 {
3077
3078
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3078
3079
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3079
3080
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3080
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3081
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3081
3082
  let fetchResult;
3082
3083
  try {
3083
3084
  fetchResult = await documentLoader(url.href);
@@ -3241,7 +3242,7 @@ var Object$1 = class Object$1 {
3241
3242
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3242
3243
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3243
3244
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3244
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3245
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3245
3246
  let fetchResult;
3246
3247
  try {
3247
3248
  fetchResult = await documentLoader(url.href);
@@ -3405,7 +3406,7 @@ var Object$1 = class Object$1 {
3405
3406
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3406
3407
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3407
3408
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3408
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3409
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3409
3410
  let fetchResult;
3410
3411
  try {
3411
3412
  fetchResult = await documentLoader(url.href);
@@ -3569,7 +3570,7 @@ var Object$1 = class Object$1 {
3569
3570
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3570
3571
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3571
3572
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3572
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3573
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3573
3574
  let fetchResult;
3574
3575
  try {
3575
3576
  fetchResult = await documentLoader(url.href);
@@ -3770,7 +3771,7 @@ var Object$1 = class Object$1 {
3770
3771
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3771
3772
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3772
3773
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3773
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3774
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3774
3775
  let fetchResult;
3775
3776
  try {
3776
3777
  fetchResult = await documentLoader(url.href);
@@ -4559,7 +4560,7 @@ var Object$1 = class Object$1 {
4559
4560
  * @throws {TypeError} If the given `json` is invalid.
4560
4561
  */
4561
4562
  static async fromJsonLd(json, options = {}) {
4562
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
4563
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
4563
4564
  try {
4564
4565
  const object = await this.__fromJsonLd__Object__(json, span, options);
4565
4566
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -5803,7 +5804,7 @@ var Emoji = class Emoji extends Object$1 {
5803
5804
  * @throws {TypeError} If the given `json` is invalid.
5804
5805
  */
5805
5806
  static async fromJsonLd(json, options = {}) {
5806
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
5807
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
5807
5808
  try {
5808
5809
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
5809
5810
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6040,7 +6041,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
6040
6041
  * @throws {TypeError} If the given `json` is invalid.
6041
6042
  */
6042
6043
  static async fromJsonLd(json, options = {}) {
6043
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
6044
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
6044
6045
  try {
6045
6046
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
6046
6047
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6321,7 +6322,7 @@ var Activity = class Activity extends Object$1 {
6321
6322
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6322
6323
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6323
6324
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6324
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6325
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6325
6326
  let fetchResult;
6326
6327
  try {
6327
6328
  fetchResult = await documentLoader(url.href);
@@ -6533,7 +6534,7 @@ var Activity = class Activity extends Object$1 {
6533
6534
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6534
6535
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6535
6536
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6536
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6537
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6537
6538
  let fetchResult;
6538
6539
  try {
6539
6540
  fetchResult = await documentLoader(url.href);
@@ -6699,7 +6700,7 @@ var Activity = class Activity extends Object$1 {
6699
6700
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6700
6701
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6701
6702
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6702
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6703
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6703
6704
  let fetchResult;
6704
6705
  try {
6705
6706
  fetchResult = await documentLoader(url.href);
@@ -6871,7 +6872,7 @@ var Activity = class Activity extends Object$1 {
6871
6872
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6872
6873
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6873
6874
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6874
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6875
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6875
6876
  let fetchResult;
6876
6877
  try {
6877
6878
  fetchResult = await documentLoader(url.href);
@@ -7037,7 +7038,7 @@ var Activity = class Activity extends Object$1 {
7037
7038
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7038
7039
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7039
7040
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7040
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
7041
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
7041
7042
  let fetchResult;
7042
7043
  try {
7043
7044
  fetchResult = await documentLoader(url.href);
@@ -7205,7 +7206,7 @@ var Activity = class Activity extends Object$1 {
7205
7206
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7206
7207
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7207
7208
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7208
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
7209
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
7209
7210
  let fetchResult;
7210
7211
  try {
7211
7212
  fetchResult = await documentLoader(url.href);
@@ -7455,7 +7456,7 @@ var Activity = class Activity extends Object$1 {
7455
7456
  * @throws {TypeError} If the given `json` is invalid.
7456
7457
  */
7457
7458
  static async fromJsonLd(json, options = {}) {
7458
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
7459
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
7459
7460
  try {
7460
7461
  const object = await this.__fromJsonLd__Activity__(json, span, options);
7461
7462
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7773,7 +7774,7 @@ var EmojiReact = class EmojiReact extends Activity {
7773
7774
  * @throws {TypeError} If the given `json` is invalid.
7774
7775
  */
7775
7776
  static async fromJsonLd(json, options = {}) {
7776
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
7777
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
7777
7778
  try {
7778
7779
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
7779
7780
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8019,7 +8020,7 @@ var PropertyValue = class {
8019
8020
  * @throws {TypeError} If the given `json` is invalid.
8020
8021
  */
8021
8022
  static async fromJsonLd(json, options = {}) {
8022
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8023
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8023
8024
  try {
8024
8025
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
8025
8026
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8253,7 +8254,7 @@ var DidService = class {
8253
8254
  * @throws {TypeError} If the given `json` is invalid.
8254
8255
  */
8255
8256
  static async fromJsonLd(json, options = {}) {
8256
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8257
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8257
8258
  try {
8258
8259
  const object = await this.__fromJsonLd__DidService__(json, span, options);
8259
8260
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8407,7 +8408,7 @@ var Export = class Export extends DidService {
8407
8408
  * @throws {TypeError} If the given `json` is invalid.
8408
8409
  */
8409
8410
  static async fromJsonLd(json, options = {}) {
8410
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8411
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8411
8412
  try {
8412
8413
  const object = await this.__fromJsonLd__Export__(json, span, options);
8413
8414
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8531,7 +8532,7 @@ var DataIntegrityProof = class {
8531
8532
  else throw new TypeError("The proofPurpose must be of type \"assertionMethod\" | \"authentication\" | \"capabilityInvocation\" | \"capabilityDelegation\" | \"keyAgreement\".");
8532
8533
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
8533
8534
  else throw new TypeError("The proofValue must be of type Uint8Array.");
8534
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8535
+ if ("created" in values && values.created != null) if (isTemporalInstant(values.created)) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8535
8536
  else throw new TypeError("The created must be of type Temporal.Instant.");
8536
8537
  }
8537
8538
  /**
@@ -8565,7 +8566,7 @@ var DataIntegrityProof = class {
8565
8566
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
8566
8567
  else throw new TypeError("The proofValue must be of type Uint8Array.");
8567
8568
  clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
8568
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8569
+ if ("created" in values && values.created != null) if (isTemporalInstant(values.created)) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8569
8570
  else throw new TypeError("The created must be of type Temporal.Instant.");
8570
8571
  return clone;
8571
8572
  }
@@ -8580,7 +8581,7 @@ var DataIntegrityProof = class {
8580
8581
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8581
8582
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8582
8583
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8583
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
8584
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
8584
8585
  let fetchResult;
8585
8586
  try {
8586
8587
  fetchResult = await documentLoader(url.href);
@@ -8799,7 +8800,7 @@ var DataIntegrityProof = class {
8799
8800
  * @throws {TypeError} If the given `json` is invalid.
8800
8801
  */
8801
8802
  static async fromJsonLd(json, options = {}) {
8802
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8803
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8803
8804
  try {
8804
8805
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
8805
8806
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9013,7 +9014,7 @@ var CryptographicKey = class {
9013
9014
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9014
9015
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9015
9016
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9016
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
9017
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
9017
9018
  let fetchResult;
9018
9019
  try {
9019
9020
  fetchResult = await documentLoader(url.href);
@@ -9275,7 +9276,7 @@ var CryptographicKey = class {
9275
9276
  * @throws {TypeError} If the given `json` is invalid.
9276
9277
  */
9277
9278
  static async fromJsonLd(json, options = {}) {
9278
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9279
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9279
9280
  try {
9280
9281
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
9281
9282
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9470,7 +9471,7 @@ var Multikey = class {
9470
9471
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9471
9472
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9472
9473
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9473
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
9474
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
9474
9475
  let fetchResult;
9475
9476
  try {
9476
9477
  fetchResult = await documentLoader(url.href);
@@ -9738,7 +9739,7 @@ var Multikey = class {
9738
9739
  * @throws {TypeError} If the given `json` is invalid.
9739
9740
  */
9740
9741
  static async fromJsonLd(json, options = {}) {
9741
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9742
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9742
9743
  try {
9743
9744
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
9744
9745
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9932,7 +9933,7 @@ var Accept = class Accept extends Activity {
9932
9933
  * @throws {TypeError} If the given `json` is invalid.
9933
9934
  */
9934
9935
  static async fromJsonLd(json, options = {}) {
9935
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9936
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9936
9937
  try {
9937
9938
  const object = await this.__fromJsonLd__Accept__(json, span, options);
9938
9939
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10083,7 +10084,7 @@ var Add = class Add extends Activity {
10083
10084
  * @throws {TypeError} If the given `json` is invalid.
10084
10085
  */
10085
10086
  static async fromJsonLd(json, options = {}) {
10086
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
10087
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
10087
10088
  try {
10088
10089
  const object = await this.__fromJsonLd__Add__(json, span, options);
10089
10090
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10251,7 +10252,7 @@ var Announce = class Announce extends Activity {
10251
10252
  * @throws {TypeError} If the given `json` is invalid.
10252
10253
  */
10253
10254
  static async fromJsonLd(json, options = {}) {
10254
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
10255
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
10255
10256
  try {
10256
10257
  const object = await this.__fromJsonLd__Announce__(json, span, options);
10257
10258
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10646,7 +10647,7 @@ var Application = class Application extends Object$1 {
10646
10647
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10647
10648
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10648
10649
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10649
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
10650
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
10650
10651
  let fetchResult;
10651
10652
  try {
10652
10653
  fetchResult = await documentLoader(url.href);
@@ -10808,7 +10809,7 @@ var Application = class Application extends Object$1 {
10808
10809
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10809
10810
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10810
10811
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10811
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
10812
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
10812
10813
  let fetchResult;
10813
10814
  try {
10814
10815
  fetchResult = await documentLoader(url.href);
@@ -10988,7 +10989,7 @@ var Application = class Application extends Object$1 {
10988
10989
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10989
10990
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10990
10991
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10991
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
10992
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
10992
10993
  let fetchResult;
10993
10994
  try {
10994
10995
  fetchResult = await documentLoader(url.href);
@@ -11130,7 +11131,7 @@ var Application = class Application extends Object$1 {
11130
11131
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11131
11132
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11132
11133
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11133
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11134
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11134
11135
  let fetchResult;
11135
11136
  try {
11136
11137
  fetchResult = await documentLoader(url.href);
@@ -11269,7 +11270,7 @@ var Application = class Application extends Object$1 {
11269
11270
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11270
11271
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11271
11272
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11272
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11273
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11273
11274
  let fetchResult;
11274
11275
  try {
11275
11276
  fetchResult = await documentLoader(url.href);
@@ -11393,7 +11394,7 @@ var Application = class Application extends Object$1 {
11393
11394
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11394
11395
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11395
11396
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11396
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11397
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11397
11398
  let fetchResult;
11398
11399
  try {
11399
11400
  fetchResult = await documentLoader(url.href);
@@ -11520,7 +11521,7 @@ var Application = class Application extends Object$1 {
11520
11521
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11521
11522
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11522
11523
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11523
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11524
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11524
11525
  let fetchResult;
11525
11526
  try {
11526
11527
  fetchResult = await documentLoader(url.href);
@@ -11645,7 +11646,7 @@ var Application = class Application extends Object$1 {
11645
11646
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11646
11647
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11647
11648
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11648
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11649
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11649
11650
  let fetchResult;
11650
11651
  try {
11651
11652
  fetchResult = await documentLoader(url.href);
@@ -11768,7 +11769,7 @@ var Application = class Application extends Object$1 {
11768
11769
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11769
11770
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11770
11771
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11771
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11772
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11772
11773
  let fetchResult;
11773
11774
  try {
11774
11775
  fetchResult = await documentLoader(url.href);
@@ -11891,7 +11892,7 @@ var Application = class Application extends Object$1 {
11891
11892
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11892
11893
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11893
11894
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11894
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11895
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11895
11896
  let fetchResult;
11896
11897
  try {
11897
11898
  fetchResult = await documentLoader(url.href);
@@ -12053,7 +12054,7 @@ var Application = class Application extends Object$1 {
12053
12054
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12054
12055
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12055
12056
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12056
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
12057
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
12057
12058
  let fetchResult;
12058
12059
  try {
12059
12060
  fetchResult = await documentLoader(url.href);
@@ -12219,7 +12220,7 @@ var Application = class Application extends Object$1 {
12219
12220
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12220
12221
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12221
12222
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12222
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
12223
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
12223
12224
  let fetchResult;
12224
12225
  try {
12225
12226
  fetchResult = await documentLoader(url.href);
@@ -12433,7 +12434,7 @@ var Application = class Application extends Object$1 {
12433
12434
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12434
12435
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12435
12436
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12436
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
12437
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
12437
12438
  let fetchResult;
12438
12439
  try {
12439
12440
  fetchResult = await documentLoader(url.href);
@@ -13116,7 +13117,7 @@ var Application = class Application extends Object$1 {
13116
13117
  * @throws {TypeError} If the given `json` is invalid.
13117
13118
  */
13118
13119
  static async fromJsonLd(json, options = {}) {
13119
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13120
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13120
13121
  try {
13121
13122
  const object = await this.__fromJsonLd__Application__(json, span, options);
13122
13123
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13669,7 +13670,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
13669
13670
  * @throws {TypeError} If the given `json` is invalid.
13670
13671
  */
13671
13672
  static async fromJsonLd(json, options = {}) {
13672
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13673
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13673
13674
  try {
13674
13675
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
13675
13676
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13821,7 +13822,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
13821
13822
  * @throws {TypeError} If the given `json` is invalid.
13822
13823
  */
13823
13824
  static async fromJsonLd(json, options = {}) {
13824
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13825
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13825
13826
  try {
13826
13827
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
13827
13828
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14056,7 +14057,7 @@ var Article = class Article extends Object$1 {
14056
14057
  * @throws {TypeError} If the given `json` is invalid.
14057
14058
  */
14058
14059
  static async fromJsonLd(json, options = {}) {
14059
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14060
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14060
14061
  try {
14061
14062
  const object = await this.__fromJsonLd__Article__(json, span, options);
14062
14063
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14285,7 +14286,7 @@ var Document = class Document extends Object$1 {
14285
14286
  * @throws {TypeError} If the given `json` is invalid.
14286
14287
  */
14287
14288
  static async fromJsonLd(json, options = {}) {
14288
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14289
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14289
14290
  try {
14290
14291
  const object = await this.__fromJsonLd__Document__(json, span, options);
14291
14292
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14468,7 +14469,7 @@ var Audio = class Audio extends Document {
14468
14469
  * @throws {TypeError} If the given `json` is invalid.
14469
14470
  */
14470
14471
  static async fromJsonLd(json, options = {}) {
14471
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14472
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14472
14473
  try {
14473
14474
  const object = await this.__fromJsonLd__Audio__(json, span, options);
14474
14475
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14616,7 +14617,7 @@ var Ignore = class Ignore extends Activity {
14616
14617
  * @throws {TypeError} If the given `json` is invalid.
14617
14618
  */
14618
14619
  static async fromJsonLd(json, options = {}) {
14619
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14620
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14620
14621
  try {
14621
14622
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
14622
14623
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14767,7 +14768,7 @@ var Block = class Block extends Ignore {
14767
14768
  * @throws {TypeError} If the given `json` is invalid.
14768
14769
  */
14769
14770
  static async fromJsonLd(json, options = {}) {
14770
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14771
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14771
14772
  try {
14772
14773
  const object = await this.__fromJsonLd__Block__(json, span, options);
14773
14774
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15031,7 +15032,7 @@ var Collection = class Collection extends Object$1 {
15031
15032
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15032
15033
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15033
15034
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15034
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15035
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15035
15036
  let fetchResult;
15036
15037
  try {
15037
15038
  fetchResult = await documentLoader(url.href);
@@ -15152,7 +15153,7 @@ var Collection = class Collection extends Object$1 {
15152
15153
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15153
15154
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15154
15155
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15155
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15156
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15156
15157
  let fetchResult;
15157
15158
  try {
15158
15159
  fetchResult = await documentLoader(url.href);
@@ -15273,7 +15274,7 @@ var Collection = class Collection extends Object$1 {
15273
15274
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15274
15275
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15275
15276
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15276
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15277
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15277
15278
  let fetchResult;
15278
15279
  try {
15279
15280
  fetchResult = await documentLoader(url.href);
@@ -15394,7 +15395,7 @@ var Collection = class Collection extends Object$1 {
15394
15395
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15395
15396
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15396
15397
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15397
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15398
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15398
15399
  let fetchResult;
15399
15400
  try {
15400
15401
  fetchResult = await documentLoader(url.href);
@@ -15525,7 +15526,7 @@ var Collection = class Collection extends Object$1 {
15525
15526
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15526
15527
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15527
15528
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15528
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15529
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15529
15530
  let fetchResult;
15530
15531
  try {
15531
15532
  fetchResult = await documentLoader(url.href);
@@ -15645,7 +15646,7 @@ var Collection = class Collection extends Object$1 {
15645
15646
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15646
15647
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15647
15648
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15648
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15649
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15649
15650
  let fetchResult;
15650
15651
  try {
15651
15652
  fetchResult = await documentLoader(url.href);
@@ -15765,7 +15766,7 @@ var Collection = class Collection extends Object$1 {
15765
15766
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15766
15767
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15767
15768
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15768
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15769
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15769
15770
  let fetchResult;
15770
15771
  try {
15771
15772
  fetchResult = await documentLoader(url.href);
@@ -15885,7 +15886,7 @@ var Collection = class Collection extends Object$1 {
15885
15886
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15886
15887
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15887
15888
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15888
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15889
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15889
15890
  let fetchResult;
15890
15891
  try {
15891
15892
  fetchResult = await documentLoader(url.href);
@@ -16005,7 +16006,7 @@ var Collection = class Collection extends Object$1 {
16005
16006
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16006
16007
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16007
16008
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16008
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16009
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16009
16010
  let fetchResult;
16010
16011
  try {
16011
16012
  fetchResult = await documentLoader(url.href);
@@ -16125,7 +16126,7 @@ var Collection = class Collection extends Object$1 {
16125
16126
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16126
16127
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16127
16128
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16128
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16129
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16129
16130
  let fetchResult;
16130
16131
  try {
16131
16132
  fetchResult = await documentLoader(url.href);
@@ -16245,7 +16246,7 @@ var Collection = class Collection extends Object$1 {
16245
16246
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16246
16247
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16247
16248
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16248
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16249
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16249
16250
  let fetchResult;
16250
16251
  try {
16251
16252
  fetchResult = await documentLoader(url.href);
@@ -16365,7 +16366,7 @@ var Collection = class Collection extends Object$1 {
16365
16366
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16366
16367
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16367
16368
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16368
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16369
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16369
16370
  let fetchResult;
16370
16371
  try {
16371
16372
  fetchResult = await documentLoader(url.href);
@@ -16792,7 +16793,7 @@ var Collection = class Collection extends Object$1 {
16792
16793
  * @throws {TypeError} If the given `json` is invalid.
16793
16794
  */
16794
16795
  static async fromJsonLd(json, options = {}) {
16795
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
16796
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
16796
16797
  try {
16797
16798
  const object = await this.__fromJsonLd__Collection__(json, span, options);
16798
16799
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17239,7 +17240,7 @@ var CollectionPage = class CollectionPage extends Collection {
17239
17240
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17240
17241
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17241
17242
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17242
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
17243
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
17243
17244
  let fetchResult;
17244
17245
  try {
17245
17246
  fetchResult = await documentLoader(url.href);
@@ -17360,7 +17361,7 @@ var CollectionPage = class CollectionPage extends Collection {
17360
17361
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17361
17362
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17362
17363
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17363
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
17364
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
17364
17365
  let fetchResult;
17365
17366
  try {
17366
17367
  fetchResult = await documentLoader(url.href);
@@ -17480,7 +17481,7 @@ var CollectionPage = class CollectionPage extends Collection {
17480
17481
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17481
17482
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17482
17483
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17483
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
17484
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
17484
17485
  let fetchResult;
17485
17486
  try {
17486
17487
  fetchResult = await documentLoader(url.href);
@@ -17744,7 +17745,7 @@ var CollectionPage = class CollectionPage extends Collection {
17744
17745
  * @throws {TypeError} If the given `json` is invalid.
17745
17746
  */
17746
17747
  static async fromJsonLd(json, options = {}) {
17747
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
17748
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
17748
17749
  try {
17749
17750
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
17750
17751
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17970,7 +17971,7 @@ var Create = class Create extends Activity {
17970
17971
  * @throws {TypeError} If the given `json` is invalid.
17971
17972
  */
17972
17973
  static async fromJsonLd(json, options = {}) {
17973
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
17974
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
17974
17975
  try {
17975
17976
  const object = await this.__fromJsonLd__Create__(json, span, options);
17976
17977
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18134,7 +18135,7 @@ var Delete = class Delete extends Activity {
18134
18135
  * @throws {TypeError} If the given `json` is invalid.
18135
18136
  */
18136
18137
  static async fromJsonLd(json, options = {}) {
18137
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18138
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18138
18139
  try {
18139
18140
  const object = await this.__fromJsonLd__Delete__(json, span, options);
18140
18141
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18285,7 +18286,7 @@ var Dislike = class Dislike extends Activity {
18285
18286
  * @throws {TypeError} If the given `json` is invalid.
18286
18287
  */
18287
18288
  static async fromJsonLd(json, options = {}) {
18288
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18289
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18289
18290
  try {
18290
18291
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
18291
18292
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18632,7 +18633,7 @@ var Endpoints = class {
18632
18633
  * @throws {TypeError} If the given `json` is invalid.
18633
18634
  */
18634
18635
  static async fromJsonLd(json, options = {}) {
18635
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18636
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18636
18637
  try {
18637
18638
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
18638
18639
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18858,7 +18859,7 @@ var Event = class Event extends Object$1 {
18858
18859
  * @throws {TypeError} If the given `json` is invalid.
18859
18860
  */
18860
18861
  static async fromJsonLd(json, options = {}) {
18861
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18862
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18862
18863
  try {
18863
18864
  const object = await this.__fromJsonLd__Event__(json, span, options);
18864
18865
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19007,7 +19008,7 @@ var Flag = class Flag extends Activity {
19007
19008
  * @throws {TypeError} If the given `json` is invalid.
19008
19009
  */
19009
19010
  static async fromJsonLd(json, options = {}) {
19010
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
19011
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
19011
19012
  try {
19012
19013
  const object = await this.__fromJsonLd__Flag__(json, span, options);
19013
19014
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19160,7 +19161,7 @@ var Follow = class Follow extends Activity {
19160
19161
  * @throws {TypeError} If the given `json` is invalid.
19161
19162
  */
19162
19163
  static async fromJsonLd(json, options = {}) {
19163
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
19164
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
19164
19165
  try {
19165
19166
  const object = await this.__fromJsonLd__Follow__(json, span, options);
19166
19167
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19555,7 +19556,7 @@ var Group = class Group extends Object$1 {
19555
19556
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19556
19557
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19557
19558
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19558
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19559
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19559
19560
  let fetchResult;
19560
19561
  try {
19561
19562
  fetchResult = await documentLoader(url.href);
@@ -19717,7 +19718,7 @@ var Group = class Group extends Object$1 {
19717
19718
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19718
19719
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19719
19720
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19720
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19721
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19721
19722
  let fetchResult;
19722
19723
  try {
19723
19724
  fetchResult = await documentLoader(url.href);
@@ -19897,7 +19898,7 @@ var Group = class Group extends Object$1 {
19897
19898
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19898
19899
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19899
19900
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19900
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19901
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19901
19902
  let fetchResult;
19902
19903
  try {
19903
19904
  fetchResult = await documentLoader(url.href);
@@ -20039,7 +20040,7 @@ var Group = class Group extends Object$1 {
20039
20040
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20040
20041
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20041
20042
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20042
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20043
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20043
20044
  let fetchResult;
20044
20045
  try {
20045
20046
  fetchResult = await documentLoader(url.href);
@@ -20178,7 +20179,7 @@ var Group = class Group extends Object$1 {
20178
20179
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20179
20180
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20180
20181
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20181
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20182
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20182
20183
  let fetchResult;
20183
20184
  try {
20184
20185
  fetchResult = await documentLoader(url.href);
@@ -20302,7 +20303,7 @@ var Group = class Group extends Object$1 {
20302
20303
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20303
20304
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20304
20305
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20305
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20306
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20306
20307
  let fetchResult;
20307
20308
  try {
20308
20309
  fetchResult = await documentLoader(url.href);
@@ -20429,7 +20430,7 @@ var Group = class Group extends Object$1 {
20429
20430
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20430
20431
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20431
20432
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20432
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20433
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20433
20434
  let fetchResult;
20434
20435
  try {
20435
20436
  fetchResult = await documentLoader(url.href);
@@ -20554,7 +20555,7 @@ var Group = class Group extends Object$1 {
20554
20555
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20555
20556
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20556
20557
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20557
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20558
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20558
20559
  let fetchResult;
20559
20560
  try {
20560
20561
  fetchResult = await documentLoader(url.href);
@@ -20677,7 +20678,7 @@ var Group = class Group extends Object$1 {
20677
20678
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20678
20679
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20679
20680
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20680
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20681
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20681
20682
  let fetchResult;
20682
20683
  try {
20683
20684
  fetchResult = await documentLoader(url.href);
@@ -20800,7 +20801,7 @@ var Group = class Group extends Object$1 {
20800
20801
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20801
20802
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20802
20803
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20803
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20804
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20804
20805
  let fetchResult;
20805
20806
  try {
20806
20807
  fetchResult = await documentLoader(url.href);
@@ -20962,7 +20963,7 @@ var Group = class Group extends Object$1 {
20962
20963
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20963
20964
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20964
20965
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20965
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20966
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20966
20967
  let fetchResult;
20967
20968
  try {
20968
20969
  fetchResult = await documentLoader(url.href);
@@ -21128,7 +21129,7 @@ var Group = class Group extends Object$1 {
21128
21129
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21129
21130
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21130
21131
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21131
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
21132
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
21132
21133
  let fetchResult;
21133
21134
  try {
21134
21135
  fetchResult = await documentLoader(url.href);
@@ -21342,7 +21343,7 @@ var Group = class Group extends Object$1 {
21342
21343
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21343
21344
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21344
21345
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21345
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
21346
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
21346
21347
  let fetchResult;
21347
21348
  try {
21348
21349
  fetchResult = await documentLoader(url.href);
@@ -22025,7 +22026,7 @@ var Group = class Group extends Object$1 {
22025
22026
  * @throws {TypeError} If the given `json` is invalid.
22026
22027
  */
22027
22028
  static async fromJsonLd(json, options = {}) {
22028
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
22029
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
22029
22030
  try {
22030
22031
  const object = await this.__fromJsonLd__Group__(json, span, options);
22031
22032
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22717,7 +22718,7 @@ var Link = class Link {
22717
22718
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22718
22719
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22719
22720
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22720
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
22721
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
22721
22722
  let fetchResult;
22722
22723
  try {
22723
22724
  fetchResult = await documentLoader(url.href);
@@ -23009,7 +23010,7 @@ var Link = class Link {
23009
23010
  * @throws {TypeError} If the given `json` is invalid.
23010
23011
  */
23011
23012
  static async fromJsonLd(json, options = {}) {
23012
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23013
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23013
23014
  try {
23014
23015
  const object = await this.__fromJsonLd__Link__(json, span, options);
23015
23016
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23336,7 +23337,7 @@ var Hashtag = class Hashtag extends Link {
23336
23337
  * @throws {TypeError} If the given `json` is invalid.
23337
23338
  */
23338
23339
  static async fromJsonLd(json, options = {}) {
23339
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23340
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23340
23341
  try {
23341
23342
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
23342
23343
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23490,7 +23491,7 @@ var Image = class Image extends Document {
23490
23491
  * @throws {TypeError} If the given `json` is invalid.
23491
23492
  */
23492
23493
  static async fromJsonLd(json, options = {}) {
23493
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23494
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23494
23495
  try {
23495
23496
  const object = await this.__fromJsonLd__Image__(json, span, options);
23496
23497
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23639,7 +23640,7 @@ var Offer = class Offer extends Activity {
23639
23640
  * @throws {TypeError} If the given `json` is invalid.
23640
23641
  */
23641
23642
  static async fromJsonLd(json, options = {}) {
23642
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23643
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23643
23644
  try {
23644
23645
  const object = await this.__fromJsonLd__Offer__(json, span, options);
23645
23646
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23788,7 +23789,7 @@ var Invite = class Invite extends Offer {
23788
23789
  * @throws {TypeError} If the given `json` is invalid.
23789
23790
  */
23790
23791
  static async fromJsonLd(json, options = {}) {
23791
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23792
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23792
23793
  try {
23793
23794
  const object = await this.__fromJsonLd__Invite__(json, span, options);
23794
23795
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23936,7 +23937,7 @@ var Join = class Join extends Activity {
23936
23937
  * @throws {TypeError} If the given `json` is invalid.
23937
23938
  */
23938
23939
  static async fromJsonLd(json, options = {}) {
23939
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23940
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23940
23941
  try {
23941
23942
  const object = await this.__fromJsonLd__Join__(json, span, options);
23942
23943
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24084,7 +24085,7 @@ var Leave = class Leave extends Activity {
24084
24085
  * @throws {TypeError} If the given `json` is invalid.
24085
24086
  */
24086
24087
  static async fromJsonLd(json, options = {}) {
24087
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24088
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24088
24089
  try {
24089
24090
  const object = await this.__fromJsonLd__Leave__(json, span, options);
24090
24091
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24236,7 +24237,7 @@ var Like = class Like extends Activity {
24236
24237
  * @throws {TypeError} If the given `json` is invalid.
24237
24238
  */
24238
24239
  static async fromJsonLd(json, options = {}) {
24239
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24240
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24240
24241
  try {
24241
24242
  const object = await this.__fromJsonLd__Like__(json, span, options);
24242
24243
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24383,7 +24384,7 @@ var Listen = class Listen extends Activity {
24383
24384
  * @throws {TypeError} If the given `json` is invalid.
24384
24385
  */
24385
24386
  static async fromJsonLd(json, options = {}) {
24386
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24387
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24387
24388
  try {
24388
24389
  const object = await this.__fromJsonLd__Listen__(json, span, options);
24389
24390
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24534,7 +24535,7 @@ var Mention = class Mention extends Link {
24534
24535
  * @throws {TypeError} If the given `json` is invalid.
24535
24536
  */
24536
24537
  static async fromJsonLd(json, options = {}) {
24537
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24538
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24538
24539
  try {
24539
24540
  const object = await this.__fromJsonLd__Mention__(json, span, options);
24540
24541
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24683,7 +24684,7 @@ var Move = class Move extends Activity {
24683
24684
  * @throws {TypeError} If the given `json` is invalid.
24684
24685
  */
24685
24686
  static async fromJsonLd(json, options = {}) {
24686
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24687
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24687
24688
  try {
24688
24689
  const object = await this.__fromJsonLd__Move__(json, span, options);
24689
24690
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24919,7 +24920,7 @@ var Note = class Note extends Object$1 {
24919
24920
  * @throws {TypeError} If the given `json` is invalid.
24920
24921
  */
24921
24922
  static async fromJsonLd(json, options = {}) {
24922
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24923
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24923
24924
  try {
24924
24925
  const object = await this.__fromJsonLd__Note__(json, span, options);
24925
24926
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25048,7 +25049,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25048
25049
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25049
25050
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25050
25051
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25051
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
25052
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
25052
25053
  let fetchResult;
25053
25054
  try {
25054
25055
  fetchResult = await documentLoader(url.href);
@@ -25296,7 +25297,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25296
25297
  * @throws {TypeError} If the given `json` is invalid.
25297
25298
  */
25298
25299
  static async fromJsonLd(json, options = {}) {
25299
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
25300
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
25300
25301
  try {
25301
25302
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
25302
25303
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25502,7 +25503,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
25502
25503
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25503
25504
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25504
25505
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25505
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
25506
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
25506
25507
  let fetchResult;
25507
25508
  try {
25508
25509
  fetchResult = await documentLoader(url.href);
@@ -25773,7 +25774,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
25773
25774
  * @throws {TypeError} If the given `json` is invalid.
25774
25775
  */
25775
25776
  static async fromJsonLd(json, options = {}) {
25776
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
25777
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
25777
25778
  try {
25778
25779
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
25779
25780
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26265,7 +26266,7 @@ var Organization = class Organization extends Object$1 {
26265
26266
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26266
26267
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26267
26268
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26268
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26269
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26269
26270
  let fetchResult;
26270
26271
  try {
26271
26272
  fetchResult = await documentLoader(url.href);
@@ -26427,7 +26428,7 @@ var Organization = class Organization extends Object$1 {
26427
26428
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26428
26429
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26429
26430
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26430
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26431
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26431
26432
  let fetchResult;
26432
26433
  try {
26433
26434
  fetchResult = await documentLoader(url.href);
@@ -26607,7 +26608,7 @@ var Organization = class Organization extends Object$1 {
26607
26608
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26608
26609
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26609
26610
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26610
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26611
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26611
26612
  let fetchResult;
26612
26613
  try {
26613
26614
  fetchResult = await documentLoader(url.href);
@@ -26749,7 +26750,7 @@ var Organization = class Organization extends Object$1 {
26749
26750
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26750
26751
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26751
26752
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26752
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26753
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26753
26754
  let fetchResult;
26754
26755
  try {
26755
26756
  fetchResult = await documentLoader(url.href);
@@ -26888,7 +26889,7 @@ var Organization = class Organization extends Object$1 {
26888
26889
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26889
26890
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26890
26891
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26891
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26892
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26892
26893
  let fetchResult;
26893
26894
  try {
26894
26895
  fetchResult = await documentLoader(url.href);
@@ -27012,7 +27013,7 @@ var Organization = class Organization extends Object$1 {
27012
27013
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27013
27014
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27014
27015
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27015
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27016
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27016
27017
  let fetchResult;
27017
27018
  try {
27018
27019
  fetchResult = await documentLoader(url.href);
@@ -27139,7 +27140,7 @@ var Organization = class Organization extends Object$1 {
27139
27140
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27140
27141
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27141
27142
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27142
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27143
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27143
27144
  let fetchResult;
27144
27145
  try {
27145
27146
  fetchResult = await documentLoader(url.href);
@@ -27264,7 +27265,7 @@ var Organization = class Organization extends Object$1 {
27264
27265
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27265
27266
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27266
27267
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27267
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27268
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27268
27269
  let fetchResult;
27269
27270
  try {
27270
27271
  fetchResult = await documentLoader(url.href);
@@ -27387,7 +27388,7 @@ var Organization = class Organization extends Object$1 {
27387
27388
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27388
27389
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27389
27390
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27390
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27391
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27391
27392
  let fetchResult;
27392
27393
  try {
27393
27394
  fetchResult = await documentLoader(url.href);
@@ -27510,7 +27511,7 @@ var Organization = class Organization extends Object$1 {
27510
27511
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27511
27512
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27512
27513
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27513
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27514
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27514
27515
  let fetchResult;
27515
27516
  try {
27516
27517
  fetchResult = await documentLoader(url.href);
@@ -27672,7 +27673,7 @@ var Organization = class Organization extends Object$1 {
27672
27673
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27673
27674
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27674
27675
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27675
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27676
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27676
27677
  let fetchResult;
27677
27678
  try {
27678
27679
  fetchResult = await documentLoader(url.href);
@@ -27838,7 +27839,7 @@ var Organization = class Organization extends Object$1 {
27838
27839
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27839
27840
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27840
27841
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27841
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27842
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27842
27843
  let fetchResult;
27843
27844
  try {
27844
27845
  fetchResult = await documentLoader(url.href);
@@ -28052,7 +28053,7 @@ var Organization = class Organization extends Object$1 {
28052
28053
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28053
28054
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28054
28055
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28055
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
28056
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
28056
28057
  let fetchResult;
28057
28058
  try {
28058
28059
  fetchResult = await documentLoader(url.href);
@@ -28735,7 +28736,7 @@ var Organization = class Organization extends Object$1 {
28735
28736
  * @throws {TypeError} If the given `json` is invalid.
28736
28737
  */
28737
28738
  static async fromJsonLd(json, options = {}) {
28738
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
28739
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
28739
28740
  try {
28740
28741
  const object = await this.__fromJsonLd__Organization__(json, span, options);
28741
28742
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29293,7 +29294,7 @@ var Page = class Page extends Document {
29293
29294
  * @throws {TypeError} If the given `json` is invalid.
29294
29295
  */
29295
29296
  static async fromJsonLd(json, options = {}) {
29296
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
29297
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
29297
29298
  try {
29298
29299
  const object = await this.__fromJsonLd__Page__(json, span, options);
29299
29300
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29688,7 +29689,7 @@ var Person = class Person extends Object$1 {
29688
29689
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29689
29690
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29690
29691
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29691
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
29692
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
29692
29693
  let fetchResult;
29693
29694
  try {
29694
29695
  fetchResult = await documentLoader(url.href);
@@ -29850,7 +29851,7 @@ var Person = class Person extends Object$1 {
29850
29851
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29851
29852
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29852
29853
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29853
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
29854
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
29854
29855
  let fetchResult;
29855
29856
  try {
29856
29857
  fetchResult = await documentLoader(url.href);
@@ -30030,7 +30031,7 @@ var Person = class Person extends Object$1 {
30030
30031
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30031
30032
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30032
30033
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30033
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30034
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30034
30035
  let fetchResult;
30035
30036
  try {
30036
30037
  fetchResult = await documentLoader(url.href);
@@ -30172,7 +30173,7 @@ var Person = class Person extends Object$1 {
30172
30173
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30173
30174
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30174
30175
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30175
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30176
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30176
30177
  let fetchResult;
30177
30178
  try {
30178
30179
  fetchResult = await documentLoader(url.href);
@@ -30311,7 +30312,7 @@ var Person = class Person extends Object$1 {
30311
30312
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30312
30313
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30313
30314
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30314
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30315
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30315
30316
  let fetchResult;
30316
30317
  try {
30317
30318
  fetchResult = await documentLoader(url.href);
@@ -30435,7 +30436,7 @@ var Person = class Person extends Object$1 {
30435
30436
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30436
30437
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30437
30438
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30438
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30439
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30439
30440
  let fetchResult;
30440
30441
  try {
30441
30442
  fetchResult = await documentLoader(url.href);
@@ -30562,7 +30563,7 @@ var Person = class Person extends Object$1 {
30562
30563
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30563
30564
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30564
30565
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30565
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30566
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30566
30567
  let fetchResult;
30567
30568
  try {
30568
30569
  fetchResult = await documentLoader(url.href);
@@ -30687,7 +30688,7 @@ var Person = class Person extends Object$1 {
30687
30688
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30688
30689
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30689
30690
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30690
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30691
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30691
30692
  let fetchResult;
30692
30693
  try {
30693
30694
  fetchResult = await documentLoader(url.href);
@@ -30810,7 +30811,7 @@ var Person = class Person extends Object$1 {
30810
30811
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30811
30812
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30812
30813
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30813
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30814
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30814
30815
  let fetchResult;
30815
30816
  try {
30816
30817
  fetchResult = await documentLoader(url.href);
@@ -30933,7 +30934,7 @@ var Person = class Person extends Object$1 {
30933
30934
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30934
30935
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30935
30936
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30936
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30937
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30937
30938
  let fetchResult;
30938
30939
  try {
30939
30940
  fetchResult = await documentLoader(url.href);
@@ -31095,7 +31096,7 @@ var Person = class Person extends Object$1 {
31095
31096
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31096
31097
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31097
31098
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31098
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
31099
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
31099
31100
  let fetchResult;
31100
31101
  try {
31101
31102
  fetchResult = await documentLoader(url.href);
@@ -31261,7 +31262,7 @@ var Person = class Person extends Object$1 {
31261
31262
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31262
31263
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31263
31264
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31264
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
31265
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
31265
31266
  let fetchResult;
31266
31267
  try {
31267
31268
  fetchResult = await documentLoader(url.href);
@@ -31475,7 +31476,7 @@ var Person = class Person extends Object$1 {
31475
31476
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31476
31477
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31477
31478
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31478
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
31479
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
31479
31480
  let fetchResult;
31480
31481
  try {
31481
31482
  fetchResult = await documentLoader(url.href);
@@ -32158,7 +32159,7 @@ var Person = class Person extends Object$1 {
32158
32159
  * @throws {TypeError} If the given `json` is invalid.
32159
32160
  */
32160
32161
  static async fromJsonLd(json, options = {}) {
32161
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
32162
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
32162
32163
  try {
32163
32164
  const object = await this.__fromJsonLd__Person__(json, span, options);
32164
32165
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32893,7 +32894,7 @@ var Place = class Place extends Object$1 {
32893
32894
  * @throws {TypeError} If the given `json` is invalid.
32894
32895
  */
32895
32896
  static async fromJsonLd(json, options = {}) {
32896
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
32897
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
32897
32898
  try {
32898
32899
  const object = await this.__fromJsonLd__Place__(json, span, options);
32899
32900
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33084,7 +33085,7 @@ var Profile = class Profile extends Object$1 {
33084
33085
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33085
33086
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33086
33087
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33087
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
33088
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
33088
33089
  let fetchResult;
33089
33090
  try {
33090
33091
  fetchResult = await documentLoader(url.href);
@@ -33277,7 +33278,7 @@ var Profile = class Profile extends Object$1 {
33277
33278
  * @throws {TypeError} If the given `json` is invalid.
33278
33279
  */
33279
33280
  static async fromJsonLd(json, options = {}) {
33280
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
33281
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
33281
33282
  try {
33282
33283
  const object = await this.__fromJsonLd__Profile__(json, span, options);
33283
33284
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33397,7 +33398,7 @@ var Question = class Question extends IntransitiveActivity {
33397
33398
  this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
33398
33399
  for (let i = 0; i < values.inclusiveOptions.length; i++) this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
33399
33400
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
33400
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33401
+ if ("closed" in values && values.closed != null) if (isTemporalInstant(values.closed) || typeof values.closed === "boolean") this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33401
33402
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
33402
33403
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
33403
33404
  else throw new TypeError("The voters must be of type number.");
@@ -33434,7 +33435,7 @@ var Question = class Question extends IntransitiveActivity {
33434
33435
  for (let i = 0; i < values.inclusiveOptions.length; i++) clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
33435
33436
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
33436
33437
  clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
33437
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33438
+ if ("closed" in values && values.closed != null) if (isTemporalInstant(values.closed) || typeof values.closed === "boolean") clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33438
33439
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
33439
33440
  clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
33440
33441
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
@@ -33448,7 +33449,7 @@ var Question = class Question extends IntransitiveActivity {
33448
33449
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33449
33450
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33450
33451
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33451
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
33452
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
33452
33453
  let fetchResult;
33453
33454
  try {
33454
33455
  fetchResult = await documentLoader(url.href);
@@ -33570,7 +33571,7 @@ var Question = class Question extends IntransitiveActivity {
33570
33571
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33571
33572
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33572
33573
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33573
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
33574
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
33574
33575
  let fetchResult;
33575
33576
  try {
33576
33577
  fetchResult = await documentLoader(url.href);
@@ -33757,7 +33758,7 @@ var Question = class Question extends IntransitiveActivity {
33757
33758
  if (array.length > 0) values["https://www.w3.org/ns/activitystreams#anyOf"] = array;
33758
33759
  array = [];
33759
33760
  for (const v of this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed) {
33760
- const element = v instanceof Temporal.Instant ? {
33761
+ const element = isTemporalInstant(v) ? {
33761
33762
  "@type": "http://www.w3.org/2001/XMLSchema#dateTime",
33762
33763
  "@value": v.toString()
33763
33764
  } : { "@value": v };
@@ -33833,7 +33834,7 @@ var Question = class Question extends IntransitiveActivity {
33833
33834
  * @throws {TypeError} If the given `json` is invalid.
33834
33835
  */
33835
33836
  static async fromJsonLd(json, options = {}) {
33836
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
33837
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
33837
33838
  try {
33838
33839
  const object = await this.__fromJsonLd__Question__(json, span, options);
33839
33840
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34059,7 +34060,7 @@ var Read = class Read extends Activity {
34059
34060
  * @throws {TypeError} If the given `json` is invalid.
34060
34061
  */
34061
34062
  static async fromJsonLd(json, options = {}) {
34062
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
34063
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
34063
34064
  try {
34064
34065
  const object = await this.__fromJsonLd__Read__(json, span, options);
34065
34066
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34207,7 +34208,7 @@ var Reject = class Reject extends Activity {
34207
34208
  * @throws {TypeError} If the given `json` is invalid.
34208
34209
  */
34209
34210
  static async fromJsonLd(json, options = {}) {
34210
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
34211
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
34211
34212
  try {
34212
34213
  const object = await this.__fromJsonLd__Reject__(json, span, options);
34213
34214
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34380,7 +34381,7 @@ var Relationship = class Relationship extends Object$1 {
34380
34381
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34381
34382
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34382
34383
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34383
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
34384
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
34384
34385
  let fetchResult;
34385
34386
  try {
34386
34387
  fetchResult = await documentLoader(url.href);
@@ -34503,7 +34504,7 @@ var Relationship = class Relationship extends Object$1 {
34503
34504
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34504
34505
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34505
34506
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34506
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
34507
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
34507
34508
  let fetchResult;
34508
34509
  try {
34509
34510
  fetchResult = await documentLoader(url.href);
@@ -34665,7 +34666,7 @@ var Relationship = class Relationship extends Object$1 {
34665
34666
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34666
34667
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34667
34668
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34668
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
34669
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
34669
34670
  let fetchResult;
34670
34671
  try {
34671
34672
  fetchResult = await documentLoader(url.href);
@@ -34935,7 +34936,7 @@ var Relationship = class Relationship extends Object$1 {
34935
34936
  * @throws {TypeError} If the given `json` is invalid.
34936
34937
  */
34937
34938
  static async fromJsonLd(json, options = {}) {
34938
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
34939
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
34939
34940
  try {
34940
34941
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
34941
34942
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35143,7 +35144,7 @@ var Remove = class Remove extends Activity {
35143
35144
  * @throws {TypeError} If the given `json` is invalid.
35144
35145
  */
35145
35146
  static async fromJsonLd(json, options = {}) {
35146
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
35147
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
35147
35148
  try {
35148
35149
  const object = await this.__fromJsonLd__Remove__(json, span, options);
35149
35150
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35538,7 +35539,7 @@ var Service = class Service extends Object$1 {
35538
35539
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35539
35540
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35540
35541
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35541
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35542
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35542
35543
  let fetchResult;
35543
35544
  try {
35544
35545
  fetchResult = await documentLoader(url.href);
@@ -35700,7 +35701,7 @@ var Service = class Service extends Object$1 {
35700
35701
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35701
35702
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35702
35703
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35703
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35704
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35704
35705
  let fetchResult;
35705
35706
  try {
35706
35707
  fetchResult = await documentLoader(url.href);
@@ -35880,7 +35881,7 @@ var Service = class Service extends Object$1 {
35880
35881
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35881
35882
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35882
35883
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35883
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35884
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35884
35885
  let fetchResult;
35885
35886
  try {
35886
35887
  fetchResult = await documentLoader(url.href);
@@ -36022,7 +36023,7 @@ var Service = class Service extends Object$1 {
36022
36023
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36023
36024
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36024
36025
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36025
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36026
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36026
36027
  let fetchResult;
36027
36028
  try {
36028
36029
  fetchResult = await documentLoader(url.href);
@@ -36161,7 +36162,7 @@ var Service = class Service extends Object$1 {
36161
36162
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36162
36163
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36163
36164
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36164
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36165
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36165
36166
  let fetchResult;
36166
36167
  try {
36167
36168
  fetchResult = await documentLoader(url.href);
@@ -36285,7 +36286,7 @@ var Service = class Service extends Object$1 {
36285
36286
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36286
36287
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36287
36288
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36288
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36289
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36289
36290
  let fetchResult;
36290
36291
  try {
36291
36292
  fetchResult = await documentLoader(url.href);
@@ -36412,7 +36413,7 @@ var Service = class Service extends Object$1 {
36412
36413
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36413
36414
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36414
36415
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36415
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36416
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36416
36417
  let fetchResult;
36417
36418
  try {
36418
36419
  fetchResult = await documentLoader(url.href);
@@ -36537,7 +36538,7 @@ var Service = class Service extends Object$1 {
36537
36538
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36538
36539
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36539
36540
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36540
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36541
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36541
36542
  let fetchResult;
36542
36543
  try {
36543
36544
  fetchResult = await documentLoader(url.href);
@@ -36660,7 +36661,7 @@ var Service = class Service extends Object$1 {
36660
36661
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36661
36662
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36662
36663
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36663
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36664
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36664
36665
  let fetchResult;
36665
36666
  try {
36666
36667
  fetchResult = await documentLoader(url.href);
@@ -36783,7 +36784,7 @@ var Service = class Service extends Object$1 {
36783
36784
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36784
36785
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36785
36786
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36786
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36787
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36787
36788
  let fetchResult;
36788
36789
  try {
36789
36790
  fetchResult = await documentLoader(url.href);
@@ -36945,7 +36946,7 @@ var Service = class Service extends Object$1 {
36945
36946
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36946
36947
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36947
36948
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36948
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36949
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36949
36950
  let fetchResult;
36950
36951
  try {
36951
36952
  fetchResult = await documentLoader(url.href);
@@ -37111,7 +37112,7 @@ var Service = class Service extends Object$1 {
37111
37112
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37112
37113
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37113
37114
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37114
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
37115
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
37115
37116
  let fetchResult;
37116
37117
  try {
37117
37118
  fetchResult = await documentLoader(url.href);
@@ -37325,7 +37326,7 @@ var Service = class Service extends Object$1 {
37325
37326
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37326
37327
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37327
37328
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37328
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
37329
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
37329
37330
  let fetchResult;
37330
37331
  try {
37331
37332
  fetchResult = await documentLoader(url.href);
@@ -38008,7 +38009,7 @@ var Service = class Service extends Object$1 {
38008
38009
  * @throws {TypeError} If the given `json` is invalid.
38009
38010
  */
38010
38011
  static async fromJsonLd(json, options = {}) {
38011
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38012
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38012
38013
  try {
38013
38014
  const object = await this.__fromJsonLd__Service__(json, span, options);
38014
38015
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38658,7 +38659,7 @@ var Source = class {
38658
38659
  * @throws {TypeError} If the given `json` is invalid.
38659
38660
  */
38660
38661
  static async fromJsonLd(json, options = {}) {
38661
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38662
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38662
38663
  try {
38663
38664
  const object = await this.__fromJsonLd__Source__(json, span, options);
38664
38665
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38833,7 +38834,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
38833
38834
  * @throws {TypeError} If the given `json` is invalid.
38834
38835
  */
38835
38836
  static async fromJsonLd(json, options = {}) {
38836
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38837
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38837
38838
  try {
38838
38839
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
38839
38840
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38981,7 +38982,7 @@ var TentativeReject = class TentativeReject extends Reject {
38981
38982
  * @throws {TypeError} If the given `json` is invalid.
38982
38983
  */
38983
38984
  static async fromJsonLd(json, options = {}) {
38984
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38985
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38985
38986
  try {
38986
38987
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
38987
38988
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39062,7 +39063,7 @@ var Tombstone = class Tombstone extends Object$1 {
39062
39063
  */
39063
39064
  constructor(values, options = {}) {
39064
39065
  super(values, options);
39065
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
39066
+ if ("deleted" in values && values.deleted != null) if (isTemporalInstant(values.deleted)) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
39066
39067
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
39067
39068
  }
39068
39069
  /**
@@ -39081,7 +39082,7 @@ var Tombstone = class Tombstone extends Object$1 {
39081
39082
  }
39082
39083
  const clone = super.clone(values, options);
39083
39084
  clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
39084
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
39085
+ if ("deleted" in values && values.deleted != null) if (isTemporalInstant(values.deleted)) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
39085
39086
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
39086
39087
  return clone;
39087
39088
  }
@@ -39168,7 +39169,7 @@ var Tombstone = class Tombstone extends Object$1 {
39168
39169
  * @throws {TypeError} If the given `json` is invalid.
39169
39170
  */
39170
39171
  static async fromJsonLd(json, options = {}) {
39171
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39172
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39172
39173
  try {
39173
39174
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
39174
39175
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39331,7 +39332,7 @@ var Travel = class Travel extends IntransitiveActivity {
39331
39332
  * @throws {TypeError} If the given `json` is invalid.
39332
39333
  */
39333
39334
  static async fromJsonLd(json, options = {}) {
39334
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39335
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39335
39336
  try {
39336
39337
  const object = await this.__fromJsonLd__Travel__(json, span, options);
39337
39338
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39493,7 +39494,7 @@ var Undo = class Undo extends Activity {
39493
39494
  * @throws {TypeError} If the given `json` is invalid.
39494
39495
  */
39495
39496
  static async fromJsonLd(json, options = {}) {
39496
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39497
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39497
39498
  try {
39498
39499
  const object = await this.__fromJsonLd__Undo__(json, span, options);
39499
39500
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39693,7 +39694,7 @@ var Update = class Update extends Activity {
39693
39694
  * @throws {TypeError} If the given `json` is invalid.
39694
39695
  */
39695
39696
  static async fromJsonLd(json, options = {}) {
39696
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39697
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39697
39698
  try {
39698
39699
  const object = await this.__fromJsonLd__Update__(json, span, options);
39699
39700
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39847,7 +39848,7 @@ var Video = class Video extends Document {
39847
39848
  * @throws {TypeError} If the given `json` is invalid.
39848
39849
  */
39849
39850
  static async fromJsonLd(json, options = {}) {
39850
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39851
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39851
39852
  try {
39852
39853
  const object = await this.__fromJsonLd__Video__(json, span, options);
39853
39854
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39994,7 +39995,7 @@ var View = class View extends Activity {
39994
39995
  * @throws {TypeError} If the given `json` is invalid.
39995
39996
  */
39996
39997
  static async fromJsonLd(json, options = {}) {
39997
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39998
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39998
39999
  try {
39999
40000
  const object = await this.__fromJsonLd__View__(json, span, options);
40000
40001
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);