@fedify/vocab 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.2.1";
36
+ var version = "2.2.2";
36
37
  //#endregion
37
38
  //#region src/type.ts
38
39
  function getTypeId(object) {
@@ -194,7 +195,7 @@ var Object$1 = class Object$1 {
194
195
  if (Array.isArray(values.names) && values.names.every((v) => typeof v === "string" || v instanceof _fedify_vocab_runtime.LanguageString)) this.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav_name = values.names;
195
196
  else throw new TypeError("The names must be an array of type string | LanguageString.");
196
197
  }
197
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
198
+ if ("endTime" in values && values.endTime != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.endTime)) this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
198
199
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
199
200
  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)) {
200
201
  this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = values.generators;
@@ -255,7 +256,7 @@ var Object$1 = class Object$1 {
255
256
  for (let i = 0; i < values.previews.length; i++) this.#_trust_gCVTegXxWWCw6wWRxa1QF65zusg_preview.add(i);
256
257
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
257
258
  }
258
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
259
+ if ("published" in values && values.published != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.published)) this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
259
260
  else throw new TypeError("The published must be of type Temporal.Instant.");
260
261
  if ("replies" in values && values.replies != null) if (values.replies instanceof Collection || values.replies instanceof URL) {
261
262
  this.#_7UpwM3JWcXhADcscukEehBorf6k_replies = [values.replies];
@@ -273,7 +274,7 @@ var Object$1 = class Object$1 {
273
274
  this.#_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = [values.emojiReactions];
274
275
  this.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions.add(0);
275
276
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
276
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
277
+ if ("startTime" in values && values.startTime != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.startTime)) this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
277
278
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
278
279
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof _fedify_vocab_runtime.LanguageString) this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
279
280
  else throw new TypeError("The summary must be of type string | LanguageString.");
@@ -286,7 +287,7 @@ var Object$1 = class Object$1 {
286
287
  this.#_5chuqj6s95p5gg2sk1HntGfarRf_tag = values.tags;
287
288
  for (let i = 0; i < values.tags.length; i++) this.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
288
289
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
289
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
290
+ if ("updated" in values && values.updated != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.updated)) this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
290
291
  else throw new TypeError("The updated must be of type Temporal.Instant.");
291
292
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
292
293
  else throw new TypeError("The url must be of type URL | Link.");
@@ -341,7 +342,7 @@ var Object$1 = class Object$1 {
341
342
  }
342
343
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") this.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
343
344
  else throw new TypeError("The mediaType must be of type string.");
344
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
345
+ if ("duration" in values && values.duration != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalDuration)(values.duration)) this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
345
346
  else throw new TypeError("The duration must be of type Temporal.Duration.");
346
347
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
347
348
  else throw new TypeError("The sensitive must be of type boolean.");
@@ -449,7 +450,7 @@ var Object$1 = class Object$1 {
449
450
  else throw new TypeError("The names must be an array of type string | LanguageString.");
450
451
  }
451
452
  clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = this.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime;
452
- if ("endTime" in values && values.endTime != null) if (values.endTime instanceof Temporal.Instant) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
453
+ if ("endTime" in values && values.endTime != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.endTime)) clone.#_219RwDanjScTv5tYCjwGZVCM7KZ9_endTime = [values.endTime];
453
454
  else throw new TypeError("The endTime must be of type Temporal.Instant.");
454
455
  clone.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator = this.#_86xFhmgBapoMvYqjbjRuDPayTrS_generator;
455
456
  clone.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator = new Set(this.#_trust_86xFhmgBapoMvYqjbjRuDPayTrS_generator);
@@ -529,7 +530,7 @@ var Object$1 = class Object$1 {
529
530
  } else throw new TypeError("The previews must be an array of type Link | Object | URL.");
530
531
  }
531
532
  clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = this.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published;
532
- if ("published" in values && values.published != null) if (values.published instanceof Temporal.Instant) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
533
+ if ("published" in values && values.published != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.published)) clone.#_5e258TDXtuhaFRPZiGoDfEpjdMr_published = [values.published];
533
534
  else throw new TypeError("The published must be of type Temporal.Instant.");
534
535
  clone.#_7UpwM3JWcXhADcscukEehBorf6k_replies = this.#_7UpwM3JWcXhADcscukEehBorf6k_replies;
535
536
  clone.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies = new Set(this.#_trust_7UpwM3JWcXhADcscukEehBorf6k_replies);
@@ -556,7 +557,7 @@ var Object$1 = class Object$1 {
556
557
  clone.#_trust_kMatyyNAuxoTD8GQMBfA5ogThMR_emojiReactions = new Set([0]);
557
558
  } else throw new TypeError("The emojiReactions must be of type Collection | URL.");
558
559
  clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = this.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime;
559
- if ("startTime" in values && values.startTime != null) if (values.startTime instanceof Temporal.Instant) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
560
+ if ("startTime" in values && values.startTime != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.startTime)) clone.#_2w3Jmue4up8iVDUA51WZqomEF438_startTime = [values.startTime];
560
561
  else throw new TypeError("The startTime must be of type Temporal.Instant.");
561
562
  clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = this.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary;
562
563
  if ("summary" in values && values.summary != null) if (typeof values.summary === "string" || values.summary instanceof _fedify_vocab_runtime.LanguageString) clone.#_4LqirZspQbFWWQEbFcXAxm7tTDN1_summary = [values.summary];
@@ -574,7 +575,7 @@ var Object$1 = class Object$1 {
574
575
  for (let i = 0; i < values.tags.length; i++) clone.#_trust_5chuqj6s95p5gg2sk1HntGfarRf_tag.add(i);
575
576
  } else throw new TypeError("The tags must be an array of type Object | Link | URL.");
576
577
  clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = this.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated;
577
- if ("updated" in values && values.updated != null) if (values.updated instanceof Temporal.Instant) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
578
+ if ("updated" in values && values.updated != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.updated)) clone.#_385aB7ySixcf5Un6z3VsWmThgCzQ_updated = [values.updated];
578
579
  else throw new TypeError("The updated must be of type Temporal.Instant.");
579
580
  clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = this.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url;
580
581
  if ("url" in values && values.url != null) if (values.url instanceof URL || values.url instanceof Link) clone.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865_url = [values.url];
@@ -644,7 +645,7 @@ var Object$1 = class Object$1 {
644
645
  if ("mediaType" in values && values.mediaType != null) if (typeof values.mediaType === "string") clone.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8_mediaType = [values.mediaType];
645
646
  else throw new TypeError("The mediaType must be of type string.");
646
647
  clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = this.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration;
647
- if ("duration" in values && values.duration != null) if (values.duration instanceof Temporal.Duration) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
648
+ if ("duration" in values && values.duration != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalDuration)(values.duration)) clone.#_3bNvLMBN1bCJETiTihM3wvi1B2JX_duration = [values.duration];
648
649
  else throw new TypeError("The duration must be of type Temporal.Duration.");
649
650
  clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = this.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive;
650
651
  if ("sensitive" in values && values.sensitive != null) if (typeof values.sensitive === "boolean") clone.#_u8gdcDTtChQ4tbSQMXc4cYWyum7_sensitive = [values.sensitive];
@@ -696,7 +697,7 @@ var Object$1 = class Object$1 {
696
697
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
697
698
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
698
699
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
699
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
700
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
700
701
  let fetchResult;
701
702
  try {
702
703
  fetchResult = await documentLoader(url.href);
@@ -842,7 +843,7 @@ var Object$1 = class Object$1 {
842
843
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
843
844
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
844
845
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
845
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
846
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
846
847
  let fetchResult;
847
848
  try {
848
849
  fetchResult = await documentLoader(url.href);
@@ -1054,7 +1055,7 @@ var Object$1 = class Object$1 {
1054
1055
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1055
1056
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1056
1057
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1057
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1058
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1058
1059
  let fetchResult;
1059
1060
  try {
1060
1061
  fetchResult = await documentLoader(url.href);
@@ -1238,7 +1239,7 @@ var Object$1 = class Object$1 {
1238
1239
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1239
1240
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1240
1241
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1241
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1242
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1242
1243
  let fetchResult;
1243
1244
  try {
1244
1245
  fetchResult = await documentLoader(url.href);
@@ -1400,7 +1401,7 @@ var Object$1 = class Object$1 {
1400
1401
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1401
1402
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1402
1403
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1403
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1404
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1404
1405
  let fetchResult;
1405
1406
  try {
1406
1407
  fetchResult = await documentLoader(url.href);
@@ -1530,7 +1531,7 @@ var Object$1 = class Object$1 {
1530
1531
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1531
1532
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1532
1533
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1533
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1534
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1534
1535
  let fetchResult;
1535
1536
  try {
1536
1537
  fetchResult = await documentLoader(url.href);
@@ -1696,7 +1697,7 @@ var Object$1 = class Object$1 {
1696
1697
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1697
1698
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1698
1699
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1699
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1700
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1700
1701
  let fetchResult;
1701
1702
  try {
1702
1703
  fetchResult = await documentLoader(url.href);
@@ -1862,7 +1863,7 @@ var Object$1 = class Object$1 {
1862
1863
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1863
1864
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1864
1865
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1865
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
1866
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
1866
1867
  let fetchResult;
1867
1868
  try {
1868
1869
  fetchResult = await documentLoader(url.href);
@@ -2036,7 +2037,7 @@ var Object$1 = class Object$1 {
2036
2037
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2037
2038
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2038
2039
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2039
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2040
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2040
2041
  let fetchResult;
2041
2042
  try {
2042
2043
  fetchResult = await documentLoader(url.href);
@@ -2210,7 +2211,7 @@ var Object$1 = class Object$1 {
2210
2211
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2211
2212
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2212
2213
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2213
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2214
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2214
2215
  let fetchResult;
2215
2216
  try {
2216
2217
  fetchResult = await documentLoader(url.href);
@@ -2389,7 +2390,7 @@ var Object$1 = class Object$1 {
2389
2390
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2390
2391
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2391
2392
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2392
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2393
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2393
2394
  let fetchResult;
2394
2395
  try {
2395
2396
  fetchResult = await documentLoader(url.href);
@@ -2510,7 +2511,7 @@ var Object$1 = class Object$1 {
2510
2511
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2511
2512
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2512
2513
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2513
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2514
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2514
2515
  let fetchResult;
2515
2516
  try {
2516
2517
  fetchResult = await documentLoader(url.href);
@@ -2637,7 +2638,7 @@ var Object$1 = class Object$1 {
2637
2638
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2638
2639
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2639
2640
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2640
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2641
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2641
2642
  let fetchResult;
2642
2643
  try {
2643
2644
  fetchResult = await documentLoader(url.href);
@@ -2764,7 +2765,7 @@ var Object$1 = class Object$1 {
2764
2765
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2765
2766
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2766
2767
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2767
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2768
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2768
2769
  let fetchResult;
2769
2770
  try {
2770
2771
  fetchResult = await documentLoader(url.href);
@@ -2909,7 +2910,7 @@ var Object$1 = class Object$1 {
2909
2910
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2910
2911
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2911
2912
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2912
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
2913
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
2913
2914
  let fetchResult;
2914
2915
  try {
2915
2916
  fetchResult = await documentLoader(url.href);
@@ -3061,7 +3062,7 @@ var Object$1 = class Object$1 {
3061
3062
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3062
3063
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3063
3064
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3064
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3065
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3065
3066
  let fetchResult;
3066
3067
  try {
3067
3068
  fetchResult = await documentLoader(url.href);
@@ -3225,7 +3226,7 @@ var Object$1 = class Object$1 {
3225
3226
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3226
3227
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3227
3228
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3228
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3229
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3229
3230
  let fetchResult;
3230
3231
  try {
3231
3232
  fetchResult = await documentLoader(url.href);
@@ -3389,7 +3390,7 @@ var Object$1 = class Object$1 {
3389
3390
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3390
3391
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3391
3392
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3392
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3393
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3393
3394
  let fetchResult;
3394
3395
  try {
3395
3396
  fetchResult = await documentLoader(url.href);
@@ -3553,7 +3554,7 @@ var Object$1 = class Object$1 {
3553
3554
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3554
3555
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3555
3556
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3556
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3557
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3557
3558
  let fetchResult;
3558
3559
  try {
3559
3560
  fetchResult = await documentLoader(url.href);
@@ -3754,7 +3755,7 @@ var Object$1 = class Object$1 {
3754
3755
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3755
3756
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3756
3757
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3757
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3758
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3758
3759
  let fetchResult;
3759
3760
  try {
3760
3761
  fetchResult = await documentLoader(url.href);
@@ -3941,7 +3942,7 @@ var Object$1 = class Object$1 {
3941
3942
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3942
3943
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3943
3944
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3944
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
3945
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
3945
3946
  let fetchResult;
3946
3947
  try {
3947
3948
  fetchResult = await documentLoader(url.href);
@@ -4062,7 +4063,7 @@ var Object$1 = class Object$1 {
4062
4063
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4063
4064
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4064
4065
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4065
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
4066
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
4066
4067
  let fetchResult;
4067
4068
  try {
4068
4069
  fetchResult = await documentLoader(url.href);
@@ -4183,7 +4184,7 @@ var Object$1 = class Object$1 {
4183
4184
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4184
4185
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4185
4186
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4186
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
4187
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
4187
4188
  let fetchResult;
4188
4189
  try {
4189
4190
  fetchResult = await documentLoader(url.href);
@@ -5010,7 +5011,7 @@ var Object$1 = class Object$1 {
5010
5011
  * @throws {TypeError} If the given `json` is invalid.
5011
5012
  */
5012
5013
  static async fromJsonLd(json, options = {}) {
5013
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
5014
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
5014
5015
  try {
5015
5016
  const object = await this.__fromJsonLd__Object__(json, span, options);
5016
5017
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6460,7 +6461,7 @@ var Emoji = class Emoji extends Object$1 {
6460
6461
  * @throws {TypeError} If the given `json` is invalid.
6461
6462
  */
6462
6463
  static async fromJsonLd(json, options = {}) {
6463
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
6464
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
6464
6465
  try {
6465
6466
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
6466
6467
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6594,7 +6595,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
6594
6595
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6595
6596
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6596
6597
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6597
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
6598
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
6598
6599
  let fetchResult;
6599
6600
  try {
6600
6601
  fetchResult = await documentLoader(url.href);
@@ -6732,7 +6733,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
6732
6733
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6733
6734
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6734
6735
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6735
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
6736
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
6736
6737
  let fetchResult;
6737
6738
  try {
6738
6739
  fetchResult = await documentLoader(url.href);
@@ -7016,7 +7017,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7016
7017
  * @throws {TypeError} If the given `json` is invalid.
7017
7018
  */
7018
7019
  static async fromJsonLd(json, options = {}) {
7019
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
7020
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
7020
7021
  try {
7021
7022
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
7022
7023
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7341,7 +7342,7 @@ var Activity = class Activity extends Object$1 {
7341
7342
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7342
7343
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7343
7344
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7344
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
7345
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
7345
7346
  let fetchResult;
7346
7347
  try {
7347
7348
  fetchResult = await documentLoader(url.href);
@@ -7553,7 +7554,7 @@ var Activity = class Activity extends Object$1 {
7553
7554
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7554
7555
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7555
7556
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7556
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
7557
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
7557
7558
  let fetchResult;
7558
7559
  try {
7559
7560
  fetchResult = await documentLoader(url.href);
@@ -7719,7 +7720,7 @@ var Activity = class Activity extends Object$1 {
7719
7720
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7720
7721
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7721
7722
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7722
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
7723
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
7723
7724
  let fetchResult;
7724
7725
  try {
7725
7726
  fetchResult = await documentLoader(url.href);
@@ -7891,7 +7892,7 @@ var Activity = class Activity extends Object$1 {
7891
7892
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7892
7893
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7893
7894
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7894
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
7895
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
7895
7896
  let fetchResult;
7896
7897
  try {
7897
7898
  fetchResult = await documentLoader(url.href);
@@ -8057,7 +8058,7 @@ var Activity = class Activity extends Object$1 {
8057
8058
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8058
8059
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8059
8060
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8060
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
8061
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
8061
8062
  let fetchResult;
8062
8063
  try {
8063
8064
  fetchResult = await documentLoader(url.href);
@@ -8225,7 +8226,7 @@ var Activity = class Activity extends Object$1 {
8225
8226
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8226
8227
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8227
8228
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8228
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
8229
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
8229
8230
  let fetchResult;
8230
8231
  try {
8231
8232
  fetchResult = await documentLoader(url.href);
@@ -8476,7 +8477,7 @@ var Activity = class Activity extends Object$1 {
8476
8477
  * @throws {TypeError} If the given `json` is invalid.
8477
8478
  */
8478
8479
  static async fromJsonLd(json, options = {}) {
8479
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
8480
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
8480
8481
  try {
8481
8482
  const object = await this.__fromJsonLd__Activity__(json, span, options);
8482
8483
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8809,7 +8810,7 @@ var EmojiReact = class EmojiReact extends Activity {
8809
8810
  * @throws {TypeError} If the given `json` is invalid.
8810
8811
  */
8811
8812
  static async fromJsonLd(json, options = {}) {
8812
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
8813
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
8813
8814
  try {
8814
8815
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
8815
8816
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9055,7 +9056,7 @@ var PropertyValue = class {
9055
9056
  * @throws {TypeError} If the given `json` is invalid.
9056
9057
  */
9057
9058
  static async fromJsonLd(json, options = {}) {
9058
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
9059
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
9059
9060
  try {
9060
9061
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
9061
9062
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9320,7 +9321,7 @@ var Measure = class {
9320
9321
  * @throws {TypeError} If the given `json` is invalid.
9321
9322
  */
9322
9323
  static async fromJsonLd(json, options = {}) {
9323
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
9324
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
9324
9325
  try {
9325
9326
  const object = await this.__fromJsonLd__Measure__(json, span, options);
9326
9327
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9480,7 +9481,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9480
9481
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9481
9482
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9482
9483
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
9483
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
9484
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
9484
9485
  let fetchResult;
9485
9486
  try {
9486
9487
  fetchResult = await documentLoader(url.href);
@@ -9601,7 +9602,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9601
9602
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9602
9603
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9603
9604
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
9604
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
9605
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
9605
9606
  let fetchResult;
9606
9607
  try {
9607
9608
  fetchResult = await documentLoader(url.href);
@@ -9817,7 +9818,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9817
9818
  * @throws {TypeError} If the given `json` is invalid.
9818
9819
  */
9819
9820
  static async fromJsonLd(json, options = {}) {
9820
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
9821
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
9821
9822
  try {
9822
9823
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
9823
9824
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10018,7 +10019,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
10018
10019
  * @throws {TypeError} If the given `json` is invalid.
10019
10020
  */
10020
10021
  static async fromJsonLd(json, options = {}) {
10021
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
10022
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
10022
10023
  try {
10023
10024
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
10024
10025
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10282,7 +10283,7 @@ var InteractionPolicy = class {
10282
10283
  * @throws {TypeError} If the given `json` is invalid.
10283
10284
  */
10284
10285
  static async fromJsonLd(json, options = {}) {
10285
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
10286
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
10286
10287
  try {
10287
10288
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
10288
10289
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10607,7 +10608,7 @@ var InteractionRule = class {
10607
10608
  * @throws {TypeError} If the given `json` is invalid.
10608
10609
  */
10609
10610
  static async fromJsonLd(json, options = {}) {
10610
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
10611
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
10611
10612
  try {
10612
10613
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
10613
10614
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10768,7 +10769,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
10768
10769
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10769
10770
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10770
10771
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10771
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
10772
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
10772
10773
  let fetchResult;
10773
10774
  try {
10774
10775
  fetchResult = await documentLoader(url.href);
@@ -10889,7 +10890,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
10889
10890
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10890
10891
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10891
10892
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10892
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
10893
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
10893
10894
  let fetchResult;
10894
10895
  try {
10895
10896
  fetchResult = await documentLoader(url.href);
@@ -11105,7 +11106,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11105
11106
  * @throws {TypeError} If the given `json` is invalid.
11106
11107
  */
11107
11108
  static async fromJsonLd(json, options = {}) {
11108
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
11109
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
11109
11110
  try {
11110
11111
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
11111
11112
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11305,7 +11306,7 @@ var LikeRequest = class LikeRequest extends Activity {
11305
11306
  * @throws {TypeError} If the given `json` is invalid.
11306
11307
  */
11307
11308
  static async fromJsonLd(json, options = {}) {
11308
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
11309
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
11309
11310
  try {
11310
11311
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
11311
11312
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11436,7 +11437,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11436
11437
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11437
11438
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11438
11439
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11439
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
11440
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
11440
11441
  let fetchResult;
11441
11442
  try {
11442
11443
  fetchResult = await documentLoader(url.href);
@@ -11557,7 +11558,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11557
11558
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11558
11559
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11559
11560
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11560
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
11561
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
11561
11562
  let fetchResult;
11562
11563
  try {
11563
11564
  fetchResult = await documentLoader(url.href);
@@ -11773,7 +11774,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11773
11774
  * @throws {TypeError} If the given `json` is invalid.
11774
11775
  */
11775
11776
  static async fromJsonLd(json, options = {}) {
11776
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
11777
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
11777
11778
  try {
11778
11779
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
11779
11780
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11973,7 +11974,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
11973
11974
  * @throws {TypeError} If the given `json` is invalid.
11974
11975
  */
11975
11976
  static async fromJsonLd(json, options = {}) {
11976
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
11977
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
11977
11978
  try {
11978
11979
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
11979
11980
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12104,7 +12105,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12104
12105
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12105
12106
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12106
12107
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12107
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
12108
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
12108
12109
  let fetchResult;
12109
12110
  try {
12110
12111
  fetchResult = await documentLoader(url.href);
@@ -12224,7 +12225,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12224
12225
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12225
12226
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12226
12227
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12227
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
12228
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
12228
12229
  let fetchResult;
12229
12230
  try {
12230
12231
  fetchResult = await documentLoader(url.href);
@@ -12442,7 +12443,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12442
12443
  * @throws {TypeError} If the given `json` is invalid.
12443
12444
  */
12444
12445
  static async fromJsonLd(json, options = {}) {
12445
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
12446
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
12446
12447
  try {
12447
12448
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
12448
12449
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12672,7 +12673,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
12672
12673
  * @throws {TypeError} If the given `json` is invalid.
12673
12674
  */
12674
12675
  static async fromJsonLd(json, options = {}) {
12675
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
12676
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
12676
12677
  try {
12677
12678
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
12678
12679
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12878,7 +12879,7 @@ var DidService = class {
12878
12879
  * @throws {TypeError} If the given `json` is invalid.
12879
12880
  */
12880
12881
  static async fromJsonLd(json, options = {}) {
12881
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
12882
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
12882
12883
  try {
12883
12884
  const object = await this.__fromJsonLd__DidService__(json, span, options);
12884
12885
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13034,7 +13035,7 @@ var Export = class Export extends DidService {
13034
13035
  * @throws {TypeError} If the given `json` is invalid.
13035
13036
  */
13036
13037
  static async fromJsonLd(json, options = {}) {
13037
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
13038
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
13038
13039
  try {
13039
13040
  const object = await this.__fromJsonLd__Export__(json, span, options);
13040
13041
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13158,7 +13159,7 @@ var DataIntegrityProof = class {
13158
13159
  else throw new TypeError("The proofPurpose must be of type \"assertionMethod\" | \"authentication\" | \"capabilityInvocation\" | \"capabilityDelegation\" | \"keyAgreement\".");
13159
13160
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) this.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
13160
13161
  else throw new TypeError("The proofValue must be of type Uint8Array.");
13161
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
13162
+ if ("created" in values && values.created != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.created)) this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
13162
13163
  else throw new TypeError("The created must be of type Temporal.Instant.");
13163
13164
  }
13164
13165
  /**
@@ -13192,7 +13193,7 @@ var DataIntegrityProof = class {
13192
13193
  if ("proofValue" in values && values.proofValue != null) if (values.proofValue instanceof Uint8Array) clone.#_3CjFK5vfKpX4HQuNh2b18TykoVLq_proofValue = [values.proofValue];
13193
13194
  else throw new TypeError("The proofValue must be of type Uint8Array.");
13194
13195
  clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = this.#_3qzP3ukEZoUziK5FEiA1RhU4aqac;
13195
- if ("created" in values && values.created != null) if (values.created instanceof Temporal.Instant) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
13196
+ if ("created" in values && values.created != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.created)) clone.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = [values.created];
13196
13197
  else throw new TypeError("The created must be of type Temporal.Instant.");
13197
13198
  return clone;
13198
13199
  }
@@ -13207,7 +13208,7 @@ var DataIntegrityProof = class {
13207
13208
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13208
13209
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13209
13210
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
13210
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
13211
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
13211
13212
  let fetchResult;
13212
13213
  try {
13213
13214
  fetchResult = await documentLoader(url.href);
@@ -13426,7 +13427,7 @@ var DataIntegrityProof = class {
13426
13427
  * @throws {TypeError} If the given `json` is invalid.
13427
13428
  */
13428
13429
  static async fromJsonLd(json, options = {}) {
13429
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
13430
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
13430
13431
  try {
13431
13432
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
13432
13433
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13650,7 +13651,7 @@ var CryptographicKey = class {
13650
13651
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13651
13652
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13652
13653
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
13653
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
13654
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
13654
13655
  let fetchResult;
13655
13656
  try {
13656
13657
  fetchResult = await documentLoader(url.href);
@@ -13912,7 +13913,7 @@ var CryptographicKey = class {
13912
13913
  * @throws {TypeError} If the given `json` is invalid.
13913
13914
  */
13914
13915
  static async fromJsonLd(json, options = {}) {
13915
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
13916
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
13916
13917
  try {
13917
13918
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
13918
13919
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14109,7 +14110,7 @@ var Multikey = class {
14109
14110
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14110
14111
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14111
14112
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
14112
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
14113
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
14113
14114
  let fetchResult;
14114
14115
  try {
14115
14116
  fetchResult = await documentLoader(url.href);
@@ -14377,7 +14378,7 @@ var Multikey = class {
14377
14378
  * @throws {TypeError} If the given `json` is invalid.
14378
14379
  */
14379
14380
  static async fromJsonLd(json, options = {}) {
14380
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
14381
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
14381
14382
  try {
14382
14383
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
14383
14384
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14765,7 +14766,7 @@ var Intent = class {
14765
14766
  * @throws {TypeError} If the given `json` is invalid.
14766
14767
  */
14767
14768
  static async fromJsonLd(json, options = {}) {
14768
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
14769
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
14769
14770
  try {
14770
14771
  const object = await this.__fromJsonLd__Intent__(json, span, options);
14771
14772
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15182,7 +15183,7 @@ var Proposal = class Proposal extends Object$1 {
15182
15183
  * @throws {TypeError} If the given `json` is invalid.
15183
15184
  */
15184
15185
  static async fromJsonLd(json, options = {}) {
15185
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
15186
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
15186
15187
  try {
15187
15188
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
15188
15189
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15395,7 +15396,7 @@ var Accept = class Accept extends Activity {
15395
15396
  * @throws {TypeError} If the given `json` is invalid.
15396
15397
  */
15397
15398
  static async fromJsonLd(json, options = {}) {
15398
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
15399
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
15399
15400
  try {
15400
15401
  const object = await this.__fromJsonLd__Accept__(json, span, options);
15401
15402
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15547,7 +15548,7 @@ var Add = class Add extends Activity {
15547
15548
  * @throws {TypeError} If the given `json` is invalid.
15548
15549
  */
15549
15550
  static async fromJsonLd(json, options = {}) {
15550
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
15551
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
15551
15552
  try {
15552
15553
  const object = await this.__fromJsonLd__Add__(json, span, options);
15553
15554
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15726,7 +15727,7 @@ var Announce = class Announce extends Activity {
15726
15727
  * @throws {TypeError} If the given `json` is invalid.
15727
15728
  */
15728
15729
  static async fromJsonLd(json, options = {}) {
15729
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
15730
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
15730
15731
  try {
15731
15732
  const object = await this.__fromJsonLd__Announce__(json, span, options);
15732
15733
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16121,7 +16122,7 @@ var Application = class Application extends Object$1 {
16121
16122
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16122
16123
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16123
16124
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16124
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16125
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16125
16126
  let fetchResult;
16126
16127
  try {
16127
16128
  fetchResult = await documentLoader(url.href);
@@ -16283,7 +16284,7 @@ var Application = class Application extends Object$1 {
16283
16284
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16284
16285
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16285
16286
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16286
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16287
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16287
16288
  let fetchResult;
16288
16289
  try {
16289
16290
  fetchResult = await documentLoader(url.href);
@@ -16463,7 +16464,7 @@ var Application = class Application extends Object$1 {
16463
16464
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16464
16465
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16465
16466
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16466
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16467
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16467
16468
  let fetchResult;
16468
16469
  try {
16469
16470
  fetchResult = await documentLoader(url.href);
@@ -16605,7 +16606,7 @@ var Application = class Application extends Object$1 {
16605
16606
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16606
16607
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16607
16608
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16608
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16609
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16609
16610
  let fetchResult;
16610
16611
  try {
16611
16612
  fetchResult = await documentLoader(url.href);
@@ -16744,7 +16745,7 @@ var Application = class Application extends Object$1 {
16744
16745
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16745
16746
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16746
16747
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16747
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16748
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16748
16749
  let fetchResult;
16749
16750
  try {
16750
16751
  fetchResult = await documentLoader(url.href);
@@ -16868,7 +16869,7 @@ var Application = class Application extends Object$1 {
16868
16869
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16869
16870
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16870
16871
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16871
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16872
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16872
16873
  let fetchResult;
16873
16874
  try {
16874
16875
  fetchResult = await documentLoader(url.href);
@@ -16995,7 +16996,7 @@ var Application = class Application extends Object$1 {
16995
16996
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16996
16997
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16997
16998
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16998
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
16999
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
16999
17000
  let fetchResult;
17000
17001
  try {
17001
17002
  fetchResult = await documentLoader(url.href);
@@ -17120,7 +17121,7 @@ var Application = class Application extends Object$1 {
17120
17121
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17121
17122
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17122
17123
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17123
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17124
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17124
17125
  let fetchResult;
17125
17126
  try {
17126
17127
  fetchResult = await documentLoader(url.href);
@@ -17243,7 +17244,7 @@ var Application = class Application extends Object$1 {
17243
17244
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17244
17245
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17245
17246
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17246
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17247
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17247
17248
  let fetchResult;
17248
17249
  try {
17249
17250
  fetchResult = await documentLoader(url.href);
@@ -17366,7 +17367,7 @@ var Application = class Application extends Object$1 {
17366
17367
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17367
17368
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17368
17369
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17369
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17370
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17370
17371
  let fetchResult;
17371
17372
  try {
17372
17373
  fetchResult = await documentLoader(url.href);
@@ -17528,7 +17529,7 @@ var Application = class Application extends Object$1 {
17528
17529
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17529
17530
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17530
17531
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17531
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17532
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17532
17533
  let fetchResult;
17533
17534
  try {
17534
17535
  fetchResult = await documentLoader(url.href);
@@ -17694,7 +17695,7 @@ var Application = class Application extends Object$1 {
17694
17695
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17695
17696
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17696
17697
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17697
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17698
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17698
17699
  let fetchResult;
17699
17700
  try {
17700
17701
  fetchResult = await documentLoader(url.href);
@@ -17908,7 +17909,7 @@ var Application = class Application extends Object$1 {
17908
17909
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17909
17910
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17910
17911
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17911
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
17912
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
17912
17913
  let fetchResult;
17913
17914
  try {
17914
17915
  fetchResult = await documentLoader(url.href);
@@ -18593,7 +18594,7 @@ var Application = class Application extends Object$1 {
18593
18594
  * @throws {TypeError} If the given `json` is invalid.
18594
18595
  */
18595
18596
  static async fromJsonLd(json, options = {}) {
18596
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
18597
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
18597
18598
  try {
18598
18599
  const object = await this.__fromJsonLd__Application__(json, span, options);
18599
18600
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19181,7 +19182,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
19181
19182
  * @throws {TypeError} If the given `json` is invalid.
19182
19183
  */
19183
19184
  static async fromJsonLd(json, options = {}) {
19184
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
19185
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
19185
19186
  try {
19186
19187
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
19187
19188
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19334,7 +19335,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
19334
19335
  * @throws {TypeError} If the given `json` is invalid.
19335
19336
  */
19336
19337
  static async fromJsonLd(json, options = {}) {
19337
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
19338
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
19338
19339
  try {
19339
19340
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
19340
19341
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19464,7 +19465,7 @@ var Article = class Article extends Object$1 {
19464
19465
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19465
19466
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19466
19467
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19467
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
19468
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
19468
19469
  let fetchResult;
19469
19470
  try {
19470
19471
  fetchResult = await documentLoader(url.href);
@@ -19602,7 +19603,7 @@ var Article = class Article extends Object$1 {
19602
19603
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19603
19604
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19604
19605
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19605
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
19606
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
19606
19607
  let fetchResult;
19607
19608
  try {
19608
19609
  fetchResult = await documentLoader(url.href);
@@ -19888,7 +19889,7 @@ var Article = class Article extends Object$1 {
19888
19889
  * @throws {TypeError} If the given `json` is invalid.
19889
19890
  */
19890
19891
  static async fromJsonLd(json, options = {}) {
19891
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
19892
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
19892
19893
  try {
19893
19894
  const object = await this.__fromJsonLd__Article__(json, span, options);
19894
19895
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20169,7 +20170,7 @@ var Document = class Document extends Object$1 {
20169
20170
  * @throws {TypeError} If the given `json` is invalid.
20170
20171
  */
20171
20172
  static async fromJsonLd(json, options = {}) {
20172
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
20173
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
20173
20174
  try {
20174
20175
  const object = await this.__fromJsonLd__Document__(json, span, options);
20175
20176
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20364,7 +20365,7 @@ var Audio = class Audio extends Document {
20364
20365
  * @throws {TypeError} If the given `json` is invalid.
20365
20366
  */
20366
20367
  static async fromJsonLd(json, options = {}) {
20367
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
20368
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
20368
20369
  try {
20369
20370
  const object = await this.__fromJsonLd__Audio__(json, span, options);
20370
20371
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20513,7 +20514,7 @@ var Ignore = class Ignore extends Activity {
20513
20514
  * @throws {TypeError} If the given `json` is invalid.
20514
20515
  */
20515
20516
  static async fromJsonLd(json, options = {}) {
20516
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
20517
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
20517
20518
  try {
20518
20519
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
20519
20520
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20665,7 +20666,7 @@ var Block = class Block extends Ignore {
20665
20666
  * @throws {TypeError} If the given `json` is invalid.
20666
20667
  */
20667
20668
  static async fromJsonLd(json, options = {}) {
20668
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
20669
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
20669
20670
  try {
20670
20671
  const object = await this.__fromJsonLd__Block__(json, span, options);
20671
20672
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20929,7 +20930,7 @@ var Collection = class Collection extends Object$1 {
20929
20930
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20930
20931
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20931
20932
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20932
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
20933
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
20933
20934
  let fetchResult;
20934
20935
  try {
20935
20936
  fetchResult = await documentLoader(url.href);
@@ -21050,7 +21051,7 @@ var Collection = class Collection extends Object$1 {
21050
21051
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21051
21052
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21052
21053
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21053
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21054
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21054
21055
  let fetchResult;
21055
21056
  try {
21056
21057
  fetchResult = await documentLoader(url.href);
@@ -21171,7 +21172,7 @@ var Collection = class Collection extends Object$1 {
21171
21172
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21172
21173
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21173
21174
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21174
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21175
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21175
21176
  let fetchResult;
21176
21177
  try {
21177
21178
  fetchResult = await documentLoader(url.href);
@@ -21292,7 +21293,7 @@ var Collection = class Collection extends Object$1 {
21292
21293
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21293
21294
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21294
21295
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21295
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21296
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21296
21297
  let fetchResult;
21297
21298
  try {
21298
21299
  fetchResult = await documentLoader(url.href);
@@ -21423,7 +21424,7 @@ var Collection = class Collection extends Object$1 {
21423
21424
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21424
21425
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21425
21426
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21426
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21427
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21427
21428
  let fetchResult;
21428
21429
  try {
21429
21430
  fetchResult = await documentLoader(url.href);
@@ -21543,7 +21544,7 @@ var Collection = class Collection extends Object$1 {
21543
21544
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21544
21545
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21545
21546
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21546
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21547
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21547
21548
  let fetchResult;
21548
21549
  try {
21549
21550
  fetchResult = await documentLoader(url.href);
@@ -21663,7 +21664,7 @@ var Collection = class Collection extends Object$1 {
21663
21664
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21664
21665
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21665
21666
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21666
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21667
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21667
21668
  let fetchResult;
21668
21669
  try {
21669
21670
  fetchResult = await documentLoader(url.href);
@@ -21783,7 +21784,7 @@ var Collection = class Collection extends Object$1 {
21783
21784
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21784
21785
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21785
21786
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21786
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21787
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21787
21788
  let fetchResult;
21788
21789
  try {
21789
21790
  fetchResult = await documentLoader(url.href);
@@ -21903,7 +21904,7 @@ var Collection = class Collection extends Object$1 {
21903
21904
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21904
21905
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21905
21906
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21906
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
21907
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
21907
21908
  let fetchResult;
21908
21909
  try {
21909
21910
  fetchResult = await documentLoader(url.href);
@@ -22023,7 +22024,7 @@ var Collection = class Collection extends Object$1 {
22023
22024
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22024
22025
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22025
22026
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22026
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
22027
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
22027
22028
  let fetchResult;
22028
22029
  try {
22029
22030
  fetchResult = await documentLoader(url.href);
@@ -22143,7 +22144,7 @@ var Collection = class Collection extends Object$1 {
22143
22144
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22144
22145
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22145
22146
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22146
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
22147
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
22147
22148
  let fetchResult;
22148
22149
  try {
22149
22150
  fetchResult = await documentLoader(url.href);
@@ -22263,7 +22264,7 @@ var Collection = class Collection extends Object$1 {
22263
22264
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22264
22265
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22265
22266
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22266
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
22267
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
22267
22268
  let fetchResult;
22268
22269
  try {
22269
22270
  fetchResult = await documentLoader(url.href);
@@ -22712,7 +22713,7 @@ var Collection = class Collection extends Object$1 {
22712
22713
  * @throws {TypeError} If the given `json` is invalid.
22713
22714
  */
22714
22715
  static async fromJsonLd(json, options = {}) {
22715
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
22716
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
22716
22717
  try {
22717
22718
  const object = await this.__fromJsonLd__Collection__(json, span, options);
22718
22719
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23192,7 +23193,7 @@ var CollectionPage = class CollectionPage extends Collection {
23192
23193
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23193
23194
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23194
23195
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23195
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
23196
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
23196
23197
  let fetchResult;
23197
23198
  try {
23198
23199
  fetchResult = await documentLoader(url.href);
@@ -23313,7 +23314,7 @@ var CollectionPage = class CollectionPage extends Collection {
23313
23314
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23314
23315
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23315
23316
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23316
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
23317
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
23317
23318
  let fetchResult;
23318
23319
  try {
23319
23320
  fetchResult = await documentLoader(url.href);
@@ -23433,7 +23434,7 @@ var CollectionPage = class CollectionPage extends Collection {
23433
23434
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23434
23435
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23435
23436
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23436
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
23437
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
23437
23438
  let fetchResult;
23438
23439
  try {
23439
23440
  fetchResult = await documentLoader(url.href);
@@ -23719,7 +23720,7 @@ var CollectionPage = class CollectionPage extends Collection {
23719
23720
  * @throws {TypeError} If the given `json` is invalid.
23720
23721
  */
23721
23722
  static async fromJsonLd(json, options = {}) {
23722
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
23723
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
23723
23724
  try {
23724
23725
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
23725
23726
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23962,7 +23963,7 @@ var Create = class Create extends Activity {
23962
23963
  * @throws {TypeError} If the given `json` is invalid.
23963
23964
  */
23964
23965
  static async fromJsonLd(json, options = {}) {
23965
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
23966
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
23966
23967
  try {
23967
23968
  const object = await this.__fromJsonLd__Create__(json, span, options);
23968
23969
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24137,7 +24138,7 @@ var Delete = class Delete extends Activity {
24137
24138
  * @throws {TypeError} If the given `json` is invalid.
24138
24139
  */
24139
24140
  static async fromJsonLd(json, options = {}) {
24140
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
24141
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
24141
24142
  try {
24142
24143
  const object = await this.__fromJsonLd__Delete__(json, span, options);
24143
24144
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24289,7 +24290,7 @@ var Dislike = class Dislike extends Activity {
24289
24290
  * @throws {TypeError} If the given `json` is invalid.
24290
24291
  */
24291
24292
  static async fromJsonLd(json, options = {}) {
24292
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
24293
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
24293
24294
  try {
24294
24295
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
24295
24296
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24634,7 +24635,7 @@ var Endpoints = class {
24634
24635
  * @throws {TypeError} If the given `json` is invalid.
24635
24636
  */
24636
24637
  static async fromJsonLd(json, options = {}) {
24637
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
24638
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
24638
24639
  try {
24639
24640
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
24640
24641
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24880,7 +24881,7 @@ var Event = class Event extends Object$1 {
24880
24881
  * @throws {TypeError} If the given `json` is invalid.
24881
24882
  */
24882
24883
  static async fromJsonLd(json, options = {}) {
24883
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
24884
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
24884
24885
  try {
24885
24886
  const object = await this.__fromJsonLd__Event__(json, span, options);
24886
24887
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25030,7 +25031,7 @@ var Flag = class Flag extends Activity {
25030
25031
  * @throws {TypeError} If the given `json` is invalid.
25031
25032
  */
25032
25033
  static async fromJsonLd(json, options = {}) {
25033
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
25034
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
25034
25035
  try {
25035
25036
  const object = await this.__fromJsonLd__Flag__(json, span, options);
25036
25037
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25184,7 +25185,7 @@ var Follow = class Follow extends Activity {
25184
25185
  * @throws {TypeError} If the given `json` is invalid.
25185
25186
  */
25186
25187
  static async fromJsonLd(json, options = {}) {
25187
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
25188
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
25188
25189
  try {
25189
25190
  const object = await this.__fromJsonLd__Follow__(json, span, options);
25190
25191
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25579,7 +25580,7 @@ var Group = class Group extends Object$1 {
25579
25580
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25580
25581
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25581
25582
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25582
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
25583
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
25583
25584
  let fetchResult;
25584
25585
  try {
25585
25586
  fetchResult = await documentLoader(url.href);
@@ -25741,7 +25742,7 @@ var Group = class Group extends Object$1 {
25741
25742
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25742
25743
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25743
25744
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25744
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
25745
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
25745
25746
  let fetchResult;
25746
25747
  try {
25747
25748
  fetchResult = await documentLoader(url.href);
@@ -25921,7 +25922,7 @@ var Group = class Group extends Object$1 {
25921
25922
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25922
25923
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25923
25924
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25924
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
25925
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
25925
25926
  let fetchResult;
25926
25927
  try {
25927
25928
  fetchResult = await documentLoader(url.href);
@@ -26063,7 +26064,7 @@ var Group = class Group extends Object$1 {
26063
26064
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26064
26065
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26065
26066
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26066
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26067
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26067
26068
  let fetchResult;
26068
26069
  try {
26069
26070
  fetchResult = await documentLoader(url.href);
@@ -26202,7 +26203,7 @@ var Group = class Group extends Object$1 {
26202
26203
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26203
26204
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26204
26205
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26205
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26206
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26206
26207
  let fetchResult;
26207
26208
  try {
26208
26209
  fetchResult = await documentLoader(url.href);
@@ -26326,7 +26327,7 @@ var Group = class Group extends Object$1 {
26326
26327
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26327
26328
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26328
26329
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26329
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26330
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26330
26331
  let fetchResult;
26331
26332
  try {
26332
26333
  fetchResult = await documentLoader(url.href);
@@ -26453,7 +26454,7 @@ var Group = class Group extends Object$1 {
26453
26454
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26454
26455
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26455
26456
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26456
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26457
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26457
26458
  let fetchResult;
26458
26459
  try {
26459
26460
  fetchResult = await documentLoader(url.href);
@@ -26578,7 +26579,7 @@ var Group = class Group extends Object$1 {
26578
26579
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26579
26580
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26580
26581
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26581
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26582
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26582
26583
  let fetchResult;
26583
26584
  try {
26584
26585
  fetchResult = await documentLoader(url.href);
@@ -26701,7 +26702,7 @@ var Group = class Group extends Object$1 {
26701
26702
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26702
26703
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26703
26704
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26704
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26705
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26705
26706
  let fetchResult;
26706
26707
  try {
26707
26708
  fetchResult = await documentLoader(url.href);
@@ -26824,7 +26825,7 @@ var Group = class Group 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.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26828
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26828
26829
  let fetchResult;
26829
26830
  try {
26830
26831
  fetchResult = await documentLoader(url.href);
@@ -26986,7 +26987,7 @@ var Group = class Group extends Object$1 {
26986
26987
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26987
26988
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26988
26989
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26989
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
26990
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
26990
26991
  let fetchResult;
26991
26992
  try {
26992
26993
  fetchResult = await documentLoader(url.href);
@@ -27152,7 +27153,7 @@ var Group = class Group extends Object$1 {
27152
27153
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27153
27154
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27154
27155
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27155
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
27156
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
27156
27157
  let fetchResult;
27157
27158
  try {
27158
27159
  fetchResult = await documentLoader(url.href);
@@ -27366,7 +27367,7 @@ var Group = class Group extends Object$1 {
27366
27367
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27367
27368
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27368
27369
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27369
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
27370
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
27370
27371
  let fetchResult;
27371
27372
  try {
27372
27373
  fetchResult = await documentLoader(url.href);
@@ -28051,7 +28052,7 @@ var Group = class Group extends Object$1 {
28051
28052
  * @throws {TypeError} If the given `json` is invalid.
28052
28053
  */
28053
28054
  static async fromJsonLd(json, options = {}) {
28054
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
28055
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
28055
28056
  try {
28056
28057
  const object = await this.__fromJsonLd__Group__(json, span, options);
28057
28058
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28777,7 +28778,7 @@ var Link = class Link {
28777
28778
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28778
28779
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28779
28780
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28780
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
28781
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
28781
28782
  let fetchResult;
28782
28783
  try {
28783
28784
  fetchResult = await documentLoader(url.href);
@@ -29069,7 +29070,7 @@ var Link = class Link {
29069
29070
  * @throws {TypeError} If the given `json` is invalid.
29070
29071
  */
29071
29072
  static async fromJsonLd(json, options = {}) {
29072
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29073
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29073
29074
  try {
29074
29075
  const object = await this.__fromJsonLd__Link__(json, span, options);
29075
29076
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29417,7 +29418,7 @@ var Hashtag = class Hashtag extends Link {
29417
29418
  * @throws {TypeError} If the given `json` is invalid.
29418
29419
  */
29419
29420
  static async fromJsonLd(json, options = {}) {
29420
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29421
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29421
29422
  try {
29422
29423
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
29423
29424
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29579,7 +29580,7 @@ var Image = class Image extends Document {
29579
29580
  * @throws {TypeError} If the given `json` is invalid.
29580
29581
  */
29581
29582
  static async fromJsonLd(json, options = {}) {
29582
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29583
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29583
29584
  try {
29584
29585
  const object = await this.__fromJsonLd__Image__(json, span, options);
29585
29586
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29729,7 +29730,7 @@ var Offer = class Offer extends Activity {
29729
29730
  * @throws {TypeError} If the given `json` is invalid.
29730
29731
  */
29731
29732
  static async fromJsonLd(json, options = {}) {
29732
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29733
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29733
29734
  try {
29734
29735
  const object = await this.__fromJsonLd__Offer__(json, span, options);
29735
29736
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29879,7 +29880,7 @@ var Invite = class Invite extends Offer {
29879
29880
  * @throws {TypeError} If the given `json` is invalid.
29880
29881
  */
29881
29882
  static async fromJsonLd(json, options = {}) {
29882
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
29883
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
29883
29884
  try {
29884
29885
  const object = await this.__fromJsonLd__Invite__(json, span, options);
29885
29886
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30028,7 +30029,7 @@ var Join = class Join extends Activity {
30028
30029
  * @throws {TypeError} If the given `json` is invalid.
30029
30030
  */
30030
30031
  static async fromJsonLd(json, options = {}) {
30031
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30032
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30032
30033
  try {
30033
30034
  const object = await this.__fromJsonLd__Join__(json, span, options);
30034
30035
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30177,7 +30178,7 @@ var Leave = class Leave extends Activity {
30177
30178
  * @throws {TypeError} If the given `json` is invalid.
30178
30179
  */
30179
30180
  static async fromJsonLd(json, options = {}) {
30180
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30181
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30181
30182
  try {
30182
30183
  const object = await this.__fromJsonLd__Leave__(json, span, options);
30183
30184
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30330,7 +30331,7 @@ var Like = class Like extends Activity {
30330
30331
  * @throws {TypeError} If the given `json` is invalid.
30331
30332
  */
30332
30333
  static async fromJsonLd(json, options = {}) {
30333
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30334
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30334
30335
  try {
30335
30336
  const object = await this.__fromJsonLd__Like__(json, span, options);
30336
30337
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30478,7 +30479,7 @@ var Listen = class Listen extends Activity {
30478
30479
  * @throws {TypeError} If the given `json` is invalid.
30479
30480
  */
30480
30481
  static async fromJsonLd(json, options = {}) {
30481
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30482
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30482
30483
  try {
30483
30484
  const object = await this.__fromJsonLd__Listen__(json, span, options);
30484
30485
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30629,7 +30630,7 @@ var Mention = class Mention extends Link {
30629
30630
  * @throws {TypeError} If the given `json` is invalid.
30630
30631
  */
30631
30632
  static async fromJsonLd(json, options = {}) {
30632
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30633
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30633
30634
  try {
30634
30635
  const object = await this.__fromJsonLd__Mention__(json, span, options);
30635
30636
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30779,7 +30780,7 @@ var Move = class Move extends Activity {
30779
30780
  * @throws {TypeError} If the given `json` is invalid.
30780
30781
  */
30781
30782
  static async fromJsonLd(json, options = {}) {
30782
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
30783
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
30783
30784
  try {
30784
30785
  const object = await this.__fromJsonLd__Move__(json, span, options);
30785
30786
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30910,7 +30911,7 @@ var Note = class Note extends Object$1 {
30910
30911
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30911
30912
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30912
30913
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30913
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
30914
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
30914
30915
  let fetchResult;
30915
30916
  try {
30916
30917
  fetchResult = await documentLoader(url.href);
@@ -31048,7 +31049,7 @@ var Note = class Note extends Object$1 {
31048
31049
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31049
31050
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31050
31051
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31051
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
31052
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
31052
31053
  let fetchResult;
31053
31054
  try {
31054
31055
  fetchResult = await documentLoader(url.href);
@@ -31334,7 +31335,7 @@ var Note = class Note extends Object$1 {
31334
31335
  * @throws {TypeError} If the given `json` is invalid.
31335
31336
  */
31336
31337
  static async fromJsonLd(json, options = {}) {
31337
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
31338
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
31338
31339
  try {
31339
31340
  const object = await this.__fromJsonLd__Note__(json, span, options);
31340
31341
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31507,7 +31508,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
31507
31508
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31508
31509
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31509
31510
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31510
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
31511
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
31511
31512
  let fetchResult;
31512
31513
  try {
31513
31514
  fetchResult = await documentLoader(url.href);
@@ -31777,7 +31778,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
31777
31778
  * @throws {TypeError} If the given `json` is invalid.
31778
31779
  */
31779
31780
  static async fromJsonLd(json, options = {}) {
31780
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
31781
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
31781
31782
  try {
31782
31783
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
31783
31784
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31992,7 +31993,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
31992
31993
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31993
31994
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31994
31995
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31995
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
31996
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
31996
31997
  let fetchResult;
31997
31998
  try {
31998
31999
  fetchResult = await documentLoader(url.href);
@@ -32285,7 +32286,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
32285
32286
  * @throws {TypeError} If the given `json` is invalid.
32286
32287
  */
32287
32288
  static async fromJsonLd(json, options = {}) {
32288
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
32289
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
32289
32290
  try {
32290
32291
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
32291
32292
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32788,7 +32789,7 @@ var Organization = class Organization extends Object$1 {
32788
32789
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32789
32790
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32790
32791
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32791
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
32792
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
32792
32793
  let fetchResult;
32793
32794
  try {
32794
32795
  fetchResult = await documentLoader(url.href);
@@ -32950,7 +32951,7 @@ var Organization = class Organization extends Object$1 {
32950
32951
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32951
32952
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32952
32953
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32953
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
32954
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
32954
32955
  let fetchResult;
32955
32956
  try {
32956
32957
  fetchResult = await documentLoader(url.href);
@@ -33130,7 +33131,7 @@ var Organization = class Organization extends Object$1 {
33130
33131
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33131
33132
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33132
33133
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33133
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33134
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33134
33135
  let fetchResult;
33135
33136
  try {
33136
33137
  fetchResult = await documentLoader(url.href);
@@ -33272,7 +33273,7 @@ var Organization = class Organization extends Object$1 {
33272
33273
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33273
33274
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33274
33275
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33275
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33276
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33276
33277
  let fetchResult;
33277
33278
  try {
33278
33279
  fetchResult = await documentLoader(url.href);
@@ -33411,7 +33412,7 @@ var Organization = class Organization extends Object$1 {
33411
33412
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33412
33413
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33413
33414
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33414
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33415
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33415
33416
  let fetchResult;
33416
33417
  try {
33417
33418
  fetchResult = await documentLoader(url.href);
@@ -33535,7 +33536,7 @@ var Organization = class Organization extends Object$1 {
33535
33536
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33536
33537
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33537
33538
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33538
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33539
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33539
33540
  let fetchResult;
33540
33541
  try {
33541
33542
  fetchResult = await documentLoader(url.href);
@@ -33662,7 +33663,7 @@ var Organization = class Organization extends Object$1 {
33662
33663
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33663
33664
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33664
33665
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33665
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33666
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33666
33667
  let fetchResult;
33667
33668
  try {
33668
33669
  fetchResult = await documentLoader(url.href);
@@ -33787,7 +33788,7 @@ var Organization = class Organization extends Object$1 {
33787
33788
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33788
33789
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33789
33790
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33790
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33791
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33791
33792
  let fetchResult;
33792
33793
  try {
33793
33794
  fetchResult = await documentLoader(url.href);
@@ -33910,7 +33911,7 @@ var Organization = class Organization extends Object$1 {
33910
33911
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33911
33912
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33912
33913
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33913
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
33914
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
33914
33915
  let fetchResult;
33915
33916
  try {
33916
33917
  fetchResult = await documentLoader(url.href);
@@ -34033,7 +34034,7 @@ var Organization = class Organization extends Object$1 {
34033
34034
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34034
34035
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34035
34036
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34036
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
34037
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
34037
34038
  let fetchResult;
34038
34039
  try {
34039
34040
  fetchResult = await documentLoader(url.href);
@@ -34195,7 +34196,7 @@ var Organization = class Organization extends Object$1 {
34195
34196
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34196
34197
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34197
34198
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34198
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
34199
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
34199
34200
  let fetchResult;
34200
34201
  try {
34201
34202
  fetchResult = await documentLoader(url.href);
@@ -34361,7 +34362,7 @@ var Organization = class Organization extends Object$1 {
34361
34362
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34362
34363
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34363
34364
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34364
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
34365
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
34365
34366
  let fetchResult;
34366
34367
  try {
34367
34368
  fetchResult = await documentLoader(url.href);
@@ -34575,7 +34576,7 @@ var Organization = class Organization extends Object$1 {
34575
34576
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34576
34577
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34577
34578
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34578
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
34579
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
34579
34580
  let fetchResult;
34580
34581
  try {
34581
34582
  fetchResult = await documentLoader(url.href);
@@ -35260,7 +35261,7 @@ var Organization = class Organization extends Object$1 {
35260
35261
  * @throws {TypeError} If the given `json` is invalid.
35261
35262
  */
35262
35263
  static async fromJsonLd(json, options = {}) {
35263
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
35264
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
35264
35265
  try {
35265
35266
  const object = await this.__fromJsonLd__Organization__(json, span, options);
35266
35267
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35860,7 +35861,7 @@ var Page = class Page extends Document {
35860
35861
  * @throws {TypeError} If the given `json` is invalid.
35861
35862
  */
35862
35863
  static async fromJsonLd(json, options = {}) {
35863
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
35864
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
35864
35865
  try {
35865
35866
  const object = await this.__fromJsonLd__Page__(json, span, options);
35866
35867
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -36255,7 +36256,7 @@ var Person = class Person extends Object$1 {
36255
36256
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36256
36257
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36257
36258
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36258
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36259
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36259
36260
  let fetchResult;
36260
36261
  try {
36261
36262
  fetchResult = await documentLoader(url.href);
@@ -36417,7 +36418,7 @@ var Person = class Person extends Object$1 {
36417
36418
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36418
36419
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36419
36420
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36420
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36421
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36421
36422
  let fetchResult;
36422
36423
  try {
36423
36424
  fetchResult = await documentLoader(url.href);
@@ -36597,7 +36598,7 @@ var Person = class Person extends Object$1 {
36597
36598
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36598
36599
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36599
36600
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36600
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36601
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36601
36602
  let fetchResult;
36602
36603
  try {
36603
36604
  fetchResult = await documentLoader(url.href);
@@ -36739,7 +36740,7 @@ var Person = class Person extends Object$1 {
36739
36740
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36740
36741
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36741
36742
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36742
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36743
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36743
36744
  let fetchResult;
36744
36745
  try {
36745
36746
  fetchResult = await documentLoader(url.href);
@@ -36878,7 +36879,7 @@ var Person = class Person extends Object$1 {
36878
36879
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36879
36880
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36880
36881
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36881
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
36882
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
36882
36883
  let fetchResult;
36883
36884
  try {
36884
36885
  fetchResult = await documentLoader(url.href);
@@ -37002,7 +37003,7 @@ var Person = class Person extends Object$1 {
37002
37003
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37003
37004
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37004
37005
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37005
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37006
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37006
37007
  let fetchResult;
37007
37008
  try {
37008
37009
  fetchResult = await documentLoader(url.href);
@@ -37129,7 +37130,7 @@ var Person = class Person extends Object$1 {
37129
37130
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37130
37131
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37131
37132
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37132
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37133
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37133
37134
  let fetchResult;
37134
37135
  try {
37135
37136
  fetchResult = await documentLoader(url.href);
@@ -37254,7 +37255,7 @@ var Person = class Person extends Object$1 {
37254
37255
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37255
37256
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37256
37257
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37257
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37258
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37258
37259
  let fetchResult;
37259
37260
  try {
37260
37261
  fetchResult = await documentLoader(url.href);
@@ -37377,7 +37378,7 @@ var Person = class Person extends Object$1 {
37377
37378
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37378
37379
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37379
37380
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37380
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37381
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37381
37382
  let fetchResult;
37382
37383
  try {
37383
37384
  fetchResult = await documentLoader(url.href);
@@ -37500,7 +37501,7 @@ var Person = class Person extends Object$1 {
37500
37501
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37501
37502
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37502
37503
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37503
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37504
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37504
37505
  let fetchResult;
37505
37506
  try {
37506
37507
  fetchResult = await documentLoader(url.href);
@@ -37662,7 +37663,7 @@ var Person = class Person extends Object$1 {
37662
37663
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37663
37664
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37664
37665
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37665
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37666
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37666
37667
  let fetchResult;
37667
37668
  try {
37668
37669
  fetchResult = await documentLoader(url.href);
@@ -37828,7 +37829,7 @@ var Person = class Person extends Object$1 {
37828
37829
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37829
37830
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37830
37831
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37831
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
37832
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
37832
37833
  let fetchResult;
37833
37834
  try {
37834
37835
  fetchResult = await documentLoader(url.href);
@@ -38042,7 +38043,7 @@ var Person = class Person extends Object$1 {
38042
38043
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38043
38044
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38044
38045
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38045
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
38046
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
38046
38047
  let fetchResult;
38047
38048
  try {
38048
38049
  fetchResult = await documentLoader(url.href);
@@ -38727,7 +38728,7 @@ var Person = class Person extends Object$1 {
38727
38728
  * @throws {TypeError} If the given `json` is invalid.
38728
38729
  */
38729
38730
  static async fromJsonLd(json, options = {}) {
38730
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
38731
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
38731
38732
  try {
38732
38733
  const object = await this.__fromJsonLd__Person__(json, span, options);
38733
38734
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39504,7 +39505,7 @@ var Place = class Place extends Object$1 {
39504
39505
  * @throws {TypeError} If the given `json` is invalid.
39505
39506
  */
39506
39507
  static async fromJsonLd(json, options = {}) {
39507
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
39508
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
39508
39509
  try {
39509
39510
  const object = await this.__fromJsonLd__Place__(json, span, options);
39510
39511
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39705,7 +39706,7 @@ var Profile = class Profile extends Object$1 {
39705
39706
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39706
39707
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39707
39708
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39708
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
39709
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
39709
39710
  let fetchResult;
39710
39711
  try {
39711
39712
  fetchResult = await documentLoader(url.href);
@@ -39906,7 +39907,7 @@ var Profile = class Profile extends Object$1 {
39906
39907
  * @throws {TypeError} If the given `json` is invalid.
39907
39908
  */
39908
39909
  static async fromJsonLd(json, options = {}) {
39909
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
39910
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
39910
39911
  try {
39911
39912
  const object = await this.__fromJsonLd__Profile__(json, span, options);
39912
39913
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40032,7 +40033,7 @@ var Question = class Question extends IntransitiveActivity {
40032
40033
  this.#_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf = values.inclusiveOptions;
40033
40034
  for (let i = 0; i < values.inclusiveOptions.length; i++) this.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
40034
40035
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
40035
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
40036
+ 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];
40036
40037
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
40037
40038
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
40038
40039
  else throw new TypeError("The voters must be of type number.");
@@ -40077,7 +40078,7 @@ var Question = class Question extends IntransitiveActivity {
40077
40078
  for (let i = 0; i < values.inclusiveOptions.length; i++) clone.#_trust_2mV6isMTPRKbWdLCjcpiEysq5dAY_anyOf.add(i);
40078
40079
  } else throw new TypeError("The inclusiveOptions must be an array of type Object | URL.");
40079
40080
  clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed;
40080
- if ("closed" in values && values.closed != null) if (values.closed instanceof Temporal.Instant || typeof values.closed === "boolean") clone.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed = [values.closed];
40081
+ 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];
40081
40082
  else throw new TypeError("The closed must be of type Temporal.Instant | boolean.");
40082
40083
  clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = this.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount;
40083
40084
  if ("voters" in values && values.voters != null) if (typeof values.voters === "number" && Number.isInteger(values.voters) && values.voters >= 0) clone.#_3H4RdST7dxfmghccvE3rKD3KgcxG_votersCount = [values.voters];
@@ -40103,7 +40104,7 @@ var Question = class Question extends IntransitiveActivity {
40103
40104
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40104
40105
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40105
40106
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40106
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
40107
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
40107
40108
  let fetchResult;
40108
40109
  try {
40109
40110
  fetchResult = await documentLoader(url.href);
@@ -40225,7 +40226,7 @@ var Question = class Question extends IntransitiveActivity {
40225
40226
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40226
40227
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40227
40228
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40228
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
40229
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
40229
40230
  let fetchResult;
40230
40231
  try {
40231
40232
  fetchResult = await documentLoader(url.href);
@@ -40363,7 +40364,7 @@ var Question = class Question extends IntransitiveActivity {
40363
40364
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40364
40365
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40365
40366
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40366
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
40367
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
40367
40368
  let fetchResult;
40368
40369
  try {
40369
40370
  fetchResult = await documentLoader(url.href);
@@ -40501,7 +40502,7 @@ var Question = class Question extends IntransitiveActivity {
40501
40502
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40502
40503
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40503
40504
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40504
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
40505
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
40505
40506
  let fetchResult;
40506
40507
  try {
40507
40508
  fetchResult = await documentLoader(url.href);
@@ -40655,7 +40656,7 @@ var Question = class Question extends IntransitiveActivity {
40655
40656
  if (array.length > 0) values["https://www.w3.org/ns/activitystreams#anyOf"] = array;
40656
40657
  array = [];
40657
40658
  for (const v of this.#_3KronwL8DiiKBRcJFKQPiEHm8xb6_closed) {
40658
- const element = v instanceof Temporal.Instant ? {
40659
+ const element = (0, _fedify_vocab_runtime_temporal.isTemporalInstant)(v) ? {
40659
40660
  "@type": "http://www.w3.org/2001/XMLSchema#dateTime",
40660
40661
  "@value": v.toString()
40661
40662
  } : { "@value": v };
@@ -40753,7 +40754,7 @@ var Question = class Question extends IntransitiveActivity {
40753
40754
  * @throws {TypeError} If the given `json` is invalid.
40754
40755
  */
40755
40756
  static async fromJsonLd(json, options = {}) {
40756
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
40757
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
40757
40758
  try {
40758
40759
  const object = await this.__fromJsonLd__Question__(json, span, options);
40759
40760
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41030,7 +41031,7 @@ var Read = class Read extends Activity {
41030
41031
  * @throws {TypeError} If the given `json` is invalid.
41031
41032
  */
41032
41033
  static async fromJsonLd(json, options = {}) {
41033
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
41034
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
41034
41035
  try {
41035
41036
  const object = await this.__fromJsonLd__Read__(json, span, options);
41036
41037
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41179,7 +41180,7 @@ var Reject = class Reject extends Activity {
41179
41180
  * @throws {TypeError} If the given `json` is invalid.
41180
41181
  */
41181
41182
  static async fromJsonLd(json, options = {}) {
41182
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
41183
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
41183
41184
  try {
41184
41185
  const object = await this.__fromJsonLd__Reject__(json, span, options);
41185
41186
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41352,7 +41353,7 @@ var Relationship = class Relationship extends Object$1 {
41352
41353
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41353
41354
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41354
41355
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41355
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
41356
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
41356
41357
  let fetchResult;
41357
41358
  try {
41358
41359
  fetchResult = await documentLoader(url.href);
@@ -41475,7 +41476,7 @@ var Relationship = class Relationship extends Object$1 {
41475
41476
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41476
41477
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41477
41478
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41478
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
41479
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
41479
41480
  let fetchResult;
41480
41481
  try {
41481
41482
  fetchResult = await documentLoader(url.href);
@@ -41637,7 +41638,7 @@ var Relationship = class Relationship extends Object$1 {
41637
41638
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41638
41639
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41639
41640
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41640
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
41641
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
41641
41642
  let fetchResult;
41642
41643
  try {
41643
41644
  fetchResult = await documentLoader(url.href);
@@ -41915,7 +41916,7 @@ var Relationship = class Relationship extends Object$1 {
41915
41916
  * @throws {TypeError} If the given `json` is invalid.
41916
41917
  */
41917
41918
  static async fromJsonLd(json, options = {}) {
41918
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
41919
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
41919
41920
  try {
41920
41921
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
41921
41922
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42130,7 +42131,7 @@ var Remove = class Remove extends Activity {
42130
42131
  * @throws {TypeError} If the given `json` is invalid.
42131
42132
  */
42132
42133
  static async fromJsonLd(json, options = {}) {
42133
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
42134
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
42134
42135
  try {
42135
42136
  const object = await this.__fromJsonLd__Remove__(json, span, options);
42136
42137
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42525,7 +42526,7 @@ var Service = class Service extends Object$1 {
42525
42526
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42526
42527
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42527
42528
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42528
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
42529
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
42529
42530
  let fetchResult;
42530
42531
  try {
42531
42532
  fetchResult = await documentLoader(url.href);
@@ -42687,7 +42688,7 @@ var Service = class Service extends Object$1 {
42687
42688
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42688
42689
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42689
42690
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42690
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
42691
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
42691
42692
  let fetchResult;
42692
42693
  try {
42693
42694
  fetchResult = await documentLoader(url.href);
@@ -42867,7 +42868,7 @@ var Service = class Service extends Object$1 {
42867
42868
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42868
42869
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42869
42870
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42870
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
42871
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
42871
42872
  let fetchResult;
42872
42873
  try {
42873
42874
  fetchResult = await documentLoader(url.href);
@@ -43009,7 +43010,7 @@ var Service = class Service extends Object$1 {
43009
43010
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43010
43011
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43011
43012
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43012
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43013
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43013
43014
  let fetchResult;
43014
43015
  try {
43015
43016
  fetchResult = await documentLoader(url.href);
@@ -43148,7 +43149,7 @@ var Service = class Service extends Object$1 {
43148
43149
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43149
43150
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43150
43151
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43151
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43152
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43152
43153
  let fetchResult;
43153
43154
  try {
43154
43155
  fetchResult = await documentLoader(url.href);
@@ -43272,7 +43273,7 @@ var Service = class Service extends Object$1 {
43272
43273
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43273
43274
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43274
43275
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43275
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43276
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43276
43277
  let fetchResult;
43277
43278
  try {
43278
43279
  fetchResult = await documentLoader(url.href);
@@ -43399,7 +43400,7 @@ var Service = class Service extends Object$1 {
43399
43400
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43400
43401
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43401
43402
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43402
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43403
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43403
43404
  let fetchResult;
43404
43405
  try {
43405
43406
  fetchResult = await documentLoader(url.href);
@@ -43524,7 +43525,7 @@ var Service = class Service extends Object$1 {
43524
43525
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43525
43526
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43526
43527
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43527
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43528
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43528
43529
  let fetchResult;
43529
43530
  try {
43530
43531
  fetchResult = await documentLoader(url.href);
@@ -43647,7 +43648,7 @@ var Service = class Service extends Object$1 {
43647
43648
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43648
43649
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43649
43650
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43650
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43651
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43651
43652
  let fetchResult;
43652
43653
  try {
43653
43654
  fetchResult = await documentLoader(url.href);
@@ -43770,7 +43771,7 @@ var Service = class Service extends Object$1 {
43770
43771
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43771
43772
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43772
43773
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43773
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43774
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43774
43775
  let fetchResult;
43775
43776
  try {
43776
43777
  fetchResult = await documentLoader(url.href);
@@ -43932,7 +43933,7 @@ var Service = class Service extends Object$1 {
43932
43933
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43933
43934
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43934
43935
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43935
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
43936
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
43936
43937
  let fetchResult;
43937
43938
  try {
43938
43939
  fetchResult = await documentLoader(url.href);
@@ -44098,7 +44099,7 @@ var Service = class Service extends Object$1 {
44098
44099
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44099
44100
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44100
44101
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44101
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
44102
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
44102
44103
  let fetchResult;
44103
44104
  try {
44104
44105
  fetchResult = await documentLoader(url.href);
@@ -44312,7 +44313,7 @@ var Service = class Service extends Object$1 {
44312
44313
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44313
44314
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44314
44315
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44315
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.lookup_object", async (span) => {
44316
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.lookup_object", async (span) => {
44316
44317
  let fetchResult;
44317
44318
  try {
44318
44319
  fetchResult = await documentLoader(url.href);
@@ -44997,7 +44998,7 @@ var Service = class Service extends Object$1 {
44997
44998
  * @throws {TypeError} If the given `json` is invalid.
44998
44999
  */
44999
45000
  static async fromJsonLd(json, options = {}) {
45000
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
45001
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
45001
45002
  try {
45002
45003
  const object = await this.__fromJsonLd__Service__(json, span, options);
45003
45004
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45679,7 +45680,7 @@ var Source = class {
45679
45680
  * @throws {TypeError} If the given `json` is invalid.
45680
45681
  */
45681
45682
  static async fromJsonLd(json, options = {}) {
45682
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
45683
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
45683
45684
  try {
45684
45685
  const object = await this.__fromJsonLd__Source__(json, span, options);
45685
45686
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45857,7 +45858,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
45857
45858
  * @throws {TypeError} If the given `json` is invalid.
45858
45859
  */
45859
45860
  static async fromJsonLd(json, options = {}) {
45860
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
45861
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
45861
45862
  try {
45862
45863
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
45863
45864
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46006,7 +46007,7 @@ var TentativeReject = class TentativeReject extends Reject {
46006
46007
  * @throws {TypeError} If the given `json` is invalid.
46007
46008
  */
46008
46009
  static async fromJsonLd(json, options = {}) {
46009
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46010
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46010
46011
  try {
46011
46012
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
46012
46013
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46095,7 +46096,7 @@ var Tombstone = class Tombstone extends Object$1 {
46095
46096
  if (Array.isArray(values.formerTypes) && values.formerTypes.every((v) => isEntityType(v))) this.#_Pn8kdUztYSt4nyoAkVsMcQaLo9U_formerType = values.formerTypes;
46096
46097
  else throw new TypeError("The formerTypes must be an array of type $EntityType.");
46097
46098
  }
46098
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
46099
+ if ("deleted" in values && values.deleted != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.deleted)) this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
46099
46100
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
46100
46101
  }
46101
46102
  /**
@@ -46122,7 +46123,7 @@ var Tombstone = class Tombstone extends Object$1 {
46122
46123
  else throw new TypeError("The formerTypes must be an array of type $EntityType.");
46123
46124
  }
46124
46125
  clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = this.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted;
46125
- if ("deleted" in values && values.deleted != null) if (values.deleted instanceof Temporal.Instant) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
46126
+ if ("deleted" in values && values.deleted != null) if ((0, _fedify_vocab_runtime_temporal.isTemporalInstant)(values.deleted)) clone.#_8g8g4LiVMhFTXskuDEqx4ascxUr_deleted = [values.deleted];
46126
46127
  else throw new TypeError("The deleted must be of type Temporal.Instant.");
46127
46128
  return clone;
46128
46129
  }
@@ -46244,7 +46245,7 @@ var Tombstone = class Tombstone extends Object$1 {
46244
46245
  * @throws {TypeError} If the given `json` is invalid.
46245
46246
  */
46246
46247
  static async fromJsonLd(json, options = {}) {
46247
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46248
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46248
46249
  try {
46249
46250
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
46250
46251
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46430,7 +46431,7 @@ var Travel = class Travel extends IntransitiveActivity {
46430
46431
  * @throws {TypeError} If the given `json` is invalid.
46431
46432
  */
46432
46433
  static async fromJsonLd(json, options = {}) {
46433
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46434
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46434
46435
  try {
46435
46436
  const object = await this.__fromJsonLd__Travel__(json, span, options);
46436
46437
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46593,7 +46594,7 @@ var Undo = class Undo extends Activity {
46593
46594
  * @throws {TypeError} If the given `json` is invalid.
46594
46595
  */
46595
46596
  static async fromJsonLd(json, options = {}) {
46596
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46597
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46597
46598
  try {
46598
46599
  const object = await this.__fromJsonLd__Undo__(json, span, options);
46599
46600
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46804,7 +46805,7 @@ var Update = class Update extends Activity {
46804
46805
  * @throws {TypeError} If the given `json` is invalid.
46805
46806
  */
46806
46807
  static async fromJsonLd(json, options = {}) {
46807
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46808
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46808
46809
  try {
46809
46810
  const object = await this.__fromJsonLd__Update__(json, span, options);
46810
46811
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46966,7 +46967,7 @@ var Video = class Video extends Document {
46966
46967
  * @throws {TypeError} If the given `json` is invalid.
46967
46968
  */
46968
46969
  static async fromJsonLd(json, options = {}) {
46969
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
46970
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
46970
46971
  try {
46971
46972
  const object = await this.__fromJsonLd__Video__(json, span, options);
46972
46973
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -47114,7 +47115,7 @@ var View = class View extends Activity {
47114
47115
  * @throws {TypeError} If the given `json` is invalid.
47115
47116
  */
47116
47117
  static async fromJsonLd(json, options = {}) {
47117
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.1").startActiveSpan("activitypub.parse_object", async (span) => {
47118
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.2").startActiveSpan("activitypub.parse_object", async (span) => {
47118
47119
  try {
47119
47120
  const object = await this.__fromJsonLd__View__(json, span, options);
47120
47121
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);