@fedify/vocab 2.3.14 → 2.3.15

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.
@@ -197,6 +197,11 @@ var Object$1 = class Object$1 {
197
197
  get _warning() {
198
198
  return this.#warning;
199
199
  }
200
+ /**
201
+ * Internal cross-package contract with @fedify/testing, which copies this
202
+ * cache when attaching document loaders to an activity clone. Keep this
203
+ * accessor name and its getter/setter semantics stable.
204
+ */
200
205
  get _cachedJsonLd() {
201
206
  return this.#cachedJsonLd;
202
207
  }
@@ -844,7 +849,7 @@ var Object$1 = class Object$1 {
844
849
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
845
850
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
846
851
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
847
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
852
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
848
853
  let fetchResult;
849
854
  try {
850
855
  fetchResult = await documentLoader(url.href);
@@ -1003,7 +1008,7 @@ var Object$1 = class Object$1 {
1003
1008
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1004
1009
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1005
1010
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1006
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1011
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1007
1012
  let fetchResult;
1008
1013
  try {
1009
1014
  fetchResult = await documentLoader(url.href);
@@ -1240,7 +1245,7 @@ var Object$1 = class Object$1 {
1240
1245
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1241
1246
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1242
1247
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1243
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1248
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1244
1249
  let fetchResult;
1245
1250
  try {
1246
1251
  fetchResult = await documentLoader(url.href);
@@ -1449,7 +1454,7 @@ var Object$1 = class Object$1 {
1449
1454
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1450
1455
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1451
1456
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1452
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1457
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1453
1458
  let fetchResult;
1454
1459
  try {
1455
1460
  fetchResult = await documentLoader(url.href);
@@ -1624,7 +1629,7 @@ var Object$1 = class Object$1 {
1624
1629
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1625
1630
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1626
1631
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1627
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1632
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1628
1633
  let fetchResult;
1629
1634
  try {
1630
1635
  fetchResult = await documentLoader(url.href);
@@ -1767,7 +1772,7 @@ var Object$1 = class Object$1 {
1767
1772
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1768
1773
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1769
1774
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1770
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1775
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1771
1776
  let fetchResult;
1772
1777
  try {
1773
1778
  fetchResult = await documentLoader(url.href);
@@ -1974,7 +1979,7 @@ var Object$1 = class Object$1 {
1974
1979
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1975
1980
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1976
1981
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1977
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1982
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1978
1983
  let fetchResult;
1979
1984
  try {
1980
1985
  fetchResult = await documentLoader(url.href);
@@ -2181,7 +2186,7 @@ var Object$1 = class Object$1 {
2181
2186
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2182
2187
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2183
2188
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2184
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2189
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2185
2190
  let fetchResult;
2186
2191
  try {
2187
2192
  fetchResult = await documentLoader(url.href);
@@ -2380,7 +2385,7 @@ var Object$1 = class Object$1 {
2380
2385
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2381
2386
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2382
2387
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2383
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2388
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2384
2389
  let fetchResult;
2385
2390
  try {
2386
2391
  fetchResult = await documentLoader(url.href);
@@ -2579,7 +2584,7 @@ var Object$1 = class Object$1 {
2579
2584
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2580
2585
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2581
2586
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2582
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2587
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2583
2588
  let fetchResult;
2584
2589
  try {
2585
2590
  fetchResult = await documentLoader(url.href);
@@ -2783,7 +2788,7 @@ var Object$1 = class Object$1 {
2783
2788
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2784
2789
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2785
2790
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2786
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2791
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2787
2792
  let fetchResult;
2788
2793
  try {
2789
2794
  fetchResult = await documentLoader(url.href);
@@ -2916,7 +2921,7 @@ var Object$1 = class Object$1 {
2916
2921
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2917
2922
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2918
2923
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2919
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2924
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2920
2925
  let fetchResult;
2921
2926
  try {
2922
2927
  fetchResult = await documentLoader(url.href);
@@ -3055,7 +3060,7 @@ var Object$1 = class Object$1 {
3055
3060
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3056
3061
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3057
3062
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3058
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3063
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3059
3064
  let fetchResult;
3060
3065
  try {
3061
3066
  fetchResult = await documentLoader(url.href);
@@ -3194,7 +3199,7 @@ var Object$1 = class Object$1 {
3194
3199
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3195
3200
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3196
3201
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3197
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3202
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3198
3203
  let fetchResult;
3199
3204
  try {
3200
3205
  fetchResult = await documentLoader(url.href);
@@ -3351,7 +3356,7 @@ var Object$1 = class Object$1 {
3351
3356
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3352
3357
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3353
3358
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3354
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3359
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3355
3360
  let fetchResult;
3356
3361
  try {
3357
3362
  fetchResult = await documentLoader(url.href);
@@ -3516,7 +3521,7 @@ var Object$1 = class Object$1 {
3516
3521
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3517
3522
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3518
3523
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3519
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3524
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3520
3525
  let fetchResult;
3521
3526
  try {
3522
3527
  fetchResult = await documentLoader(url.href);
@@ -3705,7 +3710,7 @@ var Object$1 = class Object$1 {
3705
3710
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3706
3711
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3707
3712
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3708
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3713
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3709
3714
  let fetchResult;
3710
3715
  try {
3711
3716
  fetchResult = await documentLoader(url.href);
@@ -3894,7 +3899,7 @@ var Object$1 = class Object$1 {
3894
3899
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3895
3900
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3896
3901
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3897
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3902
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3898
3903
  let fetchResult;
3899
3904
  try {
3900
3905
  fetchResult = await documentLoader(url.href);
@@ -4083,7 +4088,7 @@ var Object$1 = class Object$1 {
4083
4088
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4084
4089
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4085
4090
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4086
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4091
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4087
4092
  let fetchResult;
4088
4093
  try {
4089
4094
  fetchResult = await documentLoader(url.href);
@@ -4309,7 +4314,7 @@ var Object$1 = class Object$1 {
4309
4314
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4310
4315
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4311
4316
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4312
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4317
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4313
4318
  let fetchResult;
4314
4319
  try {
4315
4320
  fetchResult = await documentLoader(url.href);
@@ -4521,7 +4526,7 @@ var Object$1 = class Object$1 {
4521
4526
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4522
4527
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4523
4528
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4524
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4529
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4525
4530
  let fetchResult;
4526
4531
  try {
4527
4532
  fetchResult = await documentLoader(url.href);
@@ -4654,7 +4659,7 @@ var Object$1 = class Object$1 {
4654
4659
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4655
4660
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4656
4661
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4657
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4662
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4658
4663
  let fetchResult;
4659
4664
  try {
4660
4665
  fetchResult = await documentLoader(url.href);
@@ -4787,7 +4792,7 @@ var Object$1 = class Object$1 {
4787
4792
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4788
4793
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4789
4794
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4790
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4795
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4791
4796
  let fetchResult;
4792
4797
  try {
4793
4798
  fetchResult = await documentLoader(url.href);
@@ -5626,7 +5631,7 @@ var Object$1 = class Object$1 {
5626
5631
  * @throws {TypeError} If the given `json` is invalid.
5627
5632
  */
5628
5633
  static async fromJsonLd(json, options = {}) {
5629
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
5634
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
5630
5635
  try {
5631
5636
  const object = await this.__fromJsonLd__Object__(json, span, options);
5632
5637
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7293,7 +7298,7 @@ var Emoji = class Emoji extends Object$1 {
7293
7298
  * @throws {TypeError} If the given `json` is invalid.
7294
7299
  */
7295
7300
  static async fromJsonLd(json, options = {}) {
7296
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
7301
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
7297
7302
  try {
7298
7303
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
7299
7304
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7431,7 +7436,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7431
7436
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7432
7437
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7433
7438
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7434
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
7439
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
7435
7440
  let fetchResult;
7436
7441
  try {
7437
7442
  fetchResult = await documentLoader(url.href);
@@ -7581,7 +7586,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7581
7586
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7582
7587
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7583
7588
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7584
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
7589
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
7585
7590
  let fetchResult;
7586
7591
  try {
7587
7592
  fetchResult = await documentLoader(url.href);
@@ -7877,7 +7882,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7877
7882
  * @throws {TypeError} If the given `json` is invalid.
7878
7883
  */
7879
7884
  static async fromJsonLd(json, options = {}) {
7880
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
7885
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
7881
7886
  try {
7882
7887
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
7883
7888
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8220,7 +8225,7 @@ var Activity = class Activity extends Object$1 {
8220
8225
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8221
8226
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8222
8227
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8223
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
8228
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
8224
8229
  let fetchResult;
8225
8230
  try {
8226
8231
  fetchResult = await documentLoader(url.href);
@@ -8457,7 +8462,7 @@ var Activity = class Activity extends Object$1 {
8457
8462
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8458
8463
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8459
8464
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8460
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
8465
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
8461
8466
  let fetchResult;
8462
8467
  try {
8463
8468
  fetchResult = await documentLoader(url.href);
@@ -8648,7 +8653,7 @@ var Activity = class Activity extends Object$1 {
8648
8653
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8649
8654
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8650
8655
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8651
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
8656
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
8652
8657
  let fetchResult;
8653
8658
  try {
8654
8659
  fetchResult = await documentLoader(url.href);
@@ -8845,7 +8850,7 @@ var Activity = class Activity extends Object$1 {
8845
8850
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8846
8851
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8847
8852
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8848
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
8853
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
8849
8854
  let fetchResult;
8850
8855
  try {
8851
8856
  fetchResult = await documentLoader(url.href);
@@ -9036,7 +9041,7 @@ var Activity = class Activity extends Object$1 {
9036
9041
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9037
9042
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9038
9043
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9039
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
9044
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
9040
9045
  let fetchResult;
9041
9046
  try {
9042
9047
  fetchResult = await documentLoader(url.href);
@@ -9229,7 +9234,7 @@ var Activity = class Activity extends Object$1 {
9229
9234
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9230
9235
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9231
9236
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9232
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
9237
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
9233
9238
  let fetchResult;
9234
9239
  try {
9235
9240
  fetchResult = await documentLoader(url.href);
@@ -9505,7 +9510,7 @@ var Activity = class Activity extends Object$1 {
9505
9510
  * @throws {TypeError} If the given `json` is invalid.
9506
9511
  */
9507
9512
  static async fromJsonLd(json, options = {}) {
9508
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
9513
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
9509
9514
  try {
9510
9515
  const object = await this.__fromJsonLd__Activity__(json, span, options);
9511
9516
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9872,7 +9877,7 @@ var EmojiReact = class EmojiReact extends Activity {
9872
9877
  * @throws {TypeError} If the given `json` is invalid.
9873
9878
  */
9874
9879
  static async fromJsonLd(json, options = {}) {
9875
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
9880
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
9876
9881
  try {
9877
9882
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
9878
9883
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9960,6 +9965,11 @@ var PropertyValue = class {
9960
9965
  get _warning() {
9961
9966
  return this.#warning;
9962
9967
  }
9968
+ /**
9969
+ * Internal cross-package contract with @fedify/testing, which copies this
9970
+ * cache when attaching document loaders to an activity clone. Keep this
9971
+ * accessor name and its getter/setter semantics stable.
9972
+ */
9963
9973
  get _cachedJsonLd() {
9964
9974
  return this.#cachedJsonLd;
9965
9975
  }
@@ -10140,7 +10150,7 @@ var PropertyValue = class {
10140
10150
  * @throws {TypeError} If the given `json` is invalid.
10141
10151
  */
10142
10152
  static async fromJsonLd(json, options = {}) {
10143
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
10153
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
10144
10154
  try {
10145
10155
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
10146
10156
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10264,6 +10274,11 @@ var Measure = class {
10264
10274
  get _warning() {
10265
10275
  return this.#warning;
10266
10276
  }
10277
+ /**
10278
+ * Internal cross-package contract with @fedify/testing, which copies this
10279
+ * cache when attaching document loaders to an activity clone. Keep this
10280
+ * accessor name and its getter/setter semantics stable.
10281
+ */
10267
10282
  get _cachedJsonLd() {
10268
10283
  return this.#cachedJsonLd;
10269
10284
  }
@@ -10435,7 +10450,7 @@ var Measure = class {
10435
10450
  * @throws {TypeError} If the given `json` is invalid.
10436
10451
  */
10437
10452
  static async fromJsonLd(json, options = {}) {
10438
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
10453
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
10439
10454
  try {
10440
10455
  const object = await this.__fromJsonLd__Measure__(json, span, options);
10441
10456
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10607,7 +10622,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10607
10622
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10608
10623
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10609
10624
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10610
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
10625
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
10611
10626
  let fetchResult;
10612
10627
  try {
10613
10628
  fetchResult = await documentLoader(url.href);
@@ -10740,7 +10755,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10740
10755
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10741
10756
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10742
10757
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10743
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
10758
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
10744
10759
  let fetchResult;
10745
10760
  try {
10746
10761
  fetchResult = await documentLoader(url.href);
@@ -10968,7 +10983,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10968
10983
  * @throws {TypeError} If the given `json` is invalid.
10969
10984
  */
10970
10985
  static async fromJsonLd(json, options = {}) {
10971
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
10986
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
10972
10987
  try {
10973
10988
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
10974
10989
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11183,7 +11198,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
11183
11198
  * @throws {TypeError} If the given `json` is invalid.
11184
11199
  */
11185
11200
  static async fromJsonLd(json, options = {}) {
11186
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
11201
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
11187
11202
  try {
11188
11203
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
11189
11204
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11277,6 +11292,11 @@ var InteractionPolicy = class {
11277
11292
  get _warning() {
11278
11293
  return this.#warning;
11279
11294
  }
11295
+ /**
11296
+ * Internal cross-package contract with @fedify/testing, which copies this
11297
+ * cache when attaching document loaders to an activity clone. Keep this
11298
+ * accessor name and its getter/setter semantics stable.
11299
+ */
11280
11300
  get _cachedJsonLd() {
11281
11301
  return this.#cachedJsonLd;
11282
11302
  }
@@ -11469,7 +11489,7 @@ var InteractionPolicy = class {
11469
11489
  * @throws {TypeError} If the given `json` is invalid.
11470
11490
  */
11471
11491
  static async fromJsonLd(json, options = {}) {
11472
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
11492
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
11473
11493
  try {
11474
11494
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
11475
11495
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11658,6 +11678,11 @@ var InteractionRule = class {
11658
11678
  get _warning() {
11659
11679
  return this.#warning;
11660
11680
  }
11681
+ /**
11682
+ * Internal cross-package contract with @fedify/testing, which copies this
11683
+ * cache when attaching document loaders to an activity clone. Keep this
11684
+ * accessor name and its getter/setter semantics stable.
11685
+ */
11661
11686
  get _cachedJsonLd() {
11662
11687
  return this.#cachedJsonLd;
11663
11688
  }
@@ -11832,7 +11857,7 @@ var InteractionRule = class {
11832
11857
  * @throws {TypeError} If the given `json` is invalid.
11833
11858
  */
11834
11859
  static async fromJsonLd(json, options = {}) {
11835
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
11860
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
11836
11861
  try {
11837
11862
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
11838
11863
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12005,7 +12030,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
12005
12030
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12006
12031
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12007
12032
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12008
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
12033
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
12009
12034
  let fetchResult;
12010
12035
  try {
12011
12036
  fetchResult = await documentLoader(url.href);
@@ -12138,7 +12163,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
12138
12163
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12139
12164
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12140
12165
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12141
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
12166
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
12142
12167
  let fetchResult;
12143
12168
  try {
12144
12169
  fetchResult = await documentLoader(url.href);
@@ -12366,7 +12391,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
12366
12391
  * @throws {TypeError} If the given `json` is invalid.
12367
12392
  */
12368
12393
  static async fromJsonLd(json, options = {}) {
12369
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
12394
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
12370
12395
  try {
12371
12396
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
12372
12397
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12580,7 +12605,7 @@ var LikeRequest = class LikeRequest extends Activity {
12580
12605
  * @throws {TypeError} If the given `json` is invalid.
12581
12606
  */
12582
12607
  static async fromJsonLd(json, options = {}) {
12583
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
12608
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
12584
12609
  try {
12585
12610
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
12586
12611
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12715,7 +12740,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12715
12740
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12716
12741
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12717
12742
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12718
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
12743
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
12719
12744
  let fetchResult;
12720
12745
  try {
12721
12746
  fetchResult = await documentLoader(url.href);
@@ -12848,7 +12873,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12848
12873
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12849
12874
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12850
12875
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12851
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
12876
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
12852
12877
  let fetchResult;
12853
12878
  try {
12854
12879
  fetchResult = await documentLoader(url.href);
@@ -13076,7 +13101,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
13076
13101
  * @throws {TypeError} If the given `json` is invalid.
13077
13102
  */
13078
13103
  static async fromJsonLd(json, options = {}) {
13079
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
13104
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
13080
13105
  try {
13081
13106
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
13082
13107
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13290,7 +13315,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
13290
13315
  * @throws {TypeError} If the given `json` is invalid.
13291
13316
  */
13292
13317
  static async fromJsonLd(json, options = {}) {
13293
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
13318
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
13294
13319
  try {
13295
13320
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
13296
13321
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13425,7 +13450,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13425
13450
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13426
13451
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13427
13452
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13428
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
13453
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
13429
13454
  let fetchResult;
13430
13455
  try {
13431
13456
  fetchResult = await documentLoader(url.href);
@@ -13557,7 +13582,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13557
13582
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13558
13583
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13559
13584
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13560
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
13585
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
13561
13586
  let fetchResult;
13562
13587
  try {
13563
13588
  fetchResult = await documentLoader(url.href);
@@ -13787,7 +13812,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13787
13812
  * @throws {TypeError} If the given `json` is invalid.
13788
13813
  */
13789
13814
  static async fromJsonLd(json, options = {}) {
13790
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
13815
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
13791
13816
  try {
13792
13817
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
13793
13818
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14031,7 +14056,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
14031
14056
  * @throws {TypeError} If the given `json` is invalid.
14032
14057
  */
14033
14058
  static async fromJsonLd(json, options = {}) {
14034
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
14059
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
14035
14060
  try {
14036
14061
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
14037
14062
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14122,6 +14147,11 @@ var DidService = class {
14122
14147
  get _warning() {
14123
14148
  return this.#warning;
14124
14149
  }
14150
+ /**
14151
+ * Internal cross-package contract with @fedify/testing, which copies this
14152
+ * cache when attaching document loaders to an activity clone. Keep this
14153
+ * accessor name and its getter/setter semantics stable.
14154
+ */
14125
14155
  get _cachedJsonLd() {
14126
14156
  return this.#cachedJsonLd;
14127
14157
  }
@@ -14259,7 +14289,7 @@ var DidService = class {
14259
14289
  * @throws {TypeError} If the given `json` is invalid.
14260
14290
  */
14261
14291
  static async fromJsonLd(json, options = {}) {
14262
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
14292
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
14263
14293
  try {
14264
14294
  const object = await this.__fromJsonLd__DidService__(json, span, options);
14265
14295
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14423,7 +14453,7 @@ var Export = class Export extends DidService {
14423
14453
  * @throws {TypeError} If the given `json` is invalid.
14424
14454
  */
14425
14455
  static async fromJsonLd(json, options = {}) {
14426
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
14456
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
14427
14457
  try {
14428
14458
  const object = await this.__fromJsonLd__Export__(json, span, options);
14429
14459
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14512,6 +14542,11 @@ var DataIntegrityProof = class {
14512
14542
  get _warning() {
14513
14543
  return this.#warning;
14514
14544
  }
14545
+ /**
14546
+ * Internal cross-package contract with @fedify/testing, which copies this
14547
+ * cache when attaching document loaders to an activity clone. Keep this
14548
+ * accessor name and its getter/setter semantics stable.
14549
+ */
14515
14550
  get _cachedJsonLd() {
14516
14551
  return this.#cachedJsonLd;
14517
14552
  }
@@ -14618,7 +14653,7 @@ var DataIntegrityProof = class {
14618
14653
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14619
14654
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14620
14655
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14621
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
14656
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
14622
14657
  let fetchResult;
14623
14658
  try {
14624
14659
  fetchResult = await documentLoader(url.href);
@@ -14837,7 +14872,7 @@ var DataIntegrityProof = class {
14837
14872
  * @throws {TypeError} If the given `json` is invalid.
14838
14873
  */
14839
14874
  static async fromJsonLd(json, options = {}) {
14840
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
14875
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
14841
14876
  try {
14842
14877
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
14843
14878
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15023,6 +15058,11 @@ var CryptographicKey = class {
15023
15058
  get _warning() {
15024
15059
  return this.#warning;
15025
15060
  }
15061
+ /**
15062
+ * Internal cross-package contract with @fedify/testing, which copies this
15063
+ * cache when attaching document loaders to an activity clone. Keep this
15064
+ * accessor name and its getter/setter semantics stable.
15065
+ */
15026
15066
  get _cachedJsonLd() {
15027
15067
  return this.#cachedJsonLd;
15028
15068
  }
@@ -15104,7 +15144,7 @@ var CryptographicKey = class {
15104
15144
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15105
15145
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15106
15146
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15107
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
15147
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
15108
15148
  let fetchResult;
15109
15149
  try {
15110
15150
  fetchResult = await documentLoader(url.href);
@@ -15378,7 +15418,7 @@ var CryptographicKey = class {
15378
15418
  * @throws {TypeError} If the given `json` is invalid.
15379
15419
  */
15380
15420
  static async fromJsonLd(json, options = {}) {
15381
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
15421
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
15382
15422
  try {
15383
15423
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
15384
15424
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15525,6 +15565,11 @@ var Multikey = class {
15525
15565
  get _warning() {
15526
15566
  return this.#warning;
15527
15567
  }
15568
+ /**
15569
+ * Internal cross-package contract with @fedify/testing, which copies this
15570
+ * cache when attaching document loaders to an activity clone. Keep this
15571
+ * accessor name and its getter/setter semantics stable.
15572
+ */
15528
15573
  get _cachedJsonLd() {
15529
15574
  return this.#cachedJsonLd;
15530
15575
  }
@@ -15606,7 +15651,7 @@ var Multikey = class {
15606
15651
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15607
15652
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15608
15653
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15609
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
15654
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
15610
15655
  let fetchResult;
15611
15656
  try {
15612
15657
  fetchResult = await documentLoader(url.href);
@@ -15886,7 +15931,7 @@ var Multikey = class {
15886
15931
  * @throws {TypeError} If the given `json` is invalid.
15887
15932
  */
15888
15933
  static async fromJsonLd(json, options = {}) {
15889
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
15934
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
15890
15935
  try {
15891
15936
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
15892
15937
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16225,7 +16270,7 @@ var Agreement = class Agreement extends Object$1 {
16225
16270
  * @throws {TypeError} If the given `json` is invalid.
16226
16271
  */
16227
16272
  static async fromJsonLd(json, options = {}) {
16228
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
16273
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
16229
16274
  try {
16230
16275
  const object = await this.__fromJsonLd__Agreement__(json, span, options);
16231
16276
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16359,6 +16404,11 @@ var Commitment = class {
16359
16404
  get _warning() {
16360
16405
  return this.#warning;
16361
16406
  }
16407
+ /**
16408
+ * Internal cross-package contract with @fedify/testing, which copies this
16409
+ * cache when attaching document loaders to an activity clone. Keep this
16410
+ * accessor name and its getter/setter semantics stable.
16411
+ */
16362
16412
  get _cachedJsonLd() {
16363
16413
  return this.#cachedJsonLd;
16364
16414
  }
@@ -16549,7 +16599,7 @@ var Commitment = class {
16549
16599
  * @throws {TypeError} If the given `json` is invalid.
16550
16600
  */
16551
16601
  static async fromJsonLd(json, options = {}) {
16552
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
16602
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
16553
16603
  try {
16554
16604
  const object = await this.__fromJsonLd__Commitment__(json, span, options);
16555
16605
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16677,6 +16727,11 @@ var Intent = class {
16677
16727
  get _warning() {
16678
16728
  return this.#warning;
16679
16729
  }
16730
+ /**
16731
+ * Internal cross-package contract with @fedify/testing, which copies this
16732
+ * cache when attaching document loaders to an activity clone. Keep this
16733
+ * accessor name and its getter/setter semantics stable.
16734
+ */
16680
16735
  get _cachedJsonLd() {
16681
16736
  return this.#cachedJsonLd;
16682
16737
  }
@@ -16951,7 +17006,7 @@ var Intent = class {
16951
17006
  * @throws {TypeError} If the given `json` is invalid.
16952
17007
  */
16953
17008
  static async fromJsonLd(json, options = {}) {
16954
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
17009
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
16955
17010
  try {
16956
17011
  const object = await this.__fromJsonLd__Intent__(json, span, options);
16957
17012
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17392,7 +17447,7 @@ var Proposal = class Proposal extends Object$1 {
17392
17447
  * @throws {TypeError} If the given `json` is invalid.
17393
17448
  */
17394
17449
  static async fromJsonLd(json, options = {}) {
17395
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
17450
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
17396
17451
  try {
17397
17452
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
17398
17453
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17625,7 +17680,7 @@ var Accept = class Accept extends Activity {
17625
17680
  * @throws {TypeError} If the given `json` is invalid.
17626
17681
  */
17627
17682
  static async fromJsonLd(json, options = {}) {
17628
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
17683
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
17629
17684
  try {
17630
17685
  const object = await this.__fromJsonLd__Accept__(json, span, options);
17631
17686
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17781,7 +17836,7 @@ var Add = class Add extends Activity {
17781
17836
  * @throws {TypeError} If the given `json` is invalid.
17782
17837
  */
17783
17838
  static async fromJsonLd(json, options = {}) {
17784
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
17839
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
17785
17840
  try {
17786
17841
  const object = await this.__fromJsonLd__Add__(json, span, options);
17787
17842
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17964,7 +18019,7 @@ var Announce = class Announce extends Activity {
17964
18019
  * @throws {TypeError} If the given `json` is invalid.
17965
18020
  */
17966
18021
  static async fromJsonLd(json, options = {}) {
17967
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
18022
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
17968
18023
  try {
17969
18024
  const object = await this.__fromJsonLd__Announce__(json, span, options);
17970
18025
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18363,7 +18418,7 @@ var Application = class Application extends Object$1 {
18363
18418
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18364
18419
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18365
18420
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18366
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
18421
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
18367
18422
  let fetchResult;
18368
18423
  try {
18369
18424
  fetchResult = await documentLoader(url.href);
@@ -18550,7 +18605,7 @@ var Application = class Application extends Object$1 {
18550
18605
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18551
18606
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18552
18607
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18553
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
18608
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
18554
18609
  let fetchResult;
18555
18610
  try {
18556
18611
  fetchResult = await documentLoader(url.href);
@@ -18755,7 +18810,7 @@ var Application = class Application extends Object$1 {
18755
18810
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18756
18811
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18757
18812
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18758
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
18813
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
18759
18814
  let fetchResult;
18760
18815
  try {
18761
18816
  fetchResult = await documentLoader(url.href);
@@ -18909,7 +18964,7 @@ var Application = class Application extends Object$1 {
18909
18964
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18910
18965
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18911
18966
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18912
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
18967
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
18913
18968
  let fetchResult;
18914
18969
  try {
18915
18970
  fetchResult = await documentLoader(url.href);
@@ -19060,7 +19115,7 @@ var Application = class Application extends Object$1 {
19060
19115
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19061
19116
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19062
19117
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19063
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19118
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19064
19119
  let fetchResult;
19065
19120
  try {
19066
19121
  fetchResult = await documentLoader(url.href);
@@ -19196,7 +19251,7 @@ var Application = class Application extends Object$1 {
19196
19251
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19197
19252
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19198
19253
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19199
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19254
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19200
19255
  let fetchResult;
19201
19256
  try {
19202
19257
  fetchResult = await documentLoader(url.href);
@@ -19335,7 +19390,7 @@ var Application = class Application extends Object$1 {
19335
19390
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19336
19391
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19337
19392
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19338
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19393
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19339
19394
  let fetchResult;
19340
19395
  try {
19341
19396
  fetchResult = await documentLoader(url.href);
@@ -19472,7 +19527,7 @@ var Application = class Application extends Object$1 {
19472
19527
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19473
19528
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19474
19529
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19475
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19530
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19476
19531
  let fetchResult;
19477
19532
  try {
19478
19533
  fetchResult = await documentLoader(url.href);
@@ -19607,7 +19662,7 @@ var Application = class Application extends Object$1 {
19607
19662
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19608
19663
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19609
19664
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19610
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19665
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19611
19666
  let fetchResult;
19612
19667
  try {
19613
19668
  fetchResult = await documentLoader(url.href);
@@ -19742,7 +19797,7 @@ var Application = class Application extends Object$1 {
19742
19797
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19743
19798
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19744
19799
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19745
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19800
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19746
19801
  let fetchResult;
19747
19802
  try {
19748
19803
  fetchResult = await documentLoader(url.href);
@@ -19917,7 +19972,7 @@ var Application = class Application extends Object$1 {
19917
19972
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19918
19973
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19919
19974
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19920
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19975
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19921
19976
  let fetchResult;
19922
19977
  try {
19923
19978
  fetchResult = await documentLoader(url.href);
@@ -20095,7 +20150,7 @@ var Application = class Application extends Object$1 {
20095
20150
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20096
20151
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20097
20152
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20098
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
20153
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
20099
20154
  let fetchResult;
20100
20155
  try {
20101
20156
  fetchResult = await documentLoader(url.href);
@@ -20334,7 +20389,7 @@ var Application = class Application extends Object$1 {
20334
20389
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20335
20390
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20336
20391
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20337
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
20392
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
20338
20393
  let fetchResult;
20339
20394
  try {
20340
20395
  fetchResult = await documentLoader(url.href);
@@ -21044,7 +21099,7 @@ var Application = class Application extends Object$1 {
21044
21099
  * @throws {TypeError} If the given `json` is invalid.
21045
21100
  */
21046
21101
  static async fromJsonLd(json, options = {}) {
21047
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
21102
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
21048
21103
  try {
21049
21104
  const object = await this.__fromJsonLd__Application__(json, span, options);
21050
21105
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21737,7 +21792,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
21737
21792
  * @throws {TypeError} If the given `json` is invalid.
21738
21793
  */
21739
21794
  static async fromJsonLd(json, options = {}) {
21740
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
21795
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
21741
21796
  try {
21742
21797
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
21743
21798
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21894,7 +21949,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
21894
21949
  * @throws {TypeError} If the given `json` is invalid.
21895
21950
  */
21896
21951
  static async fromJsonLd(json, options = {}) {
21897
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
21952
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
21898
21953
  try {
21899
21954
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
21900
21955
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22028,7 +22083,7 @@ var Article = class Article extends Object$1 {
22028
22083
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22029
22084
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22030
22085
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22031
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
22086
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
22032
22087
  let fetchResult;
22033
22088
  try {
22034
22089
  fetchResult = await documentLoader(url.href);
@@ -22178,7 +22233,7 @@ var Article = class Article extends Object$1 {
22178
22233
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22179
22234
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22180
22235
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22181
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
22236
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
22182
22237
  let fetchResult;
22183
22238
  try {
22184
22239
  fetchResult = await documentLoader(url.href);
@@ -22476,7 +22531,7 @@ var Article = class Article extends Object$1 {
22476
22531
  * @throws {TypeError} If the given `json` is invalid.
22477
22532
  */
22478
22533
  static async fromJsonLd(json, options = {}) {
22479
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
22534
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
22480
22535
  try {
22481
22536
  const object = await this.__fromJsonLd__Article__(json, span, options);
22482
22537
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22775,7 +22830,7 @@ var Document = class Document extends Object$1 {
22775
22830
  * @throws {TypeError} If the given `json` is invalid.
22776
22831
  */
22777
22832
  static async fromJsonLd(json, options = {}) {
22778
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
22833
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
22779
22834
  try {
22780
22835
  const object = await this.__fromJsonLd__Document__(json, span, options);
22781
22836
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22982,7 +23037,7 @@ var Audio = class Audio extends Document {
22982
23037
  * @throws {TypeError} If the given `json` is invalid.
22983
23038
  */
22984
23039
  static async fromJsonLd(json, options = {}) {
22985
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
23040
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
22986
23041
  try {
22987
23042
  const object = await this.__fromJsonLd__Audio__(json, span, options);
22988
23043
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23135,7 +23190,7 @@ var Ignore = class Ignore extends Activity {
23135
23190
  * @throws {TypeError} If the given `json` is invalid.
23136
23191
  */
23137
23192
  static async fromJsonLd(json, options = {}) {
23138
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
23193
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
23139
23194
  try {
23140
23195
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
23141
23196
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23291,7 +23346,7 @@ var Block = class Block extends Ignore {
23291
23346
  * @throws {TypeError} If the given `json` is invalid.
23292
23347
  */
23293
23348
  static async fromJsonLd(json, options = {}) {
23294
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
23349
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
23295
23350
  try {
23296
23351
  const object = await this.__fromJsonLd__Block__(json, span, options);
23297
23352
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23559,7 +23614,7 @@ var Collection = class Collection extends Object$1 {
23559
23614
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23560
23615
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23561
23616
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23562
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
23617
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
23563
23618
  let fetchResult;
23564
23619
  try {
23565
23620
  fetchResult = await documentLoader(url.href);
@@ -23692,7 +23747,7 @@ var Collection = class Collection extends Object$1 {
23692
23747
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23693
23748
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23694
23749
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23695
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
23750
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
23696
23751
  let fetchResult;
23697
23752
  try {
23698
23753
  fetchResult = await documentLoader(url.href);
@@ -23825,7 +23880,7 @@ var Collection = class Collection extends Object$1 {
23825
23880
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23826
23881
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23827
23882
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23828
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
23883
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
23829
23884
  let fetchResult;
23830
23885
  try {
23831
23886
  fetchResult = await documentLoader(url.href);
@@ -23958,7 +24013,7 @@ var Collection = class Collection extends Object$1 {
23958
24013
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23959
24014
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23960
24015
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23961
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24016
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
23962
24017
  let fetchResult;
23963
24018
  try {
23964
24019
  fetchResult = await documentLoader(url.href);
@@ -24102,7 +24157,7 @@ var Collection = class Collection extends Object$1 {
24102
24157
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24103
24158
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24104
24159
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24105
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24160
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24106
24161
  let fetchResult;
24107
24162
  try {
24108
24163
  fetchResult = await documentLoader(url.href);
@@ -24234,7 +24289,7 @@ var Collection = class Collection extends Object$1 {
24234
24289
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24235
24290
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24236
24291
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24237
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24292
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24238
24293
  let fetchResult;
24239
24294
  try {
24240
24295
  fetchResult = await documentLoader(url.href);
@@ -24366,7 +24421,7 @@ var Collection = class Collection extends Object$1 {
24366
24421
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24367
24422
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24368
24423
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24369
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24424
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24370
24425
  let fetchResult;
24371
24426
  try {
24372
24427
  fetchResult = await documentLoader(url.href);
@@ -24498,7 +24553,7 @@ var Collection = class Collection extends Object$1 {
24498
24553
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24499
24554
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24500
24555
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24501
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24556
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24502
24557
  let fetchResult;
24503
24558
  try {
24504
24559
  fetchResult = await documentLoader(url.href);
@@ -24630,7 +24685,7 @@ var Collection = class Collection extends Object$1 {
24630
24685
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24631
24686
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24632
24687
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24633
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24688
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24634
24689
  let fetchResult;
24635
24690
  try {
24636
24691
  fetchResult = await documentLoader(url.href);
@@ -24762,7 +24817,7 @@ var Collection = class Collection extends Object$1 {
24762
24817
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24763
24818
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24764
24819
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24765
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24820
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24766
24821
  let fetchResult;
24767
24822
  try {
24768
24823
  fetchResult = await documentLoader(url.href);
@@ -24894,7 +24949,7 @@ var Collection = class Collection extends Object$1 {
24894
24949
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24895
24950
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24896
24951
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24897
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24952
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24898
24953
  let fetchResult;
24899
24954
  try {
24900
24955
  fetchResult = await documentLoader(url.href);
@@ -25026,7 +25081,7 @@ var Collection = class Collection extends Object$1 {
25026
25081
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25027
25082
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25028
25083
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25029
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
25084
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
25030
25085
  let fetchResult;
25031
25086
  try {
25032
25087
  fetchResult = await documentLoader(url.href);
@@ -25487,7 +25542,7 @@ var Collection = class Collection extends Object$1 {
25487
25542
  * @throws {TypeError} If the given `json` is invalid.
25488
25543
  */
25489
25544
  static async fromJsonLd(json, options = {}) {
25490
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
25545
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
25491
25546
  try {
25492
25547
  const object = await this.__fromJsonLd__Collection__(json, span, options);
25493
25548
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26036,7 +26091,7 @@ var CollectionPage = class CollectionPage extends Collection {
26036
26091
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26037
26092
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26038
26093
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26039
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
26094
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
26040
26095
  let fetchResult;
26041
26096
  try {
26042
26097
  fetchResult = await documentLoader(url.href);
@@ -26169,7 +26224,7 @@ var CollectionPage = class CollectionPage extends Collection {
26169
26224
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26170
26225
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26171
26226
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26172
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
26227
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
26173
26228
  let fetchResult;
26174
26229
  try {
26175
26230
  fetchResult = await documentLoader(url.href);
@@ -26301,7 +26356,7 @@ var CollectionPage = class CollectionPage extends Collection {
26301
26356
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26302
26357
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26303
26358
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26304
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
26359
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
26305
26360
  let fetchResult;
26306
26361
  try {
26307
26362
  fetchResult = await documentLoader(url.href);
@@ -26599,7 +26654,7 @@ var CollectionPage = class CollectionPage extends Collection {
26599
26654
  * @throws {TypeError} If the given `json` is invalid.
26600
26655
  */
26601
26656
  static async fromJsonLd(json, options = {}) {
26602
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
26657
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
26603
26658
  try {
26604
26659
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
26605
26660
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26861,7 +26916,7 @@ var Create = class Create extends Activity {
26861
26916
  * @throws {TypeError} If the given `json` is invalid.
26862
26917
  */
26863
26918
  static async fromJsonLd(json, options = {}) {
26864
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
26919
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
26865
26920
  try {
26866
26921
  const object = await this.__fromJsonLd__Create__(json, span, options);
26867
26922
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27040,7 +27095,7 @@ var Delete = class Delete extends Activity {
27040
27095
  * @throws {TypeError} If the given `json` is invalid.
27041
27096
  */
27042
27097
  static async fromJsonLd(json, options = {}) {
27043
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
27098
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
27044
27099
  try {
27045
27100
  const object = await this.__fromJsonLd__Delete__(json, span, options);
27046
27101
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27196,7 +27251,7 @@ var Dislike = class Dislike extends Activity {
27196
27251
  * @throws {TypeError} If the given `json` is invalid.
27197
27252
  */
27198
27253
  static async fromJsonLd(json, options = {}) {
27199
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
27254
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
27200
27255
  try {
27201
27256
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
27202
27257
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27284,6 +27339,11 @@ var Endpoints = class {
27284
27339
  get _warning() {
27285
27340
  return this.#warning;
27286
27341
  }
27342
+ /**
27343
+ * Internal cross-package contract with @fedify/testing, which copies this
27344
+ * cache when attaching document loaders to an activity clone. Keep this
27345
+ * accessor name and its getter/setter semantics stable.
27346
+ */
27287
27347
  get _cachedJsonLd() {
27288
27348
  return this.#cachedJsonLd;
27289
27349
  }
@@ -27563,7 +27623,7 @@ var Endpoints = class {
27563
27623
  * @throws {TypeError} If the given `json` is invalid.
27564
27624
  */
27565
27625
  static async fromJsonLd(json, options = {}) {
27566
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
27626
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
27567
27627
  try {
27568
27628
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
27569
27629
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27837,7 +27897,7 @@ var Event = class Event extends Object$1 {
27837
27897
  * @throws {TypeError} If the given `json` is invalid.
27838
27898
  */
27839
27899
  static async fromJsonLd(json, options = {}) {
27840
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
27900
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
27841
27901
  try {
27842
27902
  const object = await this.__fromJsonLd__Event__(json, span, options);
27843
27903
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27991,7 +28051,7 @@ var Flag = class Flag extends Activity {
27991
28051
  * @throws {TypeError} If the given `json` is invalid.
27992
28052
  */
27993
28053
  static async fromJsonLd(json, options = {}) {
27994
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
28054
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
27995
28055
  try {
27996
28056
  const object = await this.__fromJsonLd__Flag__(json, span, options);
27997
28057
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28149,7 +28209,7 @@ var Follow = class Follow extends Activity {
28149
28209
  * @throws {TypeError} If the given `json` is invalid.
28150
28210
  */
28151
28211
  static async fromJsonLd(json, options = {}) {
28152
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
28212
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
28153
28213
  try {
28154
28214
  const object = await this.__fromJsonLd__Follow__(json, span, options);
28155
28215
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28548,7 +28608,7 @@ var Group = class Group extends Object$1 {
28548
28608
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28549
28609
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28550
28610
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28551
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
28611
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
28552
28612
  let fetchResult;
28553
28613
  try {
28554
28614
  fetchResult = await documentLoader(url.href);
@@ -28735,7 +28795,7 @@ var Group = class Group extends Object$1 {
28735
28795
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28736
28796
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28737
28797
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28738
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
28798
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
28739
28799
  let fetchResult;
28740
28800
  try {
28741
28801
  fetchResult = await documentLoader(url.href);
@@ -28940,7 +29000,7 @@ var Group = class Group extends Object$1 {
28940
29000
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28941
29001
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28942
29002
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28943
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29003
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
28944
29004
  let fetchResult;
28945
29005
  try {
28946
29006
  fetchResult = await documentLoader(url.href);
@@ -29094,7 +29154,7 @@ var Group = class Group extends Object$1 {
29094
29154
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29095
29155
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29096
29156
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29097
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29157
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29098
29158
  let fetchResult;
29099
29159
  try {
29100
29160
  fetchResult = await documentLoader(url.href);
@@ -29245,7 +29305,7 @@ var Group = class Group extends Object$1 {
29245
29305
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29246
29306
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29247
29307
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29248
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29308
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29249
29309
  let fetchResult;
29250
29310
  try {
29251
29311
  fetchResult = await documentLoader(url.href);
@@ -29381,7 +29441,7 @@ var Group = class Group extends Object$1 {
29381
29441
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29382
29442
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29383
29443
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29384
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29444
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29385
29445
  let fetchResult;
29386
29446
  try {
29387
29447
  fetchResult = await documentLoader(url.href);
@@ -29520,7 +29580,7 @@ var Group = class Group extends Object$1 {
29520
29580
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29521
29581
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29522
29582
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29523
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29583
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29524
29584
  let fetchResult;
29525
29585
  try {
29526
29586
  fetchResult = await documentLoader(url.href);
@@ -29657,7 +29717,7 @@ var Group = class Group extends Object$1 {
29657
29717
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29658
29718
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29659
29719
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29660
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29720
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29661
29721
  let fetchResult;
29662
29722
  try {
29663
29723
  fetchResult = await documentLoader(url.href);
@@ -29792,7 +29852,7 @@ var Group = class Group extends Object$1 {
29792
29852
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29793
29853
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29794
29854
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29795
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29855
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29796
29856
  let fetchResult;
29797
29857
  try {
29798
29858
  fetchResult = await documentLoader(url.href);
@@ -29927,7 +29987,7 @@ var Group = class Group extends Object$1 {
29927
29987
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29928
29988
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29929
29989
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29930
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29990
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29931
29991
  let fetchResult;
29932
29992
  try {
29933
29993
  fetchResult = await documentLoader(url.href);
@@ -30102,7 +30162,7 @@ var Group = class Group extends Object$1 {
30102
30162
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30103
30163
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30104
30164
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30105
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
30165
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
30106
30166
  let fetchResult;
30107
30167
  try {
30108
30168
  fetchResult = await documentLoader(url.href);
@@ -30280,7 +30340,7 @@ var Group = class Group extends Object$1 {
30280
30340
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30281
30341
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30282
30342
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30283
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
30343
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
30284
30344
  let fetchResult;
30285
30345
  try {
30286
30346
  fetchResult = await documentLoader(url.href);
@@ -30519,7 +30579,7 @@ var Group = class Group extends Object$1 {
30519
30579
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30520
30580
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30521
30581
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30522
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
30582
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
30523
30583
  let fetchResult;
30524
30584
  try {
30525
30585
  fetchResult = await documentLoader(url.href);
@@ -31229,7 +31289,7 @@ var Group = class Group extends Object$1 {
31229
31289
  * @throws {TypeError} If the given `json` is invalid.
31230
31290
  */
31231
31291
  static async fromJsonLd(json, options = {}) {
31232
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
31292
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
31233
31293
  try {
31234
31294
  const object = await this.__fromJsonLd__Group__(json, span, options);
31235
31295
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31863,6 +31923,11 @@ var Link = class Link {
31863
31923
  get _warning() {
31864
31924
  return this.#warning;
31865
31925
  }
31926
+ /**
31927
+ * Internal cross-package contract with @fedify/testing, which copies this
31928
+ * cache when attaching document loaders to an activity clone. Keep this
31929
+ * accessor name and its getter/setter semantics stable.
31930
+ */
31866
31931
  get _cachedJsonLd() {
31867
31932
  return this.#cachedJsonLd;
31868
31933
  }
@@ -32078,7 +32143,7 @@ var Link = class Link {
32078
32143
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32079
32144
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32080
32145
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32081
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
32146
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
32082
32147
  let fetchResult;
32083
32148
  try {
32084
32149
  fetchResult = await documentLoader(url.href);
@@ -32383,7 +32448,7 @@ var Link = class Link {
32383
32448
  * @throws {TypeError} If the given `json` is invalid.
32384
32449
  */
32385
32450
  static async fromJsonLd(json, options = {}) {
32386
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
32451
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
32387
32452
  try {
32388
32453
  const object = await this.__fromJsonLd__Link__(json, span, options);
32389
32454
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32769,7 +32834,7 @@ var Hashtag = class Hashtag extends Link {
32769
32834
  * @throws {TypeError} If the given `json` is invalid.
32770
32835
  */
32771
32836
  static async fromJsonLd(json, options = {}) {
32772
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
32837
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
32773
32838
  try {
32774
32839
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
32775
32840
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32935,7 +33000,7 @@ var Image = class Image extends Document {
32935
33000
  * @throws {TypeError} If the given `json` is invalid.
32936
33001
  */
32937
33002
  static async fromJsonLd(json, options = {}) {
32938
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33003
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
32939
33004
  try {
32940
33005
  const object = await this.__fromJsonLd__Image__(json, span, options);
32941
33006
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33089,7 +33154,7 @@ var Offer = class Offer extends Activity {
33089
33154
  * @throws {TypeError} If the given `json` is invalid.
33090
33155
  */
33091
33156
  static async fromJsonLd(json, options = {}) {
33092
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33157
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33093
33158
  try {
33094
33159
  const object = await this.__fromJsonLd__Offer__(json, span, options);
33095
33160
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33243,7 +33308,7 @@ var Invite = class Invite extends Offer {
33243
33308
  * @throws {TypeError} If the given `json` is invalid.
33244
33309
  */
33245
33310
  static async fromJsonLd(json, options = {}) {
33246
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33311
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33247
33312
  try {
33248
33313
  const object = await this.__fromJsonLd__Invite__(json, span, options);
33249
33314
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33396,7 +33461,7 @@ var Join = class Join extends Activity {
33396
33461
  * @throws {TypeError} If the given `json` is invalid.
33397
33462
  */
33398
33463
  static async fromJsonLd(json, options = {}) {
33399
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33464
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33400
33465
  try {
33401
33466
  const object = await this.__fromJsonLd__Join__(json, span, options);
33402
33467
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33549,7 +33614,7 @@ var Leave = class Leave extends Activity {
33549
33614
  * @throws {TypeError} If the given `json` is invalid.
33550
33615
  */
33551
33616
  static async fromJsonLd(json, options = {}) {
33552
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33617
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33553
33618
  try {
33554
33619
  const object = await this.__fromJsonLd__Leave__(json, span, options);
33555
33620
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33706,7 +33771,7 @@ var Like = class Like extends Activity {
33706
33771
  * @throws {TypeError} If the given `json` is invalid.
33707
33772
  */
33708
33773
  static async fromJsonLd(json, options = {}) {
33709
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33774
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33710
33775
  try {
33711
33776
  const object = await this.__fromJsonLd__Like__(json, span, options);
33712
33777
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33858,7 +33923,7 @@ var Listen = class Listen extends Activity {
33858
33923
  * @throws {TypeError} If the given `json` is invalid.
33859
33924
  */
33860
33925
  static async fromJsonLd(json, options = {}) {
33861
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33926
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33862
33927
  try {
33863
33928
  const object = await this.__fromJsonLd__Listen__(json, span, options);
33864
33929
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34013,7 +34078,7 @@ var Mention = class Mention extends Link {
34013
34078
  * @throws {TypeError} If the given `json` is invalid.
34014
34079
  */
34015
34080
  static async fromJsonLd(json, options = {}) {
34016
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
34081
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
34017
34082
  try {
34018
34083
  const object = await this.__fromJsonLd__Mention__(json, span, options);
34019
34084
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34167,7 +34232,7 @@ var Move = class Move extends Activity {
34167
34232
  * @throws {TypeError} If the given `json` is invalid.
34168
34233
  */
34169
34234
  static async fromJsonLd(json, options = {}) {
34170
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
34235
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
34171
34236
  try {
34172
34237
  const object = await this.__fromJsonLd__Move__(json, span, options);
34173
34238
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34302,7 +34367,7 @@ var Note = class Note extends Object$1 {
34302
34367
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34303
34368
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34304
34369
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34305
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
34370
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
34306
34371
  let fetchResult;
34307
34372
  try {
34308
34373
  fetchResult = await documentLoader(url.href);
@@ -34452,7 +34517,7 @@ var Note = class Note extends Object$1 {
34452
34517
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34453
34518
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34454
34519
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34455
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
34520
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
34456
34521
  let fetchResult;
34457
34522
  try {
34458
34523
  fetchResult = await documentLoader(url.href);
@@ -34750,7 +34815,7 @@ var Note = class Note extends Object$1 {
34750
34815
  * @throws {TypeError} If the given `json` is invalid.
34751
34816
  */
34752
34817
  static async fromJsonLd(json, options = {}) {
34753
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
34818
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
34754
34819
  try {
34755
34820
  const object = await this.__fromJsonLd__Note__(json, span, options);
34756
34821
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34941,7 +35006,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
34941
35006
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34942
35007
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34943
35008
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34944
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
35009
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
34945
35010
  let fetchResult;
34946
35011
  try {
34947
35012
  fetchResult = await documentLoader(url.href);
@@ -35224,7 +35289,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
35224
35289
  * @throws {TypeError} If the given `json` is invalid.
35225
35290
  */
35226
35291
  static async fromJsonLd(json, options = {}) {
35227
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
35292
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
35228
35293
  try {
35229
35294
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
35230
35295
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35449,7 +35514,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
35449
35514
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35450
35515
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35451
35516
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35452
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
35517
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
35453
35518
  let fetchResult;
35454
35519
  try {
35455
35520
  fetchResult = await documentLoader(url.href);
@@ -35755,7 +35820,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
35755
35820
  * @throws {TypeError} If the given `json` is invalid.
35756
35821
  */
35757
35822
  static async fromJsonLd(json, options = {}) {
35758
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
35823
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
35759
35824
  try {
35760
35825
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
35761
35826
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -36272,7 +36337,7 @@ var Organization = class Organization extends Object$1 {
36272
36337
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36273
36338
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36274
36339
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36275
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
36340
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36276
36341
  let fetchResult;
36277
36342
  try {
36278
36343
  fetchResult = await documentLoader(url.href);
@@ -36459,7 +36524,7 @@ var Organization = class Organization extends Object$1 {
36459
36524
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36460
36525
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36461
36526
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36462
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
36527
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36463
36528
  let fetchResult;
36464
36529
  try {
36465
36530
  fetchResult = await documentLoader(url.href);
@@ -36664,7 +36729,7 @@ var Organization = class Organization extends Object$1 {
36664
36729
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36665
36730
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36666
36731
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36667
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
36732
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36668
36733
  let fetchResult;
36669
36734
  try {
36670
36735
  fetchResult = await documentLoader(url.href);
@@ -36818,7 +36883,7 @@ var Organization = class Organization extends Object$1 {
36818
36883
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36819
36884
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36820
36885
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36821
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
36886
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36822
36887
  let fetchResult;
36823
36888
  try {
36824
36889
  fetchResult = await documentLoader(url.href);
@@ -36969,7 +37034,7 @@ var Organization = class Organization extends Object$1 {
36969
37034
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36970
37035
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36971
37036
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36972
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37037
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36973
37038
  let fetchResult;
36974
37039
  try {
36975
37040
  fetchResult = await documentLoader(url.href);
@@ -37105,7 +37170,7 @@ var Organization = class Organization extends Object$1 {
37105
37170
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37106
37171
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37107
37172
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37108
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37173
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37109
37174
  let fetchResult;
37110
37175
  try {
37111
37176
  fetchResult = await documentLoader(url.href);
@@ -37244,7 +37309,7 @@ var Organization = class Organization extends Object$1 {
37244
37309
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37245
37310
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37246
37311
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37247
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37312
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37248
37313
  let fetchResult;
37249
37314
  try {
37250
37315
  fetchResult = await documentLoader(url.href);
@@ -37381,7 +37446,7 @@ var Organization = class Organization extends Object$1 {
37381
37446
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37382
37447
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37383
37448
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37384
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37449
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37385
37450
  let fetchResult;
37386
37451
  try {
37387
37452
  fetchResult = await documentLoader(url.href);
@@ -37516,7 +37581,7 @@ var Organization = class Organization extends Object$1 {
37516
37581
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37517
37582
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37518
37583
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37519
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37584
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37520
37585
  let fetchResult;
37521
37586
  try {
37522
37587
  fetchResult = await documentLoader(url.href);
@@ -37651,7 +37716,7 @@ var Organization = class Organization extends Object$1 {
37651
37716
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37652
37717
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37653
37718
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37654
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37719
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37655
37720
  let fetchResult;
37656
37721
  try {
37657
37722
  fetchResult = await documentLoader(url.href);
@@ -37826,7 +37891,7 @@ var Organization = class Organization extends Object$1 {
37826
37891
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37827
37892
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37828
37893
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37829
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37894
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37830
37895
  let fetchResult;
37831
37896
  try {
37832
37897
  fetchResult = await documentLoader(url.href);
@@ -38004,7 +38069,7 @@ var Organization = class Organization extends Object$1 {
38004
38069
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38005
38070
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38006
38071
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38007
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
38072
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
38008
38073
  let fetchResult;
38009
38074
  try {
38010
38075
  fetchResult = await documentLoader(url.href);
@@ -38243,7 +38308,7 @@ var Organization = class Organization extends Object$1 {
38243
38308
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38244
38309
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38245
38310
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38246
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
38311
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
38247
38312
  let fetchResult;
38248
38313
  try {
38249
38314
  fetchResult = await documentLoader(url.href);
@@ -38953,7 +39018,7 @@ var Organization = class Organization extends Object$1 {
38953
39018
  * @throws {TypeError} If the given `json` is invalid.
38954
39019
  */
38955
39020
  static async fromJsonLd(json, options = {}) {
38956
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
39021
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
38957
39022
  try {
38958
39023
  const object = await this.__fromJsonLd__Organization__(json, span, options);
38959
39024
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39658,7 +39723,7 @@ var Page = class Page extends Document {
39658
39723
  * @throws {TypeError} If the given `json` is invalid.
39659
39724
  */
39660
39725
  static async fromJsonLd(json, options = {}) {
39661
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
39726
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
39662
39727
  try {
39663
39728
  const object = await this.__fromJsonLd__Page__(json, span, options);
39664
39729
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40057,7 +40122,7 @@ var Person = class Person extends Object$1 {
40057
40122
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40058
40123
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40059
40124
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40060
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40125
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40061
40126
  let fetchResult;
40062
40127
  try {
40063
40128
  fetchResult = await documentLoader(url.href);
@@ -40244,7 +40309,7 @@ var Person = class Person extends Object$1 {
40244
40309
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40245
40310
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40246
40311
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40247
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40312
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40248
40313
  let fetchResult;
40249
40314
  try {
40250
40315
  fetchResult = await documentLoader(url.href);
@@ -40449,7 +40514,7 @@ var Person = class Person extends Object$1 {
40449
40514
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40450
40515
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40451
40516
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40452
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40517
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40453
40518
  let fetchResult;
40454
40519
  try {
40455
40520
  fetchResult = await documentLoader(url.href);
@@ -40603,7 +40668,7 @@ var Person = class Person extends Object$1 {
40603
40668
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40604
40669
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40605
40670
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40606
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40671
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40607
40672
  let fetchResult;
40608
40673
  try {
40609
40674
  fetchResult = await documentLoader(url.href);
@@ -40754,7 +40819,7 @@ var Person = class Person extends Object$1 {
40754
40819
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40755
40820
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40756
40821
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40757
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40822
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40758
40823
  let fetchResult;
40759
40824
  try {
40760
40825
  fetchResult = await documentLoader(url.href);
@@ -40890,7 +40955,7 @@ var Person = class Person extends Object$1 {
40890
40955
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40891
40956
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40892
40957
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40893
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40958
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40894
40959
  let fetchResult;
40895
40960
  try {
40896
40961
  fetchResult = await documentLoader(url.href);
@@ -41029,7 +41094,7 @@ var Person = class Person extends Object$1 {
41029
41094
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41030
41095
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41031
41096
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41032
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41097
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41033
41098
  let fetchResult;
41034
41099
  try {
41035
41100
  fetchResult = await documentLoader(url.href);
@@ -41166,7 +41231,7 @@ var Person = class Person extends Object$1 {
41166
41231
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41167
41232
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41168
41233
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41169
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41234
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41170
41235
  let fetchResult;
41171
41236
  try {
41172
41237
  fetchResult = await documentLoader(url.href);
@@ -41301,7 +41366,7 @@ var Person = class Person extends Object$1 {
41301
41366
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41302
41367
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41303
41368
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41304
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41369
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41305
41370
  let fetchResult;
41306
41371
  try {
41307
41372
  fetchResult = await documentLoader(url.href);
@@ -41436,7 +41501,7 @@ var Person = class Person extends Object$1 {
41436
41501
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41437
41502
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41438
41503
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41439
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41504
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41440
41505
  let fetchResult;
41441
41506
  try {
41442
41507
  fetchResult = await documentLoader(url.href);
@@ -41611,7 +41676,7 @@ var Person = class Person extends Object$1 {
41611
41676
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41612
41677
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41613
41678
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41614
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41679
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41615
41680
  let fetchResult;
41616
41681
  try {
41617
41682
  fetchResult = await documentLoader(url.href);
@@ -41789,7 +41854,7 @@ var Person = class Person extends Object$1 {
41789
41854
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41790
41855
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41791
41856
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41792
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41857
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41793
41858
  let fetchResult;
41794
41859
  try {
41795
41860
  fetchResult = await documentLoader(url.href);
@@ -42028,7 +42093,7 @@ var Person = class Person extends Object$1 {
42028
42093
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42029
42094
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42030
42095
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42031
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
42096
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
42032
42097
  let fetchResult;
42033
42098
  try {
42034
42099
  fetchResult = await documentLoader(url.href);
@@ -42738,7 +42803,7 @@ var Person = class Person extends Object$1 {
42738
42803
  * @throws {TypeError} If the given `json` is invalid.
42739
42804
  */
42740
42805
  static async fromJsonLd(json, options = {}) {
42741
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
42806
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
42742
42807
  try {
42743
42808
  const object = await this.__fromJsonLd__Person__(json, span, options);
42744
42809
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43620,7 +43685,7 @@ var Place = class Place extends Object$1 {
43620
43685
  * @throws {TypeError} If the given `json` is invalid.
43621
43686
  */
43622
43687
  static async fromJsonLd(json, options = {}) {
43623
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
43688
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
43624
43689
  try {
43625
43690
  const object = await this.__fromJsonLd__Place__(json, span, options);
43626
43691
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43849,7 +43914,7 @@ var Profile = class Profile extends Object$1 {
43849
43914
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43850
43915
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43851
43916
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43852
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
43917
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
43853
43918
  let fetchResult;
43854
43919
  try {
43855
43920
  fetchResult = await documentLoader(url.href);
@@ -44062,7 +44127,7 @@ var Profile = class Profile extends Object$1 {
44062
44127
  * @throws {TypeError} If the given `json` is invalid.
44063
44128
  */
44064
44129
  static async fromJsonLd(json, options = {}) {
44065
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
44130
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
44066
44131
  try {
44067
44132
  const object = await this.__fromJsonLd__Profile__(json, span, options);
44068
44133
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44268,7 +44333,7 @@ var Question = class Question extends IntransitiveActivity {
44268
44333
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44269
44334
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44270
44335
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44271
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
44336
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
44272
44337
  let fetchResult;
44273
44338
  try {
44274
44339
  fetchResult = await documentLoader(url.href);
@@ -44403,7 +44468,7 @@ var Question = class Question extends IntransitiveActivity {
44403
44468
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44404
44469
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44405
44470
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44406
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
44471
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
44407
44472
  let fetchResult;
44408
44473
  try {
44409
44474
  fetchResult = await documentLoader(url.href);
@@ -44554,7 +44619,7 @@ var Question = class Question extends IntransitiveActivity {
44554
44619
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44555
44620
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44556
44621
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44557
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
44622
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
44558
44623
  let fetchResult;
44559
44624
  try {
44560
44625
  fetchResult = await documentLoader(url.href);
@@ -44704,7 +44769,7 @@ var Question = class Question extends IntransitiveActivity {
44704
44769
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44705
44770
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44706
44771
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44707
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
44772
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
44708
44773
  let fetchResult;
44709
44774
  try {
44710
44775
  fetchResult = await documentLoader(url.href);
@@ -44968,7 +45033,7 @@ var Question = class Question extends IntransitiveActivity {
44968
45033
  * @throws {TypeError} If the given `json` is invalid.
44969
45034
  */
44970
45035
  static async fromJsonLd(json, options = {}) {
44971
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
45036
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
44972
45037
  try {
44973
45038
  const object = await this.__fromJsonLd__Question__(json, span, options);
44974
45039
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45281,7 +45346,7 @@ var Read = class Read extends Activity {
45281
45346
  * @throws {TypeError} If the given `json` is invalid.
45282
45347
  */
45283
45348
  static async fromJsonLd(json, options = {}) {
45284
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
45349
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
45285
45350
  try {
45286
45351
  const object = await this.__fromJsonLd__Read__(json, span, options);
45287
45352
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45434,7 +45499,7 @@ var Reject = class Reject extends Activity {
45434
45499
  * @throws {TypeError} If the given `json` is invalid.
45435
45500
  */
45436
45501
  static async fromJsonLd(json, options = {}) {
45437
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
45502
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
45438
45503
  try {
45439
45504
  const object = await this.__fromJsonLd__Reject__(json, span, options);
45440
45505
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45611,7 +45676,7 @@ var Relationship = class Relationship extends Object$1 {
45611
45676
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45612
45677
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45613
45678
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45614
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
45679
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
45615
45680
  let fetchResult;
45616
45681
  try {
45617
45682
  fetchResult = await documentLoader(url.href);
@@ -45746,7 +45811,7 @@ var Relationship = class Relationship extends Object$1 {
45746
45811
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45747
45812
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45748
45813
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45749
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
45814
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
45750
45815
  let fetchResult;
45751
45816
  try {
45752
45817
  fetchResult = await documentLoader(url.href);
@@ -45933,7 +45998,7 @@ var Relationship = class Relationship extends Object$1 {
45933
45998
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45934
45999
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45935
46000
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45936
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
46001
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
45937
46002
  let fetchResult;
45938
46003
  try {
45939
46004
  fetchResult = await documentLoader(url.href);
@@ -46236,7 +46301,7 @@ var Relationship = class Relationship extends Object$1 {
46236
46301
  * @throws {TypeError} If the given `json` is invalid.
46237
46302
  */
46238
46303
  static async fromJsonLd(json, options = {}) {
46239
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
46304
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
46240
46305
  try {
46241
46306
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
46242
46307
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46470,7 +46535,7 @@ var Remove = class Remove extends Activity {
46470
46535
  * @throws {TypeError} If the given `json` is invalid.
46471
46536
  */
46472
46537
  static async fromJsonLd(json, options = {}) {
46473
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
46538
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
46474
46539
  try {
46475
46540
  const object = await this.__fromJsonLd__Remove__(json, span, options);
46476
46541
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46869,7 +46934,7 @@ var Service = class Service extends Object$1 {
46869
46934
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46870
46935
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46871
46936
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46872
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
46937
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
46873
46938
  let fetchResult;
46874
46939
  try {
46875
46940
  fetchResult = await documentLoader(url.href);
@@ -47056,7 +47121,7 @@ var Service = class Service extends Object$1 {
47056
47121
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
47057
47122
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
47058
47123
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
47059
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47124
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47060
47125
  let fetchResult;
47061
47126
  try {
47062
47127
  fetchResult = await documentLoader(url.href);
@@ -47261,7 +47326,7 @@ var Service = class Service extends Object$1 {
47261
47326
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
47262
47327
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
47263
47328
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
47264
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47329
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47265
47330
  let fetchResult;
47266
47331
  try {
47267
47332
  fetchResult = await documentLoader(url.href);
@@ -47415,7 +47480,7 @@ var Service = class Service extends Object$1 {
47415
47480
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
47416
47481
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
47417
47482
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
47418
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47483
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47419
47484
  let fetchResult;
47420
47485
  try {
47421
47486
  fetchResult = await documentLoader(url.href);
@@ -47566,7 +47631,7 @@ var Service = class Service extends Object$1 {
47566
47631
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
47567
47632
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
47568
47633
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
47569
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47634
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47570
47635
  let fetchResult;
47571
47636
  try {
47572
47637
  fetchResult = await documentLoader(url.href);
@@ -47702,7 +47767,7 @@ var Service = class Service extends Object$1 {
47702
47767
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
47703
47768
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
47704
47769
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
47705
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47770
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47706
47771
  let fetchResult;
47707
47772
  try {
47708
47773
  fetchResult = await documentLoader(url.href);
@@ -47841,7 +47906,7 @@ var Service = class Service extends Object$1 {
47841
47906
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
47842
47907
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
47843
47908
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
47844
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47909
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47845
47910
  let fetchResult;
47846
47911
  try {
47847
47912
  fetchResult = await documentLoader(url.href);
@@ -47978,7 +48043,7 @@ var Service = class Service extends Object$1 {
47978
48043
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
47979
48044
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
47980
48045
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
47981
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48046
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47982
48047
  let fetchResult;
47983
48048
  try {
47984
48049
  fetchResult = await documentLoader(url.href);
@@ -48113,7 +48178,7 @@ var Service = class Service extends Object$1 {
48113
48178
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
48114
48179
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
48115
48180
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
48116
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48181
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48117
48182
  let fetchResult;
48118
48183
  try {
48119
48184
  fetchResult = await documentLoader(url.href);
@@ -48248,7 +48313,7 @@ var Service = class Service extends Object$1 {
48248
48313
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
48249
48314
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
48250
48315
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
48251
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48316
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48252
48317
  let fetchResult;
48253
48318
  try {
48254
48319
  fetchResult = await documentLoader(url.href);
@@ -48423,7 +48488,7 @@ var Service = class Service extends Object$1 {
48423
48488
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
48424
48489
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
48425
48490
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
48426
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48491
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48427
48492
  let fetchResult;
48428
48493
  try {
48429
48494
  fetchResult = await documentLoader(url.href);
@@ -48601,7 +48666,7 @@ var Service = class Service extends Object$1 {
48601
48666
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
48602
48667
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
48603
48668
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
48604
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48669
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48605
48670
  let fetchResult;
48606
48671
  try {
48607
48672
  fetchResult = await documentLoader(url.href);
@@ -48840,7 +48905,7 @@ var Service = class Service extends Object$1 {
48840
48905
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
48841
48906
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
48842
48907
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
48843
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48908
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48844
48909
  let fetchResult;
48845
48910
  try {
48846
48911
  fetchResult = await documentLoader(url.href);
@@ -49550,7 +49615,7 @@ var Service = class Service extends Object$1 {
49550
49615
  * @throws {TypeError} If the given `json` is invalid.
49551
49616
  */
49552
49617
  static async fromJsonLd(json, options = {}) {
49553
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
49618
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
49554
49619
  try {
49555
49620
  const object = await this.__fromJsonLd__Service__(json, span, options);
49556
49621
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50177,6 +50242,11 @@ var Source = class {
50177
50242
  get _warning() {
50178
50243
  return this.#warning;
50179
50244
  }
50245
+ /**
50246
+ * Internal cross-package contract with @fedify/testing, which copies this
50247
+ * cache when attaching document loaders to an activity clone. Keep this
50248
+ * accessor name and its getter/setter semantics stable.
50249
+ */
50180
50250
  get _cachedJsonLd() {
50181
50251
  return this.#cachedJsonLd;
50182
50252
  }
@@ -50355,7 +50425,7 @@ var Source = class {
50355
50425
  * @throws {TypeError} If the given `json` is invalid.
50356
50426
  */
50357
50427
  static async fromJsonLd(json, options = {}) {
50358
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
50428
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
50359
50429
  try {
50360
50430
  const object = await this.__fromJsonLd__Source__(json, span, options);
50361
50431
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50545,7 +50615,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
50545
50615
  * @throws {TypeError} If the given `json` is invalid.
50546
50616
  */
50547
50617
  static async fromJsonLd(json, options = {}) {
50548
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
50618
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
50549
50619
  try {
50550
50620
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
50551
50621
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50698,7 +50768,7 @@ var TentativeReject = class TentativeReject extends Reject {
50698
50768
  * @throws {TypeError} If the given `json` is invalid.
50699
50769
  */
50700
50770
  static async fromJsonLd(json, options = {}) {
50701
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
50771
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
50702
50772
  try {
50703
50773
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
50704
50774
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50940,7 +51010,7 @@ var Tombstone = class Tombstone extends Object$1 {
50940
51010
  * @throws {TypeError} If the given `json` is invalid.
50941
51011
  */
50942
51012
  static async fromJsonLd(json, options = {}) {
50943
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51013
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
50944
51014
  try {
50945
51015
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
50946
51016
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51138,7 +51208,7 @@ var Travel = class Travel extends IntransitiveActivity {
51138
51208
  * @throws {TypeError} If the given `json` is invalid.
51139
51209
  */
51140
51210
  static async fromJsonLd(json, options = {}) {
51141
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51211
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51142
51212
  try {
51143
51213
  const object = await this.__fromJsonLd__Travel__(json, span, options);
51144
51214
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51305,7 +51375,7 @@ var Undo = class Undo extends Activity {
51305
51375
  * @throws {TypeError} If the given `json` is invalid.
51306
51376
  */
51307
51377
  static async fromJsonLd(json, options = {}) {
51308
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51378
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51309
51379
  try {
51310
51380
  const object = await this.__fromJsonLd__Undo__(json, span, options);
51311
51381
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51520,7 +51590,7 @@ var Update = class Update extends Activity {
51520
51590
  * @throws {TypeError} If the given `json` is invalid.
51521
51591
  */
51522
51592
  static async fromJsonLd(json, options = {}) {
51523
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51593
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51524
51594
  try {
51525
51595
  const object = await this.__fromJsonLd__Update__(json, span, options);
51526
51596
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51686,7 +51756,7 @@ var Video = class Video extends Document {
51686
51756
  * @throws {TypeError} If the given `json` is invalid.
51687
51757
  */
51688
51758
  static async fromJsonLd(json, options = {}) {
51689
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51759
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51690
51760
  try {
51691
51761
  const object = await this.__fromJsonLd__Video__(json, span, options);
51692
51762
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51838,7 +51908,7 @@ var View = class View extends Activity {
51838
51908
  * @throws {TypeError} If the given `json` is invalid.
51839
51909
  */
51840
51910
  static async fromJsonLd(json, options = {}) {
51841
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51911
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51842
51912
  try {
51843
51913
  const object = await this.__fromJsonLd__View__(json, span, options);
51844
51914
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);