@fedify/vocab 2.1.30 → 2.1.31

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.1.30";
36
+ var version = "2.1.31";
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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
733
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
889
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1120
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1323
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1495
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1635
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1820
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2005
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2198
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2391
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2589
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2719
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2855
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2991
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3145
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3307
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3490
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3673
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3856
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
4076
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
4282
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
4412
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
4542
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").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.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
5378
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").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);
@@ -6847,7 +6852,7 @@ var Emoji = class Emoji extends Object$1 {
6847
6852
  * @throws {TypeError} If the given `json` is invalid.
6848
6853
  */
6849
6854
  static async fromJsonLd(json, options = {}) {
6850
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
6855
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
6851
6856
  try {
6852
6857
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
6853
6858
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7089,7 +7094,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7089
7094
  * @throws {TypeError} If the given `json` is invalid.
7090
7095
  */
7091
7096
  static async fromJsonLd(json, options = {}) {
7092
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
7097
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
7093
7098
  try {
7094
7099
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
7095
7100
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7379,7 +7384,7 @@ var Activity = class Activity extends Object$1 {
7379
7384
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7380
7385
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7381
7386
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7382
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
7387
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
7383
7388
  let fetchResult;
7384
7389
  try {
7385
7390
  fetchResult = await documentLoader(url.href);
@@ -7610,7 +7615,7 @@ var Activity = class Activity extends Object$1 {
7610
7615
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7611
7616
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7612
7617
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7613
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
7618
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
7614
7619
  let fetchResult;
7615
7620
  try {
7616
7621
  fetchResult = await documentLoader(url.href);
@@ -7795,7 +7800,7 @@ var Activity = class Activity extends Object$1 {
7795
7800
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7796
7801
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7797
7802
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7798
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
7803
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
7799
7804
  let fetchResult;
7800
7805
  try {
7801
7806
  fetchResult = await documentLoader(url.href);
@@ -7986,7 +7991,7 @@ var Activity = class Activity extends Object$1 {
7986
7991
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7987
7992
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7988
7993
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7989
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
7994
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
7990
7995
  let fetchResult;
7991
7996
  try {
7992
7997
  fetchResult = await documentLoader(url.href);
@@ -8171,7 +8176,7 @@ var Activity = class Activity extends Object$1 {
8171
8176
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8172
8177
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8173
8178
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8174
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
8179
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
8175
8180
  let fetchResult;
8176
8181
  try {
8177
8182
  fetchResult = await documentLoader(url.href);
@@ -8358,7 +8363,7 @@ var Activity = class Activity extends Object$1 {
8358
8363
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8359
8364
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8360
8365
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8361
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
8366
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
8362
8367
  let fetchResult;
8363
8368
  try {
8364
8369
  fetchResult = await documentLoader(url.href);
@@ -8628,7 +8633,7 @@ var Activity = class Activity extends Object$1 {
8628
8633
  * @throws {TypeError} If the given `json` is invalid.
8629
8634
  */
8630
8635
  static async fromJsonLd(json, options = {}) {
8631
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
8636
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
8632
8637
  try {
8633
8638
  const object = await this.__fromJsonLd__Activity__(json, span, options);
8634
8639
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8967,7 +8972,7 @@ var EmojiReact = class EmojiReact extends Activity {
8967
8972
  * @throws {TypeError} If the given `json` is invalid.
8968
8973
  */
8969
8974
  static async fromJsonLd(json, options = {}) {
8970
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
8975
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
8971
8976
  try {
8972
8977
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
8973
8978
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9053,6 +9058,11 @@ var PropertyValue = class {
9053
9058
  get _warning() {
9054
9059
  return this.#warning;
9055
9060
  }
9061
+ /**
9062
+ * Internal cross-package contract with @fedify/testing, which copies this
9063
+ * cache when attaching document loaders to an activity clone. Keep this
9064
+ * accessor name and its getter/setter semantics stable.
9065
+ */
9056
9066
  get _cachedJsonLd() {
9057
9067
  return this.#cachedJsonLd;
9058
9068
  }
@@ -9228,7 +9238,7 @@ var PropertyValue = class {
9228
9238
  * @throws {TypeError} If the given `json` is invalid.
9229
9239
  */
9230
9240
  static async fromJsonLd(json, options = {}) {
9231
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
9241
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
9232
9242
  try {
9233
9243
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
9234
9244
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9399,7 +9409,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9399
9409
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9400
9410
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9401
9411
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
9402
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
9412
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
9403
9413
  let fetchResult;
9404
9414
  try {
9405
9415
  fetchResult = await documentLoader(url.href);
@@ -9529,7 +9539,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9529
9539
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9530
9540
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9531
9541
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
9532
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
9542
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
9533
9543
  let fetchResult;
9534
9544
  try {
9535
9545
  fetchResult = await documentLoader(url.href);
@@ -9754,7 +9764,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9754
9764
  * @throws {TypeError} If the given `json` is invalid.
9755
9765
  */
9756
9766
  static async fromJsonLd(json, options = {}) {
9757
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
9767
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
9758
9768
  try {
9759
9769
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
9760
9770
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9958,7 +9968,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
9958
9968
  * @throws {TypeError} If the given `json` is invalid.
9959
9969
  */
9960
9970
  static async fromJsonLd(json, options = {}) {
9961
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
9971
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
9962
9972
  try {
9963
9973
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
9964
9974
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10049,6 +10059,11 @@ var InteractionPolicy = class {
10049
10059
  get _warning() {
10050
10060
  return this.#warning;
10051
10061
  }
10062
+ /**
10063
+ * Internal cross-package contract with @fedify/testing, which copies this
10064
+ * cache when attaching document loaders to an activity clone. Keep this
10065
+ * accessor name and its getter/setter semantics stable.
10066
+ */
10052
10067
  get _cachedJsonLd() {
10053
10068
  return this.#cachedJsonLd;
10054
10069
  }
@@ -10213,7 +10228,7 @@ var InteractionPolicy = class {
10213
10228
  * @throws {TypeError} If the given `json` is invalid.
10214
10229
  */
10215
10230
  static async fromJsonLd(json, options = {}) {
10216
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
10231
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
10217
10232
  try {
10218
10233
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
10219
10234
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10367,6 +10382,11 @@ var InteractionRule = class {
10367
10382
  get _warning() {
10368
10383
  return this.#warning;
10369
10384
  }
10385
+ /**
10386
+ * Internal cross-package contract with @fedify/testing, which copies this
10387
+ * cache when attaching document loaders to an activity clone. Keep this
10388
+ * accessor name and its getter/setter semantics stable.
10389
+ */
10370
10390
  get _cachedJsonLd() {
10371
10391
  return this.#cachedJsonLd;
10372
10392
  }
@@ -10536,7 +10556,7 @@ var InteractionRule = class {
10536
10556
  * @throws {TypeError} If the given `json` is invalid.
10537
10557
  */
10538
10558
  static async fromJsonLd(json, options = {}) {
10539
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
10559
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
10540
10560
  try {
10541
10561
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
10542
10562
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10700,7 +10720,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
10700
10720
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10701
10721
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10702
10722
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10703
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
10723
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
10704
10724
  let fetchResult;
10705
10725
  try {
10706
10726
  fetchResult = await documentLoader(url.href);
@@ -10830,7 +10850,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
10830
10850
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10831
10851
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10832
10852
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10833
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
10853
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
10834
10854
  let fetchResult;
10835
10855
  try {
10836
10856
  fetchResult = await documentLoader(url.href);
@@ -11055,7 +11075,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11055
11075
  * @throws {TypeError} If the given `json` is invalid.
11056
11076
  */
11057
11077
  static async fromJsonLd(json, options = {}) {
11058
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
11078
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
11059
11079
  try {
11060
11080
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
11061
11081
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11258,7 +11278,7 @@ var LikeRequest = class LikeRequest extends Activity {
11258
11278
  * @throws {TypeError} If the given `json` is invalid.
11259
11279
  */
11260
11280
  static async fromJsonLd(json, options = {}) {
11261
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
11281
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
11262
11282
  try {
11263
11283
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
11264
11284
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11392,7 +11412,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11392
11412
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11393
11413
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11394
11414
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11395
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
11415
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
11396
11416
  let fetchResult;
11397
11417
  try {
11398
11418
  fetchResult = await documentLoader(url.href);
@@ -11522,7 +11542,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11522
11542
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11523
11543
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11524
11544
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11525
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
11545
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
11526
11546
  let fetchResult;
11527
11547
  try {
11528
11548
  fetchResult = await documentLoader(url.href);
@@ -11747,7 +11767,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11747
11767
  * @throws {TypeError} If the given `json` is invalid.
11748
11768
  */
11749
11769
  static async fromJsonLd(json, options = {}) {
11750
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
11770
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
11751
11771
  try {
11752
11772
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
11753
11773
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11950,7 +11970,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
11950
11970
  * @throws {TypeError} If the given `json` is invalid.
11951
11971
  */
11952
11972
  static async fromJsonLd(json, options = {}) {
11953
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
11973
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
11954
11974
  try {
11955
11975
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
11956
11976
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12039,6 +12059,11 @@ var DidService = class {
12039
12059
  get _warning() {
12040
12060
  return this.#warning;
12041
12061
  }
12062
+ /**
12063
+ * Internal cross-package contract with @fedify/testing, which copies this
12064
+ * cache when attaching document loaders to an activity clone. Keep this
12065
+ * accessor name and its getter/setter semantics stable.
12066
+ */
12042
12067
  get _cachedJsonLd() {
12043
12068
  return this.#cachedJsonLd;
12044
12069
  }
@@ -12171,7 +12196,7 @@ var DidService = class {
12171
12196
  * @throws {TypeError} If the given `json` is invalid.
12172
12197
  */
12173
12198
  static async fromJsonLd(json, options = {}) {
12174
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
12199
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
12175
12200
  try {
12176
12201
  const object = await this.__fromJsonLd__DidService__(json, span, options);
12177
12202
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12330,7 +12355,7 @@ var Export = class Export extends DidService {
12330
12355
  * @throws {TypeError} If the given `json` is invalid.
12331
12356
  */
12332
12357
  static async fromJsonLd(json, options = {}) {
12333
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
12358
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
12334
12359
  try {
12335
12360
  const object = await this.__fromJsonLd__Export__(json, span, options);
12336
12361
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12417,6 +12442,11 @@ var DataIntegrityProof = class {
12417
12442
  get _warning() {
12418
12443
  return this.#warning;
12419
12444
  }
12445
+ /**
12446
+ * Internal cross-package contract with @fedify/testing, which copies this
12447
+ * cache when attaching document loaders to an activity clone. Keep this
12448
+ * accessor name and its getter/setter semantics stable.
12449
+ */
12420
12450
  get _cachedJsonLd() {
12421
12451
  return this.#cachedJsonLd;
12422
12452
  }
@@ -12518,7 +12548,7 @@ var DataIntegrityProof = class {
12518
12548
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12519
12549
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12520
12550
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12521
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
12551
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
12522
12552
  let fetchResult;
12523
12553
  try {
12524
12554
  fetchResult = await documentLoader(url.href);
@@ -12737,7 +12767,7 @@ var DataIntegrityProof = class {
12737
12767
  * @throws {TypeError} If the given `json` is invalid.
12738
12768
  */
12739
12769
  static async fromJsonLd(json, options = {}) {
12740
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
12770
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
12741
12771
  try {
12742
12772
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
12743
12773
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12900,6 +12930,11 @@ var CryptographicKey = class {
12900
12930
  get _warning() {
12901
12931
  return this.#warning;
12902
12932
  }
12933
+ /**
12934
+ * Internal cross-package contract with @fedify/testing, which copies this
12935
+ * cache when attaching document loaders to an activity clone. Keep this
12936
+ * accessor name and its getter/setter semantics stable.
12937
+ */
12903
12938
  get _cachedJsonLd() {
12904
12939
  return this.#cachedJsonLd;
12905
12940
  }
@@ -12976,7 +13011,7 @@ var CryptographicKey = class {
12976
13011
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12977
13012
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12978
13013
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12979
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
13014
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
12980
13015
  let fetchResult;
12981
13016
  try {
12982
13017
  fetchResult = await documentLoader(url.href);
@@ -13247,7 +13282,7 @@ var CryptographicKey = class {
13247
13282
  * @throws {TypeError} If the given `json` is invalid.
13248
13283
  */
13249
13284
  static async fromJsonLd(json, options = {}) {
13250
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
13285
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
13251
13286
  try {
13252
13287
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
13253
13288
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13387,6 +13422,11 @@ var Multikey = class {
13387
13422
  get _warning() {
13388
13423
  return this.#warning;
13389
13424
  }
13425
+ /**
13426
+ * Internal cross-package contract with @fedify/testing, which copies this
13427
+ * cache when attaching document loaders to an activity clone. Keep this
13428
+ * accessor name and its getter/setter semantics stable.
13429
+ */
13390
13430
  get _cachedJsonLd() {
13391
13431
  return this.#cachedJsonLd;
13392
13432
  }
@@ -13463,7 +13503,7 @@ var Multikey = class {
13463
13503
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13464
13504
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13465
13505
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
13466
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
13506
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
13467
13507
  let fetchResult;
13468
13508
  try {
13469
13509
  fetchResult = await documentLoader(url.href);
@@ -13740,7 +13780,7 @@ var Multikey = class {
13740
13780
  * @throws {TypeError} If the given `json` is invalid.
13741
13781
  */
13742
13782
  static async fromJsonLd(json, options = {}) {
13743
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
13783
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
13744
13784
  try {
13745
13785
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
13746
13786
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13944,7 +13984,7 @@ var Accept = class Accept extends Activity {
13944
13984
  * @throws {TypeError} If the given `json` is invalid.
13945
13985
  */
13946
13986
  static async fromJsonLd(json, options = {}) {
13947
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
13987
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
13948
13988
  try {
13949
13989
  const object = await this.__fromJsonLd__Accept__(json, span, options);
13950
13990
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14099,7 +14139,7 @@ var Add = class Add extends Activity {
14099
14139
  * @throws {TypeError} If the given `json` is invalid.
14100
14140
  */
14101
14141
  static async fromJsonLd(json, options = {}) {
14102
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
14142
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
14103
14143
  try {
14104
14144
  const object = await this.__fromJsonLd__Add__(json, span, options);
14105
14145
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14271,7 +14311,7 @@ var Announce = class Announce extends Activity {
14271
14311
  * @throws {TypeError} If the given `json` is invalid.
14272
14312
  */
14273
14313
  static async fromJsonLd(json, options = {}) {
14274
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
14314
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
14275
14315
  try {
14276
14316
  const object = await this.__fromJsonLd__Announce__(json, span, options);
14277
14317
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14669,7 +14709,7 @@ var Application = class Application extends Object$1 {
14669
14709
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14670
14710
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14671
14711
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
14672
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
14712
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
14673
14713
  let fetchResult;
14674
14714
  try {
14675
14715
  fetchResult = await documentLoader(url.href);
@@ -14850,7 +14890,7 @@ var Application = class Application extends Object$1 {
14850
14890
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14851
14891
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14852
14892
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
14853
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
14893
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
14854
14894
  let fetchResult;
14855
14895
  try {
14856
14896
  fetchResult = await documentLoader(url.href);
@@ -15049,7 +15089,7 @@ var Application = class Application extends Object$1 {
15049
15089
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15050
15090
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15051
15091
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15052
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15092
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15053
15093
  let fetchResult;
15054
15094
  try {
15055
15095
  fetchResult = await documentLoader(url.href);
@@ -15200,7 +15240,7 @@ var Application = class Application extends Object$1 {
15200
15240
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15201
15241
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15202
15242
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15203
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15243
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15204
15244
  let fetchResult;
15205
15245
  try {
15206
15246
  fetchResult = await documentLoader(url.href);
@@ -15348,7 +15388,7 @@ var Application = class Application extends Object$1 {
15348
15388
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15349
15389
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15350
15390
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15351
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15391
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15352
15392
  let fetchResult;
15353
15393
  try {
15354
15394
  fetchResult = await documentLoader(url.href);
@@ -15481,7 +15521,7 @@ var Application = class Application extends Object$1 {
15481
15521
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15482
15522
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15483
15523
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15484
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15524
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15485
15525
  let fetchResult;
15486
15526
  try {
15487
15527
  fetchResult = await documentLoader(url.href);
@@ -15617,7 +15657,7 @@ var Application = class Application extends Object$1 {
15617
15657
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15618
15658
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15619
15659
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15620
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15660
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15621
15661
  let fetchResult;
15622
15662
  try {
15623
15663
  fetchResult = await documentLoader(url.href);
@@ -15751,7 +15791,7 @@ var Application = class Application extends Object$1 {
15751
15791
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15752
15792
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15753
15793
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15754
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15794
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15755
15795
  let fetchResult;
15756
15796
  try {
15757
15797
  fetchResult = await documentLoader(url.href);
@@ -15883,7 +15923,7 @@ var Application = class Application extends Object$1 {
15883
15923
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15884
15924
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15885
15925
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15886
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15926
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15887
15927
  let fetchResult;
15888
15928
  try {
15889
15929
  fetchResult = await documentLoader(url.href);
@@ -16015,7 +16055,7 @@ var Application = class Application extends Object$1 {
16015
16055
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16016
16056
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16017
16057
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16018
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
16058
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
16019
16059
  let fetchResult;
16020
16060
  try {
16021
16061
  fetchResult = await documentLoader(url.href);
@@ -16187,7 +16227,7 @@ var Application = class Application extends Object$1 {
16187
16227
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16188
16228
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16189
16229
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16190
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
16230
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
16191
16231
  let fetchResult;
16192
16232
  try {
16193
16233
  fetchResult = await documentLoader(url.href);
@@ -16362,7 +16402,7 @@ var Application = class Application extends Object$1 {
16362
16402
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16363
16403
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16364
16404
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16365
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
16405
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
16366
16406
  let fetchResult;
16367
16407
  try {
16368
16408
  fetchResult = await documentLoader(url.href);
@@ -16595,7 +16635,7 @@ var Application = class Application extends Object$1 {
16595
16635
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16596
16636
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16597
16637
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16598
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
16638
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
16599
16639
  let fetchResult;
16600
16640
  try {
16601
16641
  fetchResult = await documentLoader(url.href);
@@ -17299,7 +17339,7 @@ var Application = class Application extends Object$1 {
17299
17339
  * @throws {TypeError} If the given `json` is invalid.
17300
17340
  */
17301
17341
  static async fromJsonLd(json, options = {}) {
17302
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
17342
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
17303
17343
  try {
17304
17344
  const object = await this.__fromJsonLd__Application__(json, span, options);
17305
17345
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17910,7 +17950,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
17910
17950
  * @throws {TypeError} If the given `json` is invalid.
17911
17951
  */
17912
17952
  static async fromJsonLd(json, options = {}) {
17913
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
17953
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
17914
17954
  try {
17915
17955
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
17916
17956
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18066,7 +18106,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
18066
18106
  * @throws {TypeError} If the given `json` is invalid.
18067
18107
  */
18068
18108
  static async fromJsonLd(json, options = {}) {
18069
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18109
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18070
18110
  try {
18071
18111
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
18072
18112
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18306,7 +18346,7 @@ var Article = class Article extends Object$1 {
18306
18346
  * @throws {TypeError} If the given `json` is invalid.
18307
18347
  */
18308
18348
  static async fromJsonLd(json, options = {}) {
18309
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18349
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18310
18350
  try {
18311
18351
  const object = await this.__fromJsonLd__Article__(json, span, options);
18312
18352
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18552,7 +18592,7 @@ var Document = class Document extends Object$1 {
18552
18592
  * @throws {TypeError} If the given `json` is invalid.
18553
18593
  */
18554
18594
  static async fromJsonLd(json, options = {}) {
18555
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18595
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18556
18596
  try {
18557
18597
  const object = await this.__fromJsonLd__Document__(json, span, options);
18558
18598
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18750,7 +18790,7 @@ var Audio = class Audio extends Document {
18750
18790
  * @throws {TypeError} If the given `json` is invalid.
18751
18791
  */
18752
18792
  static async fromJsonLd(json, options = {}) {
18753
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18793
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18754
18794
  try {
18755
18795
  const object = await this.__fromJsonLd__Audio__(json, span, options);
18756
18796
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18902,7 +18942,7 @@ var Ignore = class Ignore extends Activity {
18902
18942
  * @throws {TypeError} If the given `json` is invalid.
18903
18943
  */
18904
18944
  static async fromJsonLd(json, options = {}) {
18905
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18945
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18906
18946
  try {
18907
18947
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
18908
18948
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19057,7 +19097,7 @@ var Block = class Block extends Ignore {
19057
19097
  * @throws {TypeError} If the given `json` is invalid.
19058
19098
  */
19059
19099
  static async fromJsonLd(json, options = {}) {
19060
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
19100
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
19061
19101
  try {
19062
19102
  const object = await this.__fromJsonLd__Block__(json, span, options);
19063
19103
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19324,7 +19364,7 @@ var Collection = class Collection extends Object$1 {
19324
19364
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19325
19365
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19326
19366
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19327
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19367
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19328
19368
  let fetchResult;
19329
19369
  try {
19330
19370
  fetchResult = await documentLoader(url.href);
@@ -19454,7 +19494,7 @@ var Collection = class Collection extends Object$1 {
19454
19494
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19455
19495
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19456
19496
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19457
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19497
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19458
19498
  let fetchResult;
19459
19499
  try {
19460
19500
  fetchResult = await documentLoader(url.href);
@@ -19584,7 +19624,7 @@ var Collection = class Collection extends Object$1 {
19584
19624
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19585
19625
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19586
19626
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19587
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19627
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19588
19628
  let fetchResult;
19589
19629
  try {
19590
19630
  fetchResult = await documentLoader(url.href);
@@ -19714,7 +19754,7 @@ var Collection = class Collection extends Object$1 {
19714
19754
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19715
19755
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19716
19756
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19717
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19757
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19718
19758
  let fetchResult;
19719
19759
  try {
19720
19760
  fetchResult = await documentLoader(url.href);
@@ -19855,7 +19895,7 @@ var Collection = class Collection extends Object$1 {
19855
19895
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19856
19896
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19857
19897
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19858
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19898
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19859
19899
  let fetchResult;
19860
19900
  try {
19861
19901
  fetchResult = await documentLoader(url.href);
@@ -19984,7 +20024,7 @@ var Collection = class Collection extends Object$1 {
19984
20024
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19985
20025
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19986
20026
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19987
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20027
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19988
20028
  let fetchResult;
19989
20029
  try {
19990
20030
  fetchResult = await documentLoader(url.href);
@@ -20113,7 +20153,7 @@ var Collection = class Collection extends Object$1 {
20113
20153
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20114
20154
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20115
20155
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20116
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20156
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20117
20157
  let fetchResult;
20118
20158
  try {
20119
20159
  fetchResult = await documentLoader(url.href);
@@ -20242,7 +20282,7 @@ var Collection = class Collection extends Object$1 {
20242
20282
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20243
20283
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20244
20284
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20245
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20285
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20246
20286
  let fetchResult;
20247
20287
  try {
20248
20288
  fetchResult = await documentLoader(url.href);
@@ -20371,7 +20411,7 @@ var Collection = class Collection extends Object$1 {
20371
20411
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20372
20412
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20373
20413
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20374
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20414
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20375
20415
  let fetchResult;
20376
20416
  try {
20377
20417
  fetchResult = await documentLoader(url.href);
@@ -20500,7 +20540,7 @@ var Collection = class Collection extends Object$1 {
20500
20540
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20501
20541
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20502
20542
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20503
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20543
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20504
20544
  let fetchResult;
20505
20545
  try {
20506
20546
  fetchResult = await documentLoader(url.href);
@@ -20629,7 +20669,7 @@ var Collection = class Collection extends Object$1 {
20629
20669
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20630
20670
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20631
20671
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20632
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20672
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20633
20673
  let fetchResult;
20634
20674
  try {
20635
20675
  fetchResult = await documentLoader(url.href);
@@ -20758,7 +20798,7 @@ var Collection = class Collection extends Object$1 {
20758
20798
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20759
20799
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20760
20800
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20761
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20801
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20762
20802
  let fetchResult;
20763
20803
  try {
20764
20804
  fetchResult = await documentLoader(url.href);
@@ -21196,7 +21236,7 @@ var Collection = class Collection extends Object$1 {
21196
21236
  * @throws {TypeError} If the given `json` is invalid.
21197
21237
  */
21198
21238
  static async fromJsonLd(json, options = {}) {
21199
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
21239
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
21200
21240
  try {
21201
21241
  const object = await this.__fromJsonLd__Collection__(json, span, options);
21202
21242
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21680,7 +21720,7 @@ var CollectionPage = class CollectionPage extends Collection {
21680
21720
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21681
21721
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21682
21722
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21683
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
21723
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
21684
21724
  let fetchResult;
21685
21725
  try {
21686
21726
  fetchResult = await documentLoader(url.href);
@@ -21810,7 +21850,7 @@ var CollectionPage = class CollectionPage extends Collection {
21810
21850
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21811
21851
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21812
21852
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21813
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
21853
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
21814
21854
  let fetchResult;
21815
21855
  try {
21816
21856
  fetchResult = await documentLoader(url.href);
@@ -21939,7 +21979,7 @@ var CollectionPage = class CollectionPage extends Collection {
21939
21979
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21940
21980
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21941
21981
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21942
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
21982
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
21943
21983
  let fetchResult;
21944
21984
  try {
21945
21985
  fetchResult = await documentLoader(url.href);
@@ -22214,7 +22254,7 @@ var CollectionPage = class CollectionPage extends Collection {
22214
22254
  * @throws {TypeError} If the given `json` is invalid.
22215
22255
  */
22216
22256
  static async fromJsonLd(json, options = {}) {
22217
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
22257
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
22218
22258
  try {
22219
22259
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
22220
22260
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22450,7 +22490,7 @@ var Create = class Create extends Activity {
22450
22490
  * @throws {TypeError} If the given `json` is invalid.
22451
22491
  */
22452
22492
  static async fromJsonLd(json, options = {}) {
22453
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
22493
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
22454
22494
  try {
22455
22495
  const object = await this.__fromJsonLd__Create__(json, span, options);
22456
22496
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22618,7 +22658,7 @@ var Delete = class Delete extends Activity {
22618
22658
  * @throws {TypeError} If the given `json` is invalid.
22619
22659
  */
22620
22660
  static async fromJsonLd(json, options = {}) {
22621
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
22661
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
22622
22662
  try {
22623
22663
  const object = await this.__fromJsonLd__Delete__(json, span, options);
22624
22664
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22773,7 +22813,7 @@ var Dislike = class Dislike extends Activity {
22773
22813
  * @throws {TypeError} If the given `json` is invalid.
22774
22814
  */
22775
22815
  static async fromJsonLd(json, options = {}) {
22776
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
22816
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
22777
22817
  try {
22778
22818
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
22779
22819
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22859,6 +22899,11 @@ var Endpoints = class {
22859
22899
  get _warning() {
22860
22900
  return this.#warning;
22861
22901
  }
22902
+ /**
22903
+ * Internal cross-package contract with @fedify/testing, which copies this
22904
+ * cache when attaching document loaders to an activity clone. Keep this
22905
+ * accessor name and its getter/setter semantics stable.
22906
+ */
22862
22907
  get _cachedJsonLd() {
22863
22908
  return this.#cachedJsonLd;
22864
22909
  }
@@ -23133,7 +23178,7 @@ var Endpoints = class {
23133
23178
  * @throws {TypeError} If the given `json` is invalid.
23134
23179
  */
23135
23180
  static async fromJsonLd(json, options = {}) {
23136
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
23181
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
23137
23182
  try {
23138
23183
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
23139
23184
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23382,7 +23427,7 @@ var Event = class Event extends Object$1 {
23382
23427
  * @throws {TypeError} If the given `json` is invalid.
23383
23428
  */
23384
23429
  static async fromJsonLd(json, options = {}) {
23385
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
23430
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
23386
23431
  try {
23387
23432
  const object = await this.__fromJsonLd__Event__(json, span, options);
23388
23433
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23535,7 +23580,7 @@ var Flag = class Flag extends Activity {
23535
23580
  * @throws {TypeError} If the given `json` is invalid.
23536
23581
  */
23537
23582
  static async fromJsonLd(json, options = {}) {
23538
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
23583
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
23539
23584
  try {
23540
23585
  const object = await this.__fromJsonLd__Flag__(json, span, options);
23541
23586
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23692,7 +23737,7 @@ var Follow = class Follow extends Activity {
23692
23737
  * @throws {TypeError} If the given `json` is invalid.
23693
23738
  */
23694
23739
  static async fromJsonLd(json, options = {}) {
23695
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
23740
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
23696
23741
  try {
23697
23742
  const object = await this.__fromJsonLd__Follow__(json, span, options);
23698
23743
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24090,7 +24135,7 @@ var Group = class Group extends Object$1 {
24090
24135
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24091
24136
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24092
24137
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24093
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24138
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24094
24139
  let fetchResult;
24095
24140
  try {
24096
24141
  fetchResult = await documentLoader(url.href);
@@ -24271,7 +24316,7 @@ var Group = class Group extends Object$1 {
24271
24316
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24272
24317
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24273
24318
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24274
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24319
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24275
24320
  let fetchResult;
24276
24321
  try {
24277
24322
  fetchResult = await documentLoader(url.href);
@@ -24470,7 +24515,7 @@ var Group = class Group extends Object$1 {
24470
24515
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24471
24516
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24472
24517
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24473
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24518
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24474
24519
  let fetchResult;
24475
24520
  try {
24476
24521
  fetchResult = await documentLoader(url.href);
@@ -24621,7 +24666,7 @@ var Group = class Group extends Object$1 {
24621
24666
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24622
24667
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24623
24668
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24624
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24669
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24625
24670
  let fetchResult;
24626
24671
  try {
24627
24672
  fetchResult = await documentLoader(url.href);
@@ -24769,7 +24814,7 @@ var Group = class Group extends Object$1 {
24769
24814
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24770
24815
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24771
24816
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24772
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24817
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24773
24818
  let fetchResult;
24774
24819
  try {
24775
24820
  fetchResult = await documentLoader(url.href);
@@ -24902,7 +24947,7 @@ var Group = class Group extends Object$1 {
24902
24947
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24903
24948
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24904
24949
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24905
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24950
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24906
24951
  let fetchResult;
24907
24952
  try {
24908
24953
  fetchResult = await documentLoader(url.href);
@@ -25038,7 +25083,7 @@ var Group = class Group extends Object$1 {
25038
25083
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25039
25084
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25040
25085
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25041
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25086
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25042
25087
  let fetchResult;
25043
25088
  try {
25044
25089
  fetchResult = await documentLoader(url.href);
@@ -25172,7 +25217,7 @@ var Group = class Group extends Object$1 {
25172
25217
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25173
25218
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25174
25219
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25175
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25220
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25176
25221
  let fetchResult;
25177
25222
  try {
25178
25223
  fetchResult = await documentLoader(url.href);
@@ -25304,7 +25349,7 @@ var Group = class Group extends Object$1 {
25304
25349
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25305
25350
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25306
25351
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25307
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25352
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25308
25353
  let fetchResult;
25309
25354
  try {
25310
25355
  fetchResult = await documentLoader(url.href);
@@ -25436,7 +25481,7 @@ var Group = class Group extends Object$1 {
25436
25481
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25437
25482
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25438
25483
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25439
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25484
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25440
25485
  let fetchResult;
25441
25486
  try {
25442
25487
  fetchResult = await documentLoader(url.href);
@@ -25608,7 +25653,7 @@ var Group = class Group extends Object$1 {
25608
25653
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25609
25654
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25610
25655
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25611
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25656
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25612
25657
  let fetchResult;
25613
25658
  try {
25614
25659
  fetchResult = await documentLoader(url.href);
@@ -25783,7 +25828,7 @@ var Group = class Group extends Object$1 {
25783
25828
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25784
25829
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25785
25830
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25786
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25831
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25787
25832
  let fetchResult;
25788
25833
  try {
25789
25834
  fetchResult = await documentLoader(url.href);
@@ -26016,7 +26061,7 @@ var Group = class Group extends Object$1 {
26016
26061
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26017
26062
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26018
26063
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26019
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
26064
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
26020
26065
  let fetchResult;
26021
26066
  try {
26022
26067
  fetchResult = await documentLoader(url.href);
@@ -26720,7 +26765,7 @@ var Group = class Group extends Object$1 {
26720
26765
  * @throws {TypeError} If the given `json` is invalid.
26721
26766
  */
26722
26767
  static async fromJsonLd(json, options = {}) {
26723
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
26768
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
26724
26769
  try {
26725
26770
  const object = await this.__fromJsonLd__Group__(json, span, options);
26726
26771
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27271,6 +27316,11 @@ var Link = class Link {
27271
27316
  get _warning() {
27272
27317
  return this.#warning;
27273
27318
  }
27319
+ /**
27320
+ * Internal cross-package contract with @fedify/testing, which copies this
27321
+ * cache when attaching document loaders to an activity clone. Keep this
27322
+ * accessor name and its getter/setter semantics stable.
27323
+ */
27274
27324
  get _cachedJsonLd() {
27275
27325
  return this.#cachedJsonLd;
27276
27326
  }
@@ -27481,7 +27531,7 @@ var Link = class Link {
27481
27531
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27482
27532
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27483
27533
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27484
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
27534
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
27485
27535
  let fetchResult;
27486
27536
  try {
27487
27537
  fetchResult = await documentLoader(url.href);
@@ -27783,7 +27833,7 @@ var Link = class Link {
27783
27833
  * @throws {TypeError} If the given `json` is invalid.
27784
27834
  */
27785
27835
  static async fromJsonLd(json, options = {}) {
27786
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
27836
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
27787
27837
  try {
27788
27838
  const object = await this.__fromJsonLd__Link__(json, span, options);
27789
27839
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28139,7 +28189,7 @@ var Hashtag = class Hashtag extends Link {
28139
28189
  * @throws {TypeError} If the given `json` is invalid.
28140
28190
  */
28141
28191
  static async fromJsonLd(json, options = {}) {
28142
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28192
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28143
28193
  try {
28144
28194
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
28145
28195
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28304,7 +28354,7 @@ var Image = class Image extends Document {
28304
28354
  * @throws {TypeError} If the given `json` is invalid.
28305
28355
  */
28306
28356
  static async fromJsonLd(json, options = {}) {
28307
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28357
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28308
28358
  try {
28309
28359
  const object = await this.__fromJsonLd__Image__(json, span, options);
28310
28360
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28457,7 +28507,7 @@ var Offer = class Offer extends Activity {
28457
28507
  * @throws {TypeError} If the given `json` is invalid.
28458
28508
  */
28459
28509
  static async fromJsonLd(json, options = {}) {
28460
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28510
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28461
28511
  try {
28462
28512
  const object = await this.__fromJsonLd__Offer__(json, span, options);
28463
28513
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28610,7 +28660,7 @@ var Invite = class Invite extends Offer {
28610
28660
  * @throws {TypeError} If the given `json` is invalid.
28611
28661
  */
28612
28662
  static async fromJsonLd(json, options = {}) {
28613
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28663
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28614
28664
  try {
28615
28665
  const object = await this.__fromJsonLd__Invite__(json, span, options);
28616
28666
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28762,7 +28812,7 @@ var Join = class Join extends Activity {
28762
28812
  * @throws {TypeError} If the given `json` is invalid.
28763
28813
  */
28764
28814
  static async fromJsonLd(json, options = {}) {
28765
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28815
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28766
28816
  try {
28767
28817
  const object = await this.__fromJsonLd__Join__(json, span, options);
28768
28818
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28914,7 +28964,7 @@ var Leave = class Leave extends Activity {
28914
28964
  * @throws {TypeError} If the given `json` is invalid.
28915
28965
  */
28916
28966
  static async fromJsonLd(json, options = {}) {
28917
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28967
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28918
28968
  try {
28919
28969
  const object = await this.__fromJsonLd__Leave__(json, span, options);
28920
28970
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29070,7 +29120,7 @@ var Like = class Like extends Activity {
29070
29120
  * @throws {TypeError} If the given `json` is invalid.
29071
29121
  */
29072
29122
  static async fromJsonLd(json, options = {}) {
29073
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29123
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29074
29124
  try {
29075
29125
  const object = await this.__fromJsonLd__Like__(json, span, options);
29076
29126
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29221,7 +29271,7 @@ var Listen = class Listen extends Activity {
29221
29271
  * @throws {TypeError} If the given `json` is invalid.
29222
29272
  */
29223
29273
  static async fromJsonLd(json, options = {}) {
29224
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29274
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29225
29275
  try {
29226
29276
  const object = await this.__fromJsonLd__Listen__(json, span, options);
29227
29277
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29375,7 +29425,7 @@ var Mention = class Mention extends Link {
29375
29425
  * @throws {TypeError} If the given `json` is invalid.
29376
29426
  */
29377
29427
  static async fromJsonLd(json, options = {}) {
29378
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29428
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29379
29429
  try {
29380
29430
  const object = await this.__fromJsonLd__Mention__(json, span, options);
29381
29431
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29528,7 +29578,7 @@ var Move = class Move extends Activity {
29528
29578
  * @throws {TypeError} If the given `json` is invalid.
29529
29579
  */
29530
29580
  static async fromJsonLd(json, options = {}) {
29531
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29581
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29532
29582
  try {
29533
29583
  const object = await this.__fromJsonLd__Move__(json, span, options);
29534
29584
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29769,7 +29819,7 @@ var Note = class Note extends Object$1 {
29769
29819
  * @throws {TypeError} If the given `json` is invalid.
29770
29820
  */
29771
29821
  static async fromJsonLd(json, options = {}) {
29772
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29822
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29773
29823
  try {
29774
29824
  const object = await this.__fromJsonLd__Note__(json, span, options);
29775
29825
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29907,7 +29957,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
29907
29957
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29908
29958
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29909
29959
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29910
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
29960
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
29911
29961
  let fetchResult;
29912
29962
  try {
29913
29963
  fetchResult = await documentLoader(url.href);
@@ -30167,7 +30217,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
30167
30217
  * @throws {TypeError} If the given `json` is invalid.
30168
30218
  */
30169
30219
  static async fromJsonLd(json, options = {}) {
30170
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
30220
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
30171
30221
  try {
30172
30222
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
30173
30223
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30386,7 +30436,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
30386
30436
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30387
30437
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30388
30438
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30389
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
30439
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
30390
30440
  let fetchResult;
30391
30441
  try {
30392
30442
  fetchResult = await documentLoader(url.href);
@@ -30669,7 +30719,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
30669
30719
  * @throws {TypeError} If the given `json` is invalid.
30670
30720
  */
30671
30721
  static async fromJsonLd(json, options = {}) {
30672
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
30722
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
30673
30723
  try {
30674
30724
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
30675
30725
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31176,7 +31226,7 @@ var Organization = class Organization extends Object$1 {
31176
31226
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31177
31227
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31178
31228
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31179
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31229
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31180
31230
  let fetchResult;
31181
31231
  try {
31182
31232
  fetchResult = await documentLoader(url.href);
@@ -31357,7 +31407,7 @@ var Organization = class Organization extends Object$1 {
31357
31407
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31358
31408
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31359
31409
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31360
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31410
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31361
31411
  let fetchResult;
31362
31412
  try {
31363
31413
  fetchResult = await documentLoader(url.href);
@@ -31556,7 +31606,7 @@ var Organization = class Organization extends Object$1 {
31556
31606
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31557
31607
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31558
31608
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31559
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31609
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31560
31610
  let fetchResult;
31561
31611
  try {
31562
31612
  fetchResult = await documentLoader(url.href);
@@ -31707,7 +31757,7 @@ var Organization = class Organization extends Object$1 {
31707
31757
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31708
31758
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31709
31759
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31710
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31760
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31711
31761
  let fetchResult;
31712
31762
  try {
31713
31763
  fetchResult = await documentLoader(url.href);
@@ -31855,7 +31905,7 @@ var Organization = class Organization extends Object$1 {
31855
31905
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31856
31906
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31857
31907
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31858
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31908
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31859
31909
  let fetchResult;
31860
31910
  try {
31861
31911
  fetchResult = await documentLoader(url.href);
@@ -31988,7 +32038,7 @@ var Organization = class Organization extends Object$1 {
31988
32038
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31989
32039
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31990
32040
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31991
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32041
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31992
32042
  let fetchResult;
31993
32043
  try {
31994
32044
  fetchResult = await documentLoader(url.href);
@@ -32124,7 +32174,7 @@ var Organization = class Organization extends Object$1 {
32124
32174
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32125
32175
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32126
32176
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32127
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32177
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32128
32178
  let fetchResult;
32129
32179
  try {
32130
32180
  fetchResult = await documentLoader(url.href);
@@ -32258,7 +32308,7 @@ var Organization = class Organization extends Object$1 {
32258
32308
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32259
32309
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32260
32310
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32261
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32311
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32262
32312
  let fetchResult;
32263
32313
  try {
32264
32314
  fetchResult = await documentLoader(url.href);
@@ -32390,7 +32440,7 @@ var Organization = class Organization extends Object$1 {
32390
32440
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32391
32441
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32392
32442
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32393
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32443
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32394
32444
  let fetchResult;
32395
32445
  try {
32396
32446
  fetchResult = await documentLoader(url.href);
@@ -32522,7 +32572,7 @@ var Organization = class Organization extends Object$1 {
32522
32572
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32523
32573
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32524
32574
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32525
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32575
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32526
32576
  let fetchResult;
32527
32577
  try {
32528
32578
  fetchResult = await documentLoader(url.href);
@@ -32694,7 +32744,7 @@ var Organization = class Organization extends Object$1 {
32694
32744
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32695
32745
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32696
32746
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32697
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32747
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32698
32748
  let fetchResult;
32699
32749
  try {
32700
32750
  fetchResult = await documentLoader(url.href);
@@ -32869,7 +32919,7 @@ var Organization = class Organization extends Object$1 {
32869
32919
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32870
32920
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32871
32921
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32872
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32922
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32873
32923
  let fetchResult;
32874
32924
  try {
32875
32925
  fetchResult = await documentLoader(url.href);
@@ -33102,7 +33152,7 @@ var Organization = class Organization extends Object$1 {
33102
33152
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33103
33153
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
33104
33154
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
33105
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
33155
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
33106
33156
  let fetchResult;
33107
33157
  try {
33108
33158
  fetchResult = await documentLoader(url.href);
@@ -33806,7 +33856,7 @@ var Organization = class Organization extends Object$1 {
33806
33856
  * @throws {TypeError} If the given `json` is invalid.
33807
33857
  */
33808
33858
  static async fromJsonLd(json, options = {}) {
33809
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
33859
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
33810
33860
  try {
33811
33861
  const object = await this.__fromJsonLd__Organization__(json, span, options);
33812
33862
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34429,7 +34479,7 @@ var Page = class Page extends Document {
34429
34479
  * @throws {TypeError} If the given `json` is invalid.
34430
34480
  */
34431
34481
  static async fromJsonLd(json, options = {}) {
34432
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
34482
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
34433
34483
  try {
34434
34484
  const object = await this.__fromJsonLd__Page__(json, span, options);
34435
34485
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34827,7 +34877,7 @@ var Person = class Person extends Object$1 {
34827
34877
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34828
34878
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34829
34879
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34830
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
34880
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
34831
34881
  let fetchResult;
34832
34882
  try {
34833
34883
  fetchResult = await documentLoader(url.href);
@@ -35008,7 +35058,7 @@ var Person = class Person extends Object$1 {
35008
35058
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35009
35059
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35010
35060
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35011
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35061
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35012
35062
  let fetchResult;
35013
35063
  try {
35014
35064
  fetchResult = await documentLoader(url.href);
@@ -35207,7 +35257,7 @@ var Person = class Person extends Object$1 {
35207
35257
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35208
35258
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35209
35259
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35210
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35260
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35211
35261
  let fetchResult;
35212
35262
  try {
35213
35263
  fetchResult = await documentLoader(url.href);
@@ -35358,7 +35408,7 @@ var Person = class Person extends Object$1 {
35358
35408
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35359
35409
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35360
35410
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35361
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35411
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35362
35412
  let fetchResult;
35363
35413
  try {
35364
35414
  fetchResult = await documentLoader(url.href);
@@ -35506,7 +35556,7 @@ var Person = class Person extends Object$1 {
35506
35556
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35507
35557
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35508
35558
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35509
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35559
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35510
35560
  let fetchResult;
35511
35561
  try {
35512
35562
  fetchResult = await documentLoader(url.href);
@@ -35639,7 +35689,7 @@ var Person = class Person extends Object$1 {
35639
35689
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35640
35690
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35641
35691
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35642
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35692
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35643
35693
  let fetchResult;
35644
35694
  try {
35645
35695
  fetchResult = await documentLoader(url.href);
@@ -35775,7 +35825,7 @@ var Person = class Person extends Object$1 {
35775
35825
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35776
35826
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35777
35827
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35778
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35828
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35779
35829
  let fetchResult;
35780
35830
  try {
35781
35831
  fetchResult = await documentLoader(url.href);
@@ -35909,7 +35959,7 @@ var Person = class Person extends Object$1 {
35909
35959
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35910
35960
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35911
35961
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35912
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35962
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35913
35963
  let fetchResult;
35914
35964
  try {
35915
35965
  fetchResult = await documentLoader(url.href);
@@ -36041,7 +36091,7 @@ var Person = class Person extends Object$1 {
36041
36091
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36042
36092
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36043
36093
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36044
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36094
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36045
36095
  let fetchResult;
36046
36096
  try {
36047
36097
  fetchResult = await documentLoader(url.href);
@@ -36173,7 +36223,7 @@ var Person = class Person extends Object$1 {
36173
36223
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36174
36224
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36175
36225
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36176
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36226
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36177
36227
  let fetchResult;
36178
36228
  try {
36179
36229
  fetchResult = await documentLoader(url.href);
@@ -36345,7 +36395,7 @@ var Person = class Person extends Object$1 {
36345
36395
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36346
36396
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36347
36397
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36348
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36398
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36349
36399
  let fetchResult;
36350
36400
  try {
36351
36401
  fetchResult = await documentLoader(url.href);
@@ -36520,7 +36570,7 @@ var Person = class Person extends Object$1 {
36520
36570
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36521
36571
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36522
36572
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36523
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36573
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36524
36574
  let fetchResult;
36525
36575
  try {
36526
36576
  fetchResult = await documentLoader(url.href);
@@ -36753,7 +36803,7 @@ var Person = class Person extends Object$1 {
36753
36803
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36754
36804
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36755
36805
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36756
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36806
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36757
36807
  let fetchResult;
36758
36808
  try {
36759
36809
  fetchResult = await documentLoader(url.href);
@@ -37457,7 +37507,7 @@ var Person = class Person extends Object$1 {
37457
37507
  * @throws {TypeError} If the given `json` is invalid.
37458
37508
  */
37459
37509
  static async fromJsonLd(json, options = {}) {
37460
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
37510
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
37461
37511
  try {
37462
37512
  const object = await this.__fromJsonLd__Person__(json, span, options);
37463
37513
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38257,7 +38307,7 @@ var Place = class Place extends Object$1 {
38257
38307
  * @throws {TypeError} If the given `json` is invalid.
38258
38308
  */
38259
38309
  static async fromJsonLd(json, options = {}) {
38260
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
38310
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
38261
38311
  try {
38262
38312
  const object = await this.__fromJsonLd__Place__(json, span, options);
38263
38313
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38465,7 +38515,7 @@ var Profile = class Profile extends Object$1 {
38465
38515
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38466
38516
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38467
38517
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38468
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
38518
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
38469
38519
  let fetchResult;
38470
38520
  try {
38471
38521
  fetchResult = await documentLoader(url.href);
@@ -38675,7 +38725,7 @@ var Profile = class Profile extends Object$1 {
38675
38725
  * @throws {TypeError} If the given `json` is invalid.
38676
38726
  */
38677
38727
  static async fromJsonLd(json, options = {}) {
38678
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
38728
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
38679
38729
  try {
38680
38730
  const object = await this.__fromJsonLd__Profile__(json, span, options);
38681
38731
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38851,7 +38901,7 @@ var Question = class Question extends IntransitiveActivity {
38851
38901
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38852
38902
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38853
38903
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38854
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
38904
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
38855
38905
  let fetchResult;
38856
38906
  try {
38857
38907
  fetchResult = await documentLoader(url.href);
@@ -38983,7 +39033,7 @@ var Question = class Question extends IntransitiveActivity {
38983
39033
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38984
39034
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38985
39035
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38986
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
39036
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
38987
39037
  let fetchResult;
38988
39038
  try {
38989
39039
  fetchResult = await documentLoader(url.href);
@@ -39257,7 +39307,7 @@ var Question = class Question extends IntransitiveActivity {
39257
39307
  * @throws {TypeError} If the given `json` is invalid.
39258
39308
  */
39259
39309
  static async fromJsonLd(json, options = {}) {
39260
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
39310
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
39261
39311
  try {
39262
39312
  const object = await this.__fromJsonLd__Question__(json, span, options);
39263
39313
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39503,7 +39553,7 @@ var Read = class Read extends Activity {
39503
39553
  * @throws {TypeError} If the given `json` is invalid.
39504
39554
  */
39505
39555
  static async fromJsonLd(json, options = {}) {
39506
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
39556
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
39507
39557
  try {
39508
39558
  const object = await this.__fromJsonLd__Read__(json, span, options);
39509
39559
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39655,7 +39705,7 @@ var Reject = class Reject extends Activity {
39655
39705
  * @throws {TypeError} If the given `json` is invalid.
39656
39706
  */
39657
39707
  static async fromJsonLd(json, options = {}) {
39658
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
39708
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
39659
39709
  try {
39660
39710
  const object = await this.__fromJsonLd__Reject__(json, span, options);
39661
39711
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39831,7 +39881,7 @@ var Relationship = class Relationship extends Object$1 {
39831
39881
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39832
39882
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39833
39883
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39834
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
39884
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
39835
39885
  let fetchResult;
39836
39886
  try {
39837
39887
  fetchResult = await documentLoader(url.href);
@@ -39963,7 +40013,7 @@ var Relationship = class Relationship extends Object$1 {
39963
40013
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39964
40014
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39965
40015
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39966
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
40016
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
39967
40017
  let fetchResult;
39968
40018
  try {
39969
40019
  fetchResult = await documentLoader(url.href);
@@ -40144,7 +40194,7 @@ var Relationship = class Relationship extends Object$1 {
40144
40194
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40145
40195
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40146
40196
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40147
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
40197
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
40148
40198
  let fetchResult;
40149
40199
  try {
40150
40200
  fetchResult = await documentLoader(url.href);
@@ -40441,7 +40491,7 @@ var Relationship = class Relationship extends Object$1 {
40441
40491
  * @throws {TypeError} If the given `json` is invalid.
40442
40492
  */
40443
40493
  static async fromJsonLd(json, options = {}) {
40444
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
40494
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
40445
40495
  try {
40446
40496
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
40447
40497
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40659,7 +40709,7 @@ var Remove = class Remove extends Activity {
40659
40709
  * @throws {TypeError} If the given `json` is invalid.
40660
40710
  */
40661
40711
  static async fromJsonLd(json, options = {}) {
40662
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
40712
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
40663
40713
  try {
40664
40714
  const object = await this.__fromJsonLd__Remove__(json, span, options);
40665
40715
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41057,7 +41107,7 @@ var Service = class Service extends Object$1 {
41057
41107
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41058
41108
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41059
41109
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41060
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41110
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41061
41111
  let fetchResult;
41062
41112
  try {
41063
41113
  fetchResult = await documentLoader(url.href);
@@ -41238,7 +41288,7 @@ var Service = class Service extends Object$1 {
41238
41288
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41239
41289
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41240
41290
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41241
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41291
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41242
41292
  let fetchResult;
41243
41293
  try {
41244
41294
  fetchResult = await documentLoader(url.href);
@@ -41437,7 +41487,7 @@ var Service = class Service extends Object$1 {
41437
41487
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41438
41488
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41439
41489
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41440
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41490
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41441
41491
  let fetchResult;
41442
41492
  try {
41443
41493
  fetchResult = await documentLoader(url.href);
@@ -41588,7 +41638,7 @@ var Service = class Service extends Object$1 {
41588
41638
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41589
41639
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41590
41640
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41591
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41641
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41592
41642
  let fetchResult;
41593
41643
  try {
41594
41644
  fetchResult = await documentLoader(url.href);
@@ -41736,7 +41786,7 @@ var Service = class Service extends Object$1 {
41736
41786
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41737
41787
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41738
41788
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41739
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41789
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41740
41790
  let fetchResult;
41741
41791
  try {
41742
41792
  fetchResult = await documentLoader(url.href);
@@ -41869,7 +41919,7 @@ var Service = class Service extends Object$1 {
41869
41919
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41870
41920
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41871
41921
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41872
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41922
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41873
41923
  let fetchResult;
41874
41924
  try {
41875
41925
  fetchResult = await documentLoader(url.href);
@@ -42005,7 +42055,7 @@ var Service = class Service extends Object$1 {
42005
42055
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42006
42056
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42007
42057
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42008
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42058
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42009
42059
  let fetchResult;
42010
42060
  try {
42011
42061
  fetchResult = await documentLoader(url.href);
@@ -42139,7 +42189,7 @@ var Service = class Service extends Object$1 {
42139
42189
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42140
42190
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42141
42191
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42142
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42192
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42143
42193
  let fetchResult;
42144
42194
  try {
42145
42195
  fetchResult = await documentLoader(url.href);
@@ -42271,7 +42321,7 @@ var Service = class Service extends Object$1 {
42271
42321
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42272
42322
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42273
42323
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42274
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42324
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42275
42325
  let fetchResult;
42276
42326
  try {
42277
42327
  fetchResult = await documentLoader(url.href);
@@ -42403,7 +42453,7 @@ var Service = class Service extends Object$1 {
42403
42453
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42404
42454
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42405
42455
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42406
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42456
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42407
42457
  let fetchResult;
42408
42458
  try {
42409
42459
  fetchResult = await documentLoader(url.href);
@@ -42575,7 +42625,7 @@ var Service = class Service extends Object$1 {
42575
42625
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42576
42626
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42577
42627
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42578
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42628
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42579
42629
  let fetchResult;
42580
42630
  try {
42581
42631
  fetchResult = await documentLoader(url.href);
@@ -42750,7 +42800,7 @@ var Service = class Service extends Object$1 {
42750
42800
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42751
42801
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42752
42802
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42753
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42803
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42754
42804
  let fetchResult;
42755
42805
  try {
42756
42806
  fetchResult = await documentLoader(url.href);
@@ -42983,7 +43033,7 @@ var Service = class Service extends Object$1 {
42983
43033
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42984
43034
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42985
43035
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42986
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
43036
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42987
43037
  let fetchResult;
42988
43038
  try {
42989
43039
  fetchResult = await documentLoader(url.href);
@@ -43687,7 +43737,7 @@ var Service = class Service extends Object$1 {
43687
43737
  * @throws {TypeError} If the given `json` is invalid.
43688
43738
  */
43689
43739
  static async fromJsonLd(json, options = {}) {
43690
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
43740
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
43691
43741
  try {
43692
43742
  const object = await this.__fromJsonLd__Service__(json, span, options);
43693
43743
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44231,6 +44281,11 @@ var Source = class {
44231
44281
  get _warning() {
44232
44282
  return this.#warning;
44233
44283
  }
44284
+ /**
44285
+ * Internal cross-package contract with @fedify/testing, which copies this
44286
+ * cache when attaching document loaders to an activity clone. Keep this
44287
+ * accessor name and its getter/setter semantics stable.
44288
+ */
44234
44289
  get _cachedJsonLd() {
44235
44290
  return this.#cachedJsonLd;
44236
44291
  }
@@ -44404,7 +44459,7 @@ var Source = class {
44404
44459
  * @throws {TypeError} If the given `json` is invalid.
44405
44460
  */
44406
44461
  static async fromJsonLd(json, options = {}) {
44407
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
44462
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
44408
44463
  try {
44409
44464
  const object = await this.__fromJsonLd__Source__(json, span, options);
44410
44465
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44589,7 +44644,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
44589
44644
  * @throws {TypeError} If the given `json` is invalid.
44590
44645
  */
44591
44646
  static async fromJsonLd(json, options = {}) {
44592
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
44647
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
44593
44648
  try {
44594
44649
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
44595
44650
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44741,7 +44796,7 @@ var TentativeReject = class TentativeReject extends Reject {
44741
44796
  * @throws {TypeError} If the given `json` is invalid.
44742
44797
  */
44743
44798
  static async fromJsonLd(json, options = {}) {
44744
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
44799
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
44745
44800
  try {
44746
44801
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
44747
44802
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44939,7 +44994,7 @@ var Tombstone = class Tombstone extends Object$1 {
44939
44994
  * @throws {TypeError} If the given `json` is invalid.
44940
44995
  */
44941
44996
  static async fromJsonLd(json, options = {}) {
44942
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
44997
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
44943
44998
  try {
44944
44999
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
44945
45000
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45108,7 +45163,7 @@ var Travel = class Travel extends IntransitiveActivity {
45108
45163
  * @throws {TypeError} If the given `json` is invalid.
45109
45164
  */
45110
45165
  static async fromJsonLd(json, options = {}) {
45111
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45166
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45112
45167
  try {
45113
45168
  const object = await this.__fromJsonLd__Travel__(json, span, options);
45114
45169
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45274,7 +45329,7 @@ var Undo = class Undo extends Activity {
45274
45329
  * @throws {TypeError} If the given `json` is invalid.
45275
45330
  */
45276
45331
  static async fromJsonLd(json, options = {}) {
45277
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45332
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45278
45333
  try {
45279
45334
  const object = await this.__fromJsonLd__Undo__(json, span, options);
45280
45335
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45478,7 +45533,7 @@ var Update = class Update extends Activity {
45478
45533
  * @throws {TypeError} If the given `json` is invalid.
45479
45534
  */
45480
45535
  static async fromJsonLd(json, options = {}) {
45481
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45536
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45482
45537
  try {
45483
45538
  const object = await this.__fromJsonLd__Update__(json, span, options);
45484
45539
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45643,7 +45698,7 @@ var Video = class Video extends Document {
45643
45698
  * @throws {TypeError} If the given `json` is invalid.
45644
45699
  */
45645
45700
  static async fromJsonLd(json, options = {}) {
45646
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45701
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45647
45702
  try {
45648
45703
  const object = await this.__fromJsonLd__Video__(json, span, options);
45649
45704
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45794,7 +45849,7 @@ var View = class View extends Activity {
45794
45849
  * @throws {TypeError} If the given `json` is invalid.
45795
45850
  */
45796
45851
  static async fromJsonLd(json, options = {}) {
45797
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45852
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45798
45853
  try {
45799
45854
  const object = await this.__fromJsonLd__View__(json, span, options);
45800
45855
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);