@fedify/vocab 2.2.18 → 2.2.20

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
@@ -33,7 +33,7 @@ let _fedify_vocab_runtime_temporal = require("@fedify/vocab-runtime/temporal");
33
33
  let es_toolkit = require("es-toolkit");
34
34
  //#region deno.json
35
35
  var name = "@fedify/vocab";
36
- var version = "2.2.18";
36
+ var version = "2.2.20";
37
37
  //#endregion
38
38
  //#region src/type.ts
39
39
  function getTypeId(object) {
@@ -83,6 +83,11 @@ var Object$1 = class Object$1 {
83
83
  get _warning() {
84
84
  return this.#warning;
85
85
  }
86
+ /**
87
+ * Internal cross-package contract with @fedify/testing, which copies this
88
+ * cache when attaching document loaders to an activity clone. Keep this
89
+ * accessor name and its getter/setter semantics stable.
90
+ */
86
91
  get _cachedJsonLd() {
87
92
  return this.#cachedJsonLd;
88
93
  }
@@ -725,7 +730,7 @@ var Object$1 = class Object$1 {
725
730
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
726
731
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
727
732
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
728
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
733
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
729
734
  let fetchResult;
730
735
  try {
731
736
  fetchResult = await documentLoader(url.href);
@@ -881,7 +886,7 @@ var Object$1 = class Object$1 {
881
886
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
882
887
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
883
888
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
884
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
889
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
885
890
  let fetchResult;
886
891
  try {
887
892
  fetchResult = await documentLoader(url.href);
@@ -1112,7 +1117,7 @@ var Object$1 = class Object$1 {
1112
1117
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1113
1118
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1114
1119
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1115
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
1120
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
1116
1121
  let fetchResult;
1117
1122
  try {
1118
1123
  fetchResult = await documentLoader(url.href);
@@ -1315,7 +1320,7 @@ var Object$1 = class Object$1 {
1315
1320
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1316
1321
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1317
1322
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1318
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
1323
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
1319
1324
  let fetchResult;
1320
1325
  try {
1321
1326
  fetchResult = await documentLoader(url.href);
@@ -1487,7 +1492,7 @@ var Object$1 = class Object$1 {
1487
1492
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1488
1493
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1489
1494
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1490
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
1495
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
1491
1496
  let fetchResult;
1492
1497
  try {
1493
1498
  fetchResult = await documentLoader(url.href);
@@ -1627,7 +1632,7 @@ var Object$1 = class Object$1 {
1627
1632
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1628
1633
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1629
1634
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1630
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
1635
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
1631
1636
  let fetchResult;
1632
1637
  try {
1633
1638
  fetchResult = await documentLoader(url.href);
@@ -1812,7 +1817,7 @@ var Object$1 = class Object$1 {
1812
1817
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1813
1818
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1814
1819
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1815
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
1820
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
1816
1821
  let fetchResult;
1817
1822
  try {
1818
1823
  fetchResult = await documentLoader(url.href);
@@ -1997,7 +2002,7 @@ var Object$1 = class Object$1 {
1997
2002
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1998
2003
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1999
2004
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2000
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
2005
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
2001
2006
  let fetchResult;
2002
2007
  try {
2003
2008
  fetchResult = await documentLoader(url.href);
@@ -2190,7 +2195,7 @@ var Object$1 = class Object$1 {
2190
2195
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2191
2196
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2192
2197
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2193
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
2198
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
2194
2199
  let fetchResult;
2195
2200
  try {
2196
2201
  fetchResult = await documentLoader(url.href);
@@ -2383,7 +2388,7 @@ var Object$1 = class Object$1 {
2383
2388
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2384
2389
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2385
2390
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2386
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
2391
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
2387
2392
  let fetchResult;
2388
2393
  try {
2389
2394
  fetchResult = await documentLoader(url.href);
@@ -2581,7 +2586,7 @@ var Object$1 = class Object$1 {
2581
2586
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2582
2587
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2583
2588
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2584
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
2589
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
2585
2590
  let fetchResult;
2586
2591
  try {
2587
2592
  fetchResult = await documentLoader(url.href);
@@ -2711,7 +2716,7 @@ var Object$1 = class Object$1 {
2711
2716
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2712
2717
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2713
2718
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2714
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
2719
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
2715
2720
  let fetchResult;
2716
2721
  try {
2717
2722
  fetchResult = await documentLoader(url.href);
@@ -2847,7 +2852,7 @@ var Object$1 = class Object$1 {
2847
2852
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2848
2853
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2849
2854
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2850
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
2855
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
2851
2856
  let fetchResult;
2852
2857
  try {
2853
2858
  fetchResult = await documentLoader(url.href);
@@ -2983,7 +2988,7 @@ var Object$1 = class Object$1 {
2983
2988
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2984
2989
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2985
2990
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2986
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
2991
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
2987
2992
  let fetchResult;
2988
2993
  try {
2989
2994
  fetchResult = await documentLoader(url.href);
@@ -3137,7 +3142,7 @@ var Object$1 = class Object$1 {
3137
3142
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3138
3143
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3139
3144
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3140
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
3145
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
3141
3146
  let fetchResult;
3142
3147
  try {
3143
3148
  fetchResult = await documentLoader(url.href);
@@ -3299,7 +3304,7 @@ var Object$1 = class Object$1 {
3299
3304
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3300
3305
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3301
3306
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3302
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
3307
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
3303
3308
  let fetchResult;
3304
3309
  try {
3305
3310
  fetchResult = await documentLoader(url.href);
@@ -3482,7 +3487,7 @@ var Object$1 = class Object$1 {
3482
3487
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3483
3488
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3484
3489
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3485
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
3490
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
3486
3491
  let fetchResult;
3487
3492
  try {
3488
3493
  fetchResult = await documentLoader(url.href);
@@ -3665,7 +3670,7 @@ var Object$1 = class Object$1 {
3665
3670
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3666
3671
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3667
3672
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3668
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
3673
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
3669
3674
  let fetchResult;
3670
3675
  try {
3671
3676
  fetchResult = await documentLoader(url.href);
@@ -3848,7 +3853,7 @@ var Object$1 = class Object$1 {
3848
3853
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3849
3854
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3850
3855
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3851
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
3856
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
3852
3857
  let fetchResult;
3853
3858
  try {
3854
3859
  fetchResult = await documentLoader(url.href);
@@ -4068,7 +4073,7 @@ var Object$1 = class Object$1 {
4068
4073
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4069
4074
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4070
4075
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4071
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
4076
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
4072
4077
  let fetchResult;
4073
4078
  try {
4074
4079
  fetchResult = await documentLoader(url.href);
@@ -4274,7 +4279,7 @@ var Object$1 = class Object$1 {
4274
4279
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4275
4280
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4276
4281
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4277
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
4282
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
4278
4283
  let fetchResult;
4279
4284
  try {
4280
4285
  fetchResult = await documentLoader(url.href);
@@ -4404,7 +4409,7 @@ var Object$1 = class Object$1 {
4404
4409
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4405
4410
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4406
4411
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4407
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
4412
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
4408
4413
  let fetchResult;
4409
4414
  try {
4410
4415
  fetchResult = await documentLoader(url.href);
@@ -4534,7 +4539,7 @@ var Object$1 = class Object$1 {
4534
4539
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4535
4540
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4536
4541
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4537
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
4542
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
4538
4543
  let fetchResult;
4539
4544
  try {
4540
4545
  fetchResult = await documentLoader(url.href);
@@ -5370,7 +5375,7 @@ var Object$1 = class Object$1 {
5370
5375
  * @throws {TypeError} If the given `json` is invalid.
5371
5376
  */
5372
5377
  static async fromJsonLd(json, options = {}) {
5373
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
5378
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
5374
5379
  try {
5375
5380
  const object = await this.__fromJsonLd__Object__(json, span, options);
5376
5381
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6971,7 +6976,7 @@ var Emoji = class Emoji extends Object$1 {
6971
6976
  * @throws {TypeError} If the given `json` is invalid.
6972
6977
  */
6973
6978
  static async fromJsonLd(json, options = {}) {
6974
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
6979
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
6975
6980
  try {
6976
6981
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
6977
6982
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7108,7 +7113,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7108
7113
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7109
7114
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7110
7115
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7111
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
7116
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
7112
7117
  let fetchResult;
7113
7118
  try {
7114
7119
  fetchResult = await documentLoader(url.href);
@@ -7255,7 +7260,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7255
7260
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7256
7261
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7257
7262
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7258
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
7263
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
7259
7264
  let fetchResult;
7260
7265
  try {
7261
7266
  fetchResult = await documentLoader(url.href);
@@ -7548,7 +7553,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7548
7553
  * @throws {TypeError} If the given `json` is invalid.
7549
7554
  */
7550
7555
  static async fromJsonLd(json, options = {}) {
7551
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
7556
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
7552
7557
  try {
7553
7558
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
7554
7559
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7888,7 +7893,7 @@ var Activity = class Activity extends Object$1 {
7888
7893
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7889
7894
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7890
7895
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7891
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
7896
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
7892
7897
  let fetchResult;
7893
7898
  try {
7894
7899
  fetchResult = await documentLoader(url.href);
@@ -8119,7 +8124,7 @@ var Activity = class Activity extends Object$1 {
8119
8124
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8120
8125
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8121
8126
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8122
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
8127
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8123
8128
  let fetchResult;
8124
8129
  try {
8125
8130
  fetchResult = await documentLoader(url.href);
@@ -8304,7 +8309,7 @@ var Activity = class Activity extends Object$1 {
8304
8309
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8305
8310
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8306
8311
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8307
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
8312
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8308
8313
  let fetchResult;
8309
8314
  try {
8310
8315
  fetchResult = await documentLoader(url.href);
@@ -8495,7 +8500,7 @@ var Activity = class Activity extends Object$1 {
8495
8500
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8496
8501
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8497
8502
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8498
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
8503
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8499
8504
  let fetchResult;
8500
8505
  try {
8501
8506
  fetchResult = await documentLoader(url.href);
@@ -8680,7 +8685,7 @@ var Activity = class Activity extends Object$1 {
8680
8685
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8681
8686
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8682
8687
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8683
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
8688
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8684
8689
  let fetchResult;
8685
8690
  try {
8686
8691
  fetchResult = await documentLoader(url.href);
@@ -8867,7 +8872,7 @@ var Activity = class Activity extends Object$1 {
8867
8872
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8868
8873
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8869
8874
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8870
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
8875
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8871
8876
  let fetchResult;
8872
8877
  try {
8873
8878
  fetchResult = await documentLoader(url.href);
@@ -9137,7 +9142,7 @@ var Activity = class Activity extends Object$1 {
9137
9142
  * @throws {TypeError} If the given `json` is invalid.
9138
9143
  */
9139
9144
  static async fromJsonLd(json, options = {}) {
9140
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
9145
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
9141
9146
  try {
9142
9147
  const object = await this.__fromJsonLd__Activity__(json, span, options);
9143
9148
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9497,7 +9502,7 @@ var EmojiReact = class EmojiReact extends Activity {
9497
9502
  * @throws {TypeError} If the given `json` is invalid.
9498
9503
  */
9499
9504
  static async fromJsonLd(json, options = {}) {
9500
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
9505
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
9501
9506
  try {
9502
9507
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
9503
9508
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9583,6 +9588,11 @@ var PropertyValue = class {
9583
9588
  get _warning() {
9584
9589
  return this.#warning;
9585
9590
  }
9591
+ /**
9592
+ * Internal cross-package contract with @fedify/testing, which copies this
9593
+ * cache when attaching document loaders to an activity clone. Keep this
9594
+ * accessor name and its getter/setter semantics stable.
9595
+ */
9586
9596
  get _cachedJsonLd() {
9587
9597
  return this.#cachedJsonLd;
9588
9598
  }
@@ -9758,7 +9768,7 @@ var PropertyValue = class {
9758
9768
  * @throws {TypeError} If the given `json` is invalid.
9759
9769
  */
9760
9770
  static async fromJsonLd(json, options = {}) {
9761
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
9771
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
9762
9772
  try {
9763
9773
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
9764
9774
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9880,6 +9890,11 @@ var Measure = class {
9880
9890
  get _warning() {
9881
9891
  return this.#warning;
9882
9892
  }
9893
+ /**
9894
+ * Internal cross-package contract with @fedify/testing, which copies this
9895
+ * cache when attaching document loaders to an activity clone. Keep this
9896
+ * accessor name and its getter/setter semantics stable.
9897
+ */
9883
9898
  get _cachedJsonLd() {
9884
9899
  return this.#cachedJsonLd;
9885
9900
  }
@@ -10046,7 +10061,7 @@ var Measure = class {
10046
10061
  * @throws {TypeError} If the given `json` is invalid.
10047
10062
  */
10048
10063
  static async fromJsonLd(json, options = {}) {
10049
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
10064
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
10050
10065
  try {
10051
10066
  const object = await this.__fromJsonLd__Measure__(json, span, options);
10052
10067
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10217,7 +10232,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10217
10232
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10218
10233
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10219
10234
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10220
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
10235
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
10221
10236
  let fetchResult;
10222
10237
  try {
10223
10238
  fetchResult = await documentLoader(url.href);
@@ -10347,7 +10362,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10347
10362
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10348
10363
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10349
10364
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10350
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
10365
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
10351
10366
  let fetchResult;
10352
10367
  try {
10353
10368
  fetchResult = await documentLoader(url.href);
@@ -10572,7 +10587,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10572
10587
  * @throws {TypeError} If the given `json` is invalid.
10573
10588
  */
10574
10589
  static async fromJsonLd(json, options = {}) {
10575
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
10590
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
10576
10591
  try {
10577
10592
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
10578
10593
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10784,7 +10799,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
10784
10799
  * @throws {TypeError} If the given `json` is invalid.
10785
10800
  */
10786
10801
  static async fromJsonLd(json, options = {}) {
10787
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
10802
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
10788
10803
  try {
10789
10804
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
10790
10805
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10876,6 +10891,11 @@ var InteractionPolicy = class {
10876
10891
  get _warning() {
10877
10892
  return this.#warning;
10878
10893
  }
10894
+ /**
10895
+ * Internal cross-package contract with @fedify/testing, which copies this
10896
+ * cache when attaching document loaders to an activity clone. Keep this
10897
+ * accessor name and its getter/setter semantics stable.
10898
+ */
10879
10899
  get _cachedJsonLd() {
10880
10900
  return this.#cachedJsonLd;
10881
10901
  }
@@ -11063,7 +11083,7 @@ var InteractionPolicy = class {
11063
11083
  * @throws {TypeError} If the given `json` is invalid.
11064
11084
  */
11065
11085
  static async fromJsonLd(json, options = {}) {
11066
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
11086
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
11067
11087
  try {
11068
11088
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
11069
11089
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11250,6 +11270,11 @@ var InteractionRule = class {
11250
11270
  get _warning() {
11251
11271
  return this.#warning;
11252
11272
  }
11273
+ /**
11274
+ * Internal cross-package contract with @fedify/testing, which copies this
11275
+ * cache when attaching document loaders to an activity clone. Keep this
11276
+ * accessor name and its getter/setter semantics stable.
11277
+ */
11253
11278
  get _cachedJsonLd() {
11254
11279
  return this.#cachedJsonLd;
11255
11280
  }
@@ -11419,7 +11444,7 @@ var InteractionRule = class {
11419
11444
  * @throws {TypeError} If the given `json` is invalid.
11420
11445
  */
11421
11446
  static async fromJsonLd(json, options = {}) {
11422
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
11447
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
11423
11448
  try {
11424
11449
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
11425
11450
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11591,7 +11616,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11591
11616
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11592
11617
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11593
11618
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11594
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
11619
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
11595
11620
  let fetchResult;
11596
11621
  try {
11597
11622
  fetchResult = await documentLoader(url.href);
@@ -11721,7 +11746,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11721
11746
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11722
11747
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11723
11748
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11724
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
11749
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
11725
11750
  let fetchResult;
11726
11751
  try {
11727
11752
  fetchResult = await documentLoader(url.href);
@@ -11946,7 +11971,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11946
11971
  * @throws {TypeError} If the given `json` is invalid.
11947
11972
  */
11948
11973
  static async fromJsonLd(json, options = {}) {
11949
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
11974
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
11950
11975
  try {
11951
11976
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
11952
11977
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12157,7 +12182,7 @@ var LikeRequest = class LikeRequest extends Activity {
12157
12182
  * @throws {TypeError} If the given `json` is invalid.
12158
12183
  */
12159
12184
  static async fromJsonLd(json, options = {}) {
12160
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
12185
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
12161
12186
  try {
12162
12187
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
12163
12188
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12291,7 +12316,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12291
12316
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12292
12317
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12293
12318
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12294
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
12319
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
12295
12320
  let fetchResult;
12296
12321
  try {
12297
12322
  fetchResult = await documentLoader(url.href);
@@ -12421,7 +12446,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12421
12446
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12422
12447
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12423
12448
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12424
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
12449
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
12425
12450
  let fetchResult;
12426
12451
  try {
12427
12452
  fetchResult = await documentLoader(url.href);
@@ -12646,7 +12671,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12646
12671
  * @throws {TypeError} If the given `json` is invalid.
12647
12672
  */
12648
12673
  static async fromJsonLd(json, options = {}) {
12649
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
12674
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
12650
12675
  try {
12651
12676
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
12652
12677
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12857,7 +12882,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
12857
12882
  * @throws {TypeError} If the given `json` is invalid.
12858
12883
  */
12859
12884
  static async fromJsonLd(json, options = {}) {
12860
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
12885
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
12861
12886
  try {
12862
12887
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
12863
12888
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12991,7 +13016,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12991
13016
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12992
13017
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12993
13018
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12994
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
13019
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
12995
13020
  let fetchResult;
12996
13021
  try {
12997
13022
  fetchResult = await documentLoader(url.href);
@@ -13120,7 +13145,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13120
13145
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13121
13146
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13122
13147
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
13123
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
13148
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
13124
13149
  let fetchResult;
13125
13150
  try {
13126
13151
  fetchResult = await documentLoader(url.href);
@@ -13347,7 +13372,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13347
13372
  * @throws {TypeError} If the given `json` is invalid.
13348
13373
  */
13349
13374
  static async fromJsonLd(json, options = {}) {
13350
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
13375
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
13351
13376
  try {
13352
13377
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
13353
13378
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13588,7 +13613,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
13588
13613
  * @throws {TypeError} If the given `json` is invalid.
13589
13614
  */
13590
13615
  static async fromJsonLd(json, options = {}) {
13591
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
13616
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
13592
13617
  try {
13593
13618
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
13594
13619
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13677,6 +13702,11 @@ var DidService = class {
13677
13702
  get _warning() {
13678
13703
  return this.#warning;
13679
13704
  }
13705
+ /**
13706
+ * Internal cross-package contract with @fedify/testing, which copies this
13707
+ * cache when attaching document loaders to an activity clone. Keep this
13708
+ * accessor name and its getter/setter semantics stable.
13709
+ */
13680
13710
  get _cachedJsonLd() {
13681
13711
  return this.#cachedJsonLd;
13682
13712
  }
@@ -13809,7 +13839,7 @@ var DidService = class {
13809
13839
  * @throws {TypeError} If the given `json` is invalid.
13810
13840
  */
13811
13841
  static async fromJsonLd(json, options = {}) {
13812
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
13842
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
13813
13843
  try {
13814
13844
  const object = await this.__fromJsonLd__DidService__(json, span, options);
13815
13845
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13972,7 +14002,7 @@ var Export = class Export extends DidService {
13972
14002
  * @throws {TypeError} If the given `json` is invalid.
13973
14003
  */
13974
14004
  static async fromJsonLd(json, options = {}) {
13975
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
14005
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
13976
14006
  try {
13977
14007
  const object = await this.__fromJsonLd__Export__(json, span, options);
13978
14008
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14059,6 +14089,11 @@ var DataIntegrityProof = class {
14059
14089
  get _warning() {
14060
14090
  return this.#warning;
14061
14091
  }
14092
+ /**
14093
+ * Internal cross-package contract with @fedify/testing, which copies this
14094
+ * cache when attaching document loaders to an activity clone. Keep this
14095
+ * accessor name and its getter/setter semantics stable.
14096
+ */
14062
14097
  get _cachedJsonLd() {
14063
14098
  return this.#cachedJsonLd;
14064
14099
  }
@@ -14160,7 +14195,7 @@ var DataIntegrityProof = class {
14160
14195
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14161
14196
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14162
14197
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
14163
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
14198
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
14164
14199
  let fetchResult;
14165
14200
  try {
14166
14201
  fetchResult = await documentLoader(url.href);
@@ -14379,7 +14414,7 @@ var DataIntegrityProof = class {
14379
14414
  * @throws {TypeError} If the given `json` is invalid.
14380
14415
  */
14381
14416
  static async fromJsonLd(json, options = {}) {
14382
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
14417
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
14383
14418
  try {
14384
14419
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
14385
14420
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14562,6 +14597,11 @@ var CryptographicKey = class {
14562
14597
  get _warning() {
14563
14598
  return this.#warning;
14564
14599
  }
14600
+ /**
14601
+ * Internal cross-package contract with @fedify/testing, which copies this
14602
+ * cache when attaching document loaders to an activity clone. Keep this
14603
+ * accessor name and its getter/setter semantics stable.
14604
+ */
14565
14605
  get _cachedJsonLd() {
14566
14606
  return this.#cachedJsonLd;
14567
14607
  }
@@ -14638,7 +14678,7 @@ var CryptographicKey = class {
14638
14678
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14639
14679
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14640
14680
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
14641
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
14681
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
14642
14682
  let fetchResult;
14643
14683
  try {
14644
14684
  fetchResult = await documentLoader(url.href);
@@ -14909,7 +14949,7 @@ var CryptographicKey = class {
14909
14949
  * @throws {TypeError} If the given `json` is invalid.
14910
14950
  */
14911
14951
  static async fromJsonLd(json, options = {}) {
14912
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
14952
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
14913
14953
  try {
14914
14954
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
14915
14955
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15053,6 +15093,11 @@ var Multikey = class {
15053
15093
  get _warning() {
15054
15094
  return this.#warning;
15055
15095
  }
15096
+ /**
15097
+ * Internal cross-package contract with @fedify/testing, which copies this
15098
+ * cache when attaching document loaders to an activity clone. Keep this
15099
+ * accessor name and its getter/setter semantics stable.
15100
+ */
15056
15101
  get _cachedJsonLd() {
15057
15102
  return this.#cachedJsonLd;
15058
15103
  }
@@ -15129,7 +15174,7 @@ var Multikey = class {
15129
15174
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15130
15175
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15131
15176
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15132
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
15177
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
15133
15178
  let fetchResult;
15134
15179
  try {
15135
15180
  fetchResult = await documentLoader(url.href);
@@ -15406,7 +15451,7 @@ var Multikey = class {
15406
15451
  * @throws {TypeError} If the given `json` is invalid.
15407
15452
  */
15408
15453
  static async fromJsonLd(json, options = {}) {
15409
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
15454
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
15410
15455
  try {
15411
15456
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
15412
15457
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15548,6 +15593,11 @@ var Intent = class {
15548
15593
  get _warning() {
15549
15594
  return this.#warning;
15550
15595
  }
15596
+ /**
15597
+ * Internal cross-package contract with @fedify/testing, which copies this
15598
+ * cache when attaching document loaders to an activity clone. Keep this
15599
+ * accessor name and its getter/setter semantics stable.
15600
+ */
15551
15601
  get _cachedJsonLd() {
15552
15602
  return this.#cachedJsonLd;
15553
15603
  }
@@ -15817,7 +15867,7 @@ var Intent = class {
15817
15867
  * @throws {TypeError} If the given `json` is invalid.
15818
15868
  */
15819
15869
  static async fromJsonLd(json, options = {}) {
15820
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
15870
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
15821
15871
  try {
15822
15872
  const object = await this.__fromJsonLd__Intent__(json, span, options);
15823
15873
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16257,7 +16307,7 @@ var Proposal = class Proposal extends Object$1 {
16257
16307
  * @throws {TypeError} If the given `json` is invalid.
16258
16308
  */
16259
16309
  static async fromJsonLd(json, options = {}) {
16260
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
16310
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
16261
16311
  try {
16262
16312
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
16263
16313
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16489,7 +16539,7 @@ var Accept = class Accept extends Activity {
16489
16539
  * @throws {TypeError} If the given `json` is invalid.
16490
16540
  */
16491
16541
  static async fromJsonLd(json, options = {}) {
16492
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
16542
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
16493
16543
  try {
16494
16544
  const object = await this.__fromJsonLd__Accept__(json, span, options);
16495
16545
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16644,7 +16694,7 @@ var Add = class Add extends Activity {
16644
16694
  * @throws {TypeError} If the given `json` is invalid.
16645
16695
  */
16646
16696
  static async fromJsonLd(json, options = {}) {
16647
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
16697
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
16648
16698
  try {
16649
16699
  const object = await this.__fromJsonLd__Add__(json, span, options);
16650
16700
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16826,7 +16876,7 @@ var Announce = class Announce extends Activity {
16826
16876
  * @throws {TypeError} If the given `json` is invalid.
16827
16877
  */
16828
16878
  static async fromJsonLd(json, options = {}) {
16829
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
16879
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
16830
16880
  try {
16831
16881
  const object = await this.__fromJsonLd__Announce__(json, span, options);
16832
16882
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17224,7 +17274,7 @@ var Application = class Application extends Object$1 {
17224
17274
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17225
17275
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17226
17276
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17227
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
17277
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17228
17278
  let fetchResult;
17229
17279
  try {
17230
17280
  fetchResult = await documentLoader(url.href);
@@ -17405,7 +17455,7 @@ var Application = class Application extends Object$1 {
17405
17455
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17406
17456
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17407
17457
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17408
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
17458
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17409
17459
  let fetchResult;
17410
17460
  try {
17411
17461
  fetchResult = await documentLoader(url.href);
@@ -17604,7 +17654,7 @@ var Application = class Application extends Object$1 {
17604
17654
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17605
17655
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17606
17656
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17607
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
17657
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17608
17658
  let fetchResult;
17609
17659
  try {
17610
17660
  fetchResult = await documentLoader(url.href);
@@ -17755,7 +17805,7 @@ var Application = class Application extends Object$1 {
17755
17805
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17756
17806
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17757
17807
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17758
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
17808
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17759
17809
  let fetchResult;
17760
17810
  try {
17761
17811
  fetchResult = await documentLoader(url.href);
@@ -17903,7 +17953,7 @@ var Application = class Application extends Object$1 {
17903
17953
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17904
17954
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
17905
17955
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
17906
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
17956
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17907
17957
  let fetchResult;
17908
17958
  try {
17909
17959
  fetchResult = await documentLoader(url.href);
@@ -18036,7 +18086,7 @@ var Application = class Application extends Object$1 {
18036
18086
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18037
18087
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18038
18088
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18039
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
18089
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18040
18090
  let fetchResult;
18041
18091
  try {
18042
18092
  fetchResult = await documentLoader(url.href);
@@ -18172,7 +18222,7 @@ var Application = class Application extends Object$1 {
18172
18222
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18173
18223
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18174
18224
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18175
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
18225
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18176
18226
  let fetchResult;
18177
18227
  try {
18178
18228
  fetchResult = await documentLoader(url.href);
@@ -18306,7 +18356,7 @@ var Application = class Application extends Object$1 {
18306
18356
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18307
18357
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18308
18358
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18309
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
18359
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18310
18360
  let fetchResult;
18311
18361
  try {
18312
18362
  fetchResult = await documentLoader(url.href);
@@ -18438,7 +18488,7 @@ var Application = class Application extends Object$1 {
18438
18488
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18439
18489
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18440
18490
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18441
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
18491
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18442
18492
  let fetchResult;
18443
18493
  try {
18444
18494
  fetchResult = await documentLoader(url.href);
@@ -18570,7 +18620,7 @@ var Application = class Application extends Object$1 {
18570
18620
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18571
18621
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18572
18622
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18573
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
18623
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18574
18624
  let fetchResult;
18575
18625
  try {
18576
18626
  fetchResult = await documentLoader(url.href);
@@ -18742,7 +18792,7 @@ var Application = class Application extends Object$1 {
18742
18792
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18743
18793
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18744
18794
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18745
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
18795
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18746
18796
  let fetchResult;
18747
18797
  try {
18748
18798
  fetchResult = await documentLoader(url.href);
@@ -18917,7 +18967,7 @@ var Application = class Application extends Object$1 {
18917
18967
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18918
18968
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18919
18969
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18920
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
18970
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18921
18971
  let fetchResult;
18922
18972
  try {
18923
18973
  fetchResult = await documentLoader(url.href);
@@ -19150,7 +19200,7 @@ var Application = class Application extends Object$1 {
19150
19200
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19151
19201
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19152
19202
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19153
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
19203
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
19154
19204
  let fetchResult;
19155
19205
  try {
19156
19206
  fetchResult = await documentLoader(url.href);
@@ -19854,7 +19904,7 @@ var Application = class Application extends Object$1 {
19854
19904
  * @throws {TypeError} If the given `json` is invalid.
19855
19905
  */
19856
19906
  static async fromJsonLd(json, options = {}) {
19857
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
19907
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
19858
19908
  try {
19859
19909
  const object = await this.__fromJsonLd__Application__(json, span, options);
19860
19910
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20533,7 +20583,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
20533
20583
  * @throws {TypeError} If the given `json` is invalid.
20534
20584
  */
20535
20585
  static async fromJsonLd(json, options = {}) {
20536
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
20586
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
20537
20587
  try {
20538
20588
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
20539
20589
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20689,7 +20739,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
20689
20739
  * @throws {TypeError} If the given `json` is invalid.
20690
20740
  */
20691
20741
  static async fromJsonLd(json, options = {}) {
20692
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
20742
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
20693
20743
  try {
20694
20744
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
20695
20745
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20822,7 +20872,7 @@ var Article = class Article extends Object$1 {
20822
20872
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20823
20873
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20824
20874
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20825
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
20875
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
20826
20876
  let fetchResult;
20827
20877
  try {
20828
20878
  fetchResult = await documentLoader(url.href);
@@ -20969,7 +21019,7 @@ var Article = class Article extends Object$1 {
20969
21019
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20970
21020
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20971
21021
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20972
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
21022
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
20973
21023
  let fetchResult;
20974
21024
  try {
20975
21025
  fetchResult = await documentLoader(url.href);
@@ -21264,7 +21314,7 @@ var Article = class Article extends Object$1 {
21264
21314
  * @throws {TypeError} If the given `json` is invalid.
21265
21315
  */
21266
21316
  static async fromJsonLd(json, options = {}) {
21267
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
21317
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
21268
21318
  try {
21269
21319
  const object = await this.__fromJsonLd__Article__(json, span, options);
21270
21320
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21560,7 +21610,7 @@ var Document = class Document extends Object$1 {
21560
21610
  * @throws {TypeError} If the given `json` is invalid.
21561
21611
  */
21562
21612
  static async fromJsonLd(json, options = {}) {
21563
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
21613
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
21564
21614
  try {
21565
21615
  const object = await this.__fromJsonLd__Document__(json, span, options);
21566
21616
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21766,7 +21816,7 @@ var Audio = class Audio extends Document {
21766
21816
  * @throws {TypeError} If the given `json` is invalid.
21767
21817
  */
21768
21818
  static async fromJsonLd(json, options = {}) {
21769
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
21819
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
21770
21820
  try {
21771
21821
  const object = await this.__fromJsonLd__Audio__(json, span, options);
21772
21822
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21918,7 +21968,7 @@ var Ignore = class Ignore extends Activity {
21918
21968
  * @throws {TypeError} If the given `json` is invalid.
21919
21969
  */
21920
21970
  static async fromJsonLd(json, options = {}) {
21921
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
21971
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
21922
21972
  try {
21923
21973
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
21924
21974
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22073,7 +22123,7 @@ var Block = class Block extends Ignore {
22073
22123
  * @throws {TypeError} If the given `json` is invalid.
22074
22124
  */
22075
22125
  static async fromJsonLd(json, options = {}) {
22076
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
22126
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
22077
22127
  try {
22078
22128
  const object = await this.__fromJsonLd__Block__(json, span, options);
22079
22129
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22340,7 +22390,7 @@ var Collection = class Collection extends Object$1 {
22340
22390
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22341
22391
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22342
22392
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22343
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
22393
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22344
22394
  let fetchResult;
22345
22395
  try {
22346
22396
  fetchResult = await documentLoader(url.href);
@@ -22470,7 +22520,7 @@ var Collection = class Collection extends Object$1 {
22470
22520
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22471
22521
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22472
22522
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22473
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
22523
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22474
22524
  let fetchResult;
22475
22525
  try {
22476
22526
  fetchResult = await documentLoader(url.href);
@@ -22600,7 +22650,7 @@ var Collection = class Collection extends Object$1 {
22600
22650
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22601
22651
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22602
22652
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22603
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
22653
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22604
22654
  let fetchResult;
22605
22655
  try {
22606
22656
  fetchResult = await documentLoader(url.href);
@@ -22730,7 +22780,7 @@ var Collection = class Collection extends Object$1 {
22730
22780
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22731
22781
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22732
22782
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22733
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
22783
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22734
22784
  let fetchResult;
22735
22785
  try {
22736
22786
  fetchResult = await documentLoader(url.href);
@@ -22871,7 +22921,7 @@ var Collection = class Collection extends Object$1 {
22871
22921
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22872
22922
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22873
22923
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22874
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
22924
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22875
22925
  let fetchResult;
22876
22926
  try {
22877
22927
  fetchResult = await documentLoader(url.href);
@@ -23000,7 +23050,7 @@ var Collection = class Collection extends Object$1 {
23000
23050
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23001
23051
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23002
23052
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23003
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
23053
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23004
23054
  let fetchResult;
23005
23055
  try {
23006
23056
  fetchResult = await documentLoader(url.href);
@@ -23129,7 +23179,7 @@ var Collection = class Collection extends Object$1 {
23129
23179
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23130
23180
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23131
23181
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23132
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
23182
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23133
23183
  let fetchResult;
23134
23184
  try {
23135
23185
  fetchResult = await documentLoader(url.href);
@@ -23258,7 +23308,7 @@ var Collection = class Collection extends Object$1 {
23258
23308
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23259
23309
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23260
23310
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23261
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
23311
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23262
23312
  let fetchResult;
23263
23313
  try {
23264
23314
  fetchResult = await documentLoader(url.href);
@@ -23387,7 +23437,7 @@ var Collection = class Collection extends Object$1 {
23387
23437
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23388
23438
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23389
23439
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23390
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
23440
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23391
23441
  let fetchResult;
23392
23442
  try {
23393
23443
  fetchResult = await documentLoader(url.href);
@@ -23516,7 +23566,7 @@ var Collection = class Collection extends Object$1 {
23516
23566
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23517
23567
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23518
23568
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23519
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
23569
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23520
23570
  let fetchResult;
23521
23571
  try {
23522
23572
  fetchResult = await documentLoader(url.href);
@@ -23645,7 +23695,7 @@ var Collection = class Collection extends Object$1 {
23645
23695
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23646
23696
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23647
23697
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23648
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
23698
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23649
23699
  let fetchResult;
23650
23700
  try {
23651
23701
  fetchResult = await documentLoader(url.href);
@@ -23774,7 +23824,7 @@ var Collection = class Collection extends Object$1 {
23774
23824
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23775
23825
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23776
23826
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23777
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
23827
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23778
23828
  let fetchResult;
23779
23829
  try {
23780
23830
  fetchResult = await documentLoader(url.href);
@@ -24232,7 +24282,7 @@ var Collection = class Collection extends Object$1 {
24232
24282
  * @throws {TypeError} If the given `json` is invalid.
24233
24283
  */
24234
24284
  static async fromJsonLd(json, options = {}) {
24235
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
24285
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
24236
24286
  try {
24237
24287
  const object = await this.__fromJsonLd__Collection__(json, span, options);
24238
24288
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24767,7 +24817,7 @@ var CollectionPage = class CollectionPage extends Collection {
24767
24817
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24768
24818
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24769
24819
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24770
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
24820
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
24771
24821
  let fetchResult;
24772
24822
  try {
24773
24823
  fetchResult = await documentLoader(url.href);
@@ -24897,7 +24947,7 @@ var CollectionPage = class CollectionPage extends Collection {
24897
24947
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24898
24948
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24899
24949
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24900
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
24950
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
24901
24951
  let fetchResult;
24902
24952
  try {
24903
24953
  fetchResult = await documentLoader(url.href);
@@ -25026,7 +25076,7 @@ var CollectionPage = class CollectionPage extends Collection {
25026
25076
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25027
25077
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25028
25078
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25029
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
25079
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
25030
25080
  let fetchResult;
25031
25081
  try {
25032
25082
  fetchResult = await documentLoader(url.href);
@@ -25321,7 +25371,7 @@ var CollectionPage = class CollectionPage extends Collection {
25321
25371
  * @throws {TypeError} If the given `json` is invalid.
25322
25372
  */
25323
25373
  static async fromJsonLd(json, options = {}) {
25324
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
25374
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
25325
25375
  try {
25326
25376
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
25327
25377
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25579,7 +25629,7 @@ var Create = class Create extends Activity {
25579
25629
  * @throws {TypeError} If the given `json` is invalid.
25580
25630
  */
25581
25631
  static async fromJsonLd(json, options = {}) {
25582
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
25632
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
25583
25633
  try {
25584
25634
  const object = await this.__fromJsonLd__Create__(json, span, options);
25585
25635
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25757,7 +25807,7 @@ var Delete = class Delete extends Activity {
25757
25807
  * @throws {TypeError} If the given `json` is invalid.
25758
25808
  */
25759
25809
  static async fromJsonLd(json, options = {}) {
25760
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
25810
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
25761
25811
  try {
25762
25812
  const object = await this.__fromJsonLd__Delete__(json, span, options);
25763
25813
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25912,7 +25962,7 @@ var Dislike = class Dislike extends Activity {
25912
25962
  * @throws {TypeError} If the given `json` is invalid.
25913
25963
  */
25914
25964
  static async fromJsonLd(json, options = {}) {
25915
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
25965
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
25916
25966
  try {
25917
25967
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
25918
25968
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25998,6 +26048,11 @@ var Endpoints = class {
25998
26048
  get _warning() {
25999
26049
  return this.#warning;
26000
26050
  }
26051
+ /**
26052
+ * Internal cross-package contract with @fedify/testing, which copies this
26053
+ * cache when attaching document loaders to an activity clone. Keep this
26054
+ * accessor name and its getter/setter semantics stable.
26055
+ */
26001
26056
  get _cachedJsonLd() {
26002
26057
  return this.#cachedJsonLd;
26003
26058
  }
@@ -26272,7 +26327,7 @@ var Endpoints = class {
26272
26327
  * @throws {TypeError} If the given `json` is invalid.
26273
26328
  */
26274
26329
  static async fromJsonLd(json, options = {}) {
26275
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
26330
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
26276
26331
  try {
26277
26332
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
26278
26333
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26545,7 +26600,7 @@ var Event = class Event extends Object$1 {
26545
26600
  * @throws {TypeError} If the given `json` is invalid.
26546
26601
  */
26547
26602
  static async fromJsonLd(json, options = {}) {
26548
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
26603
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
26549
26604
  try {
26550
26605
  const object = await this.__fromJsonLd__Event__(json, span, options);
26551
26606
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26698,7 +26753,7 @@ var Flag = class Flag extends Activity {
26698
26753
  * @throws {TypeError} If the given `json` is invalid.
26699
26754
  */
26700
26755
  static async fromJsonLd(json, options = {}) {
26701
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
26756
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
26702
26757
  try {
26703
26758
  const object = await this.__fromJsonLd__Flag__(json, span, options);
26704
26759
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26855,7 +26910,7 @@ var Follow = class Follow extends Activity {
26855
26910
  * @throws {TypeError} If the given `json` is invalid.
26856
26911
  */
26857
26912
  static async fromJsonLd(json, options = {}) {
26858
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
26913
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
26859
26914
  try {
26860
26915
  const object = await this.__fromJsonLd__Follow__(json, span, options);
26861
26916
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27253,7 +27308,7 @@ var Group = class Group extends Object$1 {
27253
27308
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27254
27309
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27255
27310
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27256
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
27311
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27257
27312
  let fetchResult;
27258
27313
  try {
27259
27314
  fetchResult = await documentLoader(url.href);
@@ -27434,7 +27489,7 @@ var Group = class Group extends Object$1 {
27434
27489
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27435
27490
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27436
27491
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27437
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
27492
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27438
27493
  let fetchResult;
27439
27494
  try {
27440
27495
  fetchResult = await documentLoader(url.href);
@@ -27633,7 +27688,7 @@ var Group = class Group extends Object$1 {
27633
27688
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27634
27689
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27635
27690
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27636
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
27691
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27637
27692
  let fetchResult;
27638
27693
  try {
27639
27694
  fetchResult = await documentLoader(url.href);
@@ -27784,7 +27839,7 @@ var Group = class Group extends Object$1 {
27784
27839
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27785
27840
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27786
27841
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27787
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
27842
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27788
27843
  let fetchResult;
27789
27844
  try {
27790
27845
  fetchResult = await documentLoader(url.href);
@@ -27932,7 +27987,7 @@ var Group = class Group extends Object$1 {
27932
27987
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27933
27988
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27934
27989
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27935
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
27990
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27936
27991
  let fetchResult;
27937
27992
  try {
27938
27993
  fetchResult = await documentLoader(url.href);
@@ -28065,7 +28120,7 @@ var Group = class Group extends Object$1 {
28065
28120
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28066
28121
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28067
28122
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28068
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
28123
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28069
28124
  let fetchResult;
28070
28125
  try {
28071
28126
  fetchResult = await documentLoader(url.href);
@@ -28201,7 +28256,7 @@ var Group = class Group extends Object$1 {
28201
28256
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28202
28257
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28203
28258
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28204
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
28259
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28205
28260
  let fetchResult;
28206
28261
  try {
28207
28262
  fetchResult = await documentLoader(url.href);
@@ -28335,7 +28390,7 @@ var Group = class Group extends Object$1 {
28335
28390
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28336
28391
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28337
28392
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28338
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
28393
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28339
28394
  let fetchResult;
28340
28395
  try {
28341
28396
  fetchResult = await documentLoader(url.href);
@@ -28467,7 +28522,7 @@ var Group = class Group extends Object$1 {
28467
28522
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28468
28523
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28469
28524
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28470
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
28525
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28471
28526
  let fetchResult;
28472
28527
  try {
28473
28528
  fetchResult = await documentLoader(url.href);
@@ -28599,7 +28654,7 @@ var Group = class Group extends Object$1 {
28599
28654
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28600
28655
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28601
28656
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28602
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
28657
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28603
28658
  let fetchResult;
28604
28659
  try {
28605
28660
  fetchResult = await documentLoader(url.href);
@@ -28771,7 +28826,7 @@ var Group = class Group extends Object$1 {
28771
28826
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28772
28827
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28773
28828
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28774
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
28829
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28775
28830
  let fetchResult;
28776
28831
  try {
28777
28832
  fetchResult = await documentLoader(url.href);
@@ -28946,7 +29001,7 @@ var Group = class Group extends Object$1 {
28946
29001
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28947
29002
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28948
29003
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28949
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
29004
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28950
29005
  let fetchResult;
28951
29006
  try {
28952
29007
  fetchResult = await documentLoader(url.href);
@@ -29179,7 +29234,7 @@ var Group = class Group extends Object$1 {
29179
29234
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29180
29235
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29181
29236
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29182
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
29237
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
29183
29238
  let fetchResult;
29184
29239
  try {
29185
29240
  fetchResult = await documentLoader(url.href);
@@ -29883,7 +29938,7 @@ var Group = class Group extends Object$1 {
29883
29938
  * @throws {TypeError} If the given `json` is invalid.
29884
29939
  */
29885
29940
  static async fromJsonLd(json, options = {}) {
29886
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
29941
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
29887
29942
  try {
29888
29943
  const object = await this.__fromJsonLd__Group__(json, span, options);
29889
29944
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30502,6 +30557,11 @@ var Link = class Link {
30502
30557
  get _warning() {
30503
30558
  return this.#warning;
30504
30559
  }
30560
+ /**
30561
+ * Internal cross-package contract with @fedify/testing, which copies this
30562
+ * cache when attaching document loaders to an activity clone. Keep this
30563
+ * accessor name and its getter/setter semantics stable.
30564
+ */
30505
30565
  get _cachedJsonLd() {
30506
30566
  return this.#cachedJsonLd;
30507
30567
  }
@@ -30712,7 +30772,7 @@ var Link = class Link {
30712
30772
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30713
30773
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30714
30774
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30715
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
30775
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
30716
30776
  let fetchResult;
30717
30777
  try {
30718
30778
  fetchResult = await documentLoader(url.href);
@@ -31014,7 +31074,7 @@ var Link = class Link {
31014
31074
  * @throws {TypeError} If the given `json` is invalid.
31015
31075
  */
31016
31076
  static async fromJsonLd(json, options = {}) {
31017
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
31077
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
31018
31078
  try {
31019
31079
  const object = await this.__fromJsonLd__Link__(json, span, options);
31020
31080
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31397,7 +31457,7 @@ var Hashtag = class Hashtag extends Link {
31397
31457
  * @throws {TypeError} If the given `json` is invalid.
31398
31458
  */
31399
31459
  static async fromJsonLd(json, options = {}) {
31400
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
31460
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
31401
31461
  try {
31402
31462
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
31403
31463
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31562,7 +31622,7 @@ var Image = class Image extends Document {
31562
31622
  * @throws {TypeError} If the given `json` is invalid.
31563
31623
  */
31564
31624
  static async fromJsonLd(json, options = {}) {
31565
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
31625
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
31566
31626
  try {
31567
31627
  const object = await this.__fromJsonLd__Image__(json, span, options);
31568
31628
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31715,7 +31775,7 @@ var Offer = class Offer extends Activity {
31715
31775
  * @throws {TypeError} If the given `json` is invalid.
31716
31776
  */
31717
31777
  static async fromJsonLd(json, options = {}) {
31718
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
31778
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
31719
31779
  try {
31720
31780
  const object = await this.__fromJsonLd__Offer__(json, span, options);
31721
31781
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31868,7 +31928,7 @@ var Invite = class Invite extends Offer {
31868
31928
  * @throws {TypeError} If the given `json` is invalid.
31869
31929
  */
31870
31930
  static async fromJsonLd(json, options = {}) {
31871
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
31931
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
31872
31932
  try {
31873
31933
  const object = await this.__fromJsonLd__Invite__(json, span, options);
31874
31934
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32020,7 +32080,7 @@ var Join = class Join extends Activity {
32020
32080
  * @throws {TypeError} If the given `json` is invalid.
32021
32081
  */
32022
32082
  static async fromJsonLd(json, options = {}) {
32023
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
32083
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32024
32084
  try {
32025
32085
  const object = await this.__fromJsonLd__Join__(json, span, options);
32026
32086
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32172,7 +32232,7 @@ var Leave = class Leave extends Activity {
32172
32232
  * @throws {TypeError} If the given `json` is invalid.
32173
32233
  */
32174
32234
  static async fromJsonLd(json, options = {}) {
32175
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
32235
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32176
32236
  try {
32177
32237
  const object = await this.__fromJsonLd__Leave__(json, span, options);
32178
32238
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32328,7 +32388,7 @@ var Like = class Like extends Activity {
32328
32388
  * @throws {TypeError} If the given `json` is invalid.
32329
32389
  */
32330
32390
  static async fromJsonLd(json, options = {}) {
32331
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
32391
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32332
32392
  try {
32333
32393
  const object = await this.__fromJsonLd__Like__(json, span, options);
32334
32394
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32479,7 +32539,7 @@ var Listen = class Listen extends Activity {
32479
32539
  * @throws {TypeError} If the given `json` is invalid.
32480
32540
  */
32481
32541
  static async fromJsonLd(json, options = {}) {
32482
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
32542
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32483
32543
  try {
32484
32544
  const object = await this.__fromJsonLd__Listen__(json, span, options);
32485
32545
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32633,7 +32693,7 @@ var Mention = class Mention extends Link {
32633
32693
  * @throws {TypeError} If the given `json` is invalid.
32634
32694
  */
32635
32695
  static async fromJsonLd(json, options = {}) {
32636
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
32696
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32637
32697
  try {
32638
32698
  const object = await this.__fromJsonLd__Mention__(json, span, options);
32639
32699
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32786,7 +32846,7 @@ var Move = class Move extends Activity {
32786
32846
  * @throws {TypeError} If the given `json` is invalid.
32787
32847
  */
32788
32848
  static async fromJsonLd(json, options = {}) {
32789
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
32849
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32790
32850
  try {
32791
32851
  const object = await this.__fromJsonLd__Move__(json, span, options);
32792
32852
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32920,7 +32980,7 @@ var Note = class Note extends Object$1 {
32920
32980
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32921
32981
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32922
32982
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32923
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
32983
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
32924
32984
  let fetchResult;
32925
32985
  try {
32926
32986
  fetchResult = await documentLoader(url.href);
@@ -33067,7 +33127,7 @@ var Note = class Note extends Object$1 {
33067
33127
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33068
33128
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33069
33129
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33070
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
33130
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
33071
33131
  let fetchResult;
33072
33132
  try {
33073
33133
  fetchResult = await documentLoader(url.href);
@@ -33362,7 +33422,7 @@ var Note = class Note extends Object$1 {
33362
33422
  * @throws {TypeError} If the given `json` is invalid.
33363
33423
  */
33364
33424
  static async fromJsonLd(json, options = {}) {
33365
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
33425
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
33366
33426
  try {
33367
33427
  const object = await this.__fromJsonLd__Note__(json, span, options);
33368
33428
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33550,7 +33610,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
33550
33610
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33551
33611
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33552
33612
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33553
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
33613
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
33554
33614
  let fetchResult;
33555
33615
  try {
33556
33616
  fetchResult = await documentLoader(url.href);
@@ -33830,7 +33890,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
33830
33890
  * @throws {TypeError} If the given `json` is invalid.
33831
33891
  */
33832
33892
  static async fromJsonLd(json, options = {}) {
33833
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
33893
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
33834
33894
  try {
33835
33895
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
33836
33896
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34052,7 +34112,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
34052
34112
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34053
34113
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34054
34114
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34055
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
34115
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
34056
34116
  let fetchResult;
34057
34117
  try {
34058
34118
  fetchResult = await documentLoader(url.href);
@@ -34355,7 +34415,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
34355
34415
  * @throws {TypeError} If the given `json` is invalid.
34356
34416
  */
34357
34417
  static async fromJsonLd(json, options = {}) {
34358
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
34418
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
34359
34419
  try {
34360
34420
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
34361
34421
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34869,7 +34929,7 @@ var Organization = class Organization extends Object$1 {
34869
34929
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34870
34930
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34871
34931
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34872
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
34932
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
34873
34933
  let fetchResult;
34874
34934
  try {
34875
34935
  fetchResult = await documentLoader(url.href);
@@ -35050,7 +35110,7 @@ var Organization = class Organization extends Object$1 {
35050
35110
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35051
35111
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35052
35112
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35053
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
35113
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35054
35114
  let fetchResult;
35055
35115
  try {
35056
35116
  fetchResult = await documentLoader(url.href);
@@ -35249,7 +35309,7 @@ var Organization = class Organization extends Object$1 {
35249
35309
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35250
35310
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35251
35311
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35252
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
35312
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35253
35313
  let fetchResult;
35254
35314
  try {
35255
35315
  fetchResult = await documentLoader(url.href);
@@ -35400,7 +35460,7 @@ var Organization = class Organization extends Object$1 {
35400
35460
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35401
35461
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35402
35462
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35403
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
35463
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35404
35464
  let fetchResult;
35405
35465
  try {
35406
35466
  fetchResult = await documentLoader(url.href);
@@ -35548,7 +35608,7 @@ var Organization = class Organization extends Object$1 {
35548
35608
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35549
35609
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35550
35610
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35551
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
35611
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35552
35612
  let fetchResult;
35553
35613
  try {
35554
35614
  fetchResult = await documentLoader(url.href);
@@ -35681,7 +35741,7 @@ var Organization = class Organization extends Object$1 {
35681
35741
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35682
35742
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35683
35743
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35684
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
35744
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35685
35745
  let fetchResult;
35686
35746
  try {
35687
35747
  fetchResult = await documentLoader(url.href);
@@ -35817,7 +35877,7 @@ var Organization = class Organization extends Object$1 {
35817
35877
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35818
35878
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35819
35879
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35820
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
35880
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35821
35881
  let fetchResult;
35822
35882
  try {
35823
35883
  fetchResult = await documentLoader(url.href);
@@ -35951,7 +36011,7 @@ var Organization = class Organization extends Object$1 {
35951
36011
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35952
36012
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35953
36013
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35954
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
36014
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35955
36015
  let fetchResult;
35956
36016
  try {
35957
36017
  fetchResult = await documentLoader(url.href);
@@ -36083,7 +36143,7 @@ var Organization = class Organization extends Object$1 {
36083
36143
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36084
36144
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36085
36145
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36086
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
36146
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36087
36147
  let fetchResult;
36088
36148
  try {
36089
36149
  fetchResult = await documentLoader(url.href);
@@ -36215,7 +36275,7 @@ var Organization = class Organization extends Object$1 {
36215
36275
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36216
36276
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36217
36277
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36218
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
36278
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36219
36279
  let fetchResult;
36220
36280
  try {
36221
36281
  fetchResult = await documentLoader(url.href);
@@ -36387,7 +36447,7 @@ var Organization = class Organization extends Object$1 {
36387
36447
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36388
36448
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36389
36449
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36390
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
36450
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36391
36451
  let fetchResult;
36392
36452
  try {
36393
36453
  fetchResult = await documentLoader(url.href);
@@ -36562,7 +36622,7 @@ var Organization = class Organization extends Object$1 {
36562
36622
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36563
36623
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36564
36624
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36565
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
36625
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36566
36626
  let fetchResult;
36567
36627
  try {
36568
36628
  fetchResult = await documentLoader(url.href);
@@ -36795,7 +36855,7 @@ var Organization = class Organization extends Object$1 {
36795
36855
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36796
36856
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36797
36857
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36798
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
36858
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36799
36859
  let fetchResult;
36800
36860
  try {
36801
36861
  fetchResult = await documentLoader(url.href);
@@ -37499,7 +37559,7 @@ var Organization = class Organization extends Object$1 {
37499
37559
  * @throws {TypeError} If the given `json` is invalid.
37500
37560
  */
37501
37561
  static async fromJsonLd(json, options = {}) {
37502
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
37562
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
37503
37563
  try {
37504
37564
  const object = await this.__fromJsonLd__Organization__(json, span, options);
37505
37565
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38190,7 +38250,7 @@ var Page = class Page extends Document {
38190
38250
  * @throws {TypeError} If the given `json` is invalid.
38191
38251
  */
38192
38252
  static async fromJsonLd(json, options = {}) {
38193
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
38253
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
38194
38254
  try {
38195
38255
  const object = await this.__fromJsonLd__Page__(json, span, options);
38196
38256
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38588,7 +38648,7 @@ var Person = class Person extends Object$1 {
38588
38648
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38589
38649
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38590
38650
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38591
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
38651
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
38592
38652
  let fetchResult;
38593
38653
  try {
38594
38654
  fetchResult = await documentLoader(url.href);
@@ -38769,7 +38829,7 @@ var Person = class Person extends Object$1 {
38769
38829
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38770
38830
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38771
38831
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38772
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
38832
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
38773
38833
  let fetchResult;
38774
38834
  try {
38775
38835
  fetchResult = await documentLoader(url.href);
@@ -38968,7 +39028,7 @@ var Person = class Person extends Object$1 {
38968
39028
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38969
39029
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38970
39030
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38971
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
39031
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
38972
39032
  let fetchResult;
38973
39033
  try {
38974
39034
  fetchResult = await documentLoader(url.href);
@@ -39119,7 +39179,7 @@ var Person = class Person extends Object$1 {
39119
39179
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39120
39180
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39121
39181
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39122
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
39182
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39123
39183
  let fetchResult;
39124
39184
  try {
39125
39185
  fetchResult = await documentLoader(url.href);
@@ -39267,7 +39327,7 @@ var Person = class Person extends Object$1 {
39267
39327
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39268
39328
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39269
39329
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39270
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
39330
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39271
39331
  let fetchResult;
39272
39332
  try {
39273
39333
  fetchResult = await documentLoader(url.href);
@@ -39400,7 +39460,7 @@ var Person = class Person extends Object$1 {
39400
39460
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39401
39461
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39402
39462
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39403
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
39463
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39404
39464
  let fetchResult;
39405
39465
  try {
39406
39466
  fetchResult = await documentLoader(url.href);
@@ -39536,7 +39596,7 @@ var Person = class Person extends Object$1 {
39536
39596
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39537
39597
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39538
39598
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39539
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
39599
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39540
39600
  let fetchResult;
39541
39601
  try {
39542
39602
  fetchResult = await documentLoader(url.href);
@@ -39670,7 +39730,7 @@ var Person = class Person extends Object$1 {
39670
39730
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39671
39731
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39672
39732
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39673
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
39733
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39674
39734
  let fetchResult;
39675
39735
  try {
39676
39736
  fetchResult = await documentLoader(url.href);
@@ -39802,7 +39862,7 @@ var Person = class Person extends Object$1 {
39802
39862
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39803
39863
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39804
39864
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39805
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
39865
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39806
39866
  let fetchResult;
39807
39867
  try {
39808
39868
  fetchResult = await documentLoader(url.href);
@@ -39934,7 +39994,7 @@ var Person = class Person extends Object$1 {
39934
39994
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39935
39995
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39936
39996
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39937
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
39997
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39938
39998
  let fetchResult;
39939
39999
  try {
39940
40000
  fetchResult = await documentLoader(url.href);
@@ -40106,7 +40166,7 @@ var Person = class Person extends Object$1 {
40106
40166
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40107
40167
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40108
40168
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40109
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
40169
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
40110
40170
  let fetchResult;
40111
40171
  try {
40112
40172
  fetchResult = await documentLoader(url.href);
@@ -40281,7 +40341,7 @@ var Person = class Person extends Object$1 {
40281
40341
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40282
40342
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40283
40343
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40284
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
40344
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
40285
40345
  let fetchResult;
40286
40346
  try {
40287
40347
  fetchResult = await documentLoader(url.href);
@@ -40514,7 +40574,7 @@ var Person = class Person extends Object$1 {
40514
40574
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40515
40575
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40516
40576
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40517
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
40577
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
40518
40578
  let fetchResult;
40519
40579
  try {
40520
40580
  fetchResult = await documentLoader(url.href);
@@ -41218,7 +41278,7 @@ var Person = class Person extends Object$1 {
41218
41278
  * @throws {TypeError} If the given `json` is invalid.
41219
41279
  */
41220
41280
  static async fromJsonLd(json, options = {}) {
41221
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
41281
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
41222
41282
  try {
41223
41283
  const object = await this.__fromJsonLd__Person__(json, span, options);
41224
41284
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42086,7 +42146,7 @@ var Place = class Place extends Object$1 {
42086
42146
  * @throws {TypeError} If the given `json` is invalid.
42087
42147
  */
42088
42148
  static async fromJsonLd(json, options = {}) {
42089
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
42149
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
42090
42150
  try {
42091
42151
  const object = await this.__fromJsonLd__Place__(json, span, options);
42092
42152
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42314,7 +42374,7 @@ var Profile = class Profile extends Object$1 {
42314
42374
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42315
42375
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42316
42376
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42317
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
42377
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
42318
42378
  let fetchResult;
42319
42379
  try {
42320
42380
  fetchResult = await documentLoader(url.href);
@@ -42524,7 +42584,7 @@ var Profile = class Profile extends Object$1 {
42524
42584
  * @throws {TypeError} If the given `json` is invalid.
42525
42585
  */
42526
42586
  static async fromJsonLd(json, options = {}) {
42527
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
42587
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
42528
42588
  try {
42529
42589
  const object = await this.__fromJsonLd__Profile__(json, span, options);
42530
42590
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42728,7 +42788,7 @@ var Question = class Question extends IntransitiveActivity {
42728
42788
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42729
42789
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42730
42790
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42731
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
42791
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
42732
42792
  let fetchResult;
42733
42793
  try {
42734
42794
  fetchResult = await documentLoader(url.href);
@@ -42860,7 +42920,7 @@ var Question = class Question extends IntransitiveActivity {
42860
42920
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42861
42921
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42862
42922
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42863
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
42923
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
42864
42924
  let fetchResult;
42865
42925
  try {
42866
42926
  fetchResult = await documentLoader(url.href);
@@ -43008,7 +43068,7 @@ var Question = class Question extends IntransitiveActivity {
43008
43068
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43009
43069
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43010
43070
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43011
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
43071
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
43012
43072
  let fetchResult;
43013
43073
  try {
43014
43074
  fetchResult = await documentLoader(url.href);
@@ -43155,7 +43215,7 @@ var Question = class Question extends IntransitiveActivity {
43155
43215
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43156
43216
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43157
43217
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43158
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
43218
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
43159
43219
  let fetchResult;
43160
43220
  try {
43161
43221
  fetchResult = await documentLoader(url.href);
@@ -43416,7 +43476,7 @@ var Question = class Question extends IntransitiveActivity {
43416
43476
  * @throws {TypeError} If the given `json` is invalid.
43417
43477
  */
43418
43478
  static async fromJsonLd(json, options = {}) {
43419
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
43479
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
43420
43480
  try {
43421
43481
  const object = await this.__fromJsonLd__Question__(json, span, options);
43422
43482
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43724,7 +43784,7 @@ var Read = class Read extends Activity {
43724
43784
  * @throws {TypeError} If the given `json` is invalid.
43725
43785
  */
43726
43786
  static async fromJsonLd(json, options = {}) {
43727
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
43787
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
43728
43788
  try {
43729
43789
  const object = await this.__fromJsonLd__Read__(json, span, options);
43730
43790
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43876,7 +43936,7 @@ var Reject = class Reject extends Activity {
43876
43936
  * @throws {TypeError} If the given `json` is invalid.
43877
43937
  */
43878
43938
  static async fromJsonLd(json, options = {}) {
43879
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
43939
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
43880
43940
  try {
43881
43941
  const object = await this.__fromJsonLd__Reject__(json, span, options);
43882
43942
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44052,7 +44112,7 @@ var Relationship = class Relationship extends Object$1 {
44052
44112
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44053
44113
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44054
44114
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44055
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
44115
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
44056
44116
  let fetchResult;
44057
44117
  try {
44058
44118
  fetchResult = await documentLoader(url.href);
@@ -44184,7 +44244,7 @@ var Relationship = class Relationship extends Object$1 {
44184
44244
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44185
44245
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44186
44246
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44187
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
44247
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
44188
44248
  let fetchResult;
44189
44249
  try {
44190
44250
  fetchResult = await documentLoader(url.href);
@@ -44365,7 +44425,7 @@ var Relationship = class Relationship extends Object$1 {
44365
44425
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44366
44426
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44367
44427
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44368
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
44428
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
44369
44429
  let fetchResult;
44370
44430
  try {
44371
44431
  fetchResult = await documentLoader(url.href);
@@ -44662,7 +44722,7 @@ var Relationship = class Relationship extends Object$1 {
44662
44722
  * @throws {TypeError} If the given `json` is invalid.
44663
44723
  */
44664
44724
  static async fromJsonLd(json, options = {}) {
44665
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
44725
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
44666
44726
  try {
44667
44727
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
44668
44728
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44892,7 +44952,7 @@ var Remove = class Remove extends Activity {
44892
44952
  * @throws {TypeError} If the given `json` is invalid.
44893
44953
  */
44894
44954
  static async fromJsonLd(json, options = {}) {
44895
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
44955
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
44896
44956
  try {
44897
44957
  const object = await this.__fromJsonLd__Remove__(json, span, options);
44898
44958
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45290,7 +45350,7 @@ var Service = class Service extends Object$1 {
45290
45350
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45291
45351
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45292
45352
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
45293
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
45353
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45294
45354
  let fetchResult;
45295
45355
  try {
45296
45356
  fetchResult = await documentLoader(url.href);
@@ -45471,7 +45531,7 @@ var Service = class Service extends Object$1 {
45471
45531
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45472
45532
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45473
45533
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
45474
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
45534
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45475
45535
  let fetchResult;
45476
45536
  try {
45477
45537
  fetchResult = await documentLoader(url.href);
@@ -45670,7 +45730,7 @@ var Service = class Service extends Object$1 {
45670
45730
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45671
45731
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45672
45732
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
45673
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
45733
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45674
45734
  let fetchResult;
45675
45735
  try {
45676
45736
  fetchResult = await documentLoader(url.href);
@@ -45821,7 +45881,7 @@ var Service = class Service extends Object$1 {
45821
45881
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45822
45882
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45823
45883
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
45824
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
45884
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45825
45885
  let fetchResult;
45826
45886
  try {
45827
45887
  fetchResult = await documentLoader(url.href);
@@ -45969,7 +46029,7 @@ var Service = class Service extends Object$1 {
45969
46029
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45970
46030
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45971
46031
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
45972
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
46032
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45973
46033
  let fetchResult;
45974
46034
  try {
45975
46035
  fetchResult = await documentLoader(url.href);
@@ -46102,7 +46162,7 @@ var Service = class Service extends Object$1 {
46102
46162
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46103
46163
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46104
46164
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
46105
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
46165
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46106
46166
  let fetchResult;
46107
46167
  try {
46108
46168
  fetchResult = await documentLoader(url.href);
@@ -46238,7 +46298,7 @@ var Service = class Service extends Object$1 {
46238
46298
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46239
46299
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46240
46300
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
46241
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
46301
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46242
46302
  let fetchResult;
46243
46303
  try {
46244
46304
  fetchResult = await documentLoader(url.href);
@@ -46372,7 +46432,7 @@ var Service = class Service extends Object$1 {
46372
46432
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46373
46433
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46374
46434
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
46375
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
46435
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46376
46436
  let fetchResult;
46377
46437
  try {
46378
46438
  fetchResult = await documentLoader(url.href);
@@ -46504,7 +46564,7 @@ var Service = class Service extends Object$1 {
46504
46564
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46505
46565
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46506
46566
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
46507
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
46567
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46508
46568
  let fetchResult;
46509
46569
  try {
46510
46570
  fetchResult = await documentLoader(url.href);
@@ -46636,7 +46696,7 @@ var Service = class Service extends Object$1 {
46636
46696
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46637
46697
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46638
46698
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
46639
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
46699
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46640
46700
  let fetchResult;
46641
46701
  try {
46642
46702
  fetchResult = await documentLoader(url.href);
@@ -46808,7 +46868,7 @@ var Service = class Service extends Object$1 {
46808
46868
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46809
46869
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46810
46870
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
46811
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
46871
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46812
46872
  let fetchResult;
46813
46873
  try {
46814
46874
  fetchResult = await documentLoader(url.href);
@@ -46983,7 +47043,7 @@ var Service = class Service extends Object$1 {
46983
47043
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46984
47044
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46985
47045
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
46986
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
47046
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46987
47047
  let fetchResult;
46988
47048
  try {
46989
47049
  fetchResult = await documentLoader(url.href);
@@ -47216,7 +47276,7 @@ var Service = class Service extends Object$1 {
47216
47276
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47217
47277
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47218
47278
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47219
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.lookup_object", async (span) => {
47279
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
47220
47280
  let fetchResult;
47221
47281
  try {
47222
47282
  fetchResult = await documentLoader(url.href);
@@ -47920,7 +47980,7 @@ var Service = class Service extends Object$1 {
47920
47980
  * @throws {TypeError} If the given `json` is invalid.
47921
47981
  */
47922
47982
  static async fromJsonLd(json, options = {}) {
47923
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
47983
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
47924
47984
  try {
47925
47985
  const object = await this.__fromJsonLd__Service__(json, span, options);
47926
47986
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48532,6 +48592,11 @@ var Source = class {
48532
48592
  get _warning() {
48533
48593
  return this.#warning;
48534
48594
  }
48595
+ /**
48596
+ * Internal cross-package contract with @fedify/testing, which copies this
48597
+ * cache when attaching document loaders to an activity clone. Keep this
48598
+ * accessor name and its getter/setter semantics stable.
48599
+ */
48535
48600
  get _cachedJsonLd() {
48536
48601
  return this.#cachedJsonLd;
48537
48602
  }
@@ -48705,7 +48770,7 @@ var Source = class {
48705
48770
  * @throws {TypeError} If the given `json` is invalid.
48706
48771
  */
48707
48772
  static async fromJsonLd(json, options = {}) {
48708
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
48773
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
48709
48774
  try {
48710
48775
  const object = await this.__fromJsonLd__Source__(json, span, options);
48711
48776
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48894,7 +48959,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
48894
48959
  * @throws {TypeError} If the given `json` is invalid.
48895
48960
  */
48896
48961
  static async fromJsonLd(json, options = {}) {
48897
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
48962
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
48898
48963
  try {
48899
48964
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
48900
48965
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49046,7 +49111,7 @@ var TentativeReject = class TentativeReject extends Reject {
49046
49111
  * @throws {TypeError} If the given `json` is invalid.
49047
49112
  */
49048
49113
  static async fromJsonLd(json, options = {}) {
49049
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
49114
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49050
49115
  try {
49051
49116
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
49052
49117
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49287,7 +49352,7 @@ var Tombstone = class Tombstone extends Object$1 {
49287
49352
  * @throws {TypeError} If the given `json` is invalid.
49288
49353
  */
49289
49354
  static async fromJsonLd(json, options = {}) {
49290
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
49355
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49291
49356
  try {
49292
49357
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
49293
49358
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49484,7 +49549,7 @@ var Travel = class Travel extends IntransitiveActivity {
49484
49549
  * @throws {TypeError} If the given `json` is invalid.
49485
49550
  */
49486
49551
  static async fromJsonLd(json, options = {}) {
49487
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
49552
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49488
49553
  try {
49489
49554
  const object = await this.__fromJsonLd__Travel__(json, span, options);
49490
49555
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49650,7 +49715,7 @@ var Undo = class Undo extends Activity {
49650
49715
  * @throws {TypeError} If the given `json` is invalid.
49651
49716
  */
49652
49717
  static async fromJsonLd(json, options = {}) {
49653
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
49718
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49654
49719
  try {
49655
49720
  const object = await this.__fromJsonLd__Undo__(json, span, options);
49656
49721
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49864,7 +49929,7 @@ var Update = class Update extends Activity {
49864
49929
  * @throws {TypeError} If the given `json` is invalid.
49865
49930
  */
49866
49931
  static async fromJsonLd(json, options = {}) {
49867
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
49932
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49868
49933
  try {
49869
49934
  const object = await this.__fromJsonLd__Update__(json, span, options);
49870
49935
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50029,7 +50094,7 @@ var Video = class Video extends Document {
50029
50094
  * @throws {TypeError} If the given `json` is invalid.
50030
50095
  */
50031
50096
  static async fromJsonLd(json, options = {}) {
50032
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
50097
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
50033
50098
  try {
50034
50099
  const object = await this.__fromJsonLd__Video__(json, span, options);
50035
50100
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50180,7 +50245,7 @@ var View = class View extends Activity {
50180
50245
  * @throws {TypeError} If the given `json` is invalid.
50181
50246
  */
50182
50247
  static async fromJsonLd(json, options = {}) {
50183
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.18").startActiveSpan("activitypub.parse_object", async (span) => {
50248
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
50184
50249
  try {
50185
50250
  const object = await this.__fromJsonLd__View__(json, span, options);
50186
50251
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);