@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.cjs CHANGED
@@ -29,10 +29,11 @@ let _fedify_vocab_runtime_jsonld = require("@fedify/vocab-runtime/jsonld");
29
29
  _fedify_vocab_runtime_jsonld = __toESM(_fedify_vocab_runtime_jsonld);
30
30
  let _logtape_logtape = require("@logtape/logtape");
31
31
  let _fedify_vocab_runtime = require("@fedify/vocab-runtime");
32
+ let _fedify_vocab_runtime_temporal = require("@fedify/vocab-runtime/temporal");
32
33
  let es_toolkit = require("es-toolkit");
33
34
  //#region deno.json
34
35
  var name = "@fedify/vocab";
35
- var version = "2.0.16";
36
+ var version = "2.0.17-dev.1093+5ccc4865";
36
37
  //#endregion
37
38
  //#region src/type.ts
38
39
  function getTypeId(object) {
@@ -186,7 +187,7 @@ var Object$1 = class Object$1 {
186
187
  if (Array.isArray(values.names) && values.names.every((v) => typeof v === "string" || v instanceof _fedify_vocab_runtime.LanguageString)) this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
187
188
  else throw new TypeError("The names must be an array of type string | LanguageString.");
188
189
  }
189
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
190
+ if ("endTime" in values && values.endTime != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.endTime)) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
190
191
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
191
192
  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)) {
192
193
  this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
@@ -247,7 +248,7 @@ var Object$1 = class Object$1 {
247
248
  for (let i = 0; i < values.previews.length; i++) this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
248
249
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
249
250
  }
250
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
251
+ if ("published" in values && values.published != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.published)) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
251
252
  else throw new TypeError("The published must be of type Temporal.Instant.");
252
253
  if ("replies" in values && values.replies != null) if (values.replies instanceof Collection || values.replies instanceof URL) {
253
254
  this.#_7UpwM3JWcXhADcscukEehBorf6k_replies = [values.replies];
@@ -265,7 +266,7 @@ var Object$1 = class Object$1 {
265
266
  this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = [values.emojiReactions];
266
267
  this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.add(0);
267
268
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
268
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
269
+ if ("startTime" in values && values.startTime != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.startTime)) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
269
270
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
270
271
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof _fedify_vocab_runtime.LanguageString) this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
271
272
  else throw new TypeError("The summary must be of type string | LanguageString.");
@@ -278,7 +279,7 @@ var Object$1 = class Object$1 {
278
279
  this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
279
280
  for (let i = 0; i < values.tags.length; i++) this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
280
281
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
281
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
282
+ if ("updated" in values && values.updated != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.updated)) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
282
283
  else throw new TypeError("The updated must be of type Temporal.Instant.");
283
284
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
284
285
  else throw new TypeError("The url must be of type URL | Link.");
@@ -333,7 +334,7 @@ var Object$1 = class Object$1 {
333
334
  }
334
335
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
335
336
  else throw new TypeError("The mediaType must be of type string.");
336
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
337
+ if ("duration" in values && values.duration != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalDuration)(values.duration)) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
337
338
  else throw new TypeError("The duration must be of type Temporal.Duration.");
338
339
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
339
340
  else throw new TypeError("The sensitive must be of type boolean.");
@@ -425,7 +426,7 @@ var Object$1 = class Object$1 {
425
426
  else throw new TypeError("The names must be an array of type string | LanguageString.");
426
427
  }
427
428
  clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
428
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
429
+ if ("endTime" in values && values.endTime != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.endTime)) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
429
430
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
430
431
  clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;
431
432
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
@@ -505,7 +506,7 @@ var Object$1 = class Object$1 {
505
506
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
506
507
  }
507
508
  clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
508
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
509
+ if ("published" in values && values.published != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.published)) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
509
510
  else throw new TypeError("The published must be of type Temporal.Instant.");
510
511
  clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;
511
512
  clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
@@ -532,7 +533,7 @@ var Object$1 = class Object$1 {
532
533
  clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set([0]);
533
534
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
534
535
  clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
535
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
536
+ if ("startTime" in values && values.startTime != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.startTime)) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
536
537
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
537
538
  clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
538
539
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof _fedify_vocab_runtime.LanguageString) clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
@@ -550,7 +551,7 @@ var Object$1 = class Object$1 {
550
551
  for (let i = 0; i < values.tags.length; i++) clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
551
552
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
552
553
  clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
553
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
554
+ if ("updated" in values && values.updated != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.updated)) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
554
555
  else throw new TypeError("The updated must be of type Temporal.Instant.");
555
556
  clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
556
557
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
@@ -620,7 +621,7 @@ var Object$1 = class Object$1 {
620
621
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
621
622
  else throw new TypeError("The mediaType must be of type string.");
622
623
  clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
623
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
624
+ if ("duration" in values && values.duration != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalDuration)(values.duration)) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
624
625
  else throw new TypeError("The duration must be of type Temporal.Duration.");
625
626
  clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
626
627
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
@@ -648,7 +649,7 @@ var Object$1 = class Object$1 {
648
649
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
649
650
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
650
651
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
651
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
652
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
652
653
  let fetchResult;
653
654
  try {
654
655
  fetchResult = await documentLoader(url.href);
@@ -794,7 +795,7 @@ var Object$1 = class Object$1 {
794
795
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
795
796
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
796
797
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
797
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
798
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
798
799
  let fetchResult;
799
800
  try {
800
801
  fetchResult = await documentLoader(url.href);
@@ -1006,7 +1007,7 @@ var Object$1 = class Object$1 {
1006
1007
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1007
1008
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1008
1009
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1009
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1010
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1010
1011
  let fetchResult;
1011
1012
  try {
1012
1013
  fetchResult = await documentLoader(url.href);
@@ -1190,7 +1191,7 @@ var Object$1 = class Object$1 {
1190
1191
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1191
1192
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1192
1193
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1193
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1194
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1194
1195
  let fetchResult;
1195
1196
  try {
1196
1197
  fetchResult = await documentLoader(url.href);
@@ -1352,7 +1353,7 @@ var Object$1 = class Object$1 {
1352
1353
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1353
1354
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1354
1355
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1355
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1356
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1356
1357
  let fetchResult;
1357
1358
  try {
1358
1359
  fetchResult = await documentLoader(url.href);
@@ -1482,7 +1483,7 @@ var Object$1 = class Object$1 {
1482
1483
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1483
1484
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1484
1485
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1485
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1486
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1486
1487
  let fetchResult;
1487
1488
  try {
1488
1489
  fetchResult = await documentLoader(url.href);
@@ -1648,7 +1649,7 @@ var Object$1 = class Object$1 {
1648
1649
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1649
1650
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1650
1651
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1651
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1652
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1652
1653
  let fetchResult;
1653
1654
  try {
1654
1655
  fetchResult = await documentLoader(url.href);
@@ -1814,7 +1815,7 @@ var Object$1 = class Object$1 {
1814
1815
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1815
1816
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1816
1817
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1817
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1818
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1818
1819
  let fetchResult;
1819
1820
  try {
1820
1821
  fetchResult = await documentLoader(url.href);
@@ -1988,7 +1989,7 @@ var Object$1 = class Object$1 {
1988
1989
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1989
1990
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1990
1991
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1991
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
1992
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
1992
1993
  let fetchResult;
1993
1994
  try {
1994
1995
  fetchResult = await documentLoader(url.href);
@@ -2162,7 +2163,7 @@ var Object$1 = class Object$1 {
2162
2163
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2163
2164
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2164
2165
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2165
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2166
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2166
2167
  let fetchResult;
2167
2168
  try {
2168
2169
  fetchResult = await documentLoader(url.href);
@@ -2341,7 +2342,7 @@ var Object$1 = class Object$1 {
2341
2342
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2342
2343
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2343
2344
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2344
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2345
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2345
2346
  let fetchResult;
2346
2347
  try {
2347
2348
  fetchResult = await documentLoader(url.href);
@@ -2462,7 +2463,7 @@ var Object$1 = class Object$1 {
2462
2463
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2463
2464
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2464
2465
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2465
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2466
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2466
2467
  let fetchResult;
2467
2468
  try {
2468
2469
  fetchResult = await documentLoader(url.href);
@@ -2589,7 +2590,7 @@ var Object$1 = class Object$1 {
2589
2590
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2590
2591
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2591
2592
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2592
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2593
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2593
2594
  let fetchResult;
2594
2595
  try {
2595
2596
  fetchResult = await documentLoader(url.href);
@@ -2716,7 +2717,7 @@ var Object$1 = class Object$1 {
2716
2717
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2717
2718
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2718
2719
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2719
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2720
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2720
2721
  let fetchResult;
2721
2722
  try {
2722
2723
  fetchResult = await documentLoader(url.href);
@@ -2861,7 +2862,7 @@ var Object$1 = class Object$1 {
2861
2862
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2862
2863
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2863
2864
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2864
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
2865
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
2865
2866
  let fetchResult;
2866
2867
  try {
2867
2868
  fetchResult = await documentLoader(url.href);
@@ -3013,7 +3014,7 @@ var Object$1 = class Object$1 {
3013
3014
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3014
3015
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3015
3016
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3016
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3017
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3017
3018
  let fetchResult;
3018
3019
  try {
3019
3020
  fetchResult = await documentLoader(url.href);
@@ -3177,7 +3178,7 @@ var Object$1 = class Object$1 {
3177
3178
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3178
3179
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3179
3180
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3180
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3181
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3181
3182
  let fetchResult;
3182
3183
  try {
3183
3184
  fetchResult = await documentLoader(url.href);
@@ -3341,7 +3342,7 @@ var Object$1 = class Object$1 {
3341
3342
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3342
3343
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3343
3344
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3344
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3345
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3345
3346
  let fetchResult;
3346
3347
  try {
3347
3348
  fetchResult = await documentLoader(url.href);
@@ -3505,7 +3506,7 @@ var Object$1 = class Object$1 {
3505
3506
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3506
3507
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3507
3508
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3508
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3509
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3509
3510
  let fetchResult;
3510
3511
  try {
3511
3512
  fetchResult = await documentLoader(url.href);
@@ -3706,7 +3707,7 @@ var Object$1 = class Object$1 {
3706
3707
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3707
3708
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3708
3709
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3709
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
3710
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
3710
3711
  let fetchResult;
3711
3712
  try {
3712
3713
  fetchResult = await documentLoader(url.href);
@@ -4495,7 +4496,7 @@ var Object$1 = class Object$1 {
4495
4496
  * @throws {TypeError} If the given `json` is invalid.
4496
4497
  */
4497
4498
  static async fromJsonLd(json, options = {}) {
4498
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
4499
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
4499
4500
  try {
4500
4501
  const object = await this.__fromJsonLd__Object__(json, span, options);
4501
4502
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -5739,7 +5740,7 @@ var Emoji = class Emoji extends Object$1 {
5739
5740
  * @throws {TypeError} If the given `json` is invalid.
5740
5741
  */
5741
5742
  static async fromJsonLd(json, options = {}) {
5742
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
5743
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
5743
5744
  try {
5744
5745
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
5745
5746
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -5976,7 +5977,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
5976
5977
  * @throws {TypeError} If the given `json` is invalid.
5977
5978
  */
5978
5979
  static async fromJsonLd(json, options = {}) {
5979
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
5980
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
5980
5981
  try {
5981
5982
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
5982
5983
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6257,7 +6258,7 @@ var Activity = class Activity extends Object$1 {
6257
6258
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6258
6259
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6259
6260
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6260
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6261
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6261
6262
  let fetchResult;
6262
6263
  try {
6263
6264
  fetchResult = await documentLoader(url.href);
@@ -6469,7 +6470,7 @@ var Activity = class Activity extends Object$1 {
6469
6470
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6470
6471
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6471
6472
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6472
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6473
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6473
6474
  let fetchResult;
6474
6475
  try {
6475
6476
  fetchResult = await documentLoader(url.href);
@@ -6635,7 +6636,7 @@ var Activity = class Activity extends Object$1 {
6635
6636
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6636
6637
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6637
6638
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6638
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6639
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6639
6640
  let fetchResult;
6640
6641
  try {
6641
6642
  fetchResult = await documentLoader(url.href);
@@ -6807,7 +6808,7 @@ var Activity = class Activity extends Object$1 {
6807
6808
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6808
6809
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6809
6810
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6810
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6811
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6811
6812
  let fetchResult;
6812
6813
  try {
6813
6814
  fetchResult = await documentLoader(url.href);
@@ -6973,7 +6974,7 @@ var Activity = class Activity extends Object$1 {
6973
6974
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6974
6975
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6975
6976
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6976
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
6977
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
6977
6978
  let fetchResult;
6978
6979
  try {
6979
6980
  fetchResult = await documentLoader(url.href);
@@ -7141,7 +7142,7 @@ var Activity = class Activity extends Object$1 {
7141
7142
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7142
7143
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7143
7144
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7144
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
7145
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
7145
7146
  let fetchResult;
7146
7147
  try {
7147
7148
  fetchResult = await documentLoader(url.href);
@@ -7391,7 +7392,7 @@ var Activity = class Activity extends Object$1 {
7391
7392
  * @throws {TypeError} If the given `json` is invalid.
7392
7393
  */
7393
7394
  static async fromJsonLd(json, options = {}) {
7394
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
7395
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
7395
7396
  try {
7396
7397
  const object = await this.__fromJsonLd__Activity__(json, span, options);
7397
7398
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7709,7 +7710,7 @@ var EmojiReact = class EmojiReact extends Activity {
7709
7710
  * @throws {TypeError} If the given `json` is invalid.
7710
7711
  */
7711
7712
  static async fromJsonLd(json, options = {}) {
7712
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
7713
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
7713
7714
  try {
7714
7715
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
7715
7716
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7955,7 +7956,7 @@ var PropertyValue = class {
7955
7956
  * @throws {TypeError} If the given `json` is invalid.
7956
7957
  */
7957
7958
  static async fromJsonLd(json, options = {}) {
7958
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
7959
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
7959
7960
  try {
7960
7961
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
7961
7962
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8189,7 +8190,7 @@ var DidService = class {
8189
8190
  * @throws {TypeError} If the given `json` is invalid.
8190
8191
  */
8191
8192
  static async fromJsonLd(json, options = {}) {
8192
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8193
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8193
8194
  try {
8194
8195
  const object = await this.__fromJsonLd__DidService__(json, span, options);
8195
8196
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8343,7 +8344,7 @@ var Export = class Export extends DidService {
8343
8344
  * @throws {TypeError} If the given `json` is invalid.
8344
8345
  */
8345
8346
  static async fromJsonLd(json, options = {}) {
8346
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8347
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8347
8348
  try {
8348
8349
  const object = await this.__fromJsonLd__Export__(json, span, options);
8349
8350
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8467,7 +8468,7 @@ var DataIntegrityProof = class {
8467
8468
  else throw new TypeError("The proofPurpose must be of type \"assertionMethod\" | \"authentication\" | \"capabilityInvocation\" | \"capabilityDelegation\" | \"keyAgreement\".");
8468
8469
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
8469
8470
  else throw new TypeError("The proofValue must be of type Uint8Array.");
8470
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8471
+ if ("created" in values && values.created != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.created)) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8471
8472
  else throw new TypeError("The created must be of type Temporal.Instant.");
8472
8473
  }
8473
8474
  /**
@@ -8501,7 +8502,7 @@ var DataIntegrityProof = class {
8501
8502
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
8502
8503
  else throw new TypeError("The proofValue must be of type Uint8Array.");
8503
8504
  clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
8504
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8505
+ if ("created" in values && values.created != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.created)) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
8505
8506
  else throw new TypeError("The created must be of type Temporal.Instant.");
8506
8507
  return clone;
8507
8508
  }
@@ -8516,7 +8517,7 @@ var DataIntegrityProof = class {
8516
8517
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8517
8518
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8518
8519
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8519
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
8520
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
8520
8521
  let fetchResult;
8521
8522
  try {
8522
8523
  fetchResult = await documentLoader(url.href);
@@ -8735,7 +8736,7 @@ var DataIntegrityProof = class {
8735
8736
  * @throws {TypeError} If the given `json` is invalid.
8736
8737
  */
8737
8738
  static async fromJsonLd(json, options = {}) {
8738
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
8739
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
8739
8740
  try {
8740
8741
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
8741
8742
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8949,7 +8950,7 @@ var CryptographicKey = class {
8949
8950
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8950
8951
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8951
8952
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8952
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
8953
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
8953
8954
  let fetchResult;
8954
8955
  try {
8955
8956
  fetchResult = await documentLoader(url.href);
@@ -9211,7 +9212,7 @@ var CryptographicKey = class {
9211
9212
  * @throws {TypeError} If the given `json` is invalid.
9212
9213
  */
9213
9214
  static async fromJsonLd(json, options = {}) {
9214
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9215
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9215
9216
  try {
9216
9217
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
9217
9218
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9406,7 +9407,7 @@ var Multikey = class {
9406
9407
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9407
9408
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9408
9409
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
9409
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
9410
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
9410
9411
  let fetchResult;
9411
9412
  try {
9412
9413
  fetchResult = await documentLoader(url.href);
@@ -9674,7 +9675,7 @@ var Multikey = class {
9674
9675
  * @throws {TypeError} If the given `json` is invalid.
9675
9676
  */
9676
9677
  static async fromJsonLd(json, options = {}) {
9677
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9678
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9678
9679
  try {
9679
9680
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
9680
9681
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9868,7 +9869,7 @@ var Accept = class Accept extends Activity {
9868
9869
  * @throws {TypeError} If the given `json` is invalid.
9869
9870
  */
9870
9871
  static async fromJsonLd(json, options = {}) {
9871
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
9872
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
9872
9873
  try {
9873
9874
  const object = await this.__fromJsonLd__Accept__(json, span, options);
9874
9875
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10019,7 +10020,7 @@ var Add = class Add extends Activity {
10019
10020
  * @throws {TypeError} If the given `json` is invalid.
10020
10021
  */
10021
10022
  static async fromJsonLd(json, options = {}) {
10022
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
10023
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
10023
10024
  try {
10024
10025
  const object = await this.__fromJsonLd__Add__(json, span, options);
10025
10026
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10187,7 +10188,7 @@ var Announce = class Announce extends Activity {
10187
10188
  * @throws {TypeError} If the given `json` is invalid.
10188
10189
  */
10189
10190
  static async fromJsonLd(json, options = {}) {
10190
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
10191
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
10191
10192
  try {
10192
10193
  const object = await this.__fromJsonLd__Announce__(json, span, options);
10193
10194
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10582,7 +10583,7 @@ var Application = class Application extends Object$1 {
10582
10583
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10583
10584
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10584
10585
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10585
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
10586
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
10586
10587
  let fetchResult;
10587
10588
  try {
10588
10589
  fetchResult = await documentLoader(url.href);
@@ -10744,7 +10745,7 @@ var Application = class Application extends Object$1 {
10744
10745
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10745
10746
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10746
10747
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10747
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
10748
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
10748
10749
  let fetchResult;
10749
10750
  try {
10750
10751
  fetchResult = await documentLoader(url.href);
@@ -10924,7 +10925,7 @@ var Application = class Application extends Object$1 {
10924
10925
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10925
10926
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10926
10927
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10927
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
10928
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
10928
10929
  let fetchResult;
10929
10930
  try {
10930
10931
  fetchResult = await documentLoader(url.href);
@@ -11066,7 +11067,7 @@ var Application = class Application extends Object$1 {
11066
11067
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11067
11068
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11068
11069
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11069
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11070
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11070
11071
  let fetchResult;
11071
11072
  try {
11072
11073
  fetchResult = await documentLoader(url.href);
@@ -11205,7 +11206,7 @@ var Application = class Application extends Object$1 {
11205
11206
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11206
11207
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11207
11208
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11208
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11209
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11209
11210
  let fetchResult;
11210
11211
  try {
11211
11212
  fetchResult = await documentLoader(url.href);
@@ -11329,7 +11330,7 @@ var Application = class Application extends Object$1 {
11329
11330
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11330
11331
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11331
11332
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11332
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11333
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11333
11334
  let fetchResult;
11334
11335
  try {
11335
11336
  fetchResult = await documentLoader(url.href);
@@ -11456,7 +11457,7 @@ var Application = class Application extends Object$1 {
11456
11457
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11457
11458
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11458
11459
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11459
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11460
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11460
11461
  let fetchResult;
11461
11462
  try {
11462
11463
  fetchResult = await documentLoader(url.href);
@@ -11581,7 +11582,7 @@ var Application = class Application extends Object$1 {
11581
11582
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11582
11583
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11583
11584
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11584
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11585
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11585
11586
  let fetchResult;
11586
11587
  try {
11587
11588
  fetchResult = await documentLoader(url.href);
@@ -11704,7 +11705,7 @@ var Application = class Application extends Object$1 {
11704
11705
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11705
11706
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11706
11707
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11707
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11708
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11708
11709
  let fetchResult;
11709
11710
  try {
11710
11711
  fetchResult = await documentLoader(url.href);
@@ -11827,7 +11828,7 @@ var Application = class Application extends Object$1 {
11827
11828
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11828
11829
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11829
11830
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11830
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11831
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11831
11832
  let fetchResult;
11832
11833
  try {
11833
11834
  fetchResult = await documentLoader(url.href);
@@ -11989,7 +11990,7 @@ var Application = class Application extends Object$1 {
11989
11990
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11990
11991
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11991
11992
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11992
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
11993
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
11993
11994
  let fetchResult;
11994
11995
  try {
11995
11996
  fetchResult = await documentLoader(url.href);
@@ -12155,7 +12156,7 @@ var Application = class Application extends Object$1 {
12155
12156
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12156
12157
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12157
12158
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12158
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
12159
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
12159
12160
  let fetchResult;
12160
12161
  try {
12161
12162
  fetchResult = await documentLoader(url.href);
@@ -12369,7 +12370,7 @@ var Application = class Application extends Object$1 {
12369
12370
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12370
12371
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12371
12372
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12372
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
12373
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
12373
12374
  let fetchResult;
12374
12375
  try {
12375
12376
  fetchResult = await documentLoader(url.href);
@@ -13052,7 +13053,7 @@ var Application = class Application extends Object$1 {
13052
13053
  * @throws {TypeError} If the given `json` is invalid.
13053
13054
  */
13054
13055
  static async fromJsonLd(json, options = {}) {
13055
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13056
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13056
13057
  try {
13057
13058
  const object = await this.__fromJsonLd__Application__(json, span, options);
13058
13059
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13605,7 +13606,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
13605
13606
  * @throws {TypeError} If the given `json` is invalid.
13606
13607
  */
13607
13608
  static async fromJsonLd(json, options = {}) {
13608
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13609
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13609
13610
  try {
13610
13611
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
13611
13612
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13757,7 +13758,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
13757
13758
  * @throws {TypeError} If the given `json` is invalid.
13758
13759
  */
13759
13760
  static async fromJsonLd(json, options = {}) {
13760
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13761
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13761
13762
  try {
13762
13763
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
13763
13764
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13992,7 +13993,7 @@ var Article = class Article extends Object$1 {
13992
13993
  * @throws {TypeError} If the given `json` is invalid.
13993
13994
  */
13994
13995
  static async fromJsonLd(json, options = {}) {
13995
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
13996
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
13996
13997
  try {
13997
13998
  const object = await this.__fromJsonLd__Article__(json, span, options);
13998
13999
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14221,7 +14222,7 @@ var Document = class Document extends Object$1 {
14221
14222
  * @throws {TypeError} If the given `json` is invalid.
14222
14223
  */
14223
14224
  static async fromJsonLd(json, options = {}) {
14224
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14225
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14225
14226
  try {
14226
14227
  const object = await this.__fromJsonLd__Document__(json, span, options);
14227
14228
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14404,7 +14405,7 @@ var Audio = class Audio extends Document {
14404
14405
  * @throws {TypeError} If the given `json` is invalid.
14405
14406
  */
14406
14407
  static async fromJsonLd(json, options = {}) {
14407
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14408
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14408
14409
  try {
14409
14410
  const object = await this.__fromJsonLd__Audio__(json, span, options);
14410
14411
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14552,7 +14553,7 @@ var Ignore = class Ignore extends Activity {
14552
14553
  * @throws {TypeError} If the given `json` is invalid.
14553
14554
  */
14554
14555
  static async fromJsonLd(json, options = {}) {
14555
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14556
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14556
14557
  try {
14557
14558
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
14558
14559
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14703,7 +14704,7 @@ var Block = class Block extends Ignore {
14703
14704
  * @throws {TypeError} If the given `json` is invalid.
14704
14705
  */
14705
14706
  static async fromJsonLd(json, options = {}) {
14706
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
14707
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
14707
14708
  try {
14708
14709
  const object = await this.__fromJsonLd__Block__(json, span, options);
14709
14710
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14967,7 +14968,7 @@ var Collection = class Collection extends Object$1 {
14967
14968
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14968
14969
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14969
14970
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
14970
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
14971
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
14971
14972
  let fetchResult;
14972
14973
  try {
14973
14974
  fetchResult = await documentLoader(url.href);
@@ -15088,7 +15089,7 @@ var Collection = class Collection extends Object$1 {
15088
15089
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15089
15090
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15090
15091
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15091
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15092
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15092
15093
  let fetchResult;
15093
15094
  try {
15094
15095
  fetchResult = await documentLoader(url.href);
@@ -15209,7 +15210,7 @@ var Collection = class Collection extends Object$1 {
15209
15210
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15210
15211
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15211
15212
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15212
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15213
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15213
15214
  let fetchResult;
15214
15215
  try {
15215
15216
  fetchResult = await documentLoader(url.href);
@@ -15330,7 +15331,7 @@ var Collection = class Collection extends Object$1 {
15330
15331
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15331
15332
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15332
15333
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15333
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15334
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15334
15335
  let fetchResult;
15335
15336
  try {
15336
15337
  fetchResult = await documentLoader(url.href);
@@ -15461,7 +15462,7 @@ var Collection = class Collection extends Object$1 {
15461
15462
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15462
15463
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15463
15464
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15464
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15465
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15465
15466
  let fetchResult;
15466
15467
  try {
15467
15468
  fetchResult = await documentLoader(url.href);
@@ -15581,7 +15582,7 @@ var Collection = class Collection extends Object$1 {
15581
15582
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15582
15583
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15583
15584
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15584
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15585
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15585
15586
  let fetchResult;
15586
15587
  try {
15587
15588
  fetchResult = await documentLoader(url.href);
@@ -15701,7 +15702,7 @@ var Collection = class Collection extends Object$1 {
15701
15702
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15702
15703
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15703
15704
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15704
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15705
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15705
15706
  let fetchResult;
15706
15707
  try {
15707
15708
  fetchResult = await documentLoader(url.href);
@@ -15821,7 +15822,7 @@ var Collection = class Collection extends Object$1 {
15821
15822
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15822
15823
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15823
15824
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15824
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15825
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15825
15826
  let fetchResult;
15826
15827
  try {
15827
15828
  fetchResult = await documentLoader(url.href);
@@ -15941,7 +15942,7 @@ var Collection = class Collection extends Object$1 {
15941
15942
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15942
15943
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15943
15944
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15944
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
15945
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
15945
15946
  let fetchResult;
15946
15947
  try {
15947
15948
  fetchResult = await documentLoader(url.href);
@@ -16061,7 +16062,7 @@ var Collection = class Collection extends Object$1 {
16061
16062
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16062
16063
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16063
16064
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16064
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16065
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16065
16066
  let fetchResult;
16066
16067
  try {
16067
16068
  fetchResult = await documentLoader(url.href);
@@ -16181,7 +16182,7 @@ var Collection = class Collection extends Object$1 {
16181
16182
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16182
16183
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16183
16184
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16184
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16185
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16185
16186
  let fetchResult;
16186
16187
  try {
16187
16188
  fetchResult = await documentLoader(url.href);
@@ -16301,7 +16302,7 @@ var Collection = class Collection extends Object$1 {
16301
16302
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16302
16303
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16303
16304
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16304
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
16305
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
16305
16306
  let fetchResult;
16306
16307
  try {
16307
16308
  fetchResult = await documentLoader(url.href);
@@ -16728,7 +16729,7 @@ var Collection = class Collection extends Object$1 {
16728
16729
  * @throws {TypeError} If the given `json` is invalid.
16729
16730
  */
16730
16731
  static async fromJsonLd(json, options = {}) {
16731
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
16732
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
16732
16733
  try {
16733
16734
  const object = await this.__fromJsonLd__Collection__(json, span, options);
16734
16735
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17175,7 +17176,7 @@ var CollectionPage = class CollectionPage extends Collection {
17175
17176
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17176
17177
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17177
17178
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17178
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
17179
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
17179
17180
  let fetchResult;
17180
17181
  try {
17181
17182
  fetchResult = await documentLoader(url.href);
@@ -17296,7 +17297,7 @@ var CollectionPage = class CollectionPage extends Collection {
17296
17297
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17297
17298
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17298
17299
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17299
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
17300
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
17300
17301
  let fetchResult;
17301
17302
  try {
17302
17303
  fetchResult = await documentLoader(url.href);
@@ -17416,7 +17417,7 @@ var CollectionPage = class CollectionPage extends Collection {
17416
17417
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17417
17418
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17418
17419
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17419
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
17420
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
17420
17421
  let fetchResult;
17421
17422
  try {
17422
17423
  fetchResult = await documentLoader(url.href);
@@ -17680,7 +17681,7 @@ var CollectionPage = class CollectionPage extends Collection {
17680
17681
  * @throws {TypeError} If the given `json` is invalid.
17681
17682
  */
17682
17683
  static async fromJsonLd(json, options = {}) {
17683
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
17684
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
17684
17685
  try {
17685
17686
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
17686
17687
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17906,7 +17907,7 @@ var Create = class Create extends Activity {
17906
17907
  * @throws {TypeError} If the given `json` is invalid.
17907
17908
  */
17908
17909
  static async fromJsonLd(json, options = {}) {
17909
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
17910
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
17910
17911
  try {
17911
17912
  const object = await this.__fromJsonLd__Create__(json, span, options);
17912
17913
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18070,7 +18071,7 @@ var Delete = class Delete extends Activity {
18070
18071
  * @throws {TypeError} If the given `json` is invalid.
18071
18072
  */
18072
18073
  static async fromJsonLd(json, options = {}) {
18073
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18074
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18074
18075
  try {
18075
18076
  const object = await this.__fromJsonLd__Delete__(json, span, options);
18076
18077
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18221,7 +18222,7 @@ var Dislike = class Dislike extends Activity {
18221
18222
  * @throws {TypeError} If the given `json` is invalid.
18222
18223
  */
18223
18224
  static async fromJsonLd(json, options = {}) {
18224
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18225
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18225
18226
  try {
18226
18227
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
18227
18228
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18568,7 +18569,7 @@ var Endpoints = class {
18568
18569
  * @throws {TypeError} If the given `json` is invalid.
18569
18570
  */
18570
18571
  static async fromJsonLd(json, options = {}) {
18571
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18572
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18572
18573
  try {
18573
18574
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
18574
18575
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18794,7 +18795,7 @@ var Event = class Event extends Object$1 {
18794
18795
  * @throws {TypeError} If the given `json` is invalid.
18795
18796
  */
18796
18797
  static async fromJsonLd(json, options = {}) {
18797
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18798
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18798
18799
  try {
18799
18800
  const object = await this.__fromJsonLd__Event__(json, span, options);
18800
18801
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18943,7 +18944,7 @@ var Flag = class Flag extends Activity {
18943
18944
  * @throws {TypeError} If the given `json` is invalid.
18944
18945
  */
18945
18946
  static async fromJsonLd(json, options = {}) {
18946
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
18947
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
18947
18948
  try {
18948
18949
  const object = await this.__fromJsonLd__Flag__(json, span, options);
18949
18950
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19096,7 +19097,7 @@ var Follow = class Follow extends Activity {
19096
19097
  * @throws {TypeError} If the given `json` is invalid.
19097
19098
  */
19098
19099
  static async fromJsonLd(json, options = {}) {
19099
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
19100
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
19100
19101
  try {
19101
19102
  const object = await this.__fromJsonLd__Follow__(json, span, options);
19102
19103
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19491,7 +19492,7 @@ var Group = class Group extends Object$1 {
19491
19492
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19492
19493
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19493
19494
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19494
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19495
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19495
19496
  let fetchResult;
19496
19497
  try {
19497
19498
  fetchResult = await documentLoader(url.href);
@@ -19653,7 +19654,7 @@ var Group = class Group extends Object$1 {
19653
19654
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19654
19655
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19655
19656
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19656
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19657
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19657
19658
  let fetchResult;
19658
19659
  try {
19659
19660
  fetchResult = await documentLoader(url.href);
@@ -19833,7 +19834,7 @@ var Group = class Group extends Object$1 {
19833
19834
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19834
19835
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19835
19836
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19836
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19837
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19837
19838
  let fetchResult;
19838
19839
  try {
19839
19840
  fetchResult = await documentLoader(url.href);
@@ -19975,7 +19976,7 @@ var Group = class Group extends Object$1 {
19975
19976
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19976
19977
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19977
19978
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19978
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
19979
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
19979
19980
  let fetchResult;
19980
19981
  try {
19981
19982
  fetchResult = await documentLoader(url.href);
@@ -20114,7 +20115,7 @@ var Group = class Group extends Object$1 {
20114
20115
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20115
20116
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20116
20117
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20117
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20118
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20118
20119
  let fetchResult;
20119
20120
  try {
20120
20121
  fetchResult = await documentLoader(url.href);
@@ -20238,7 +20239,7 @@ var Group = class Group extends Object$1 {
20238
20239
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20239
20240
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20240
20241
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20241
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20242
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20242
20243
  let fetchResult;
20243
20244
  try {
20244
20245
  fetchResult = await documentLoader(url.href);
@@ -20365,7 +20366,7 @@ var Group = class Group extends Object$1 {
20365
20366
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20366
20367
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20367
20368
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20368
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20369
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20369
20370
  let fetchResult;
20370
20371
  try {
20371
20372
  fetchResult = await documentLoader(url.href);
@@ -20490,7 +20491,7 @@ var Group = class Group extends Object$1 {
20490
20491
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20491
20492
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20492
20493
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20493
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20494
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20494
20495
  let fetchResult;
20495
20496
  try {
20496
20497
  fetchResult = await documentLoader(url.href);
@@ -20613,7 +20614,7 @@ var Group = class Group extends Object$1 {
20613
20614
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20614
20615
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20615
20616
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20616
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20617
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20617
20618
  let fetchResult;
20618
20619
  try {
20619
20620
  fetchResult = await documentLoader(url.href);
@@ -20736,7 +20737,7 @@ var Group = class Group extends Object$1 {
20736
20737
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20737
20738
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20738
20739
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20739
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20740
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20740
20741
  let fetchResult;
20741
20742
  try {
20742
20743
  fetchResult = await documentLoader(url.href);
@@ -20898,7 +20899,7 @@ var Group = class Group extends Object$1 {
20898
20899
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20899
20900
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20900
20901
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20901
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
20902
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
20902
20903
  let fetchResult;
20903
20904
  try {
20904
20905
  fetchResult = await documentLoader(url.href);
@@ -21064,7 +21065,7 @@ var Group = class Group extends Object$1 {
21064
21065
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21065
21066
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21066
21067
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21067
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
21068
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
21068
21069
  let fetchResult;
21069
21070
  try {
21070
21071
  fetchResult = await documentLoader(url.href);
@@ -21278,7 +21279,7 @@ var Group = class Group extends Object$1 {
21278
21279
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21279
21280
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21280
21281
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21281
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
21282
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
21282
21283
  let fetchResult;
21283
21284
  try {
21284
21285
  fetchResult = await documentLoader(url.href);
@@ -21961,7 +21962,7 @@ var Group = class Group extends Object$1 {
21961
21962
  * @throws {TypeError} If the given `json` is invalid.
21962
21963
  */
21963
21964
  static async fromJsonLd(json, options = {}) {
21964
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
21965
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
21965
21966
  try {
21966
21967
  const object = await this.__fromJsonLd__Group__(json, span, options);
21967
21968
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22653,7 +22654,7 @@ var Link = class Link {
22653
22654
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22654
22655
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22655
22656
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22656
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
22657
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
22657
22658
  let fetchResult;
22658
22659
  try {
22659
22660
  fetchResult = await documentLoader(url.href);
@@ -22945,7 +22946,7 @@ var Link = class Link {
22945
22946
  * @throws {TypeError} If the given `json` is invalid.
22946
22947
  */
22947
22948
  static async fromJsonLd(json, options = {}) {
22948
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
22949
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
22949
22950
  try {
22950
22951
  const object = await this.__fromJsonLd__Link__(json, span, options);
22951
22952
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23272,7 +23273,7 @@ var Hashtag = class Hashtag extends Link {
23272
23273
  * @throws {TypeError} If the given `json` is invalid.
23273
23274
  */
23274
23275
  static async fromJsonLd(json, options = {}) {
23275
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23276
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23276
23277
  try {
23277
23278
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
23278
23279
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23426,7 +23427,7 @@ var Image = class Image extends Document {
23426
23427
  * @throws {TypeError} If the given `json` is invalid.
23427
23428
  */
23428
23429
  static async fromJsonLd(json, options = {}) {
23429
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23430
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23430
23431
  try {
23431
23432
  const object = await this.__fromJsonLd__Image__(json, span, options);
23432
23433
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23575,7 +23576,7 @@ var Offer = class Offer extends Activity {
23575
23576
  * @throws {TypeError} If the given `json` is invalid.
23576
23577
  */
23577
23578
  static async fromJsonLd(json, options = {}) {
23578
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23579
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23579
23580
  try {
23580
23581
  const object = await this.__fromJsonLd__Offer__(json, span, options);
23581
23582
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23724,7 +23725,7 @@ var Invite = class Invite extends Offer {
23724
23725
  * @throws {TypeError} If the given `json` is invalid.
23725
23726
  */
23726
23727
  static async fromJsonLd(json, options = {}) {
23727
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23728
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23728
23729
  try {
23729
23730
  const object = await this.__fromJsonLd__Invite__(json, span, options);
23730
23731
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23872,7 +23873,7 @@ var Join = class Join extends Activity {
23872
23873
  * @throws {TypeError} If the given `json` is invalid.
23873
23874
  */
23874
23875
  static async fromJsonLd(json, options = {}) {
23875
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
23876
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
23876
23877
  try {
23877
23878
  const object = await this.__fromJsonLd__Join__(json, span, options);
23878
23879
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24020,7 +24021,7 @@ var Leave = class Leave extends Activity {
24020
24021
  * @throws {TypeError} If the given `json` is invalid.
24021
24022
  */
24022
24023
  static async fromJsonLd(json, options = {}) {
24023
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24024
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24024
24025
  try {
24025
24026
  const object = await this.__fromJsonLd__Leave__(json, span, options);
24026
24027
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24172,7 +24173,7 @@ var Like = class Like extends Activity {
24172
24173
  * @throws {TypeError} If the given `json` is invalid.
24173
24174
  */
24174
24175
  static async fromJsonLd(json, options = {}) {
24175
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24176
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24176
24177
  try {
24177
24178
  const object = await this.__fromJsonLd__Like__(json, span, options);
24178
24179
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24319,7 +24320,7 @@ var Listen = class Listen extends Activity {
24319
24320
  * @throws {TypeError} If the given `json` is invalid.
24320
24321
  */
24321
24322
  static async fromJsonLd(json, options = {}) {
24322
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24323
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24323
24324
  try {
24324
24325
  const object = await this.__fromJsonLd__Listen__(json, span, options);
24325
24326
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24470,7 +24471,7 @@ var Mention = class Mention extends Link {
24470
24471
  * @throws {TypeError} If the given `json` is invalid.
24471
24472
  */
24472
24473
  static async fromJsonLd(json, options = {}) {
24473
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24474
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24474
24475
  try {
24475
24476
  const object = await this.__fromJsonLd__Mention__(json, span, options);
24476
24477
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24619,7 +24620,7 @@ var Move = class Move extends Activity {
24619
24620
  * @throws {TypeError} If the given `json` is invalid.
24620
24621
  */
24621
24622
  static async fromJsonLd(json, options = {}) {
24622
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24623
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24623
24624
  try {
24624
24625
  const object = await this.__fromJsonLd__Move__(json, span, options);
24625
24626
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24855,7 +24856,7 @@ var Note = class Note extends Object$1 {
24855
24856
  * @throws {TypeError} If the given `json` is invalid.
24856
24857
  */
24857
24858
  static async fromJsonLd(json, options = {}) {
24858
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
24859
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
24859
24860
  try {
24860
24861
  const object = await this.__fromJsonLd__Note__(json, span, options);
24861
24862
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24984,7 +24985,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
24984
24985
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24985
24986
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24986
24987
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24987
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
24988
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
24988
24989
  let fetchResult;
24989
24990
  try {
24990
24991
  fetchResult = await documentLoader(url.href);
@@ -25232,7 +25233,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25232
25233
  * @throws {TypeError} If the given `json` is invalid.
25233
25234
  */
25234
25235
  static async fromJsonLd(json, options = {}) {
25235
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
25236
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
25236
25237
  try {
25237
25238
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
25238
25239
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25438,7 +25439,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
25438
25439
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25439
25440
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25440
25441
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25441
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
25442
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
25442
25443
  let fetchResult;
25443
25444
  try {
25444
25445
  fetchResult = await documentLoader(url.href);
@@ -25709,7 +25710,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
25709
25710
  * @throws {TypeError} If the given `json` is invalid.
25710
25711
  */
25711
25712
  static async fromJsonLd(json, options = {}) {
25712
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
25713
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
25713
25714
  try {
25714
25715
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
25715
25716
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26201,7 +26202,7 @@ var Organization = class Organization extends Object$1 {
26201
26202
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26202
26203
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26203
26204
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26204
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26205
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26205
26206
  let fetchResult;
26206
26207
  try {
26207
26208
  fetchResult = await documentLoader(url.href);
@@ -26363,7 +26364,7 @@ var Organization = class Organization extends Object$1 {
26363
26364
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26364
26365
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26365
26366
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26366
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26367
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26367
26368
  let fetchResult;
26368
26369
  try {
26369
26370
  fetchResult = await documentLoader(url.href);
@@ -26543,7 +26544,7 @@ var Organization = class Organization extends Object$1 {
26543
26544
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26544
26545
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26545
26546
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26546
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26547
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26547
26548
  let fetchResult;
26548
26549
  try {
26549
26550
  fetchResult = await documentLoader(url.href);
@@ -26685,7 +26686,7 @@ var Organization = class Organization extends Object$1 {
26685
26686
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26686
26687
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26687
26688
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26688
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26689
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26689
26690
  let fetchResult;
26690
26691
  try {
26691
26692
  fetchResult = await documentLoader(url.href);
@@ -26824,7 +26825,7 @@ var Organization = class Organization extends Object$1 {
26824
26825
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26825
26826
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26826
26827
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26827
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26828
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26828
26829
  let fetchResult;
26829
26830
  try {
26830
26831
  fetchResult = await documentLoader(url.href);
@@ -26948,7 +26949,7 @@ var Organization = class Organization extends Object$1 {
26948
26949
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26949
26950
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26950
26951
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26951
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
26952
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
26952
26953
  let fetchResult;
26953
26954
  try {
26954
26955
  fetchResult = await documentLoader(url.href);
@@ -27075,7 +27076,7 @@ var Organization = class Organization extends Object$1 {
27075
27076
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27076
27077
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27077
27078
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27078
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27079
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27079
27080
  let fetchResult;
27080
27081
  try {
27081
27082
  fetchResult = await documentLoader(url.href);
@@ -27200,7 +27201,7 @@ var Organization = class Organization extends Object$1 {
27200
27201
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27201
27202
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27202
27203
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27203
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27204
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27204
27205
  let fetchResult;
27205
27206
  try {
27206
27207
  fetchResult = await documentLoader(url.href);
@@ -27323,7 +27324,7 @@ var Organization = class Organization extends Object$1 {
27323
27324
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27324
27325
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27325
27326
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27326
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27327
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27327
27328
  let fetchResult;
27328
27329
  try {
27329
27330
  fetchResult = await documentLoader(url.href);
@@ -27446,7 +27447,7 @@ var Organization = class Organization extends Object$1 {
27446
27447
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27447
27448
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27448
27449
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27449
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27450
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27450
27451
  let fetchResult;
27451
27452
  try {
27452
27453
  fetchResult = await documentLoader(url.href);
@@ -27608,7 +27609,7 @@ var Organization = class Organization extends Object$1 {
27608
27609
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27609
27610
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27610
27611
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27611
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27612
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27612
27613
  let fetchResult;
27613
27614
  try {
27614
27615
  fetchResult = await documentLoader(url.href);
@@ -27774,7 +27775,7 @@ var Organization = class Organization extends Object$1 {
27774
27775
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27775
27776
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27776
27777
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27777
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27778
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27778
27779
  let fetchResult;
27779
27780
  try {
27780
27781
  fetchResult = await documentLoader(url.href);
@@ -27988,7 +27989,7 @@ var Organization = class Organization extends Object$1 {
27988
27989
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27989
27990
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27990
27991
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27991
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
27992
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
27992
27993
  let fetchResult;
27993
27994
  try {
27994
27995
  fetchResult = await documentLoader(url.href);
@@ -28671,7 +28672,7 @@ var Organization = class Organization extends Object$1 {
28671
28672
  * @throws {TypeError} If the given `json` is invalid.
28672
28673
  */
28673
28674
  static async fromJsonLd(json, options = {}) {
28674
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
28675
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
28675
28676
  try {
28676
28677
  const object = await this.__fromJsonLd__Organization__(json, span, options);
28677
28678
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29229,7 +29230,7 @@ var Page = class Page extends Document {
29229
29230
  * @throws {TypeError} If the given `json` is invalid.
29230
29231
  */
29231
29232
  static async fromJsonLd(json, options = {}) {
29232
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
29233
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
29233
29234
  try {
29234
29235
  const object = await this.__fromJsonLd__Page__(json, span, options);
29235
29236
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29624,7 +29625,7 @@ var Person = class Person extends Object$1 {
29624
29625
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29625
29626
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29626
29627
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29627
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
29628
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
29628
29629
  let fetchResult;
29629
29630
  try {
29630
29631
  fetchResult = await documentLoader(url.href);
@@ -29786,7 +29787,7 @@ var Person = class Person extends Object$1 {
29786
29787
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29787
29788
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29788
29789
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29789
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
29790
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
29790
29791
  let fetchResult;
29791
29792
  try {
29792
29793
  fetchResult = await documentLoader(url.href);
@@ -29966,7 +29967,7 @@ var Person = class Person extends Object$1 {
29966
29967
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29967
29968
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29968
29969
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29969
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
29970
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
29970
29971
  let fetchResult;
29971
29972
  try {
29972
29973
  fetchResult = await documentLoader(url.href);
@@ -30108,7 +30109,7 @@ var Person = class Person extends Object$1 {
30108
30109
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30109
30110
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30110
30111
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30111
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30112
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30112
30113
  let fetchResult;
30113
30114
  try {
30114
30115
  fetchResult = await documentLoader(url.href);
@@ -30247,7 +30248,7 @@ var Person = class Person extends Object$1 {
30247
30248
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30248
30249
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30249
30250
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30250
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30251
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30251
30252
  let fetchResult;
30252
30253
  try {
30253
30254
  fetchResult = await documentLoader(url.href);
@@ -30371,7 +30372,7 @@ var Person = class Person extends Object$1 {
30371
30372
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30372
30373
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30373
30374
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30374
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30375
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30375
30376
  let fetchResult;
30376
30377
  try {
30377
30378
  fetchResult = await documentLoader(url.href);
@@ -30498,7 +30499,7 @@ var Person = class Person extends Object$1 {
30498
30499
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30499
30500
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30500
30501
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30501
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30502
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30502
30503
  let fetchResult;
30503
30504
  try {
30504
30505
  fetchResult = await documentLoader(url.href);
@@ -30623,7 +30624,7 @@ var Person = class Person extends Object$1 {
30623
30624
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30624
30625
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30625
30626
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30626
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30627
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30627
30628
  let fetchResult;
30628
30629
  try {
30629
30630
  fetchResult = await documentLoader(url.href);
@@ -30746,7 +30747,7 @@ var Person = class Person extends Object$1 {
30746
30747
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30747
30748
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30748
30749
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30749
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30750
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30750
30751
  let fetchResult;
30751
30752
  try {
30752
30753
  fetchResult = await documentLoader(url.href);
@@ -30869,7 +30870,7 @@ var Person = class Person extends Object$1 {
30869
30870
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30870
30871
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30871
30872
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30872
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
30873
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
30873
30874
  let fetchResult;
30874
30875
  try {
30875
30876
  fetchResult = await documentLoader(url.href);
@@ -31031,7 +31032,7 @@ var Person = class Person extends Object$1 {
31031
31032
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31032
31033
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31033
31034
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31034
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
31035
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
31035
31036
  let fetchResult;
31036
31037
  try {
31037
31038
  fetchResult = await documentLoader(url.href);
@@ -31197,7 +31198,7 @@ var Person = class Person extends Object$1 {
31197
31198
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31198
31199
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31199
31200
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31200
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
31201
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
31201
31202
  let fetchResult;
31202
31203
  try {
31203
31204
  fetchResult = await documentLoader(url.href);
@@ -31411,7 +31412,7 @@ var Person = class Person extends Object$1 {
31411
31412
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31412
31413
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31413
31414
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31414
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
31415
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
31415
31416
  let fetchResult;
31416
31417
  try {
31417
31418
  fetchResult = await documentLoader(url.href);
@@ -32094,7 +32095,7 @@ var Person = class Person extends Object$1 {
32094
32095
  * @throws {TypeError} If the given `json` is invalid.
32095
32096
  */
32096
32097
  static async fromJsonLd(json, options = {}) {
32097
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
32098
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
32098
32099
  try {
32099
32100
  const object = await this.__fromJsonLd__Person__(json, span, options);
32100
32101
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32829,7 +32830,7 @@ var Place = class Place extends Object$1 {
32829
32830
  * @throws {TypeError} If the given `json` is invalid.
32830
32831
  */
32831
32832
  static async fromJsonLd(json, options = {}) {
32832
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
32833
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
32833
32834
  try {
32834
32835
  const object = await this.__fromJsonLd__Place__(json, span, options);
32835
32836
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33020,7 +33021,7 @@ var Profile = class Profile extends Object$1 {
33020
33021
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33021
33022
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33022
33023
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33023
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
33024
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
33024
33025
  let fetchResult;
33025
33026
  try {
33026
33027
  fetchResult = await documentLoader(url.href);
@@ -33213,7 +33214,7 @@ var Profile = class Profile extends Object$1 {
33213
33214
  * @throws {TypeError} If the given `json` is invalid.
33214
33215
  */
33215
33216
  static async fromJsonLd(json, options = {}) {
33216
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
33217
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
33217
33218
  try {
33218
33219
  const object = await this.__fromJsonLd__Profile__(json, span, options);
33219
33220
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33333,7 +33334,7 @@ var Question = class Question extends IntransitiveActivity {
33333
33334
  this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
33334
33335
  for (let i = 0; i < values.inclusiveOptions.length; i++) this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
33335
33336
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
33336
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33337
+ if ("closed" in values && values.closed != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.closed) || typeof values.closed === "boolean") this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33337
33338
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
33338
33339
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
33339
33340
  else throw new TypeError("The voters must be of type number.");
@@ -33370,7 +33371,7 @@ var Question = class Question extends IntransitiveActivity {
33370
33371
  for (let i = 0; i < values.inclusiveOptions.length; i++) clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
33371
33372
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
33372
33373
  clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
33373
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33374
+ if ("closed" in values && values.closed != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.closed) || typeof values.closed === "boolean") clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
33374
33375
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
33375
33376
  clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
33376
33377
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
@@ -33384,7 +33385,7 @@ var Question = class Question extends IntransitiveActivity {
33384
33385
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33385
33386
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33386
33387
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33387
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
33388
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
33388
33389
  let fetchResult;
33389
33390
  try {
33390
33391
  fetchResult = await documentLoader(url.href);
@@ -33506,7 +33507,7 @@ var Question = class Question extends IntransitiveActivity {
33506
33507
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33507
33508
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33508
33509
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33509
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
33510
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
33510
33511
  let fetchResult;
33511
33512
  try {
33512
33513
  fetchResult = await documentLoader(url.href);
@@ -33693,7 +33694,7 @@ var Question = class Question extends IntransitiveActivity {
33693
33694
  if (array.length > 0) values["https://www.w3.org/ns/activitystreams#anyOf"] = array;
33694
33695
  array = [];
33695
33696
  for (const v of this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed) {
33696
- const element = v instanceof Temporal.Instant ? {
33697
+ const element = (0, _fedify_vocab_runtime_temporal.isTemporalInstant)(v) ? {
33697
33698
  "@type": "http://www.w3.org/2001/XMLSchema#dateTime",
33698
33699
  "@value": v.toString()
33699
33700
  } : { "@value": v };
@@ -33769,7 +33770,7 @@ var Question = class Question extends IntransitiveActivity {
33769
33770
  * @throws {TypeError} If the given `json` is invalid.
33770
33771
  */
33771
33772
  static async fromJsonLd(json, options = {}) {
33772
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
33773
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
33773
33774
  try {
33774
33775
  const object = await this.__fromJsonLd__Question__(json, span, options);
33775
33776
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33995,7 +33996,7 @@ var Read = class Read extends Activity {
33995
33996
  * @throws {TypeError} If the given `json` is invalid.
33996
33997
  */
33997
33998
  static async fromJsonLd(json, options = {}) {
33998
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
33999
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
33999
34000
  try {
34000
34001
  const object = await this.__fromJsonLd__Read__(json, span, options);
34001
34002
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34143,7 +34144,7 @@ var Reject = class Reject extends Activity {
34143
34144
  * @throws {TypeError} If the given `json` is invalid.
34144
34145
  */
34145
34146
  static async fromJsonLd(json, options = {}) {
34146
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
34147
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
34147
34148
  try {
34148
34149
  const object = await this.__fromJsonLd__Reject__(json, span, options);
34149
34150
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34316,7 +34317,7 @@ var Relationship = class Relationship extends Object$1 {
34316
34317
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34317
34318
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34318
34319
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34319
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
34320
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
34320
34321
  let fetchResult;
34321
34322
  try {
34322
34323
  fetchResult = await documentLoader(url.href);
@@ -34439,7 +34440,7 @@ var Relationship = class Relationship extends Object$1 {
34439
34440
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34440
34441
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34441
34442
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34442
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
34443
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
34443
34444
  let fetchResult;
34444
34445
  try {
34445
34446
  fetchResult = await documentLoader(url.href);
@@ -34601,7 +34602,7 @@ var Relationship = class Relationship extends Object$1 {
34601
34602
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34602
34603
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34603
34604
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34604
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
34605
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
34605
34606
  let fetchResult;
34606
34607
  try {
34607
34608
  fetchResult = await documentLoader(url.href);
@@ -34871,7 +34872,7 @@ var Relationship = class Relationship extends Object$1 {
34871
34872
  * @throws {TypeError} If the given `json` is invalid.
34872
34873
  */
34873
34874
  static async fromJsonLd(json, options = {}) {
34874
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
34875
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
34875
34876
  try {
34876
34877
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
34877
34878
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35079,7 +35080,7 @@ var Remove = class Remove extends Activity {
35079
35080
  * @throws {TypeError} If the given `json` is invalid.
35080
35081
  */
35081
35082
  static async fromJsonLd(json, options = {}) {
35082
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
35083
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
35083
35084
  try {
35084
35085
  const object = await this.__fromJsonLd__Remove__(json, span, options);
35085
35086
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35474,7 +35475,7 @@ var Service = class Service extends Object$1 {
35474
35475
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35475
35476
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35476
35477
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35477
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35478
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35478
35479
  let fetchResult;
35479
35480
  try {
35480
35481
  fetchResult = await documentLoader(url.href);
@@ -35636,7 +35637,7 @@ var Service = class Service extends Object$1 {
35636
35637
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35637
35638
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35638
35639
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35639
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35640
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35640
35641
  let fetchResult;
35641
35642
  try {
35642
35643
  fetchResult = await documentLoader(url.href);
@@ -35816,7 +35817,7 @@ var Service = class Service extends Object$1 {
35816
35817
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35817
35818
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35818
35819
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35819
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35820
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35820
35821
  let fetchResult;
35821
35822
  try {
35822
35823
  fetchResult = await documentLoader(url.href);
@@ -35958,7 +35959,7 @@ var Service = class Service extends Object$1 {
35958
35959
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35959
35960
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35960
35961
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35961
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
35962
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
35962
35963
  let fetchResult;
35963
35964
  try {
35964
35965
  fetchResult = await documentLoader(url.href);
@@ -36097,7 +36098,7 @@ var Service = class Service extends Object$1 {
36097
36098
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36098
36099
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36099
36100
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36100
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36101
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36101
36102
  let fetchResult;
36102
36103
  try {
36103
36104
  fetchResult = await documentLoader(url.href);
@@ -36221,7 +36222,7 @@ var Service = class Service extends Object$1 {
36221
36222
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36222
36223
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36223
36224
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36224
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36225
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36225
36226
  let fetchResult;
36226
36227
  try {
36227
36228
  fetchResult = await documentLoader(url.href);
@@ -36348,7 +36349,7 @@ var Service = class Service extends Object$1 {
36348
36349
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36349
36350
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36350
36351
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36351
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36352
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36352
36353
  let fetchResult;
36353
36354
  try {
36354
36355
  fetchResult = await documentLoader(url.href);
@@ -36473,7 +36474,7 @@ var Service = class Service extends Object$1 {
36473
36474
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36474
36475
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36475
36476
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36476
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36477
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36477
36478
  let fetchResult;
36478
36479
  try {
36479
36480
  fetchResult = await documentLoader(url.href);
@@ -36596,7 +36597,7 @@ var Service = class Service extends Object$1 {
36596
36597
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36597
36598
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36598
36599
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36599
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36600
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36600
36601
  let fetchResult;
36601
36602
  try {
36602
36603
  fetchResult = await documentLoader(url.href);
@@ -36719,7 +36720,7 @@ var Service = class Service extends Object$1 {
36719
36720
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36720
36721
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36721
36722
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36722
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36723
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36723
36724
  let fetchResult;
36724
36725
  try {
36725
36726
  fetchResult = await documentLoader(url.href);
@@ -36881,7 +36882,7 @@ var Service = class Service extends Object$1 {
36881
36882
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36882
36883
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36883
36884
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36884
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
36885
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
36885
36886
  let fetchResult;
36886
36887
  try {
36887
36888
  fetchResult = await documentLoader(url.href);
@@ -37047,7 +37048,7 @@ var Service = class Service extends Object$1 {
37047
37048
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37048
37049
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37049
37050
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37050
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
37051
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
37051
37052
  let fetchResult;
37052
37053
  try {
37053
37054
  fetchResult = await documentLoader(url.href);
@@ -37261,7 +37262,7 @@ var Service = class Service extends Object$1 {
37261
37262
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37262
37263
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37263
37264
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37264
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.lookup_object", async (span) => {
37265
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.lookup_object", async (span) => {
37265
37266
  let fetchResult;
37266
37267
  try {
37267
37268
  fetchResult = await documentLoader(url.href);
@@ -37944,7 +37945,7 @@ var Service = class Service extends Object$1 {
37944
37945
  * @throws {TypeError} If the given `json` is invalid.
37945
37946
  */
37946
37947
  static async fromJsonLd(json, options = {}) {
37947
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
37948
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
37948
37949
  try {
37949
37950
  const object = await this.__fromJsonLd__Service__(json, span, options);
37950
37951
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38594,7 +38595,7 @@ var Source = class {
38594
38595
  * @throws {TypeError} If the given `json` is invalid.
38595
38596
  */
38596
38597
  static async fromJsonLd(json, options = {}) {
38597
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38598
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38598
38599
  try {
38599
38600
  const object = await this.__fromJsonLd__Source__(json, span, options);
38600
38601
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38769,7 +38770,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
38769
38770
  * @throws {TypeError} If the given `json` is invalid.
38770
38771
  */
38771
38772
  static async fromJsonLd(json, options = {}) {
38772
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38773
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38773
38774
  try {
38774
38775
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
38775
38776
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38917,7 +38918,7 @@ var TentativeReject = class TentativeReject extends Reject {
38917
38918
  * @throws {TypeError} If the given `json` is invalid.
38918
38919
  */
38919
38920
  static async fromJsonLd(json, options = {}) {
38920
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
38921
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
38921
38922
  try {
38922
38923
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
38923
38924
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38998,7 +38999,7 @@ var Tombstone = class Tombstone extends Object$1 {
38998
38999
  */
38999
39000
  constructor(values, options = {}) {
39000
39001
  super(values, options);
39001
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
39002
+ if ("deleted" in values && values.deleted != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.deleted)) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
39002
39003
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
39003
39004
  }
39004
39005
  /**
@@ -39017,7 +39018,7 @@ var Tombstone = class Tombstone extends Object$1 {
39017
39018
  }
39018
39019
  const clone = super.clone(values, options);
39019
39020
  clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
39020
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
39021
+ if ("deleted" in values && values.deleted != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.deleted)) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
39021
39022
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
39022
39023
  return clone;
39023
39024
  }
@@ -39104,7 +39105,7 @@ var Tombstone = class Tombstone extends Object$1 {
39104
39105
  * @throws {TypeError} If the given `json` is invalid.
39105
39106
  */
39106
39107
  static async fromJsonLd(json, options = {}) {
39107
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39108
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39108
39109
  try {
39109
39110
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
39110
39111
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39267,7 +39268,7 @@ var Travel = class Travel extends IntransitiveActivity {
39267
39268
  * @throws {TypeError} If the given `json` is invalid.
39268
39269
  */
39269
39270
  static async fromJsonLd(json, options = {}) {
39270
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39271
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39271
39272
  try {
39272
39273
  const object = await this.__fromJsonLd__Travel__(json, span, options);
39273
39274
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39429,7 +39430,7 @@ var Undo = class Undo extends Activity {
39429
39430
  * @throws {TypeError} If the given `json` is invalid.
39430
39431
  */
39431
39432
  static async fromJsonLd(json, options = {}) {
39432
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39433
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39433
39434
  try {
39434
39435
  const object = await this.__fromJsonLd__Undo__(json, span, options);
39435
39436
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39629,7 +39630,7 @@ var Update = class Update extends Activity {
39629
39630
  * @throws {TypeError} If the given `json` is invalid.
39630
39631
  */
39631
39632
  static async fromJsonLd(json, options = {}) {
39632
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39633
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39633
39634
  try {
39634
39635
  const object = await this.__fromJsonLd__Update__(json, span, options);
39635
39636
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39783,7 +39784,7 @@ var Video = class Video extends Document {
39783
39784
  * @throws {TypeError} If the given `json` is invalid.
39784
39785
  */
39785
39786
  static async fromJsonLd(json, options = {}) {
39786
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39787
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39787
39788
  try {
39788
39789
  const object = await this.__fromJsonLd__Video__(json, span, options);
39789
39790
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39930,7 +39931,7 @@ var View = class View extends Activity {
39930
39931
  * @throws {TypeError} If the given `json` is invalid.
39931
39932
  */
39932
39933
  static async fromJsonLd(json, options = {}) {
39933
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.16").startActiveSpan("activitypub.parse_object", async (span) => {
39934
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.17").startActiveSpan("activitypub.parse_object", async (span) => {
39934
39935
  try {
39935
39936
  const object = await this.__fromJsonLd__View__(json, span, options);
39936
39937
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);