@fedify/vocab 2.1.30 → 2.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mod.js CHANGED
@@ -9,7 +9,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
9
9
  import { delay } from "es-toolkit";
10
10
  //#region deno.json
11
11
  var name = "@fedify/vocab";
12
- var version = "2.1.30";
12
+ var version = "2.1.31";
13
13
  //#endregion
14
14
  //#region src/type.ts
15
15
  function getTypeId(object) {
@@ -59,6 +59,11 @@ var Object$1 = class Object$1 {
59
59
  get _warning() {
60
60
  return this.#warning;
61
61
  }
62
+ /**
63
+ * Internal cross-package contract with @fedify/testing, which copies this
64
+ * cache when attaching document loaders to an activity clone. Keep this
65
+ * accessor name and its getter/setter semantics stable.
66
+ */
62
67
  get _cachedJsonLd() {
63
68
  return this.#cachedJsonLd;
64
69
  }
@@ -701,7 +706,7 @@ var Object$1 = class Object$1 {
701
706
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
702
707
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
703
708
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
704
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
709
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
705
710
  let fetchResult;
706
711
  try {
707
712
  fetchResult = await documentLoader(url.href);
@@ -857,7 +862,7 @@ var Object$1 = class Object$1 {
857
862
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
858
863
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
859
864
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
860
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
865
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
861
866
  let fetchResult;
862
867
  try {
863
868
  fetchResult = await documentLoader(url.href);
@@ -1088,7 +1093,7 @@ var Object$1 = class Object$1 {
1088
1093
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1089
1094
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1090
1095
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1091
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1096
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
1092
1097
  let fetchResult;
1093
1098
  try {
1094
1099
  fetchResult = await documentLoader(url.href);
@@ -1291,7 +1296,7 @@ var Object$1 = class Object$1 {
1291
1296
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1292
1297
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1293
1298
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1294
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1299
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
1295
1300
  let fetchResult;
1296
1301
  try {
1297
1302
  fetchResult = await documentLoader(url.href);
@@ -1463,7 +1468,7 @@ var Object$1 = class Object$1 {
1463
1468
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1464
1469
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1465
1470
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1466
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1471
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
1467
1472
  let fetchResult;
1468
1473
  try {
1469
1474
  fetchResult = await documentLoader(url.href);
@@ -1603,7 +1608,7 @@ var Object$1 = class Object$1 {
1603
1608
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1604
1609
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1605
1610
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1606
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1611
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
1607
1612
  let fetchResult;
1608
1613
  try {
1609
1614
  fetchResult = await documentLoader(url.href);
@@ -1788,7 +1793,7 @@ var Object$1 = class Object$1 {
1788
1793
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1789
1794
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1790
1795
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1791
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1796
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
1792
1797
  let fetchResult;
1793
1798
  try {
1794
1799
  fetchResult = await documentLoader(url.href);
@@ -1973,7 +1978,7 @@ var Object$1 = class Object$1 {
1973
1978
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1974
1979
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1975
1980
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1976
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
1981
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
1977
1982
  let fetchResult;
1978
1983
  try {
1979
1984
  fetchResult = await documentLoader(url.href);
@@ -2166,7 +2171,7 @@ var Object$1 = class Object$1 {
2166
2171
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2167
2172
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2168
2173
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2169
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2174
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
2170
2175
  let fetchResult;
2171
2176
  try {
2172
2177
  fetchResult = await documentLoader(url.href);
@@ -2359,7 +2364,7 @@ var Object$1 = class Object$1 {
2359
2364
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2360
2365
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2361
2366
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2362
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2367
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
2363
2368
  let fetchResult;
2364
2369
  try {
2365
2370
  fetchResult = await documentLoader(url.href);
@@ -2557,7 +2562,7 @@ var Object$1 = class Object$1 {
2557
2562
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2558
2563
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2559
2564
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2560
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2565
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
2561
2566
  let fetchResult;
2562
2567
  try {
2563
2568
  fetchResult = await documentLoader(url.href);
@@ -2687,7 +2692,7 @@ var Object$1 = class Object$1 {
2687
2692
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2688
2693
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2689
2694
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2690
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2695
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
2691
2696
  let fetchResult;
2692
2697
  try {
2693
2698
  fetchResult = await documentLoader(url.href);
@@ -2823,7 +2828,7 @@ var Object$1 = class Object$1 {
2823
2828
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2824
2829
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2825
2830
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2826
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2831
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
2827
2832
  let fetchResult;
2828
2833
  try {
2829
2834
  fetchResult = await documentLoader(url.href);
@@ -2959,7 +2964,7 @@ var Object$1 = class Object$1 {
2959
2964
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2960
2965
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2961
2966
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2962
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
2967
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
2963
2968
  let fetchResult;
2964
2969
  try {
2965
2970
  fetchResult = await documentLoader(url.href);
@@ -3113,7 +3118,7 @@ var Object$1 = class Object$1 {
3113
3118
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3114
3119
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3115
3120
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3116
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3121
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
3117
3122
  let fetchResult;
3118
3123
  try {
3119
3124
  fetchResult = await documentLoader(url.href);
@@ -3275,7 +3280,7 @@ var Object$1 = class Object$1 {
3275
3280
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3276
3281
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3277
3282
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3278
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3283
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
3279
3284
  let fetchResult;
3280
3285
  try {
3281
3286
  fetchResult = await documentLoader(url.href);
@@ -3458,7 +3463,7 @@ var Object$1 = class Object$1 {
3458
3463
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3459
3464
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3460
3465
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3461
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3466
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
3462
3467
  let fetchResult;
3463
3468
  try {
3464
3469
  fetchResult = await documentLoader(url.href);
@@ -3641,7 +3646,7 @@ var Object$1 = class Object$1 {
3641
3646
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3642
3647
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3643
3648
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3644
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3649
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
3645
3650
  let fetchResult;
3646
3651
  try {
3647
3652
  fetchResult = await documentLoader(url.href);
@@ -3824,7 +3829,7 @@ var Object$1 = class Object$1 {
3824
3829
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3825
3830
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3826
3831
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3827
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
3832
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
3828
3833
  let fetchResult;
3829
3834
  try {
3830
3835
  fetchResult = await documentLoader(url.href);
@@ -4044,7 +4049,7 @@ var Object$1 = class Object$1 {
4044
4049
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4045
4050
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4046
4051
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4047
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
4052
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
4048
4053
  let fetchResult;
4049
4054
  try {
4050
4055
  fetchResult = await documentLoader(url.href);
@@ -4250,7 +4255,7 @@ var Object$1 = class Object$1 {
4250
4255
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4251
4256
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4252
4257
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4253
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
4258
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
4254
4259
  let fetchResult;
4255
4260
  try {
4256
4261
  fetchResult = await documentLoader(url.href);
@@ -4380,7 +4385,7 @@ var Object$1 = class Object$1 {
4380
4385
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4381
4386
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4382
4387
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4383
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
4388
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
4384
4389
  let fetchResult;
4385
4390
  try {
4386
4391
  fetchResult = await documentLoader(url.href);
@@ -4510,7 +4515,7 @@ var Object$1 = class Object$1 {
4510
4515
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4511
4516
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4512
4517
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4513
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
4518
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
4514
4519
  let fetchResult;
4515
4520
  try {
4516
4521
  fetchResult = await documentLoader(url.href);
@@ -5346,7 +5351,7 @@ var Object$1 = class Object$1 {
5346
5351
  * @throws {TypeError} If the given `json` is invalid.
5347
5352
  */
5348
5353
  static async fromJsonLd(json, options = {}) {
5349
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
5354
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
5350
5355
  try {
5351
5356
  const object = await this.__fromJsonLd__Object__(json, span, options);
5352
5357
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6823,7 +6828,7 @@ var Emoji = class Emoji extends Object$1 {
6823
6828
  * @throws {TypeError} If the given `json` is invalid.
6824
6829
  */
6825
6830
  static async fromJsonLd(json, options = {}) {
6826
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
6831
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
6827
6832
  try {
6828
6833
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
6829
6834
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7065,7 +7070,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7065
7070
  * @throws {TypeError} If the given `json` is invalid.
7066
7071
  */
7067
7072
  static async fromJsonLd(json, options = {}) {
7068
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
7073
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
7069
7074
  try {
7070
7075
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
7071
7076
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7355,7 +7360,7 @@ var Activity = class Activity extends Object$1 {
7355
7360
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7356
7361
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7357
7362
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7358
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
7363
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
7359
7364
  let fetchResult;
7360
7365
  try {
7361
7366
  fetchResult = await documentLoader(url.href);
@@ -7586,7 +7591,7 @@ var Activity = class Activity extends Object$1 {
7586
7591
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7587
7592
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7588
7593
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7589
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
7594
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
7590
7595
  let fetchResult;
7591
7596
  try {
7592
7597
  fetchResult = await documentLoader(url.href);
@@ -7771,7 +7776,7 @@ var Activity = class Activity extends Object$1 {
7771
7776
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7772
7777
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7773
7778
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7774
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
7779
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
7775
7780
  let fetchResult;
7776
7781
  try {
7777
7782
  fetchResult = await documentLoader(url.href);
@@ -7962,7 +7967,7 @@ var Activity = class Activity extends Object$1 {
7962
7967
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7963
7968
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7964
7969
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7965
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
7970
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
7966
7971
  let fetchResult;
7967
7972
  try {
7968
7973
  fetchResult = await documentLoader(url.href);
@@ -8147,7 +8152,7 @@ var Activity = class Activity extends Object$1 {
8147
8152
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8148
8153
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8149
8154
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8150
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
8155
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
8151
8156
  let fetchResult;
8152
8157
  try {
8153
8158
  fetchResult = await documentLoader(url.href);
@@ -8334,7 +8339,7 @@ var Activity = class Activity extends Object$1 {
8334
8339
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8335
8340
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8336
8341
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8337
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
8342
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
8338
8343
  let fetchResult;
8339
8344
  try {
8340
8345
  fetchResult = await documentLoader(url.href);
@@ -8604,7 +8609,7 @@ var Activity = class Activity extends Object$1 {
8604
8609
  * @throws {TypeError} If the given `json` is invalid.
8605
8610
  */
8606
8611
  static async fromJsonLd(json, options = {}) {
8607
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
8612
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
8608
8613
  try {
8609
8614
  const object = await this.__fromJsonLd__Activity__(json, span, options);
8610
8615
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8943,7 +8948,7 @@ var EmojiReact = class EmojiReact extends Activity {
8943
8948
  * @throws {TypeError} If the given `json` is invalid.
8944
8949
  */
8945
8950
  static async fromJsonLd(json, options = {}) {
8946
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
8951
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
8947
8952
  try {
8948
8953
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
8949
8954
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9029,6 +9034,11 @@ var PropertyValue = class {
9029
9034
  get _warning() {
9030
9035
  return this.#warning;
9031
9036
  }
9037
+ /**
9038
+ * Internal cross-package contract with @fedify/testing, which copies this
9039
+ * cache when attaching document loaders to an activity clone. Keep this
9040
+ * accessor name and its getter/setter semantics stable.
9041
+ */
9032
9042
  get _cachedJsonLd() {
9033
9043
  return this.#cachedJsonLd;
9034
9044
  }
@@ -9204,7 +9214,7 @@ var PropertyValue = class {
9204
9214
  * @throws {TypeError} If the given `json` is invalid.
9205
9215
  */
9206
9216
  static async fromJsonLd(json, options = {}) {
9207
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
9217
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
9208
9218
  try {
9209
9219
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
9210
9220
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9375,7 +9385,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9375
9385
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9376
9386
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9377
9387
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9378
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
9388
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
9379
9389
  let fetchResult;
9380
9390
  try {
9381
9391
  fetchResult = await documentLoader(url.href);
@@ -9505,7 +9515,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9505
9515
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9506
9516
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9507
9517
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9508
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
9518
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
9509
9519
  let fetchResult;
9510
9520
  try {
9511
9521
  fetchResult = await documentLoader(url.href);
@@ -9730,7 +9740,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9730
9740
  * @throws {TypeError} If the given `json` is invalid.
9731
9741
  */
9732
9742
  static async fromJsonLd(json, options = {}) {
9733
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
9743
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
9734
9744
  try {
9735
9745
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
9736
9746
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9934,7 +9944,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
9934
9944
  * @throws {TypeError} If the given `json` is invalid.
9935
9945
  */
9936
9946
  static async fromJsonLd(json, options = {}) {
9937
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
9947
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
9938
9948
  try {
9939
9949
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
9940
9950
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10025,6 +10035,11 @@ var InteractionPolicy = class {
10025
10035
  get _warning() {
10026
10036
  return this.#warning;
10027
10037
  }
10038
+ /**
10039
+ * Internal cross-package contract with @fedify/testing, which copies this
10040
+ * cache when attaching document loaders to an activity clone. Keep this
10041
+ * accessor name and its getter/setter semantics stable.
10042
+ */
10028
10043
  get _cachedJsonLd() {
10029
10044
  return this.#cachedJsonLd;
10030
10045
  }
@@ -10189,7 +10204,7 @@ var InteractionPolicy = class {
10189
10204
  * @throws {TypeError} If the given `json` is invalid.
10190
10205
  */
10191
10206
  static async fromJsonLd(json, options = {}) {
10192
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
10207
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
10193
10208
  try {
10194
10209
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
10195
10210
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10343,6 +10358,11 @@ var InteractionRule = class {
10343
10358
  get _warning() {
10344
10359
  return this.#warning;
10345
10360
  }
10361
+ /**
10362
+ * Internal cross-package contract with @fedify/testing, which copies this
10363
+ * cache when attaching document loaders to an activity clone. Keep this
10364
+ * accessor name and its getter/setter semantics stable.
10365
+ */
10346
10366
  get _cachedJsonLd() {
10347
10367
  return this.#cachedJsonLd;
10348
10368
  }
@@ -10512,7 +10532,7 @@ var InteractionRule = class {
10512
10532
  * @throws {TypeError} If the given `json` is invalid.
10513
10533
  */
10514
10534
  static async fromJsonLd(json, options = {}) {
10515
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
10535
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
10516
10536
  try {
10517
10537
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
10518
10538
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10676,7 +10696,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
10676
10696
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10677
10697
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10678
10698
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10679
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
10699
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
10680
10700
  let fetchResult;
10681
10701
  try {
10682
10702
  fetchResult = await documentLoader(url.href);
@@ -10806,7 +10826,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
10806
10826
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10807
10827
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10808
10828
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10809
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
10829
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
10810
10830
  let fetchResult;
10811
10831
  try {
10812
10832
  fetchResult = await documentLoader(url.href);
@@ -11031,7 +11051,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11031
11051
  * @throws {TypeError} If the given `json` is invalid.
11032
11052
  */
11033
11053
  static async fromJsonLd(json, options = {}) {
11034
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
11054
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
11035
11055
  try {
11036
11056
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
11037
11057
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11234,7 +11254,7 @@ var LikeRequest = class LikeRequest extends Activity {
11234
11254
  * @throws {TypeError} If the given `json` is invalid.
11235
11255
  */
11236
11256
  static async fromJsonLd(json, options = {}) {
11237
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
11257
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
11238
11258
  try {
11239
11259
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
11240
11260
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11368,7 +11388,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11368
11388
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11369
11389
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11370
11390
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11371
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
11391
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
11372
11392
  let fetchResult;
11373
11393
  try {
11374
11394
  fetchResult = await documentLoader(url.href);
@@ -11498,7 +11518,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11498
11518
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11499
11519
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11500
11520
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11501
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
11521
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
11502
11522
  let fetchResult;
11503
11523
  try {
11504
11524
  fetchResult = await documentLoader(url.href);
@@ -11723,7 +11743,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11723
11743
  * @throws {TypeError} If the given `json` is invalid.
11724
11744
  */
11725
11745
  static async fromJsonLd(json, options = {}) {
11726
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
11746
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
11727
11747
  try {
11728
11748
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
11729
11749
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11926,7 +11946,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
11926
11946
  * @throws {TypeError} If the given `json` is invalid.
11927
11947
  */
11928
11948
  static async fromJsonLd(json, options = {}) {
11929
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
11949
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
11930
11950
  try {
11931
11951
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
11932
11952
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12015,6 +12035,11 @@ var DidService = class {
12015
12035
  get _warning() {
12016
12036
  return this.#warning;
12017
12037
  }
12038
+ /**
12039
+ * Internal cross-package contract with @fedify/testing, which copies this
12040
+ * cache when attaching document loaders to an activity clone. Keep this
12041
+ * accessor name and its getter/setter semantics stable.
12042
+ */
12018
12043
  get _cachedJsonLd() {
12019
12044
  return this.#cachedJsonLd;
12020
12045
  }
@@ -12147,7 +12172,7 @@ var DidService = class {
12147
12172
  * @throws {TypeError} If the given `json` is invalid.
12148
12173
  */
12149
12174
  static async fromJsonLd(json, options = {}) {
12150
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
12175
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
12151
12176
  try {
12152
12177
  const object = await this.__fromJsonLd__DidService__(json, span, options);
12153
12178
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12306,7 +12331,7 @@ var Export = class Export extends DidService {
12306
12331
  * @throws {TypeError} If the given `json` is invalid.
12307
12332
  */
12308
12333
  static async fromJsonLd(json, options = {}) {
12309
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
12334
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
12310
12335
  try {
12311
12336
  const object = await this.__fromJsonLd__Export__(json, span, options);
12312
12337
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12393,6 +12418,11 @@ var DataIntegrityProof = class {
12393
12418
  get _warning() {
12394
12419
  return this.#warning;
12395
12420
  }
12421
+ /**
12422
+ * Internal cross-package contract with @fedify/testing, which copies this
12423
+ * cache when attaching document loaders to an activity clone. Keep this
12424
+ * accessor name and its getter/setter semantics stable.
12425
+ */
12396
12426
  get _cachedJsonLd() {
12397
12427
  return this.#cachedJsonLd;
12398
12428
  }
@@ -12494,7 +12524,7 @@ var DataIntegrityProof = class {
12494
12524
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12495
12525
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12496
12526
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12497
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
12527
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
12498
12528
  let fetchResult;
12499
12529
  try {
12500
12530
  fetchResult = await documentLoader(url.href);
@@ -12713,7 +12743,7 @@ var DataIntegrityProof = class {
12713
12743
  * @throws {TypeError} If the given `json` is invalid.
12714
12744
  */
12715
12745
  static async fromJsonLd(json, options = {}) {
12716
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
12746
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
12717
12747
  try {
12718
12748
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
12719
12749
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12876,6 +12906,11 @@ var CryptographicKey = class {
12876
12906
  get _warning() {
12877
12907
  return this.#warning;
12878
12908
  }
12909
+ /**
12910
+ * Internal cross-package contract with @fedify/testing, which copies this
12911
+ * cache when attaching document loaders to an activity clone. Keep this
12912
+ * accessor name and its getter/setter semantics stable.
12913
+ */
12879
12914
  get _cachedJsonLd() {
12880
12915
  return this.#cachedJsonLd;
12881
12916
  }
@@ -12952,7 +12987,7 @@ var CryptographicKey = class {
12952
12987
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12953
12988
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12954
12989
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12955
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
12990
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
12956
12991
  let fetchResult;
12957
12992
  try {
12958
12993
  fetchResult = await documentLoader(url.href);
@@ -13223,7 +13258,7 @@ var CryptographicKey = class {
13223
13258
  * @throws {TypeError} If the given `json` is invalid.
13224
13259
  */
13225
13260
  static async fromJsonLd(json, options = {}) {
13226
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
13261
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
13227
13262
  try {
13228
13263
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
13229
13264
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13363,6 +13398,11 @@ var Multikey = class {
13363
13398
  get _warning() {
13364
13399
  return this.#warning;
13365
13400
  }
13401
+ /**
13402
+ * Internal cross-package contract with @fedify/testing, which copies this
13403
+ * cache when attaching document loaders to an activity clone. Keep this
13404
+ * accessor name and its getter/setter semantics stable.
13405
+ */
13366
13406
  get _cachedJsonLd() {
13367
13407
  return this.#cachedJsonLd;
13368
13408
  }
@@ -13439,7 +13479,7 @@ var Multikey = class {
13439
13479
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13440
13480
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13441
13481
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13442
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
13482
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
13443
13483
  let fetchResult;
13444
13484
  try {
13445
13485
  fetchResult = await documentLoader(url.href);
@@ -13716,7 +13756,7 @@ var Multikey = class {
13716
13756
  * @throws {TypeError} If the given `json` is invalid.
13717
13757
  */
13718
13758
  static async fromJsonLd(json, options = {}) {
13719
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
13759
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
13720
13760
  try {
13721
13761
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
13722
13762
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13920,7 +13960,7 @@ var Accept = class Accept extends Activity {
13920
13960
  * @throws {TypeError} If the given `json` is invalid.
13921
13961
  */
13922
13962
  static async fromJsonLd(json, options = {}) {
13923
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
13963
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
13924
13964
  try {
13925
13965
  const object = await this.__fromJsonLd__Accept__(json, span, options);
13926
13966
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14075,7 +14115,7 @@ var Add = class Add extends Activity {
14075
14115
  * @throws {TypeError} If the given `json` is invalid.
14076
14116
  */
14077
14117
  static async fromJsonLd(json, options = {}) {
14078
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
14118
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
14079
14119
  try {
14080
14120
  const object = await this.__fromJsonLd__Add__(json, span, options);
14081
14121
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14247,7 +14287,7 @@ var Announce = class Announce extends Activity {
14247
14287
  * @throws {TypeError} If the given `json` is invalid.
14248
14288
  */
14249
14289
  static async fromJsonLd(json, options = {}) {
14250
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
14290
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
14251
14291
  try {
14252
14292
  const object = await this.__fromJsonLd__Announce__(json, span, options);
14253
14293
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14645,7 +14685,7 @@ var Application = class Application extends Object$1 {
14645
14685
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14646
14686
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14647
14687
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14648
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
14688
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
14649
14689
  let fetchResult;
14650
14690
  try {
14651
14691
  fetchResult = await documentLoader(url.href);
@@ -14826,7 +14866,7 @@ var Application = class Application extends Object$1 {
14826
14866
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14827
14867
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14828
14868
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14829
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
14869
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
14830
14870
  let fetchResult;
14831
14871
  try {
14832
14872
  fetchResult = await documentLoader(url.href);
@@ -15025,7 +15065,7 @@ var Application = class Application extends Object$1 {
15025
15065
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15026
15066
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15027
15067
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15028
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15068
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15029
15069
  let fetchResult;
15030
15070
  try {
15031
15071
  fetchResult = await documentLoader(url.href);
@@ -15176,7 +15216,7 @@ var Application = class Application extends Object$1 {
15176
15216
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15177
15217
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15178
15218
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15179
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15219
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15180
15220
  let fetchResult;
15181
15221
  try {
15182
15222
  fetchResult = await documentLoader(url.href);
@@ -15324,7 +15364,7 @@ var Application = class Application extends Object$1 {
15324
15364
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15325
15365
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15326
15366
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15327
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15367
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15328
15368
  let fetchResult;
15329
15369
  try {
15330
15370
  fetchResult = await documentLoader(url.href);
@@ -15457,7 +15497,7 @@ var Application = class Application extends Object$1 {
15457
15497
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15458
15498
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15459
15499
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15460
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15500
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15461
15501
  let fetchResult;
15462
15502
  try {
15463
15503
  fetchResult = await documentLoader(url.href);
@@ -15593,7 +15633,7 @@ var Application = class Application extends Object$1 {
15593
15633
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15594
15634
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15595
15635
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15596
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15636
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15597
15637
  let fetchResult;
15598
15638
  try {
15599
15639
  fetchResult = await documentLoader(url.href);
@@ -15727,7 +15767,7 @@ var Application = class Application extends Object$1 {
15727
15767
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15728
15768
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15729
15769
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15730
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15770
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15731
15771
  let fetchResult;
15732
15772
  try {
15733
15773
  fetchResult = await documentLoader(url.href);
@@ -15859,7 +15899,7 @@ var Application = class Application extends Object$1 {
15859
15899
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15860
15900
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15861
15901
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15862
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
15902
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15863
15903
  let fetchResult;
15864
15904
  try {
15865
15905
  fetchResult = await documentLoader(url.href);
@@ -15991,7 +16031,7 @@ var Application = class Application extends Object$1 {
15991
16031
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15992
16032
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15993
16033
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15994
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
16034
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
15995
16035
  let fetchResult;
15996
16036
  try {
15997
16037
  fetchResult = await documentLoader(url.href);
@@ -16163,7 +16203,7 @@ var Application = class Application extends Object$1 {
16163
16203
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16164
16204
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16165
16205
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16166
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
16206
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
16167
16207
  let fetchResult;
16168
16208
  try {
16169
16209
  fetchResult = await documentLoader(url.href);
@@ -16338,7 +16378,7 @@ var Application = class Application extends Object$1 {
16338
16378
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16339
16379
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16340
16380
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16341
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
16381
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
16342
16382
  let fetchResult;
16343
16383
  try {
16344
16384
  fetchResult = await documentLoader(url.href);
@@ -16571,7 +16611,7 @@ var Application = class Application extends Object$1 {
16571
16611
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16572
16612
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16573
16613
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16574
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
16614
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
16575
16615
  let fetchResult;
16576
16616
  try {
16577
16617
  fetchResult = await documentLoader(url.href);
@@ -17275,7 +17315,7 @@ var Application = class Application extends Object$1 {
17275
17315
  * @throws {TypeError} If the given `json` is invalid.
17276
17316
  */
17277
17317
  static async fromJsonLd(json, options = {}) {
17278
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
17318
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
17279
17319
  try {
17280
17320
  const object = await this.__fromJsonLd__Application__(json, span, options);
17281
17321
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17886,7 +17926,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
17886
17926
  * @throws {TypeError} If the given `json` is invalid.
17887
17927
  */
17888
17928
  static async fromJsonLd(json, options = {}) {
17889
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
17929
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
17890
17930
  try {
17891
17931
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
17892
17932
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18042,7 +18082,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
18042
18082
  * @throws {TypeError} If the given `json` is invalid.
18043
18083
  */
18044
18084
  static async fromJsonLd(json, options = {}) {
18045
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18085
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18046
18086
  try {
18047
18087
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
18048
18088
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18282,7 +18322,7 @@ var Article = class Article extends Object$1 {
18282
18322
  * @throws {TypeError} If the given `json` is invalid.
18283
18323
  */
18284
18324
  static async fromJsonLd(json, options = {}) {
18285
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18325
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18286
18326
  try {
18287
18327
  const object = await this.__fromJsonLd__Article__(json, span, options);
18288
18328
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18528,7 +18568,7 @@ var Document = class Document extends Object$1 {
18528
18568
  * @throws {TypeError} If the given `json` is invalid.
18529
18569
  */
18530
18570
  static async fromJsonLd(json, options = {}) {
18531
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18571
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18532
18572
  try {
18533
18573
  const object = await this.__fromJsonLd__Document__(json, span, options);
18534
18574
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18726,7 +18766,7 @@ var Audio = class Audio extends Document {
18726
18766
  * @throws {TypeError} If the given `json` is invalid.
18727
18767
  */
18728
18768
  static async fromJsonLd(json, options = {}) {
18729
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18769
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18730
18770
  try {
18731
18771
  const object = await this.__fromJsonLd__Audio__(json, span, options);
18732
18772
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18878,7 +18918,7 @@ var Ignore = class Ignore extends Activity {
18878
18918
  * @throws {TypeError} If the given `json` is invalid.
18879
18919
  */
18880
18920
  static async fromJsonLd(json, options = {}) {
18881
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
18921
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
18882
18922
  try {
18883
18923
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
18884
18924
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19033,7 +19073,7 @@ var Block = class Block extends Ignore {
19033
19073
  * @throws {TypeError} If the given `json` is invalid.
19034
19074
  */
19035
19075
  static async fromJsonLd(json, options = {}) {
19036
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
19076
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
19037
19077
  try {
19038
19078
  const object = await this.__fromJsonLd__Block__(json, span, options);
19039
19079
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19300,7 +19340,7 @@ var Collection = class Collection extends Object$1 {
19300
19340
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19301
19341
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19302
19342
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19303
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19343
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19304
19344
  let fetchResult;
19305
19345
  try {
19306
19346
  fetchResult = await documentLoader(url.href);
@@ -19430,7 +19470,7 @@ var Collection = class Collection extends Object$1 {
19430
19470
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19431
19471
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19432
19472
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19433
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19473
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19434
19474
  let fetchResult;
19435
19475
  try {
19436
19476
  fetchResult = await documentLoader(url.href);
@@ -19560,7 +19600,7 @@ var Collection = class Collection extends Object$1 {
19560
19600
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19561
19601
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19562
19602
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19563
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19603
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19564
19604
  let fetchResult;
19565
19605
  try {
19566
19606
  fetchResult = await documentLoader(url.href);
@@ -19690,7 +19730,7 @@ var Collection = class Collection extends Object$1 {
19690
19730
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19691
19731
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19692
19732
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19693
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19733
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19694
19734
  let fetchResult;
19695
19735
  try {
19696
19736
  fetchResult = await documentLoader(url.href);
@@ -19831,7 +19871,7 @@ var Collection = class Collection extends Object$1 {
19831
19871
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19832
19872
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19833
19873
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19834
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
19874
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19835
19875
  let fetchResult;
19836
19876
  try {
19837
19877
  fetchResult = await documentLoader(url.href);
@@ -19960,7 +20000,7 @@ var Collection = class Collection extends Object$1 {
19960
20000
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19961
20001
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19962
20002
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19963
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20003
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
19964
20004
  let fetchResult;
19965
20005
  try {
19966
20006
  fetchResult = await documentLoader(url.href);
@@ -20089,7 +20129,7 @@ var Collection = class Collection extends Object$1 {
20089
20129
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20090
20130
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20091
20131
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20092
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20132
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20093
20133
  let fetchResult;
20094
20134
  try {
20095
20135
  fetchResult = await documentLoader(url.href);
@@ -20218,7 +20258,7 @@ var Collection = class Collection extends Object$1 {
20218
20258
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20219
20259
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20220
20260
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20221
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20261
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20222
20262
  let fetchResult;
20223
20263
  try {
20224
20264
  fetchResult = await documentLoader(url.href);
@@ -20347,7 +20387,7 @@ var Collection = class Collection extends Object$1 {
20347
20387
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20348
20388
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20349
20389
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20350
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20390
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20351
20391
  let fetchResult;
20352
20392
  try {
20353
20393
  fetchResult = await documentLoader(url.href);
@@ -20476,7 +20516,7 @@ var Collection = class Collection extends Object$1 {
20476
20516
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20477
20517
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20478
20518
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20479
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20519
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20480
20520
  let fetchResult;
20481
20521
  try {
20482
20522
  fetchResult = await documentLoader(url.href);
@@ -20605,7 +20645,7 @@ var Collection = class Collection extends Object$1 {
20605
20645
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20606
20646
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20607
20647
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20608
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20648
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20609
20649
  let fetchResult;
20610
20650
  try {
20611
20651
  fetchResult = await documentLoader(url.href);
@@ -20734,7 +20774,7 @@ var Collection = class Collection extends Object$1 {
20734
20774
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20735
20775
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20736
20776
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20737
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
20777
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
20738
20778
  let fetchResult;
20739
20779
  try {
20740
20780
  fetchResult = await documentLoader(url.href);
@@ -21172,7 +21212,7 @@ var Collection = class Collection extends Object$1 {
21172
21212
  * @throws {TypeError} If the given `json` is invalid.
21173
21213
  */
21174
21214
  static async fromJsonLd(json, options = {}) {
21175
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
21215
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
21176
21216
  try {
21177
21217
  const object = await this.__fromJsonLd__Collection__(json, span, options);
21178
21218
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21656,7 +21696,7 @@ var CollectionPage = class CollectionPage extends Collection {
21656
21696
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21657
21697
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21658
21698
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21659
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
21699
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
21660
21700
  let fetchResult;
21661
21701
  try {
21662
21702
  fetchResult = await documentLoader(url.href);
@@ -21786,7 +21826,7 @@ var CollectionPage = class CollectionPage extends Collection {
21786
21826
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21787
21827
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21788
21828
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21789
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
21829
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
21790
21830
  let fetchResult;
21791
21831
  try {
21792
21832
  fetchResult = await documentLoader(url.href);
@@ -21915,7 +21955,7 @@ var CollectionPage = class CollectionPage extends Collection {
21915
21955
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21916
21956
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21917
21957
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21918
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
21958
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
21919
21959
  let fetchResult;
21920
21960
  try {
21921
21961
  fetchResult = await documentLoader(url.href);
@@ -22190,7 +22230,7 @@ var CollectionPage = class CollectionPage extends Collection {
22190
22230
  * @throws {TypeError} If the given `json` is invalid.
22191
22231
  */
22192
22232
  static async fromJsonLd(json, options = {}) {
22193
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
22233
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
22194
22234
  try {
22195
22235
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
22196
22236
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22426,7 +22466,7 @@ var Create = class Create extends Activity {
22426
22466
  * @throws {TypeError} If the given `json` is invalid.
22427
22467
  */
22428
22468
  static async fromJsonLd(json, options = {}) {
22429
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
22469
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
22430
22470
  try {
22431
22471
  const object = await this.__fromJsonLd__Create__(json, span, options);
22432
22472
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22594,7 +22634,7 @@ var Delete = class Delete extends Activity {
22594
22634
  * @throws {TypeError} If the given `json` is invalid.
22595
22635
  */
22596
22636
  static async fromJsonLd(json, options = {}) {
22597
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
22637
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
22598
22638
  try {
22599
22639
  const object = await this.__fromJsonLd__Delete__(json, span, options);
22600
22640
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22749,7 +22789,7 @@ var Dislike = class Dislike extends Activity {
22749
22789
  * @throws {TypeError} If the given `json` is invalid.
22750
22790
  */
22751
22791
  static async fromJsonLd(json, options = {}) {
22752
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
22792
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
22753
22793
  try {
22754
22794
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
22755
22795
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22835,6 +22875,11 @@ var Endpoints = class {
22835
22875
  get _warning() {
22836
22876
  return this.#warning;
22837
22877
  }
22878
+ /**
22879
+ * Internal cross-package contract with @fedify/testing, which copies this
22880
+ * cache when attaching document loaders to an activity clone. Keep this
22881
+ * accessor name and its getter/setter semantics stable.
22882
+ */
22838
22883
  get _cachedJsonLd() {
22839
22884
  return this.#cachedJsonLd;
22840
22885
  }
@@ -23109,7 +23154,7 @@ var Endpoints = class {
23109
23154
  * @throws {TypeError} If the given `json` is invalid.
23110
23155
  */
23111
23156
  static async fromJsonLd(json, options = {}) {
23112
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
23157
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
23113
23158
  try {
23114
23159
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
23115
23160
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23358,7 +23403,7 @@ var Event = class Event extends Object$1 {
23358
23403
  * @throws {TypeError} If the given `json` is invalid.
23359
23404
  */
23360
23405
  static async fromJsonLd(json, options = {}) {
23361
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
23406
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
23362
23407
  try {
23363
23408
  const object = await this.__fromJsonLd__Event__(json, span, options);
23364
23409
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23511,7 +23556,7 @@ var Flag = class Flag extends Activity {
23511
23556
  * @throws {TypeError} If the given `json` is invalid.
23512
23557
  */
23513
23558
  static async fromJsonLd(json, options = {}) {
23514
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
23559
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
23515
23560
  try {
23516
23561
  const object = await this.__fromJsonLd__Flag__(json, span, options);
23517
23562
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23668,7 +23713,7 @@ var Follow = class Follow extends Activity {
23668
23713
  * @throws {TypeError} If the given `json` is invalid.
23669
23714
  */
23670
23715
  static async fromJsonLd(json, options = {}) {
23671
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
23716
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
23672
23717
  try {
23673
23718
  const object = await this.__fromJsonLd__Follow__(json, span, options);
23674
23719
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24066,7 +24111,7 @@ var Group = class Group extends Object$1 {
24066
24111
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24067
24112
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24068
24113
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24069
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24114
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24070
24115
  let fetchResult;
24071
24116
  try {
24072
24117
  fetchResult = await documentLoader(url.href);
@@ -24247,7 +24292,7 @@ var Group = class Group extends Object$1 {
24247
24292
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24248
24293
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24249
24294
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24250
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24295
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24251
24296
  let fetchResult;
24252
24297
  try {
24253
24298
  fetchResult = await documentLoader(url.href);
@@ -24446,7 +24491,7 @@ var Group = class Group extends Object$1 {
24446
24491
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24447
24492
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24448
24493
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24449
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24494
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24450
24495
  let fetchResult;
24451
24496
  try {
24452
24497
  fetchResult = await documentLoader(url.href);
@@ -24597,7 +24642,7 @@ var Group = class Group extends Object$1 {
24597
24642
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24598
24643
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24599
24644
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24600
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24645
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24601
24646
  let fetchResult;
24602
24647
  try {
24603
24648
  fetchResult = await documentLoader(url.href);
@@ -24745,7 +24790,7 @@ var Group = class Group extends Object$1 {
24745
24790
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24746
24791
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24747
24792
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24748
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24793
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24749
24794
  let fetchResult;
24750
24795
  try {
24751
24796
  fetchResult = await documentLoader(url.href);
@@ -24878,7 +24923,7 @@ var Group = class Group extends Object$1 {
24878
24923
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24879
24924
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24880
24925
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24881
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
24926
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
24882
24927
  let fetchResult;
24883
24928
  try {
24884
24929
  fetchResult = await documentLoader(url.href);
@@ -25014,7 +25059,7 @@ var Group = class Group extends Object$1 {
25014
25059
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25015
25060
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25016
25061
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25017
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25062
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25018
25063
  let fetchResult;
25019
25064
  try {
25020
25065
  fetchResult = await documentLoader(url.href);
@@ -25148,7 +25193,7 @@ var Group = class Group extends Object$1 {
25148
25193
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25149
25194
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25150
25195
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25151
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25196
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25152
25197
  let fetchResult;
25153
25198
  try {
25154
25199
  fetchResult = await documentLoader(url.href);
@@ -25280,7 +25325,7 @@ var Group = class Group extends Object$1 {
25280
25325
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25281
25326
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25282
25327
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25283
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25328
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25284
25329
  let fetchResult;
25285
25330
  try {
25286
25331
  fetchResult = await documentLoader(url.href);
@@ -25412,7 +25457,7 @@ var Group = class Group extends Object$1 {
25412
25457
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25413
25458
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25414
25459
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25415
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25460
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25416
25461
  let fetchResult;
25417
25462
  try {
25418
25463
  fetchResult = await documentLoader(url.href);
@@ -25584,7 +25629,7 @@ var Group = class Group extends Object$1 {
25584
25629
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25585
25630
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25586
25631
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25587
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25632
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25588
25633
  let fetchResult;
25589
25634
  try {
25590
25635
  fetchResult = await documentLoader(url.href);
@@ -25759,7 +25804,7 @@ var Group = class Group extends Object$1 {
25759
25804
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25760
25805
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25761
25806
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25762
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
25807
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25763
25808
  let fetchResult;
25764
25809
  try {
25765
25810
  fetchResult = await documentLoader(url.href);
@@ -25992,7 +26037,7 @@ var Group = class Group extends Object$1 {
25992
26037
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25993
26038
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25994
26039
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25995
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
26040
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
25996
26041
  let fetchResult;
25997
26042
  try {
25998
26043
  fetchResult = await documentLoader(url.href);
@@ -26696,7 +26741,7 @@ var Group = class Group extends Object$1 {
26696
26741
  * @throws {TypeError} If the given `json` is invalid.
26697
26742
  */
26698
26743
  static async fromJsonLd(json, options = {}) {
26699
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
26744
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
26700
26745
  try {
26701
26746
  const object = await this.__fromJsonLd__Group__(json, span, options);
26702
26747
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27247,6 +27292,11 @@ var Link = class Link {
27247
27292
  get _warning() {
27248
27293
  return this.#warning;
27249
27294
  }
27295
+ /**
27296
+ * Internal cross-package contract with @fedify/testing, which copies this
27297
+ * cache when attaching document loaders to an activity clone. Keep this
27298
+ * accessor name and its getter/setter semantics stable.
27299
+ */
27250
27300
  get _cachedJsonLd() {
27251
27301
  return this.#cachedJsonLd;
27252
27302
  }
@@ -27457,7 +27507,7 @@ var Link = class Link {
27457
27507
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27458
27508
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27459
27509
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27460
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
27510
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
27461
27511
  let fetchResult;
27462
27512
  try {
27463
27513
  fetchResult = await documentLoader(url.href);
@@ -27759,7 +27809,7 @@ var Link = class Link {
27759
27809
  * @throws {TypeError} If the given `json` is invalid.
27760
27810
  */
27761
27811
  static async fromJsonLd(json, options = {}) {
27762
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
27812
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
27763
27813
  try {
27764
27814
  const object = await this.__fromJsonLd__Link__(json, span, options);
27765
27815
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28115,7 +28165,7 @@ var Hashtag = class Hashtag extends Link {
28115
28165
  * @throws {TypeError} If the given `json` is invalid.
28116
28166
  */
28117
28167
  static async fromJsonLd(json, options = {}) {
28118
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28168
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28119
28169
  try {
28120
28170
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
28121
28171
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28280,7 +28330,7 @@ var Image = class Image extends Document {
28280
28330
  * @throws {TypeError} If the given `json` is invalid.
28281
28331
  */
28282
28332
  static async fromJsonLd(json, options = {}) {
28283
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28333
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28284
28334
  try {
28285
28335
  const object = await this.__fromJsonLd__Image__(json, span, options);
28286
28336
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28433,7 +28483,7 @@ var Offer = class Offer extends Activity {
28433
28483
  * @throws {TypeError} If the given `json` is invalid.
28434
28484
  */
28435
28485
  static async fromJsonLd(json, options = {}) {
28436
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28486
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28437
28487
  try {
28438
28488
  const object = await this.__fromJsonLd__Offer__(json, span, options);
28439
28489
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28586,7 +28636,7 @@ var Invite = class Invite extends Offer {
28586
28636
  * @throws {TypeError} If the given `json` is invalid.
28587
28637
  */
28588
28638
  static async fromJsonLd(json, options = {}) {
28589
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28639
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28590
28640
  try {
28591
28641
  const object = await this.__fromJsonLd__Invite__(json, span, options);
28592
28642
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28738,7 +28788,7 @@ var Join = class Join extends Activity {
28738
28788
  * @throws {TypeError} If the given `json` is invalid.
28739
28789
  */
28740
28790
  static async fromJsonLd(json, options = {}) {
28741
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28791
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28742
28792
  try {
28743
28793
  const object = await this.__fromJsonLd__Join__(json, span, options);
28744
28794
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28890,7 +28940,7 @@ var Leave = class Leave extends Activity {
28890
28940
  * @throws {TypeError} If the given `json` is invalid.
28891
28941
  */
28892
28942
  static async fromJsonLd(json, options = {}) {
28893
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
28943
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
28894
28944
  try {
28895
28945
  const object = await this.__fromJsonLd__Leave__(json, span, options);
28896
28946
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29046,7 +29096,7 @@ var Like = class Like extends Activity {
29046
29096
  * @throws {TypeError} If the given `json` is invalid.
29047
29097
  */
29048
29098
  static async fromJsonLd(json, options = {}) {
29049
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29099
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29050
29100
  try {
29051
29101
  const object = await this.__fromJsonLd__Like__(json, span, options);
29052
29102
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29197,7 +29247,7 @@ var Listen = class Listen extends Activity {
29197
29247
  * @throws {TypeError} If the given `json` is invalid.
29198
29248
  */
29199
29249
  static async fromJsonLd(json, options = {}) {
29200
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29250
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29201
29251
  try {
29202
29252
  const object = await this.__fromJsonLd__Listen__(json, span, options);
29203
29253
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29351,7 +29401,7 @@ var Mention = class Mention extends Link {
29351
29401
  * @throws {TypeError} If the given `json` is invalid.
29352
29402
  */
29353
29403
  static async fromJsonLd(json, options = {}) {
29354
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29404
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29355
29405
  try {
29356
29406
  const object = await this.__fromJsonLd__Mention__(json, span, options);
29357
29407
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29504,7 +29554,7 @@ var Move = class Move extends Activity {
29504
29554
  * @throws {TypeError} If the given `json` is invalid.
29505
29555
  */
29506
29556
  static async fromJsonLd(json, options = {}) {
29507
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29557
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29508
29558
  try {
29509
29559
  const object = await this.__fromJsonLd__Move__(json, span, options);
29510
29560
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29745,7 +29795,7 @@ var Note = class Note extends Object$1 {
29745
29795
  * @throws {TypeError} If the given `json` is invalid.
29746
29796
  */
29747
29797
  static async fromJsonLd(json, options = {}) {
29748
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
29798
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
29749
29799
  try {
29750
29800
  const object = await this.__fromJsonLd__Note__(json, span, options);
29751
29801
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29883,7 +29933,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
29883
29933
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29884
29934
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29885
29935
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29886
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
29936
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
29887
29937
  let fetchResult;
29888
29938
  try {
29889
29939
  fetchResult = await documentLoader(url.href);
@@ -30143,7 +30193,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
30143
30193
  * @throws {TypeError} If the given `json` is invalid.
30144
30194
  */
30145
30195
  static async fromJsonLd(json, options = {}) {
30146
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
30196
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
30147
30197
  try {
30148
30198
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
30149
30199
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30362,7 +30412,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
30362
30412
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30363
30413
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30364
30414
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30365
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
30415
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
30366
30416
  let fetchResult;
30367
30417
  try {
30368
30418
  fetchResult = await documentLoader(url.href);
@@ -30645,7 +30695,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
30645
30695
  * @throws {TypeError} If the given `json` is invalid.
30646
30696
  */
30647
30697
  static async fromJsonLd(json, options = {}) {
30648
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
30698
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
30649
30699
  try {
30650
30700
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
30651
30701
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31152,7 +31202,7 @@ var Organization = class Organization extends Object$1 {
31152
31202
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31153
31203
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31154
31204
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31155
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31205
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31156
31206
  let fetchResult;
31157
31207
  try {
31158
31208
  fetchResult = await documentLoader(url.href);
@@ -31333,7 +31383,7 @@ var Organization = class Organization extends Object$1 {
31333
31383
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31334
31384
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31335
31385
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31336
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31386
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31337
31387
  let fetchResult;
31338
31388
  try {
31339
31389
  fetchResult = await documentLoader(url.href);
@@ -31532,7 +31582,7 @@ var Organization = class Organization extends Object$1 {
31532
31582
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31533
31583
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31534
31584
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31535
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31585
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31536
31586
  let fetchResult;
31537
31587
  try {
31538
31588
  fetchResult = await documentLoader(url.href);
@@ -31683,7 +31733,7 @@ var Organization = class Organization extends Object$1 {
31683
31733
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31684
31734
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31685
31735
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31686
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31736
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31687
31737
  let fetchResult;
31688
31738
  try {
31689
31739
  fetchResult = await documentLoader(url.href);
@@ -31831,7 +31881,7 @@ var Organization = class Organization extends Object$1 {
31831
31881
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31832
31882
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31833
31883
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31834
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
31884
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31835
31885
  let fetchResult;
31836
31886
  try {
31837
31887
  fetchResult = await documentLoader(url.href);
@@ -31964,7 +32014,7 @@ var Organization = class Organization extends Object$1 {
31964
32014
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
31965
32015
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
31966
32016
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
31967
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32017
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
31968
32018
  let fetchResult;
31969
32019
  try {
31970
32020
  fetchResult = await documentLoader(url.href);
@@ -32100,7 +32150,7 @@ var Organization = class Organization extends Object$1 {
32100
32150
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32101
32151
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32102
32152
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32103
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32153
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32104
32154
  let fetchResult;
32105
32155
  try {
32106
32156
  fetchResult = await documentLoader(url.href);
@@ -32234,7 +32284,7 @@ var Organization = class Organization extends Object$1 {
32234
32284
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32235
32285
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32236
32286
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32237
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32287
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32238
32288
  let fetchResult;
32239
32289
  try {
32240
32290
  fetchResult = await documentLoader(url.href);
@@ -32366,7 +32416,7 @@ var Organization = class Organization extends Object$1 {
32366
32416
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32367
32417
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32368
32418
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32369
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32419
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32370
32420
  let fetchResult;
32371
32421
  try {
32372
32422
  fetchResult = await documentLoader(url.href);
@@ -32498,7 +32548,7 @@ var Organization = class Organization extends Object$1 {
32498
32548
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32499
32549
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32500
32550
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32501
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32551
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32502
32552
  let fetchResult;
32503
32553
  try {
32504
32554
  fetchResult = await documentLoader(url.href);
@@ -32670,7 +32720,7 @@ var Organization = class Organization extends Object$1 {
32670
32720
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32671
32721
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32672
32722
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32673
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32723
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32674
32724
  let fetchResult;
32675
32725
  try {
32676
32726
  fetchResult = await documentLoader(url.href);
@@ -32845,7 +32895,7 @@ var Organization = class Organization extends Object$1 {
32845
32895
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32846
32896
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32847
32897
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32848
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
32898
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
32849
32899
  let fetchResult;
32850
32900
  try {
32851
32901
  fetchResult = await documentLoader(url.href);
@@ -33078,7 +33128,7 @@ var Organization = class Organization extends Object$1 {
33078
33128
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33079
33129
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33080
33130
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33081
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
33131
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
33082
33132
  let fetchResult;
33083
33133
  try {
33084
33134
  fetchResult = await documentLoader(url.href);
@@ -33782,7 +33832,7 @@ var Organization = class Organization extends Object$1 {
33782
33832
  * @throws {TypeError} If the given `json` is invalid.
33783
33833
  */
33784
33834
  static async fromJsonLd(json, options = {}) {
33785
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
33835
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
33786
33836
  try {
33787
33837
  const object = await this.__fromJsonLd__Organization__(json, span, options);
33788
33838
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34405,7 +34455,7 @@ var Page = class Page extends Document {
34405
34455
  * @throws {TypeError} If the given `json` is invalid.
34406
34456
  */
34407
34457
  static async fromJsonLd(json, options = {}) {
34408
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
34458
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
34409
34459
  try {
34410
34460
  const object = await this.__fromJsonLd__Page__(json, span, options);
34411
34461
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34803,7 +34853,7 @@ var Person = class Person extends Object$1 {
34803
34853
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34804
34854
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34805
34855
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34806
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
34856
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
34807
34857
  let fetchResult;
34808
34858
  try {
34809
34859
  fetchResult = await documentLoader(url.href);
@@ -34984,7 +35034,7 @@ var Person = class Person extends Object$1 {
34984
35034
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34985
35035
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34986
35036
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34987
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35037
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
34988
35038
  let fetchResult;
34989
35039
  try {
34990
35040
  fetchResult = await documentLoader(url.href);
@@ -35183,7 +35233,7 @@ var Person = class Person extends Object$1 {
35183
35233
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35184
35234
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35185
35235
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35186
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35236
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35187
35237
  let fetchResult;
35188
35238
  try {
35189
35239
  fetchResult = await documentLoader(url.href);
@@ -35334,7 +35384,7 @@ var Person = class Person extends Object$1 {
35334
35384
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35335
35385
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35336
35386
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35337
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35387
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35338
35388
  let fetchResult;
35339
35389
  try {
35340
35390
  fetchResult = await documentLoader(url.href);
@@ -35482,7 +35532,7 @@ var Person = class Person extends Object$1 {
35482
35532
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35483
35533
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35484
35534
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35485
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35535
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35486
35536
  let fetchResult;
35487
35537
  try {
35488
35538
  fetchResult = await documentLoader(url.href);
@@ -35615,7 +35665,7 @@ var Person = class Person extends Object$1 {
35615
35665
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35616
35666
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35617
35667
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35618
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35668
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35619
35669
  let fetchResult;
35620
35670
  try {
35621
35671
  fetchResult = await documentLoader(url.href);
@@ -35751,7 +35801,7 @@ var Person = class Person extends Object$1 {
35751
35801
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35752
35802
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35753
35803
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35754
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35804
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35755
35805
  let fetchResult;
35756
35806
  try {
35757
35807
  fetchResult = await documentLoader(url.href);
@@ -35885,7 +35935,7 @@ var Person = class Person extends Object$1 {
35885
35935
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35886
35936
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35887
35937
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35888
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
35938
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
35889
35939
  let fetchResult;
35890
35940
  try {
35891
35941
  fetchResult = await documentLoader(url.href);
@@ -36017,7 +36067,7 @@ var Person = class Person extends Object$1 {
36017
36067
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36018
36068
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36019
36069
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36020
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36070
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36021
36071
  let fetchResult;
36022
36072
  try {
36023
36073
  fetchResult = await documentLoader(url.href);
@@ -36149,7 +36199,7 @@ var Person = class Person extends Object$1 {
36149
36199
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36150
36200
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36151
36201
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36152
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36202
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36153
36203
  let fetchResult;
36154
36204
  try {
36155
36205
  fetchResult = await documentLoader(url.href);
@@ -36321,7 +36371,7 @@ var Person = class Person extends Object$1 {
36321
36371
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36322
36372
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36323
36373
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36324
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36374
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36325
36375
  let fetchResult;
36326
36376
  try {
36327
36377
  fetchResult = await documentLoader(url.href);
@@ -36496,7 +36546,7 @@ var Person = class Person extends Object$1 {
36496
36546
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36497
36547
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36498
36548
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36499
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36549
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36500
36550
  let fetchResult;
36501
36551
  try {
36502
36552
  fetchResult = await documentLoader(url.href);
@@ -36729,7 +36779,7 @@ var Person = class Person extends Object$1 {
36729
36779
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36730
36780
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36731
36781
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36732
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
36782
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
36733
36783
  let fetchResult;
36734
36784
  try {
36735
36785
  fetchResult = await documentLoader(url.href);
@@ -37433,7 +37483,7 @@ var Person = class Person extends Object$1 {
37433
37483
  * @throws {TypeError} If the given `json` is invalid.
37434
37484
  */
37435
37485
  static async fromJsonLd(json, options = {}) {
37436
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
37486
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
37437
37487
  try {
37438
37488
  const object = await this.__fromJsonLd__Person__(json, span, options);
37439
37489
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38233,7 +38283,7 @@ var Place = class Place extends Object$1 {
38233
38283
  * @throws {TypeError} If the given `json` is invalid.
38234
38284
  */
38235
38285
  static async fromJsonLd(json, options = {}) {
38236
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
38286
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
38237
38287
  try {
38238
38288
  const object = await this.__fromJsonLd__Place__(json, span, options);
38239
38289
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38441,7 +38491,7 @@ var Profile = class Profile extends Object$1 {
38441
38491
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38442
38492
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38443
38493
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38444
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
38494
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
38445
38495
  let fetchResult;
38446
38496
  try {
38447
38497
  fetchResult = await documentLoader(url.href);
@@ -38651,7 +38701,7 @@ var Profile = class Profile extends Object$1 {
38651
38701
  * @throws {TypeError} If the given `json` is invalid.
38652
38702
  */
38653
38703
  static async fromJsonLd(json, options = {}) {
38654
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
38704
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
38655
38705
  try {
38656
38706
  const object = await this.__fromJsonLd__Profile__(json, span, options);
38657
38707
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38827,7 +38877,7 @@ var Question = class Question extends IntransitiveActivity {
38827
38877
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38828
38878
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38829
38879
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38830
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
38880
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
38831
38881
  let fetchResult;
38832
38882
  try {
38833
38883
  fetchResult = await documentLoader(url.href);
@@ -38959,7 +39009,7 @@ var Question = class Question extends IntransitiveActivity {
38959
39009
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38960
39010
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38961
39011
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38962
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
39012
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
38963
39013
  let fetchResult;
38964
39014
  try {
38965
39015
  fetchResult = await documentLoader(url.href);
@@ -39233,7 +39283,7 @@ var Question = class Question extends IntransitiveActivity {
39233
39283
  * @throws {TypeError} If the given `json` is invalid.
39234
39284
  */
39235
39285
  static async fromJsonLd(json, options = {}) {
39236
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
39286
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
39237
39287
  try {
39238
39288
  const object = await this.__fromJsonLd__Question__(json, span, options);
39239
39289
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39479,7 +39529,7 @@ var Read = class Read extends Activity {
39479
39529
  * @throws {TypeError} If the given `json` is invalid.
39480
39530
  */
39481
39531
  static async fromJsonLd(json, options = {}) {
39482
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
39532
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
39483
39533
  try {
39484
39534
  const object = await this.__fromJsonLd__Read__(json, span, options);
39485
39535
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39631,7 +39681,7 @@ var Reject = class Reject extends Activity {
39631
39681
  * @throws {TypeError} If the given `json` is invalid.
39632
39682
  */
39633
39683
  static async fromJsonLd(json, options = {}) {
39634
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
39684
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
39635
39685
  try {
39636
39686
  const object = await this.__fromJsonLd__Reject__(json, span, options);
39637
39687
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39807,7 +39857,7 @@ var Relationship = class Relationship extends Object$1 {
39807
39857
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39808
39858
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39809
39859
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39810
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
39860
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
39811
39861
  let fetchResult;
39812
39862
  try {
39813
39863
  fetchResult = await documentLoader(url.href);
@@ -39939,7 +39989,7 @@ var Relationship = class Relationship extends Object$1 {
39939
39989
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39940
39990
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39941
39991
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39942
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
39992
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
39943
39993
  let fetchResult;
39944
39994
  try {
39945
39995
  fetchResult = await documentLoader(url.href);
@@ -40120,7 +40170,7 @@ var Relationship = class Relationship extends Object$1 {
40120
40170
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40121
40171
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40122
40172
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40123
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
40173
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
40124
40174
  let fetchResult;
40125
40175
  try {
40126
40176
  fetchResult = await documentLoader(url.href);
@@ -40417,7 +40467,7 @@ var Relationship = class Relationship extends Object$1 {
40417
40467
  * @throws {TypeError} If the given `json` is invalid.
40418
40468
  */
40419
40469
  static async fromJsonLd(json, options = {}) {
40420
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
40470
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
40421
40471
  try {
40422
40472
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
40423
40473
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40635,7 +40685,7 @@ var Remove = class Remove extends Activity {
40635
40685
  * @throws {TypeError} If the given `json` is invalid.
40636
40686
  */
40637
40687
  static async fromJsonLd(json, options = {}) {
40638
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
40688
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
40639
40689
  try {
40640
40690
  const object = await this.__fromJsonLd__Remove__(json, span, options);
40641
40691
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41033,7 +41083,7 @@ var Service = class Service extends Object$1 {
41033
41083
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41034
41084
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41035
41085
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41036
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41086
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41037
41087
  let fetchResult;
41038
41088
  try {
41039
41089
  fetchResult = await documentLoader(url.href);
@@ -41214,7 +41264,7 @@ var Service = class Service extends Object$1 {
41214
41264
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41215
41265
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41216
41266
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41217
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41267
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41218
41268
  let fetchResult;
41219
41269
  try {
41220
41270
  fetchResult = await documentLoader(url.href);
@@ -41413,7 +41463,7 @@ var Service = class Service extends Object$1 {
41413
41463
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41414
41464
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41415
41465
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41416
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41466
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41417
41467
  let fetchResult;
41418
41468
  try {
41419
41469
  fetchResult = await documentLoader(url.href);
@@ -41564,7 +41614,7 @@ var Service = class Service extends Object$1 {
41564
41614
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41565
41615
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41566
41616
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41567
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41617
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41568
41618
  let fetchResult;
41569
41619
  try {
41570
41620
  fetchResult = await documentLoader(url.href);
@@ -41712,7 +41762,7 @@ var Service = class Service extends Object$1 {
41712
41762
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41713
41763
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41714
41764
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41715
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41765
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41716
41766
  let fetchResult;
41717
41767
  try {
41718
41768
  fetchResult = await documentLoader(url.href);
@@ -41845,7 +41895,7 @@ var Service = class Service extends Object$1 {
41845
41895
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41846
41896
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41847
41897
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41848
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
41898
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41849
41899
  let fetchResult;
41850
41900
  try {
41851
41901
  fetchResult = await documentLoader(url.href);
@@ -41981,7 +42031,7 @@ var Service = class Service extends Object$1 {
41981
42031
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41982
42032
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41983
42033
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41984
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42034
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
41985
42035
  let fetchResult;
41986
42036
  try {
41987
42037
  fetchResult = await documentLoader(url.href);
@@ -42115,7 +42165,7 @@ var Service = class Service extends Object$1 {
42115
42165
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42116
42166
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42117
42167
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42118
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42168
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42119
42169
  let fetchResult;
42120
42170
  try {
42121
42171
  fetchResult = await documentLoader(url.href);
@@ -42247,7 +42297,7 @@ var Service = class Service extends Object$1 {
42247
42297
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42248
42298
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42249
42299
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42250
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42300
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42251
42301
  let fetchResult;
42252
42302
  try {
42253
42303
  fetchResult = await documentLoader(url.href);
@@ -42379,7 +42429,7 @@ var Service = class Service extends Object$1 {
42379
42429
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42380
42430
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42381
42431
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42382
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42432
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42383
42433
  let fetchResult;
42384
42434
  try {
42385
42435
  fetchResult = await documentLoader(url.href);
@@ -42551,7 +42601,7 @@ var Service = class Service extends Object$1 {
42551
42601
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42552
42602
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42553
42603
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42554
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42604
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42555
42605
  let fetchResult;
42556
42606
  try {
42557
42607
  fetchResult = await documentLoader(url.href);
@@ -42726,7 +42776,7 @@ var Service = class Service extends Object$1 {
42726
42776
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42727
42777
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42728
42778
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42729
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
42779
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42730
42780
  let fetchResult;
42731
42781
  try {
42732
42782
  fetchResult = await documentLoader(url.href);
@@ -42959,7 +43009,7 @@ var Service = class Service extends Object$1 {
42959
43009
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42960
43010
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42961
43011
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42962
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.lookup_object", async (span) => {
43012
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.lookup_object", async (span) => {
42963
43013
  let fetchResult;
42964
43014
  try {
42965
43015
  fetchResult = await documentLoader(url.href);
@@ -43663,7 +43713,7 @@ var Service = class Service extends Object$1 {
43663
43713
  * @throws {TypeError} If the given `json` is invalid.
43664
43714
  */
43665
43715
  static async fromJsonLd(json, options = {}) {
43666
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
43716
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
43667
43717
  try {
43668
43718
  const object = await this.__fromJsonLd__Service__(json, span, options);
43669
43719
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44207,6 +44257,11 @@ var Source = class {
44207
44257
  get _warning() {
44208
44258
  return this.#warning;
44209
44259
  }
44260
+ /**
44261
+ * Internal cross-package contract with @fedify/testing, which copies this
44262
+ * cache when attaching document loaders to an activity clone. Keep this
44263
+ * accessor name and its getter/setter semantics stable.
44264
+ */
44210
44265
  get _cachedJsonLd() {
44211
44266
  return this.#cachedJsonLd;
44212
44267
  }
@@ -44380,7 +44435,7 @@ var Source = class {
44380
44435
  * @throws {TypeError} If the given `json` is invalid.
44381
44436
  */
44382
44437
  static async fromJsonLd(json, options = {}) {
44383
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
44438
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
44384
44439
  try {
44385
44440
  const object = await this.__fromJsonLd__Source__(json, span, options);
44386
44441
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44565,7 +44620,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
44565
44620
  * @throws {TypeError} If the given `json` is invalid.
44566
44621
  */
44567
44622
  static async fromJsonLd(json, options = {}) {
44568
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
44623
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
44569
44624
  try {
44570
44625
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
44571
44626
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44717,7 +44772,7 @@ var TentativeReject = class TentativeReject extends Reject {
44717
44772
  * @throws {TypeError} If the given `json` is invalid.
44718
44773
  */
44719
44774
  static async fromJsonLd(json, options = {}) {
44720
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
44775
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
44721
44776
  try {
44722
44777
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
44723
44778
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44915,7 +44970,7 @@ var Tombstone = class Tombstone extends Object$1 {
44915
44970
  * @throws {TypeError} If the given `json` is invalid.
44916
44971
  */
44917
44972
  static async fromJsonLd(json, options = {}) {
44918
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
44973
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
44919
44974
  try {
44920
44975
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
44921
44976
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45084,7 +45139,7 @@ var Travel = class Travel extends IntransitiveActivity {
45084
45139
  * @throws {TypeError} If the given `json` is invalid.
45085
45140
  */
45086
45141
  static async fromJsonLd(json, options = {}) {
45087
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45142
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45088
45143
  try {
45089
45144
  const object = await this.__fromJsonLd__Travel__(json, span, options);
45090
45145
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45250,7 +45305,7 @@ var Undo = class Undo extends Activity {
45250
45305
  * @throws {TypeError} If the given `json` is invalid.
45251
45306
  */
45252
45307
  static async fromJsonLd(json, options = {}) {
45253
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45308
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45254
45309
  try {
45255
45310
  const object = await this.__fromJsonLd__Undo__(json, span, options);
45256
45311
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45454,7 +45509,7 @@ var Update = class Update extends Activity {
45454
45509
  * @throws {TypeError} If the given `json` is invalid.
45455
45510
  */
45456
45511
  static async fromJsonLd(json, options = {}) {
45457
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45512
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45458
45513
  try {
45459
45514
  const object = await this.__fromJsonLd__Update__(json, span, options);
45460
45515
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45619,7 +45674,7 @@ var Video = class Video extends Document {
45619
45674
  * @throws {TypeError} If the given `json` is invalid.
45620
45675
  */
45621
45676
  static async fromJsonLd(json, options = {}) {
45622
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45677
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45623
45678
  try {
45624
45679
  const object = await this.__fromJsonLd__Video__(json, span, options);
45625
45680
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45770,7 +45825,7 @@ var View = class View extends Activity {
45770
45825
  * @throws {TypeError} If the given `json` is invalid.
45771
45826
  */
45772
45827
  static async fromJsonLd(json, options = {}) {
45773
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.30").startActiveSpan("activitypub.parse_object", async (span) => {
45828
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.1.31").startActiveSpan("activitypub.parse_object", async (span) => {
45774
45829
  try {
45775
45830
  const object = await this.__fromJsonLd__View__(json, span, options);
45776
45831
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);