@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.
package/dist/mod.js CHANGED
@@ -5,10 +5,11 @@ import { domainToASCII, domainToUnicode } from "node:url";
5
5
  import jsonld from "@fedify/vocab-runtime/jsonld";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { LanguageString, LanguageString as LanguageString$1, decodeMultibase, encodeMultibase, exportMultibaseKey, exportSpki, getDocumentLoader, importMultibaseKey, importPem } from "@fedify/vocab-runtime";
8
+ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/temporal";
8
9
  import { delay } from "es-toolkit";
9
10
  //#region deno.json
10
11
  var name = "@fedify/vocab";
11
- var version = "2.0.16";
12
+ var version = "2.0.17-dev.1093+5ccc4865";
12
13
  //#endregion
13
14
  //#region src/type.ts
14
15
  function getTypeId(object) {
@@ -162,7 +163,7 @@ var Object$1 = class Object$1 {
162
163
  if (Array.isArray(values.names) && values.names.every((v) => typeof v === "string" || v instanceof LanguageString$1)) this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
163
164
  else throw new TypeError("The names must be an array of type string | LanguageString.");
164
165
  }
165
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
166
+ if ("endTime" in values && values.endTime != null) if (isTemporalInstant(values.endTime)) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
166
167
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
167
168
  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)) {
168
169
  this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
@@ -223,7 +224,7 @@ var Object$1 = class Object$1 {
223
224
  for (let i = 0; i < values.previews.length; i++) this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
224
225
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
225
226
  }
226
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
227
+ if ("published" in values && values.published != null) if (isTemporalInstant(values.published)) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
227
228
  else throw new TypeError("The published must be of type Temporal.Instant.");
228
229
  if ("replies" in values && values.replies != null) if (values.replies instanceof Collection || values.replies instanceof URL) {
229
230
  this.#_7UpwM3JWcXhADcscukEehBorf6k_replies = [values.replies];
@@ -241,7 +242,7 @@ var Object$1 = class Object$1 {
241
242
  this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = [values.emojiReactions];
242
243
  this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.add(0);
243
244
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
244
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
245
+ if ("startTime" in values && values.startTime != null) if (isTemporalInstant(values.startTime)) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
245
246
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
246
247
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof LanguageString$1) this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
247
248
  else throw new TypeError("The summary must be of type string | LanguageString.");
@@ -254,7 +255,7 @@ var Object$1 = class Object$1 {
254
255
  this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
255
256
  for (let i = 0; i < values.tags.length; i++) this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
256
257
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
257
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
258
+ if ("updated" in values && values.updated != null) if (isTemporalInstant(values.updated)) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
258
259
  else throw new TypeError("The updated must be of type Temporal.Instant.");
259
260
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
260
261
  else throw new TypeError("The url must be of type URL | Link.");
@@ -309,7 +310,7 @@ var Object$1 = class Object$1 {
309
310
  }
310
311
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
311
312
  else throw new TypeError("The mediaType must be of type string.");
312
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
313
+ if ("duration" in values && values.duration != null) if (isTemporalDuration(values.duration)) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
313
314
  else throw new TypeError("The duration must be of type Temporal.Duration.");
314
315
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
315
316
  else throw new TypeError("The sensitive must be of type boolean.");
@@ -401,7 +402,7 @@ var Object$1 = class Object$1 {
401
402
  else throw new TypeError("The names must be an array of type string | LanguageString.");
402
403
  }
403
404
  clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
404
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
405
+ if ("endTime" in values && values.endTime != null) if (isTemporalInstant(values.endTime)) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
405
406
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
406
407
  clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;
407
408
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
@@ -481,7 +482,7 @@ var Object$1 = class Object$1 {
481
482
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
482
483
  }
483
484
  clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
484
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
485
+ if ("published" in values && values.published != null) if (isTemporalInstant(values.published)) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
485
486
  else throw new TypeError("The published must be of type Temporal.Instant.");
486
487
  clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;
487
488
  clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
@@ -508,7 +509,7 @@ var Object$1 = class Object$1 {
508
509
  clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set([0]);
509
510
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
510
511
  clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
511
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
512
+ if ("startTime" in values && values.startTime != null) if (isTemporalInstant(values.startTime)) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
512
513
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
513
514
  clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
514
515
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof LanguageString$1) clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
@@ -526,7 +527,7 @@ var Object$1 = class Object$1 {
526
527
  for (let i = 0; i < values.tags.length; i++) clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
527
528
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
528
529
  clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
529
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
530
+ if ("updated" in values && values.updated != null) if (isTemporalInstant(values.updated)) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
530
531
  else throw new TypeError("The updated must be of type Temporal.Instant.");
531
532
  clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
532
533
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
@@ -596,7 +597,7 @@ var Object$1 = class Object$1 {
596
597
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
597
598
  else throw new TypeError("The mediaType must be of type string.");
598
599
  clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
599
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
600
+ if ("duration" in values && values.duration != null) if (isTemporalDuration(values.duration)) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
600
601
  else throw new TypeError("The duration must be of type Temporal.Duration.");
601
602
  clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
602
603
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
@@ -624,7 +625,7 @@ var Object$1 = class Object$1 {
624
625
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
625
626
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
626
627
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
627
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
628
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
628
629
  let fetchResult;
629
630
  try {
630
631
  fetchResult = await documentLoader(url.href);
@@ -770,7 +771,7 @@ var Object$1 = class Object$1 {
770
771
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
771
772
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
772
773
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
773
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
774
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
774
775
  let fetchResult;
775
776
  try {
776
777
  fetchResult = await documentLoader(url.href);
@@ -982,7 +983,7 @@ var Object$1 = class Object$1 {
982
983
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
983
984
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
984
985
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
985
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
986
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
986
987
  let fetchResult;
987
988
  try {
988
989
  fetchResult = await documentLoader(url.href);
@@ -1166,7 +1167,7 @@ var Object$1 = class Object$1 {
1166
1167
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1167
1168
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1168
1169
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1169
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1170
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1170
1171
  let fetchResult;
1171
1172
  try {
1172
1173
  fetchResult = await documentLoader(url.href);
@@ -1328,7 +1329,7 @@ var Object$1 = class Object$1 {
1328
1329
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1329
1330
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1330
1331
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1331
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1332
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1332
1333
  let fetchResult;
1333
1334
  try {
1334
1335
  fetchResult = await documentLoader(url.href);
@@ -1458,7 +1459,7 @@ var Object$1 = class Object$1 {
1458
1459
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1459
1460
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1460
1461
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1461
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1462
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1462
1463
  let fetchResult;
1463
1464
  try {
1464
1465
  fetchResult = await documentLoader(url.href);
@@ -1624,7 +1625,7 @@ var Object$1 = class Object$1 {
1624
1625
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1625
1626
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1626
1627
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1627
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1628
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1628
1629
  let fetchResult;
1629
1630
  try {
1630
1631
  fetchResult = await documentLoader(url.href);
@@ -1790,7 +1791,7 @@ var Object$1 = class Object$1 {
1790
1791
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1791
1792
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1792
1793
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1793
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1794
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1794
1795
  let fetchResult;
1795
1796
  try {
1796
1797
  fetchResult = await documentLoader(url.href);
@@ -1964,7 +1965,7 @@ var Object$1 = class Object$1 {
1964
1965
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1965
1966
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1966
1967
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1967
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1968
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1968
1969
  let fetchResult;
1969
1970
  try {
1970
1971
  fetchResult = await documentLoader(url.href);
@@ -2138,7 +2139,7 @@ var Object$1 = class Object$1 {
2138
2139
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2139
2140
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2140
2141
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2141
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2142
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2142
2143
  let fetchResult;
2143
2144
  try {
2144
2145
  fetchResult = await documentLoader(url.href);
@@ -2317,7 +2318,7 @@ var Object$1 = class Object$1 {
2317
2318
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2318
2319
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2319
2320
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2320
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2321
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2321
2322
  let fetchResult;
2322
2323
  try {
2323
2324
  fetchResult = await documentLoader(url.href);
@@ -2438,7 +2439,7 @@ var Object$1 = class Object$1 {
2438
2439
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2439
2440
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2440
2441
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2441
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2442
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2442
2443
  let fetchResult;
2443
2444
  try {
2444
2445
  fetchResult = await documentLoader(url.href);
@@ -2565,7 +2566,7 @@ var Object$1 = class Object$1 {
2565
2566
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2566
2567
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2567
2568
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2568
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2569
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2569
2570
  let fetchResult;
2570
2571
  try {
2571
2572
  fetchResult = await documentLoader(url.href);
@@ -2692,7 +2693,7 @@ var Object$1 = class Object$1 {
2692
2693
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2693
2694
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2694
2695
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2695
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2696
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2696
2697
  let fetchResult;
2697
2698
  try {
2698
2699
  fetchResult = await documentLoader(url.href);
@@ -2837,7 +2838,7 @@ var Object$1 = class Object$1 {
2837
2838
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2838
2839
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2839
2840
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2840
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2841
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2841
2842
  let fetchResult;
2842
2843
  try {
2843
2844
  fetchResult = await documentLoader(url.href);
@@ -2989,7 +2990,7 @@ var Object$1 = class Object$1 {
2989
2990
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2990
2991
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2991
2992
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2992
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2993
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2993
2994
  let fetchResult;
2994
2995
  try {
2995
2996
  fetchResult = await documentLoader(url.href);
@@ -3153,7 +3154,7 @@ var Object$1 = class Object$1 {
3153
3154
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3154
3155
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3155
3156
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3156
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3157
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3157
3158
  let fetchResult;
3158
3159
  try {
3159
3160
  fetchResult = await documentLoader(url.href);
@@ -3317,7 +3318,7 @@ var Object$1 = class Object$1 {
3317
3318
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3318
3319
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3319
3320
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3320
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3321
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3321
3322
  let fetchResult;
3322
3323
  try {
3323
3324
  fetchResult = await documentLoader(url.href);
@@ -3481,7 +3482,7 @@ var Object$1 = class Object$1 {
3481
3482
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3482
3483
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3483
3484
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3484
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3485
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3485
3486
  let fetchResult;
3486
3487
  try {
3487
3488
  fetchResult = await documentLoader(url.href);
@@ -3682,7 +3683,7 @@ var Object$1 = class Object$1 {
3682
3683
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3683
3684
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3684
3685
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3685
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3686
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3686
3687
  let fetchResult;
3687
3688
  try {
3688
3689
  fetchResult = await documentLoader(url.href);
@@ -4471,7 +4472,7 @@ var Object$1 = class Object$1 {
4471
4472
  * @throws {TypeError} If the given `json` is invalid.
4472
4473
  */
4473
4474
  static async fromJsonLd(json, options = {}) {
4474
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
4475
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
4475
4476
  try {
4476
4477
  const object = await this.__fromJsonLd__Object__(json, span, options);
4477
4478
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -5715,7 +5716,7 @@ var Emoji = class Emoji extends Object$1 {
5715
5716
  * @throws {TypeError} If the given `json` is invalid.
5716
5717
  */
5717
5718
  static async fromJsonLd(json, options = {}) {
5718
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
5719
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
5719
5720
  try {
5720
5721
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
5721
5722
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -5952,7 +5953,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
5952
5953
  * @throws {TypeError} If the given `json` is invalid.
5953
5954
  */
5954
5955
  static async fromJsonLd(json, options = {}) {
5955
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
5956
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
5956
5957
  try {
5957
5958
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
5958
5959
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6233,7 +6234,7 @@ var Activity = class Activity extends Object$1 {
6233
6234
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6234
6235
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6235
6236
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6236
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6237
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6237
6238
  let fetchResult;
6238
6239
  try {
6239
6240
  fetchResult = await documentLoader(url.href);
@@ -6445,7 +6446,7 @@ var Activity = class Activity extends Object$1 {
6445
6446
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6446
6447
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6447
6448
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6448
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6449
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6449
6450
  let fetchResult;
6450
6451
  try {
6451
6452
  fetchResult = await documentLoader(url.href);
@@ -6611,7 +6612,7 @@ var Activity = class Activity extends Object$1 {
6611
6612
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6612
6613
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6613
6614
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6614
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6615
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6615
6616
  let fetchResult;
6616
6617
  try {
6617
6618
  fetchResult = await documentLoader(url.href);
@@ -6783,7 +6784,7 @@ var Activity = class Activity extends Object$1 {
6783
6784
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6784
6785
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6785
6786
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6786
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6787
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6787
6788
  let fetchResult;
6788
6789
  try {
6789
6790
  fetchResult = await documentLoader(url.href);
@@ -6949,7 +6950,7 @@ var Activity = class Activity extends Object$1 {
6949
6950
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6950
6951
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6951
6952
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6952
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6953
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6953
6954
  let fetchResult;
6954
6955
  try {
6955
6956
  fetchResult = await documentLoader(url.href);
@@ -7117,7 +7118,7 @@ var Activity = class Activity extends Object$1 {
7117
7118
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7118
7119
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7119
7120
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7120
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
7121
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
7121
7122
  let fetchResult;
7122
7123
  try {
7123
7124
  fetchResult = await documentLoader(url.href);
@@ -7367,7 +7368,7 @@ var Activity = class Activity extends Object$1 {
7367
7368
  * @throws {TypeError} If the given `json` is invalid.
7368
7369
  */
7369
7370
  static async fromJsonLd(json, options = {}) {
7370
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
7371
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
7371
7372
  try {
7372
7373
  const object = await this.__fromJsonLd__Activity__(json, span, options);
7373
7374
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7685,7 +7686,7 @@ var EmojiReact = class EmojiReact extends Activity {
7685
7686
  * @throws {TypeError} If the given `json` is invalid.
7686
7687
  */
7687
7688
  static async fromJsonLd(json, options = {}) {
7688
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
7689
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
7689
7690
  try {
7690
7691
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
7691
7692
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7931,7 +7932,7 @@ var PropertyValue = class {
7931
7932
  * @throws {TypeError} If the given `json` is invalid.
7932
7933
  */
7933
7934
  static async fromJsonLd(json, options = {}) {
7934
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
7935
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
7935
7936
  try {
7936
7937
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
7937
7938
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8165,7 +8166,7 @@ var DidService = class {
8165
8166
  * @throws {TypeError} If the given `json` is invalid.
8166
8167
  */
8167
8168
  static async fromJsonLd(json, options = {}) {
8168
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8169
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8169
8170
  try {
8170
8171
  const object = await this.__fromJsonLd__DidService__(json, span, options);
8171
8172
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8319,7 +8320,7 @@ var Export = class Export extends DidService {
8319
8320
  * @throws {TypeError} If the given `json` is invalid.
8320
8321
  */
8321
8322
  static async fromJsonLd(json, options = {}) {
8322
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8323
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8323
8324
  try {
8324
8325
  const object = await this.__fromJsonLd__Export__(json, span, options);
8325
8326
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8443,7 +8444,7 @@ var DataIntegrityProof = class {
8443
8444
  else throw new TypeError("The proofPurpose must be of type \"assertionMethod\" | \"authentication\" | \"capabilityInvocation\" | \"capabilityDelegation\" | \"keyAgreement\".");
8444
8445
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
8445
8446
  else throw new TypeError("The proofValue must be of type Uint8Array.");
8446
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8447
+ if ("created" in values && values.created != null) if (isTemporalInstant(values.created)) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8447
8448
  else throw new TypeError("The created must be of type Temporal.Instant.");
8448
8449
  }
8449
8450
  /**
@@ -8477,7 +8478,7 @@ var DataIntegrityProof = class {
8477
8478
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
8478
8479
  else throw new TypeError("The proofValue must be of type Uint8Array.");
8479
8480
  clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
8480
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8481
+ if ("created" in values && values.created != null) if (isTemporalInstant(values.created)) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8481
8482
  else throw new TypeError("The created must be of type Temporal.Instant.");
8482
8483
  return clone;
8483
8484
  }
@@ -8492,7 +8493,7 @@ var DataIntegrityProof = class {
8492
8493
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8493
8494
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8494
8495
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8495
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
8496
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
8496
8497
  let fetchResult;
8497
8498
  try {
8498
8499
  fetchResult = await documentLoader(url.href);
@@ -8711,7 +8712,7 @@ var DataIntegrityProof = class {
8711
8712
  * @throws {TypeError} If the given `json` is invalid.
8712
8713
  */
8713
8714
  static async fromJsonLd(json, options = {}) {
8714
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8715
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8715
8716
  try {
8716
8717
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
8717
8718
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8925,7 +8926,7 @@ var CryptographicKey = class {
8925
8926
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8926
8927
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8927
8928
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8928
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
8929
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
8929
8930
  let fetchResult;
8930
8931
  try {
8931
8932
  fetchResult = await documentLoader(url.href);
@@ -9187,7 +9188,7 @@ var CryptographicKey = class {
9187
9188
  * @throws {TypeError} If the given `json` is invalid.
9188
9189
  */
9189
9190
  static async fromJsonLd(json, options = {}) {
9190
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9191
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9191
9192
  try {
9192
9193
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
9193
9194
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9382,7 +9383,7 @@ var Multikey = class {
9382
9383
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9383
9384
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9384
9385
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9385
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
9386
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
9386
9387
  let fetchResult;
9387
9388
  try {
9388
9389
  fetchResult = await documentLoader(url.href);
@@ -9650,7 +9651,7 @@ var Multikey = class {
9650
9651
  * @throws {TypeError} If the given `json` is invalid.
9651
9652
  */
9652
9653
  static async fromJsonLd(json, options = {}) {
9653
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9654
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9654
9655
  try {
9655
9656
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
9656
9657
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9844,7 +9845,7 @@ var Accept = class Accept extends Activity {
9844
9845
  * @throws {TypeError} If the given `json` is invalid.
9845
9846
  */
9846
9847
  static async fromJsonLd(json, options = {}) {
9847
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9848
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9848
9849
  try {
9849
9850
  const object = await this.__fromJsonLd__Accept__(json, span, options);
9850
9851
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9995,7 +9996,7 @@ var Add = class Add extends Activity {
9995
9996
  * @throws {TypeError} If the given `json` is invalid.
9996
9997
  */
9997
9998
  static async fromJsonLd(json, options = {}) {
9998
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9999
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9999
10000
  try {
10000
10001
  const object = await this.__fromJsonLd__Add__(json, span, options);
10001
10002
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10163,7 +10164,7 @@ var Announce = class Announce extends Activity {
10163
10164
  * @throws {TypeError} If the given `json` is invalid.
10164
10165
  */
10165
10166
  static async fromJsonLd(json, options = {}) {
10166
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
10167
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
10167
10168
  try {
10168
10169
  const object = await this.__fromJsonLd__Announce__(json, span, options);
10169
10170
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10558,7 +10559,7 @@ var Application = class Application extends Object$1 {
10558
10559
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10559
10560
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10560
10561
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10561
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
10562
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
10562
10563
  let fetchResult;
10563
10564
  try {
10564
10565
  fetchResult = await documentLoader(url.href);
@@ -10720,7 +10721,7 @@ var Application = class Application extends Object$1 {
10720
10721
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10721
10722
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10722
10723
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10723
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
10724
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
10724
10725
  let fetchResult;
10725
10726
  try {
10726
10727
  fetchResult = await documentLoader(url.href);
@@ -10900,7 +10901,7 @@ var Application = class Application extends Object$1 {
10900
10901
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10901
10902
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10902
10903
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10903
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
10904
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
10904
10905
  let fetchResult;
10905
10906
  try {
10906
10907
  fetchResult = await documentLoader(url.href);
@@ -11042,7 +11043,7 @@ var Application = class Application extends Object$1 {
11042
11043
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11043
11044
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11044
11045
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11045
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11046
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11046
11047
  let fetchResult;
11047
11048
  try {
11048
11049
  fetchResult = await documentLoader(url.href);
@@ -11181,7 +11182,7 @@ var Application = class Application extends Object$1 {
11181
11182
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11182
11183
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11183
11184
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11184
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11185
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11185
11186
  let fetchResult;
11186
11187
  try {
11187
11188
  fetchResult = await documentLoader(url.href);
@@ -11305,7 +11306,7 @@ var Application = class Application extends Object$1 {
11305
11306
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11306
11307
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11307
11308
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11308
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11309
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11309
11310
  let fetchResult;
11310
11311
  try {
11311
11312
  fetchResult = await documentLoader(url.href);
@@ -11432,7 +11433,7 @@ var Application = class Application extends Object$1 {
11432
11433
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11433
11434
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11434
11435
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11435
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11436
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11436
11437
  let fetchResult;
11437
11438
  try {
11438
11439
  fetchResult = await documentLoader(url.href);
@@ -11557,7 +11558,7 @@ var Application = class Application extends Object$1 {
11557
11558
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11558
11559
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11559
11560
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11560
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11561
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11561
11562
  let fetchResult;
11562
11563
  try {
11563
11564
  fetchResult = await documentLoader(url.href);
@@ -11680,7 +11681,7 @@ var Application = class Application extends Object$1 {
11680
11681
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11681
11682
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11682
11683
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11683
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11684
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11684
11685
  let fetchResult;
11685
11686
  try {
11686
11687
  fetchResult = await documentLoader(url.href);
@@ -11803,7 +11804,7 @@ var Application = class Application extends Object$1 {
11803
11804
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11804
11805
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11805
11806
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11806
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11807
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11807
11808
  let fetchResult;
11808
11809
  try {
11809
11810
  fetchResult = await documentLoader(url.href);
@@ -11965,7 +11966,7 @@ var Application = class Application extends Object$1 {
11965
11966
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11966
11967
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11967
11968
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11968
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11969
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11969
11970
  let fetchResult;
11970
11971
  try {
11971
11972
  fetchResult = await documentLoader(url.href);
@@ -12131,7 +12132,7 @@ var Application = class Application extends Object$1 {
12131
12132
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12132
12133
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12133
12134
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12134
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
12135
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
12135
12136
  let fetchResult;
12136
12137
  try {
12137
12138
  fetchResult = await documentLoader(url.href);
@@ -12345,7 +12346,7 @@ var Application = class Application extends Object$1 {
12345
12346
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12346
12347
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12347
12348
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12348
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
12349
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
12349
12350
  let fetchResult;
12350
12351
  try {
12351
12352
  fetchResult = await documentLoader(url.href);
@@ -13028,7 +13029,7 @@ var Application = class Application extends Object$1 {
13028
13029
  * @throws {TypeError} If the given `json` is invalid.
13029
13030
  */
13030
13031
  static async fromJsonLd(json, options = {}) {
13031
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13032
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13032
13033
  try {
13033
13034
  const object = await this.__fromJsonLd__Application__(json, span, options);
13034
13035
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13581,7 +13582,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
13581
13582
  * @throws {TypeError} If the given `json` is invalid.
13582
13583
  */
13583
13584
  static async fromJsonLd(json, options = {}) {
13584
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13585
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13585
13586
  try {
13586
13587
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
13587
13588
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13733,7 +13734,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
13733
13734
  * @throws {TypeError} If the given `json` is invalid.
13734
13735
  */
13735
13736
  static async fromJsonLd(json, options = {}) {
13736
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13737
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13737
13738
  try {
13738
13739
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
13739
13740
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13968,7 +13969,7 @@ var Article = class Article extends Object$1 {
13968
13969
  * @throws {TypeError} If the given `json` is invalid.
13969
13970
  */
13970
13971
  static async fromJsonLd(json, options = {}) {
13971
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13972
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13972
13973
  try {
13973
13974
  const object = await this.__fromJsonLd__Article__(json, span, options);
13974
13975
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14197,7 +14198,7 @@ var Document = class Document extends Object$1 {
14197
14198
  * @throws {TypeError} If the given `json` is invalid.
14198
14199
  */
14199
14200
  static async fromJsonLd(json, options = {}) {
14200
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14201
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14201
14202
  try {
14202
14203
  const object = await this.__fromJsonLd__Document__(json, span, options);
14203
14204
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14380,7 +14381,7 @@ var Audio = class Audio extends Document {
14380
14381
  * @throws {TypeError} If the given `json` is invalid.
14381
14382
  */
14382
14383
  static async fromJsonLd(json, options = {}) {
14383
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14384
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14384
14385
  try {
14385
14386
  const object = await this.__fromJsonLd__Audio__(json, span, options);
14386
14387
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14528,7 +14529,7 @@ var Ignore = class Ignore extends Activity {
14528
14529
  * @throws {TypeError} If the given `json` is invalid.
14529
14530
  */
14530
14531
  static async fromJsonLd(json, options = {}) {
14531
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14532
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14532
14533
  try {
14533
14534
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
14534
14535
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14679,7 +14680,7 @@ var Block = class Block extends Ignore {
14679
14680
  * @throws {TypeError} If the given `json` is invalid.
14680
14681
  */
14681
14682
  static async fromJsonLd(json, options = {}) {
14682
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14683
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14683
14684
  try {
14684
14685
  const object = await this.__fromJsonLd__Block__(json, span, options);
14685
14686
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14943,7 +14944,7 @@ var Collection = class Collection extends Object$1 {
14943
14944
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14944
14945
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14945
14946
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14946
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
14947
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
14947
14948
  let fetchResult;
14948
14949
  try {
14949
14950
  fetchResult = await documentLoader(url.href);
@@ -15064,7 +15065,7 @@ var Collection = class Collection extends Object$1 {
15064
15065
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15065
15066
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15066
15067
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15067
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15068
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15068
15069
  let fetchResult;
15069
15070
  try {
15070
15071
  fetchResult = await documentLoader(url.href);
@@ -15185,7 +15186,7 @@ var Collection = class Collection extends Object$1 {
15185
15186
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15186
15187
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15187
15188
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15188
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15189
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15189
15190
  let fetchResult;
15190
15191
  try {
15191
15192
  fetchResult = await documentLoader(url.href);
@@ -15306,7 +15307,7 @@ var Collection = class Collection extends Object$1 {
15306
15307
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15307
15308
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15308
15309
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15309
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15310
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15310
15311
  let fetchResult;
15311
15312
  try {
15312
15313
  fetchResult = await documentLoader(url.href);
@@ -15437,7 +15438,7 @@ var Collection = class Collection extends Object$1 {
15437
15438
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15438
15439
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15439
15440
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15440
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15441
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15441
15442
  let fetchResult;
15442
15443
  try {
15443
15444
  fetchResult = await documentLoader(url.href);
@@ -15557,7 +15558,7 @@ var Collection = class Collection extends Object$1 {
15557
15558
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15558
15559
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15559
15560
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15560
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15561
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15561
15562
  let fetchResult;
15562
15563
  try {
15563
15564
  fetchResult = await documentLoader(url.href);
@@ -15677,7 +15678,7 @@ var Collection = class Collection extends Object$1 {
15677
15678
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15678
15679
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15679
15680
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15680
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15681
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15681
15682
  let fetchResult;
15682
15683
  try {
15683
15684
  fetchResult = await documentLoader(url.href);
@@ -15797,7 +15798,7 @@ var Collection = class Collection extends Object$1 {
15797
15798
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15798
15799
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15799
15800
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15800
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15801
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15801
15802
  let fetchResult;
15802
15803
  try {
15803
15804
  fetchResult = await documentLoader(url.href);
@@ -15917,7 +15918,7 @@ var Collection = class Collection extends Object$1 {
15917
15918
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15918
15919
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15919
15920
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15920
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15921
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15921
15922
  let fetchResult;
15922
15923
  try {
15923
15924
  fetchResult = await documentLoader(url.href);
@@ -16037,7 +16038,7 @@ var Collection = class Collection extends Object$1 {
16037
16038
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16038
16039
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16039
16040
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16040
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16041
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16041
16042
  let fetchResult;
16042
16043
  try {
16043
16044
  fetchResult = await documentLoader(url.href);
@@ -16157,7 +16158,7 @@ var Collection = class Collection extends Object$1 {
16157
16158
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16158
16159
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16159
16160
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16160
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16161
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16161
16162
  let fetchResult;
16162
16163
  try {
16163
16164
  fetchResult = await documentLoader(url.href);
@@ -16277,7 +16278,7 @@ var Collection = class Collection extends Object$1 {
16277
16278
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16278
16279
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16279
16280
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16280
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16281
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16281
16282
  let fetchResult;
16282
16283
  try {
16283
16284
  fetchResult = await documentLoader(url.href);
@@ -16704,7 +16705,7 @@ var Collection = class Collection extends Object$1 {
16704
16705
  * @throws {TypeError} If the given `json` is invalid.
16705
16706
  */
16706
16707
  static async fromJsonLd(json, options = {}) {
16707
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
16708
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
16708
16709
  try {
16709
16710
  const object = await this.__fromJsonLd__Collection__(json, span, options);
16710
16711
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17151,7 +17152,7 @@ var CollectionPage = class CollectionPage extends Collection {
17151
17152
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17152
17153
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17153
17154
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17154
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
17155
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
17155
17156
  let fetchResult;
17156
17157
  try {
17157
17158
  fetchResult = await documentLoader(url.href);
@@ -17272,7 +17273,7 @@ var CollectionPage = class CollectionPage extends Collection {
17272
17273
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17273
17274
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17274
17275
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17275
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
17276
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
17276
17277
  let fetchResult;
17277
17278
  try {
17278
17279
  fetchResult = await documentLoader(url.href);
@@ -17392,7 +17393,7 @@ var CollectionPage = class CollectionPage extends Collection {
17392
17393
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17393
17394
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17394
17395
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17395
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
17396
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
17396
17397
  let fetchResult;
17397
17398
  try {
17398
17399
  fetchResult = await documentLoader(url.href);
@@ -17656,7 +17657,7 @@ var CollectionPage = class CollectionPage extends Collection {
17656
17657
  * @throws {TypeError} If the given `json` is invalid.
17657
17658
  */
17658
17659
  static async fromJsonLd(json, options = {}) {
17659
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
17660
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
17660
17661
  try {
17661
17662
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
17662
17663
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17882,7 +17883,7 @@ var Create = class Create extends Activity {
17882
17883
  * @throws {TypeError} If the given `json` is invalid.
17883
17884
  */
17884
17885
  static async fromJsonLd(json, options = {}) {
17885
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
17886
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
17886
17887
  try {
17887
17888
  const object = await this.__fromJsonLd__Create__(json, span, options);
17888
17889
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18046,7 +18047,7 @@ var Delete = class Delete extends Activity {
18046
18047
  * @throws {TypeError} If the given `json` is invalid.
18047
18048
  */
18048
18049
  static async fromJsonLd(json, options = {}) {
18049
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18050
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18050
18051
  try {
18051
18052
  const object = await this.__fromJsonLd__Delete__(json, span, options);
18052
18053
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18197,7 +18198,7 @@ var Dislike = class Dislike extends Activity {
18197
18198
  * @throws {TypeError} If the given `json` is invalid.
18198
18199
  */
18199
18200
  static async fromJsonLd(json, options = {}) {
18200
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18201
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18201
18202
  try {
18202
18203
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
18203
18204
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18544,7 +18545,7 @@ var Endpoints = class {
18544
18545
  * @throws {TypeError} If the given `json` is invalid.
18545
18546
  */
18546
18547
  static async fromJsonLd(json, options = {}) {
18547
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18548
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18548
18549
  try {
18549
18550
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
18550
18551
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18770,7 +18771,7 @@ var Event = class Event extends Object$1 {
18770
18771
  * @throws {TypeError} If the given `json` is invalid.
18771
18772
  */
18772
18773
  static async fromJsonLd(json, options = {}) {
18773
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18774
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18774
18775
  try {
18775
18776
  const object = await this.__fromJsonLd__Event__(json, span, options);
18776
18777
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18919,7 +18920,7 @@ var Flag = class Flag extends Activity {
18919
18920
  * @throws {TypeError} If the given `json` is invalid.
18920
18921
  */
18921
18922
  static async fromJsonLd(json, options = {}) {
18922
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18923
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18923
18924
  try {
18924
18925
  const object = await this.__fromJsonLd__Flag__(json, span, options);
18925
18926
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19072,7 +19073,7 @@ var Follow = class Follow extends Activity {
19072
19073
  * @throws {TypeError} If the given `json` is invalid.
19073
19074
  */
19074
19075
  static async fromJsonLd(json, options = {}) {
19075
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
19076
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
19076
19077
  try {
19077
19078
  const object = await this.__fromJsonLd__Follow__(json, span, options);
19078
19079
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19467,7 +19468,7 @@ var Group = class Group extends Object$1 {
19467
19468
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19468
19469
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19469
19470
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19470
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19471
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19471
19472
  let fetchResult;
19472
19473
  try {
19473
19474
  fetchResult = await documentLoader(url.href);
@@ -19629,7 +19630,7 @@ var Group = class Group extends Object$1 {
19629
19630
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19630
19631
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19631
19632
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19632
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19633
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19633
19634
  let fetchResult;
19634
19635
  try {
19635
19636
  fetchResult = await documentLoader(url.href);
@@ -19809,7 +19810,7 @@ var Group = class Group extends Object$1 {
19809
19810
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19810
19811
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19811
19812
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19812
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19813
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19813
19814
  let fetchResult;
19814
19815
  try {
19815
19816
  fetchResult = await documentLoader(url.href);
@@ -19951,7 +19952,7 @@ var Group = class Group extends Object$1 {
19951
19952
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19952
19953
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19953
19954
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19954
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19955
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19955
19956
  let fetchResult;
19956
19957
  try {
19957
19958
  fetchResult = await documentLoader(url.href);
@@ -20090,7 +20091,7 @@ var Group = class Group extends Object$1 {
20090
20091
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20091
20092
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20092
20093
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20093
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20094
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20094
20095
  let fetchResult;
20095
20096
  try {
20096
20097
  fetchResult = await documentLoader(url.href);
@@ -20214,7 +20215,7 @@ var Group = class Group extends Object$1 {
20214
20215
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20215
20216
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20216
20217
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20217
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20218
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20218
20219
  let fetchResult;
20219
20220
  try {
20220
20221
  fetchResult = await documentLoader(url.href);
@@ -20341,7 +20342,7 @@ var Group = class Group extends Object$1 {
20341
20342
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20342
20343
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20343
20344
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20344
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20345
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20345
20346
  let fetchResult;
20346
20347
  try {
20347
20348
  fetchResult = await documentLoader(url.href);
@@ -20466,7 +20467,7 @@ var Group = class Group extends Object$1 {
20466
20467
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20467
20468
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20468
20469
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20469
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20470
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20470
20471
  let fetchResult;
20471
20472
  try {
20472
20473
  fetchResult = await documentLoader(url.href);
@@ -20589,7 +20590,7 @@ var Group = class Group extends Object$1 {
20589
20590
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20590
20591
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20591
20592
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20592
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20593
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20593
20594
  let fetchResult;
20594
20595
  try {
20595
20596
  fetchResult = await documentLoader(url.href);
@@ -20712,7 +20713,7 @@ var Group = class Group extends Object$1 {
20712
20713
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20713
20714
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20714
20715
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20715
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20716
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20716
20717
  let fetchResult;
20717
20718
  try {
20718
20719
  fetchResult = await documentLoader(url.href);
@@ -20874,7 +20875,7 @@ var Group = class Group extends Object$1 {
20874
20875
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20875
20876
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20876
20877
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20877
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20878
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20878
20879
  let fetchResult;
20879
20880
  try {
20880
20881
  fetchResult = await documentLoader(url.href);
@@ -21040,7 +21041,7 @@ var Group = class Group extends Object$1 {
21040
21041
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21041
21042
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21042
21043
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21043
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
21044
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
21044
21045
  let fetchResult;
21045
21046
  try {
21046
21047
  fetchResult = await documentLoader(url.href);
@@ -21254,7 +21255,7 @@ var Group = class Group extends Object$1 {
21254
21255
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21255
21256
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21256
21257
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21257
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
21258
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
21258
21259
  let fetchResult;
21259
21260
  try {
21260
21261
  fetchResult = await documentLoader(url.href);
@@ -21937,7 +21938,7 @@ var Group = class Group extends Object$1 {
21937
21938
  * @throws {TypeError} If the given `json` is invalid.
21938
21939
  */
21939
21940
  static async fromJsonLd(json, options = {}) {
21940
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
21941
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
21941
21942
  try {
21942
21943
  const object = await this.__fromJsonLd__Group__(json, span, options);
21943
21944
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22629,7 +22630,7 @@ var Link = class Link {
22629
22630
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22630
22631
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22631
22632
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22632
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
22633
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
22633
22634
  let fetchResult;
22634
22635
  try {
22635
22636
  fetchResult = await documentLoader(url.href);
@@ -22921,7 +22922,7 @@ var Link = class Link {
22921
22922
  * @throws {TypeError} If the given `json` is invalid.
22922
22923
  */
22923
22924
  static async fromJsonLd(json, options = {}) {
22924
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
22925
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
22925
22926
  try {
22926
22927
  const object = await this.__fromJsonLd__Link__(json, span, options);
22927
22928
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23248,7 +23249,7 @@ var Hashtag = class Hashtag extends Link {
23248
23249
  * @throws {TypeError} If the given `json` is invalid.
23249
23250
  */
23250
23251
  static async fromJsonLd(json, options = {}) {
23251
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23252
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23252
23253
  try {
23253
23254
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
23254
23255
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23402,7 +23403,7 @@ var Image = class Image extends Document {
23402
23403
  * @throws {TypeError} If the given `json` is invalid.
23403
23404
  */
23404
23405
  static async fromJsonLd(json, options = {}) {
23405
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23406
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23406
23407
  try {
23407
23408
  const object = await this.__fromJsonLd__Image__(json, span, options);
23408
23409
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23551,7 +23552,7 @@ var Offer = class Offer extends Activity {
23551
23552
  * @throws {TypeError} If the given `json` is invalid.
23552
23553
  */
23553
23554
  static async fromJsonLd(json, options = {}) {
23554
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23555
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23555
23556
  try {
23556
23557
  const object = await this.__fromJsonLd__Offer__(json, span, options);
23557
23558
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23700,7 +23701,7 @@ var Invite = class Invite extends Offer {
23700
23701
  * @throws {TypeError} If the given `json` is invalid.
23701
23702
  */
23702
23703
  static async fromJsonLd(json, options = {}) {
23703
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23704
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23704
23705
  try {
23705
23706
  const object = await this.__fromJsonLd__Invite__(json, span, options);
23706
23707
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23848,7 +23849,7 @@ var Join = class Join extends Activity {
23848
23849
  * @throws {TypeError} If the given `json` is invalid.
23849
23850
  */
23850
23851
  static async fromJsonLd(json, options = {}) {
23851
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23852
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23852
23853
  try {
23853
23854
  const object = await this.__fromJsonLd__Join__(json, span, options);
23854
23855
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23996,7 +23997,7 @@ var Leave = class Leave extends Activity {
23996
23997
  * @throws {TypeError} If the given `json` is invalid.
23997
23998
  */
23998
23999
  static async fromJsonLd(json, options = {}) {
23999
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24000
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24000
24001
  try {
24001
24002
  const object = await this.__fromJsonLd__Leave__(json, span, options);
24002
24003
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24148,7 +24149,7 @@ var Like = class Like extends Activity {
24148
24149
  * @throws {TypeError} If the given `json` is invalid.
24149
24150
  */
24150
24151
  static async fromJsonLd(json, options = {}) {
24151
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24152
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24152
24153
  try {
24153
24154
  const object = await this.__fromJsonLd__Like__(json, span, options);
24154
24155
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24295,7 +24296,7 @@ var Listen = class Listen extends Activity {
24295
24296
  * @throws {TypeError} If the given `json` is invalid.
24296
24297
  */
24297
24298
  static async fromJsonLd(json, options = {}) {
24298
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24299
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24299
24300
  try {
24300
24301
  const object = await this.__fromJsonLd__Listen__(json, span, options);
24301
24302
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24446,7 +24447,7 @@ var Mention = class Mention extends Link {
24446
24447
  * @throws {TypeError} If the given `json` is invalid.
24447
24448
  */
24448
24449
  static async fromJsonLd(json, options = {}) {
24449
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24450
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24450
24451
  try {
24451
24452
  const object = await this.__fromJsonLd__Mention__(json, span, options);
24452
24453
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24595,7 +24596,7 @@ var Move = class Move extends Activity {
24595
24596
  * @throws {TypeError} If the given `json` is invalid.
24596
24597
  */
24597
24598
  static async fromJsonLd(json, options = {}) {
24598
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24599
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24599
24600
  try {
24600
24601
  const object = await this.__fromJsonLd__Move__(json, span, options);
24601
24602
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24831,7 +24832,7 @@ var Note = class Note extends Object$1 {
24831
24832
  * @throws {TypeError} If the given `json` is invalid.
24832
24833
  */
24833
24834
  static async fromJsonLd(json, options = {}) {
24834
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24835
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24835
24836
  try {
24836
24837
  const object = await this.__fromJsonLd__Note__(json, span, options);
24837
24838
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24960,7 +24961,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
24960
24961
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24961
24962
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24962
24963
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24963
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
24964
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
24964
24965
  let fetchResult;
24965
24966
  try {
24966
24967
  fetchResult = await documentLoader(url.href);
@@ -25208,7 +25209,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25208
25209
  * @throws {TypeError} If the given `json` is invalid.
25209
25210
  */
25210
25211
  static async fromJsonLd(json, options = {}) {
25211
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
25212
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
25212
25213
  try {
25213
25214
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
25214
25215
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25414,7 +25415,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
25414
25415
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25415
25416
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25416
25417
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25417
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
25418
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
25418
25419
  let fetchResult;
25419
25420
  try {
25420
25421
  fetchResult = await documentLoader(url.href);
@@ -25685,7 +25686,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
25685
25686
  * @throws {TypeError} If the given `json` is invalid.
25686
25687
  */
25687
25688
  static async fromJsonLd(json, options = {}) {
25688
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
25689
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
25689
25690
  try {
25690
25691
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
25691
25692
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26177,7 +26178,7 @@ var Organization = class Organization extends Object$1 {
26177
26178
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26178
26179
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26179
26180
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26180
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26181
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26181
26182
  let fetchResult;
26182
26183
  try {
26183
26184
  fetchResult = await documentLoader(url.href);
@@ -26339,7 +26340,7 @@ var Organization = class Organization extends Object$1 {
26339
26340
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26340
26341
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26341
26342
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26342
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26343
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26343
26344
  let fetchResult;
26344
26345
  try {
26345
26346
  fetchResult = await documentLoader(url.href);
@@ -26519,7 +26520,7 @@ var Organization = class Organization extends Object$1 {
26519
26520
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26520
26521
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26521
26522
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26522
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26523
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26523
26524
  let fetchResult;
26524
26525
  try {
26525
26526
  fetchResult = await documentLoader(url.href);
@@ -26661,7 +26662,7 @@ var Organization = class Organization extends Object$1 {
26661
26662
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26662
26663
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26663
26664
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26664
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26665
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26665
26666
  let fetchResult;
26666
26667
  try {
26667
26668
  fetchResult = await documentLoader(url.href);
@@ -26800,7 +26801,7 @@ var Organization = class Organization extends Object$1 {
26800
26801
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26801
26802
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26802
26803
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26803
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26804
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26804
26805
  let fetchResult;
26805
26806
  try {
26806
26807
  fetchResult = await documentLoader(url.href);
@@ -26924,7 +26925,7 @@ var Organization = class Organization extends Object$1 {
26924
26925
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26925
26926
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26926
26927
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26927
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26928
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26928
26929
  let fetchResult;
26929
26930
  try {
26930
26931
  fetchResult = await documentLoader(url.href);
@@ -27051,7 +27052,7 @@ var Organization = class Organization extends Object$1 {
27051
27052
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27052
27053
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27053
27054
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27054
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27055
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27055
27056
  let fetchResult;
27056
27057
  try {
27057
27058
  fetchResult = await documentLoader(url.href);
@@ -27176,7 +27177,7 @@ var Organization = class Organization extends Object$1 {
27176
27177
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27177
27178
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27178
27179
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27179
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27180
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27180
27181
  let fetchResult;
27181
27182
  try {
27182
27183
  fetchResult = await documentLoader(url.href);
@@ -27299,7 +27300,7 @@ var Organization = class Organization extends Object$1 {
27299
27300
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27300
27301
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27301
27302
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27302
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27303
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27303
27304
  let fetchResult;
27304
27305
  try {
27305
27306
  fetchResult = await documentLoader(url.href);
@@ -27422,7 +27423,7 @@ var Organization = class Organization extends Object$1 {
27422
27423
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27423
27424
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27424
27425
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27425
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27426
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27426
27427
  let fetchResult;
27427
27428
  try {
27428
27429
  fetchResult = await documentLoader(url.href);
@@ -27584,7 +27585,7 @@ var Organization = class Organization extends Object$1 {
27584
27585
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27585
27586
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27586
27587
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27587
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27588
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27588
27589
  let fetchResult;
27589
27590
  try {
27590
27591
  fetchResult = await documentLoader(url.href);
@@ -27750,7 +27751,7 @@ var Organization = class Organization extends Object$1 {
27750
27751
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27751
27752
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27752
27753
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27753
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27754
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27754
27755
  let fetchResult;
27755
27756
  try {
27756
27757
  fetchResult = await documentLoader(url.href);
@@ -27964,7 +27965,7 @@ var Organization = class Organization extends Object$1 {
27964
27965
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27965
27966
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27966
27967
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27967
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27968
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27968
27969
  let fetchResult;
27969
27970
  try {
27970
27971
  fetchResult = await documentLoader(url.href);
@@ -28647,7 +28648,7 @@ var Organization = class Organization extends Object$1 {
28647
28648
  * @throws {TypeError} If the given `json` is invalid.
28648
28649
  */
28649
28650
  static async fromJsonLd(json, options = {}) {
28650
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
28651
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
28651
28652
  try {
28652
28653
  const object = await this.__fromJsonLd__Organization__(json, span, options);
28653
28654
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29205,7 +29206,7 @@ var Page = class Page extends Document {
29205
29206
  * @throws {TypeError} If the given `json` is invalid.
29206
29207
  */
29207
29208
  static async fromJsonLd(json, options = {}) {
29208
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
29209
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
29209
29210
  try {
29210
29211
  const object = await this.__fromJsonLd__Page__(json, span, options);
29211
29212
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29600,7 +29601,7 @@ var Person = class Person extends Object$1 {
29600
29601
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29601
29602
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29602
29603
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29603
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
29604
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
29604
29605
  let fetchResult;
29605
29606
  try {
29606
29607
  fetchResult = await documentLoader(url.href);
@@ -29762,7 +29763,7 @@ var Person = class Person extends Object$1 {
29762
29763
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29763
29764
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29764
29765
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29765
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
29766
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
29766
29767
  let fetchResult;
29767
29768
  try {
29768
29769
  fetchResult = await documentLoader(url.href);
@@ -29942,7 +29943,7 @@ var Person = class Person extends Object$1 {
29942
29943
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29943
29944
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29944
29945
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29945
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
29946
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
29946
29947
  let fetchResult;
29947
29948
  try {
29948
29949
  fetchResult = await documentLoader(url.href);
@@ -30084,7 +30085,7 @@ var Person = class Person extends Object$1 {
30084
30085
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30085
30086
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30086
30087
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30087
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30088
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30088
30089
  let fetchResult;
30089
30090
  try {
30090
30091
  fetchResult = await documentLoader(url.href);
@@ -30223,7 +30224,7 @@ var Person = class Person extends Object$1 {
30223
30224
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30224
30225
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30225
30226
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30226
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30227
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30227
30228
  let fetchResult;
30228
30229
  try {
30229
30230
  fetchResult = await documentLoader(url.href);
@@ -30347,7 +30348,7 @@ var Person = class Person extends Object$1 {
30347
30348
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30348
30349
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30349
30350
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30350
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30351
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30351
30352
  let fetchResult;
30352
30353
  try {
30353
30354
  fetchResult = await documentLoader(url.href);
@@ -30474,7 +30475,7 @@ var Person = class Person extends Object$1 {
30474
30475
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30475
30476
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30476
30477
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30477
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30478
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30478
30479
  let fetchResult;
30479
30480
  try {
30480
30481
  fetchResult = await documentLoader(url.href);
@@ -30599,7 +30600,7 @@ var Person = class Person extends Object$1 {
30599
30600
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30600
30601
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30601
30602
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30602
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30603
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30603
30604
  let fetchResult;
30604
30605
  try {
30605
30606
  fetchResult = await documentLoader(url.href);
@@ -30722,7 +30723,7 @@ var Person = class Person extends Object$1 {
30722
30723
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30723
30724
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30724
30725
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30725
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30726
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30726
30727
  let fetchResult;
30727
30728
  try {
30728
30729
  fetchResult = await documentLoader(url.href);
@@ -30845,7 +30846,7 @@ var Person = class Person extends Object$1 {
30845
30846
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30846
30847
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30847
30848
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30848
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30849
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30849
30850
  let fetchResult;
30850
30851
  try {
30851
30852
  fetchResult = await documentLoader(url.href);
@@ -31007,7 +31008,7 @@ var Person = class Person extends Object$1 {
31007
31008
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31008
31009
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31009
31010
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31010
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
31011
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
31011
31012
  let fetchResult;
31012
31013
  try {
31013
31014
  fetchResult = await documentLoader(url.href);
@@ -31173,7 +31174,7 @@ var Person = class Person extends Object$1 {
31173
31174
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31174
31175
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31175
31176
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31176
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
31177
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
31177
31178
  let fetchResult;
31178
31179
  try {
31179
31180
  fetchResult = await documentLoader(url.href);
@@ -31387,7 +31388,7 @@ var Person = class Person extends Object$1 {
31387
31388
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31388
31389
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31389
31390
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31390
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
31391
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
31391
31392
  let fetchResult;
31392
31393
  try {
31393
31394
  fetchResult = await documentLoader(url.href);
@@ -32070,7 +32071,7 @@ var Person = class Person extends Object$1 {
32070
32071
  * @throws {TypeError} If the given `json` is invalid.
32071
32072
  */
32072
32073
  static async fromJsonLd(json, options = {}) {
32073
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
32074
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
32074
32075
  try {
32075
32076
  const object = await this.__fromJsonLd__Person__(json, span, options);
32076
32077
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32805,7 +32806,7 @@ var Place = class Place extends Object$1 {
32805
32806
  * @throws {TypeError} If the given `json` is invalid.
32806
32807
  */
32807
32808
  static async fromJsonLd(json, options = {}) {
32808
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
32809
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
32809
32810
  try {
32810
32811
  const object = await this.__fromJsonLd__Place__(json, span, options);
32811
32812
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32996,7 +32997,7 @@ var Profile = class Profile extends Object$1 {
32996
32997
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32997
32998
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32998
32999
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32999
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
33000
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
33000
33001
  let fetchResult;
33001
33002
  try {
33002
33003
  fetchResult = await documentLoader(url.href);
@@ -33189,7 +33190,7 @@ var Profile = class Profile extends Object$1 {
33189
33190
  * @throws {TypeError} If the given `json` is invalid.
33190
33191
  */
33191
33192
  static async fromJsonLd(json, options = {}) {
33192
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
33193
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
33193
33194
  try {
33194
33195
  const object = await this.__fromJsonLd__Profile__(json, span, options);
33195
33196
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33309,7 +33310,7 @@ var Question = class Question extends IntransitiveActivity {
33309
33310
  this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
33310
33311
  for (let i = 0; i < values.inclusiveOptions.length; i++) this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
33311
33312
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
33312
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33313
+ if ("closed" in values && values.closed != null) if (isTemporalInstant(values.closed) || typeof values.closed === "boolean") this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33313
33314
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
33314
33315
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
33315
33316
  else throw new TypeError("The voters must be of type number.");
@@ -33346,7 +33347,7 @@ var Question = class Question extends IntransitiveActivity {
33346
33347
  for (let i = 0; i < values.inclusiveOptions.length; i++) clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
33347
33348
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
33348
33349
  clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
33349
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33350
+ if ("closed" in values && values.closed != null) if (isTemporalInstant(values.closed) || typeof values.closed === "boolean") clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33350
33351
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
33351
33352
  clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
33352
33353
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
@@ -33360,7 +33361,7 @@ var Question = class Question extends IntransitiveActivity {
33360
33361
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33361
33362
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33362
33363
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33363
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
33364
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
33364
33365
  let fetchResult;
33365
33366
  try {
33366
33367
  fetchResult = await documentLoader(url.href);
@@ -33482,7 +33483,7 @@ var Question = class Question extends IntransitiveActivity {
33482
33483
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33483
33484
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33484
33485
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33485
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
33486
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
33486
33487
  let fetchResult;
33487
33488
  try {
33488
33489
  fetchResult = await documentLoader(url.href);
@@ -33669,7 +33670,7 @@ var Question = class Question extends IntransitiveActivity {
33669
33670
  if (array.length > 0) values["https://www.w3.org/ns/activitystreams#anyOf"] = array;
33670
33671
  array = [];
33671
33672
  for (const v of this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed) {
33672
- const element = v instanceof Temporal.Instant ? {
33673
+ const element = isTemporalInstant(v) ? {
33673
33674
  "@type": "http://www.w3.org/2001/XMLSchema#dateTime",
33674
33675
  "@value": v.toString()
33675
33676
  } : { "@value": v };
@@ -33745,7 +33746,7 @@ var Question = class Question extends IntransitiveActivity {
33745
33746
  * @throws {TypeError} If the given `json` is invalid.
33746
33747
  */
33747
33748
  static async fromJsonLd(json, options = {}) {
33748
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
33749
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
33749
33750
  try {
33750
33751
  const object = await this.__fromJsonLd__Question__(json, span, options);
33751
33752
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33971,7 +33972,7 @@ var Read = class Read extends Activity {
33971
33972
  * @throws {TypeError} If the given `json` is invalid.
33972
33973
  */
33973
33974
  static async fromJsonLd(json, options = {}) {
33974
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
33975
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
33975
33976
  try {
33976
33977
  const object = await this.__fromJsonLd__Read__(json, span, options);
33977
33978
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34119,7 +34120,7 @@ var Reject = class Reject extends Activity {
34119
34120
  * @throws {TypeError} If the given `json` is invalid.
34120
34121
  */
34121
34122
  static async fromJsonLd(json, options = {}) {
34122
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
34123
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
34123
34124
  try {
34124
34125
  const object = await this.__fromJsonLd__Reject__(json, span, options);
34125
34126
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34292,7 +34293,7 @@ var Relationship = class Relationship extends Object$1 {
34292
34293
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34293
34294
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34294
34295
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34295
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
34296
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
34296
34297
  let fetchResult;
34297
34298
  try {
34298
34299
  fetchResult = await documentLoader(url.href);
@@ -34415,7 +34416,7 @@ var Relationship = class Relationship extends Object$1 {
34415
34416
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34416
34417
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34417
34418
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34418
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
34419
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
34419
34420
  let fetchResult;
34420
34421
  try {
34421
34422
  fetchResult = await documentLoader(url.href);
@@ -34577,7 +34578,7 @@ var Relationship = class Relationship extends Object$1 {
34577
34578
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34578
34579
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34579
34580
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34580
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
34581
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
34581
34582
  let fetchResult;
34582
34583
  try {
34583
34584
  fetchResult = await documentLoader(url.href);
@@ -34847,7 +34848,7 @@ var Relationship = class Relationship extends Object$1 {
34847
34848
  * @throws {TypeError} If the given `json` is invalid.
34848
34849
  */
34849
34850
  static async fromJsonLd(json, options = {}) {
34850
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
34851
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
34851
34852
  try {
34852
34853
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
34853
34854
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35055,7 +35056,7 @@ var Remove = class Remove extends Activity {
35055
35056
  * @throws {TypeError} If the given `json` is invalid.
35056
35057
  */
35057
35058
  static async fromJsonLd(json, options = {}) {
35058
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
35059
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
35059
35060
  try {
35060
35061
  const object = await this.__fromJsonLd__Remove__(json, span, options);
35061
35062
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35450,7 +35451,7 @@ var Service = class Service extends Object$1 {
35450
35451
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35451
35452
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35452
35453
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35453
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35454
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35454
35455
  let fetchResult;
35455
35456
  try {
35456
35457
  fetchResult = await documentLoader(url.href);
@@ -35612,7 +35613,7 @@ var Service = class Service extends Object$1 {
35612
35613
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35613
35614
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35614
35615
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35615
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35616
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35616
35617
  let fetchResult;
35617
35618
  try {
35618
35619
  fetchResult = await documentLoader(url.href);
@@ -35792,7 +35793,7 @@ var Service = class Service extends Object$1 {
35792
35793
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35793
35794
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35794
35795
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35795
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35796
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35796
35797
  let fetchResult;
35797
35798
  try {
35798
35799
  fetchResult = await documentLoader(url.href);
@@ -35934,7 +35935,7 @@ var Service = class Service extends Object$1 {
35934
35935
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35935
35936
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35936
35937
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35937
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35938
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35938
35939
  let fetchResult;
35939
35940
  try {
35940
35941
  fetchResult = await documentLoader(url.href);
@@ -36073,7 +36074,7 @@ var Service = class Service extends Object$1 {
36073
36074
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36074
36075
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36075
36076
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36076
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36077
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36077
36078
  let fetchResult;
36078
36079
  try {
36079
36080
  fetchResult = await documentLoader(url.href);
@@ -36197,7 +36198,7 @@ var Service = class Service extends Object$1 {
36197
36198
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36198
36199
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36199
36200
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36200
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36201
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36201
36202
  let fetchResult;
36202
36203
  try {
36203
36204
  fetchResult = await documentLoader(url.href);
@@ -36324,7 +36325,7 @@ var Service = class Service extends Object$1 {
36324
36325
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36325
36326
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36326
36327
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36327
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36328
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36328
36329
  let fetchResult;
36329
36330
  try {
36330
36331
  fetchResult = await documentLoader(url.href);
@@ -36449,7 +36450,7 @@ var Service = class Service extends Object$1 {
36449
36450
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36450
36451
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36451
36452
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36452
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36453
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36453
36454
  let fetchResult;
36454
36455
  try {
36455
36456
  fetchResult = await documentLoader(url.href);
@@ -36572,7 +36573,7 @@ var Service = class Service extends Object$1 {
36572
36573
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36573
36574
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36574
36575
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36575
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36576
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36576
36577
  let fetchResult;
36577
36578
  try {
36578
36579
  fetchResult = await documentLoader(url.href);
@@ -36695,7 +36696,7 @@ var Service = class Service extends Object$1 {
36695
36696
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36696
36697
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36697
36698
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36698
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36699
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36699
36700
  let fetchResult;
36700
36701
  try {
36701
36702
  fetchResult = await documentLoader(url.href);
@@ -36857,7 +36858,7 @@ var Service = class Service extends Object$1 {
36857
36858
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36858
36859
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36859
36860
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36860
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36861
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36861
36862
  let fetchResult;
36862
36863
  try {
36863
36864
  fetchResult = await documentLoader(url.href);
@@ -37023,7 +37024,7 @@ var Service = class Service extends Object$1 {
37023
37024
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37024
37025
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37025
37026
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37026
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
37027
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
37027
37028
  let fetchResult;
37028
37029
  try {
37029
37030
  fetchResult = await documentLoader(url.href);
@@ -37237,7 +37238,7 @@ var Service = class Service extends Object$1 {
37237
37238
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37238
37239
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37239
37240
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37240
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
37241
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
37241
37242
  let fetchResult;
37242
37243
  try {
37243
37244
  fetchResult = await documentLoader(url.href);
@@ -37920,7 +37921,7 @@ var Service = class Service extends Object$1 {
37920
37921
  * @throws {TypeError} If the given `json` is invalid.
37921
37922
  */
37922
37923
  static async fromJsonLd(json, options = {}) {
37923
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
37924
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
37924
37925
  try {
37925
37926
  const object = await this.__fromJsonLd__Service__(json, span, options);
37926
37927
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38570,7 +38571,7 @@ var Source = class {
38570
38571
  * @throws {TypeError} If the given `json` is invalid.
38571
38572
  */
38572
38573
  static async fromJsonLd(json, options = {}) {
38573
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38574
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38574
38575
  try {
38575
38576
  const object = await this.__fromJsonLd__Source__(json, span, options);
38576
38577
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38745,7 +38746,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
38745
38746
  * @throws {TypeError} If the given `json` is invalid.
38746
38747
  */
38747
38748
  static async fromJsonLd(json, options = {}) {
38748
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38749
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38749
38750
  try {
38750
38751
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
38751
38752
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38893,7 +38894,7 @@ var TentativeReject = class TentativeReject extends Reject {
38893
38894
  * @throws {TypeError} If the given `json` is invalid.
38894
38895
  */
38895
38896
  static async fromJsonLd(json, options = {}) {
38896
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38897
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38897
38898
  try {
38898
38899
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
38899
38900
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38974,7 +38975,7 @@ var Tombstone = class Tombstone extends Object$1 {
38974
38975
  */
38975
38976
  constructor(values, options = {}) {
38976
38977
  super(values, options);
38977
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
38978
+ if ("deleted" in values && values.deleted != null) if (isTemporalInstant(values.deleted)) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
38978
38979
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
38979
38980
  }
38980
38981
  /**
@@ -38993,7 +38994,7 @@ var Tombstone = class Tombstone extends Object$1 {
38993
38994
  }
38994
38995
  const clone = super.clone(values, options);
38995
38996
  clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
38996
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
38997
+ if ("deleted" in values && values.deleted != null) if (isTemporalInstant(values.deleted)) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
38997
38998
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
38998
38999
  return clone;
38999
39000
  }
@@ -39080,7 +39081,7 @@ var Tombstone = class Tombstone extends Object$1 {
39080
39081
  * @throws {TypeError} If the given `json` is invalid.
39081
39082
  */
39082
39083
  static async fromJsonLd(json, options = {}) {
39083
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39084
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39084
39085
  try {
39085
39086
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
39086
39087
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39243,7 +39244,7 @@ var Travel = class Travel extends IntransitiveActivity {
39243
39244
  * @throws {TypeError} If the given `json` is invalid.
39244
39245
  */
39245
39246
  static async fromJsonLd(json, options = {}) {
39246
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39247
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39247
39248
  try {
39248
39249
  const object = await this.__fromJsonLd__Travel__(json, span, options);
39249
39250
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39405,7 +39406,7 @@ var Undo = class Undo extends Activity {
39405
39406
  * @throws {TypeError} If the given `json` is invalid.
39406
39407
  */
39407
39408
  static async fromJsonLd(json, options = {}) {
39408
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39409
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39409
39410
  try {
39410
39411
  const object = await this.__fromJsonLd__Undo__(json, span, options);
39411
39412
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39605,7 +39606,7 @@ var Update = class Update extends Activity {
39605
39606
  * @throws {TypeError} If the given `json` is invalid.
39606
39607
  */
39607
39608
  static async fromJsonLd(json, options = {}) {
39608
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39609
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39609
39610
  try {
39610
39611
  const object = await this.__fromJsonLd__Update__(json, span, options);
39611
39612
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39759,7 +39760,7 @@ var Video = class Video extends Document {
39759
39760
  * @throws {TypeError} If the given `json` is invalid.
39760
39761
  */
39761
39762
  static async fromJsonLd(json, options = {}) {
39762
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39763
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39763
39764
  try {
39764
39765
  const object = await this.__fromJsonLd__Video__(json, span, options);
39765
39766
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39906,7 +39907,7 @@ var View = class View extends Activity {
39906
39907
  * @throws {TypeError} If the given `json` is invalid.
39907
39908
  */
39908
39909
  static async fromJsonLd(json, options = {}) {
39909
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39910
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39910
39911
  try {
39911
39912
  const object = await this.__fromJsonLd__View__(json, span, options);
39912
39913
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);