@fedify/vocab 2.2.19 → 2.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mod.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.2.19";
12
+ var version = "2.2.20";
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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
709
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
865
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
1096
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
1299
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
1471
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
1611
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
1796
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
1981
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
2174
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
2367
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
2565
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
2695
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
2831
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
2967
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
3121
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
3283
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
3466
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
3649
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
3832
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
4052
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
4258
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
4388
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
4518
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").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.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
5354
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").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);
@@ -6947,7 +6952,7 @@ var Emoji = class Emoji extends Object$1 {
6947
6952
  * @throws {TypeError} If the given `json` is invalid.
6948
6953
  */
6949
6954
  static async fromJsonLd(json, options = {}) {
6950
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
6955
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
6951
6956
  try {
6952
6957
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
6953
6958
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7084,7 +7089,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7084
7089
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7085
7090
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7086
7091
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7087
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
7092
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
7088
7093
  let fetchResult;
7089
7094
  try {
7090
7095
  fetchResult = await documentLoader(url.href);
@@ -7231,7 +7236,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7231
7236
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7232
7237
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7233
7238
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7234
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
7239
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
7235
7240
  let fetchResult;
7236
7241
  try {
7237
7242
  fetchResult = await documentLoader(url.href);
@@ -7524,7 +7529,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7524
7529
  * @throws {TypeError} If the given `json` is invalid.
7525
7530
  */
7526
7531
  static async fromJsonLd(json, options = {}) {
7527
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
7532
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
7528
7533
  try {
7529
7534
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
7530
7535
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7864,7 +7869,7 @@ var Activity = class Activity extends Object$1 {
7864
7869
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7865
7870
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7866
7871
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7867
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
7872
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
7868
7873
  let fetchResult;
7869
7874
  try {
7870
7875
  fetchResult = await documentLoader(url.href);
@@ -8095,7 +8100,7 @@ var Activity = class Activity extends Object$1 {
8095
8100
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8096
8101
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8097
8102
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8098
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
8103
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8099
8104
  let fetchResult;
8100
8105
  try {
8101
8106
  fetchResult = await documentLoader(url.href);
@@ -8280,7 +8285,7 @@ var Activity = class Activity extends Object$1 {
8280
8285
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8281
8286
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8282
8287
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8283
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
8288
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8284
8289
  let fetchResult;
8285
8290
  try {
8286
8291
  fetchResult = await documentLoader(url.href);
@@ -8471,7 +8476,7 @@ var Activity = class Activity extends Object$1 {
8471
8476
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8472
8477
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8473
8478
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8474
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
8479
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8475
8480
  let fetchResult;
8476
8481
  try {
8477
8482
  fetchResult = await documentLoader(url.href);
@@ -8656,7 +8661,7 @@ var Activity = class Activity extends Object$1 {
8656
8661
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8657
8662
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8658
8663
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8659
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
8664
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8660
8665
  let fetchResult;
8661
8666
  try {
8662
8667
  fetchResult = await documentLoader(url.href);
@@ -8843,7 +8848,7 @@ var Activity = class Activity extends Object$1 {
8843
8848
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8844
8849
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8845
8850
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8846
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
8851
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
8847
8852
  let fetchResult;
8848
8853
  try {
8849
8854
  fetchResult = await documentLoader(url.href);
@@ -9113,7 +9118,7 @@ var Activity = class Activity extends Object$1 {
9113
9118
  * @throws {TypeError} If the given `json` is invalid.
9114
9119
  */
9115
9120
  static async fromJsonLd(json, options = {}) {
9116
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
9121
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
9117
9122
  try {
9118
9123
  const object = await this.__fromJsonLd__Activity__(json, span, options);
9119
9124
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9473,7 +9478,7 @@ var EmojiReact = class EmojiReact extends Activity {
9473
9478
  * @throws {TypeError} If the given `json` is invalid.
9474
9479
  */
9475
9480
  static async fromJsonLd(json, options = {}) {
9476
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
9481
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
9477
9482
  try {
9478
9483
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
9479
9484
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9559,6 +9564,11 @@ var PropertyValue = class {
9559
9564
  get _warning() {
9560
9565
  return this.#warning;
9561
9566
  }
9567
+ /**
9568
+ * Internal cross-package contract with @fedify/testing, which copies this
9569
+ * cache when attaching document loaders to an activity clone. Keep this
9570
+ * accessor name and its getter/setter semantics stable.
9571
+ */
9562
9572
  get _cachedJsonLd() {
9563
9573
  return this.#cachedJsonLd;
9564
9574
  }
@@ -9734,7 +9744,7 @@ var PropertyValue = class {
9734
9744
  * @throws {TypeError} If the given `json` is invalid.
9735
9745
  */
9736
9746
  static async fromJsonLd(json, options = {}) {
9737
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
9747
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
9738
9748
  try {
9739
9749
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
9740
9750
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9856,6 +9866,11 @@ var Measure = class {
9856
9866
  get _warning() {
9857
9867
  return this.#warning;
9858
9868
  }
9869
+ /**
9870
+ * Internal cross-package contract with @fedify/testing, which copies this
9871
+ * cache when attaching document loaders to an activity clone. Keep this
9872
+ * accessor name and its getter/setter semantics stable.
9873
+ */
9859
9874
  get _cachedJsonLd() {
9860
9875
  return this.#cachedJsonLd;
9861
9876
  }
@@ -10022,7 +10037,7 @@ var Measure = class {
10022
10037
  * @throws {TypeError} If the given `json` is invalid.
10023
10038
  */
10024
10039
  static async fromJsonLd(json, options = {}) {
10025
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
10040
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
10026
10041
  try {
10027
10042
  const object = await this.__fromJsonLd__Measure__(json, span, options);
10028
10043
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10193,7 +10208,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10193
10208
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10194
10209
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10195
10210
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10196
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
10211
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
10197
10212
  let fetchResult;
10198
10213
  try {
10199
10214
  fetchResult = await documentLoader(url.href);
@@ -10323,7 +10338,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10323
10338
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10324
10339
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10325
10340
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10326
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
10341
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
10327
10342
  let fetchResult;
10328
10343
  try {
10329
10344
  fetchResult = await documentLoader(url.href);
@@ -10548,7 +10563,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10548
10563
  * @throws {TypeError} If the given `json` is invalid.
10549
10564
  */
10550
10565
  static async fromJsonLd(json, options = {}) {
10551
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
10566
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
10552
10567
  try {
10553
10568
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
10554
10569
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10760,7 +10775,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
10760
10775
  * @throws {TypeError} If the given `json` is invalid.
10761
10776
  */
10762
10777
  static async fromJsonLd(json, options = {}) {
10763
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
10778
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
10764
10779
  try {
10765
10780
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
10766
10781
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10852,6 +10867,11 @@ var InteractionPolicy = class {
10852
10867
  get _warning() {
10853
10868
  return this.#warning;
10854
10869
  }
10870
+ /**
10871
+ * Internal cross-package contract with @fedify/testing, which copies this
10872
+ * cache when attaching document loaders to an activity clone. Keep this
10873
+ * accessor name and its getter/setter semantics stable.
10874
+ */
10855
10875
  get _cachedJsonLd() {
10856
10876
  return this.#cachedJsonLd;
10857
10877
  }
@@ -11039,7 +11059,7 @@ var InteractionPolicy = class {
11039
11059
  * @throws {TypeError} If the given `json` is invalid.
11040
11060
  */
11041
11061
  static async fromJsonLd(json, options = {}) {
11042
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
11062
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
11043
11063
  try {
11044
11064
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
11045
11065
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11226,6 +11246,11 @@ var InteractionRule = class {
11226
11246
  get _warning() {
11227
11247
  return this.#warning;
11228
11248
  }
11249
+ /**
11250
+ * Internal cross-package contract with @fedify/testing, which copies this
11251
+ * cache when attaching document loaders to an activity clone. Keep this
11252
+ * accessor name and its getter/setter semantics stable.
11253
+ */
11229
11254
  get _cachedJsonLd() {
11230
11255
  return this.#cachedJsonLd;
11231
11256
  }
@@ -11395,7 +11420,7 @@ var InteractionRule = class {
11395
11420
  * @throws {TypeError} If the given `json` is invalid.
11396
11421
  */
11397
11422
  static async fromJsonLd(json, options = {}) {
11398
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
11423
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
11399
11424
  try {
11400
11425
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
11401
11426
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11567,7 +11592,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11567
11592
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11568
11593
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11569
11594
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11570
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
11595
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
11571
11596
  let fetchResult;
11572
11597
  try {
11573
11598
  fetchResult = await documentLoader(url.href);
@@ -11697,7 +11722,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11697
11722
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11698
11723
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11699
11724
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11700
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
11725
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
11701
11726
  let fetchResult;
11702
11727
  try {
11703
11728
  fetchResult = await documentLoader(url.href);
@@ -11922,7 +11947,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11922
11947
  * @throws {TypeError} If the given `json` is invalid.
11923
11948
  */
11924
11949
  static async fromJsonLd(json, options = {}) {
11925
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
11950
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
11926
11951
  try {
11927
11952
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
11928
11953
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12133,7 +12158,7 @@ var LikeRequest = class LikeRequest extends Activity {
12133
12158
  * @throws {TypeError} If the given `json` is invalid.
12134
12159
  */
12135
12160
  static async fromJsonLd(json, options = {}) {
12136
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
12161
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
12137
12162
  try {
12138
12163
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
12139
12164
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12267,7 +12292,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12267
12292
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12268
12293
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12269
12294
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12270
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
12295
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
12271
12296
  let fetchResult;
12272
12297
  try {
12273
12298
  fetchResult = await documentLoader(url.href);
@@ -12397,7 +12422,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12397
12422
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12398
12423
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12399
12424
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12400
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
12425
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
12401
12426
  let fetchResult;
12402
12427
  try {
12403
12428
  fetchResult = await documentLoader(url.href);
@@ -12622,7 +12647,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12622
12647
  * @throws {TypeError} If the given `json` is invalid.
12623
12648
  */
12624
12649
  static async fromJsonLd(json, options = {}) {
12625
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
12650
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
12626
12651
  try {
12627
12652
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
12628
12653
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12833,7 +12858,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
12833
12858
  * @throws {TypeError} If the given `json` is invalid.
12834
12859
  */
12835
12860
  static async fromJsonLd(json, options = {}) {
12836
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
12861
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
12837
12862
  try {
12838
12863
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
12839
12864
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12967,7 +12992,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12967
12992
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12968
12993
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12969
12994
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12970
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
12995
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
12971
12996
  let fetchResult;
12972
12997
  try {
12973
12998
  fetchResult = await documentLoader(url.href);
@@ -13096,7 +13121,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13096
13121
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13097
13122
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13098
13123
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13099
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
13124
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
13100
13125
  let fetchResult;
13101
13126
  try {
13102
13127
  fetchResult = await documentLoader(url.href);
@@ -13323,7 +13348,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13323
13348
  * @throws {TypeError} If the given `json` is invalid.
13324
13349
  */
13325
13350
  static async fromJsonLd(json, options = {}) {
13326
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
13351
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
13327
13352
  try {
13328
13353
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
13329
13354
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13564,7 +13589,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
13564
13589
  * @throws {TypeError} If the given `json` is invalid.
13565
13590
  */
13566
13591
  static async fromJsonLd(json, options = {}) {
13567
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
13592
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
13568
13593
  try {
13569
13594
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
13570
13595
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13653,6 +13678,11 @@ var DidService = class {
13653
13678
  get _warning() {
13654
13679
  return this.#warning;
13655
13680
  }
13681
+ /**
13682
+ * Internal cross-package contract with @fedify/testing, which copies this
13683
+ * cache when attaching document loaders to an activity clone. Keep this
13684
+ * accessor name and its getter/setter semantics stable.
13685
+ */
13656
13686
  get _cachedJsonLd() {
13657
13687
  return this.#cachedJsonLd;
13658
13688
  }
@@ -13785,7 +13815,7 @@ var DidService = class {
13785
13815
  * @throws {TypeError} If the given `json` is invalid.
13786
13816
  */
13787
13817
  static async fromJsonLd(json, options = {}) {
13788
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
13818
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
13789
13819
  try {
13790
13820
  const object = await this.__fromJsonLd__DidService__(json, span, options);
13791
13821
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13948,7 +13978,7 @@ var Export = class Export extends DidService {
13948
13978
  * @throws {TypeError} If the given `json` is invalid.
13949
13979
  */
13950
13980
  static async fromJsonLd(json, options = {}) {
13951
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
13981
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
13952
13982
  try {
13953
13983
  const object = await this.__fromJsonLd__Export__(json, span, options);
13954
13984
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14035,6 +14065,11 @@ var DataIntegrityProof = class {
14035
14065
  get _warning() {
14036
14066
  return this.#warning;
14037
14067
  }
14068
+ /**
14069
+ * Internal cross-package contract with @fedify/testing, which copies this
14070
+ * cache when attaching document loaders to an activity clone. Keep this
14071
+ * accessor name and its getter/setter semantics stable.
14072
+ */
14038
14073
  get _cachedJsonLd() {
14039
14074
  return this.#cachedJsonLd;
14040
14075
  }
@@ -14136,7 +14171,7 @@ var DataIntegrityProof = class {
14136
14171
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14137
14172
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14138
14173
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14139
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
14174
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
14140
14175
  let fetchResult;
14141
14176
  try {
14142
14177
  fetchResult = await documentLoader(url.href);
@@ -14355,7 +14390,7 @@ var DataIntegrityProof = class {
14355
14390
  * @throws {TypeError} If the given `json` is invalid.
14356
14391
  */
14357
14392
  static async fromJsonLd(json, options = {}) {
14358
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
14393
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
14359
14394
  try {
14360
14395
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
14361
14396
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14538,6 +14573,11 @@ var CryptographicKey = class {
14538
14573
  get _warning() {
14539
14574
  return this.#warning;
14540
14575
  }
14576
+ /**
14577
+ * Internal cross-package contract with @fedify/testing, which copies this
14578
+ * cache when attaching document loaders to an activity clone. Keep this
14579
+ * accessor name and its getter/setter semantics stable.
14580
+ */
14541
14581
  get _cachedJsonLd() {
14542
14582
  return this.#cachedJsonLd;
14543
14583
  }
@@ -14614,7 +14654,7 @@ var CryptographicKey = class {
14614
14654
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14615
14655
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14616
14656
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14617
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
14657
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
14618
14658
  let fetchResult;
14619
14659
  try {
14620
14660
  fetchResult = await documentLoader(url.href);
@@ -14885,7 +14925,7 @@ var CryptographicKey = class {
14885
14925
  * @throws {TypeError} If the given `json` is invalid.
14886
14926
  */
14887
14927
  static async fromJsonLd(json, options = {}) {
14888
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
14928
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
14889
14929
  try {
14890
14930
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
14891
14931
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15029,6 +15069,11 @@ var Multikey = class {
15029
15069
  get _warning() {
15030
15070
  return this.#warning;
15031
15071
  }
15072
+ /**
15073
+ * Internal cross-package contract with @fedify/testing, which copies this
15074
+ * cache when attaching document loaders to an activity clone. Keep this
15075
+ * accessor name and its getter/setter semantics stable.
15076
+ */
15032
15077
  get _cachedJsonLd() {
15033
15078
  return this.#cachedJsonLd;
15034
15079
  }
@@ -15105,7 +15150,7 @@ var Multikey = class {
15105
15150
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
15106
15151
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
15107
15152
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
15108
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
15153
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
15109
15154
  let fetchResult;
15110
15155
  try {
15111
15156
  fetchResult = await documentLoader(url.href);
@@ -15382,7 +15427,7 @@ var Multikey = class {
15382
15427
  * @throws {TypeError} If the given `json` is invalid.
15383
15428
  */
15384
15429
  static async fromJsonLd(json, options = {}) {
15385
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
15430
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
15386
15431
  try {
15387
15432
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
15388
15433
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15524,6 +15569,11 @@ var Intent = class {
15524
15569
  get _warning() {
15525
15570
  return this.#warning;
15526
15571
  }
15572
+ /**
15573
+ * Internal cross-package contract with @fedify/testing, which copies this
15574
+ * cache when attaching document loaders to an activity clone. Keep this
15575
+ * accessor name and its getter/setter semantics stable.
15576
+ */
15527
15577
  get _cachedJsonLd() {
15528
15578
  return this.#cachedJsonLd;
15529
15579
  }
@@ -15793,7 +15843,7 @@ var Intent = class {
15793
15843
  * @throws {TypeError} If the given `json` is invalid.
15794
15844
  */
15795
15845
  static async fromJsonLd(json, options = {}) {
15796
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
15846
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
15797
15847
  try {
15798
15848
  const object = await this.__fromJsonLd__Intent__(json, span, options);
15799
15849
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16233,7 +16283,7 @@ var Proposal = class Proposal extends Object$1 {
16233
16283
  * @throws {TypeError} If the given `json` is invalid.
16234
16284
  */
16235
16285
  static async fromJsonLd(json, options = {}) {
16236
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
16286
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
16237
16287
  try {
16238
16288
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
16239
16289
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16465,7 +16515,7 @@ var Accept = class Accept extends Activity {
16465
16515
  * @throws {TypeError} If the given `json` is invalid.
16466
16516
  */
16467
16517
  static async fromJsonLd(json, options = {}) {
16468
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
16518
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
16469
16519
  try {
16470
16520
  const object = await this.__fromJsonLd__Accept__(json, span, options);
16471
16521
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16620,7 +16670,7 @@ var Add = class Add extends Activity {
16620
16670
  * @throws {TypeError} If the given `json` is invalid.
16621
16671
  */
16622
16672
  static async fromJsonLd(json, options = {}) {
16623
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
16673
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
16624
16674
  try {
16625
16675
  const object = await this.__fromJsonLd__Add__(json, span, options);
16626
16676
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16802,7 +16852,7 @@ var Announce = class Announce extends Activity {
16802
16852
  * @throws {TypeError} If the given `json` is invalid.
16803
16853
  */
16804
16854
  static async fromJsonLd(json, options = {}) {
16805
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
16855
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
16806
16856
  try {
16807
16857
  const object = await this.__fromJsonLd__Announce__(json, span, options);
16808
16858
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17200,7 +17250,7 @@ var Application = class Application extends Object$1 {
17200
17250
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17201
17251
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17202
17252
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17203
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
17253
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17204
17254
  let fetchResult;
17205
17255
  try {
17206
17256
  fetchResult = await documentLoader(url.href);
@@ -17381,7 +17431,7 @@ var Application = class Application extends Object$1 {
17381
17431
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17382
17432
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17383
17433
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17384
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
17434
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17385
17435
  let fetchResult;
17386
17436
  try {
17387
17437
  fetchResult = await documentLoader(url.href);
@@ -17580,7 +17630,7 @@ var Application = class Application extends Object$1 {
17580
17630
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17581
17631
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17582
17632
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17583
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
17633
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17584
17634
  let fetchResult;
17585
17635
  try {
17586
17636
  fetchResult = await documentLoader(url.href);
@@ -17731,7 +17781,7 @@ var Application = class Application extends Object$1 {
17731
17781
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17732
17782
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17733
17783
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17734
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
17784
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17735
17785
  let fetchResult;
17736
17786
  try {
17737
17787
  fetchResult = await documentLoader(url.href);
@@ -17879,7 +17929,7 @@ var Application = class Application extends Object$1 {
17879
17929
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17880
17930
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17881
17931
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17882
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
17932
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
17883
17933
  let fetchResult;
17884
17934
  try {
17885
17935
  fetchResult = await documentLoader(url.href);
@@ -18012,7 +18062,7 @@ var Application = class Application extends Object$1 {
18012
18062
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18013
18063
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18014
18064
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18015
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
18065
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18016
18066
  let fetchResult;
18017
18067
  try {
18018
18068
  fetchResult = await documentLoader(url.href);
@@ -18148,7 +18198,7 @@ var Application = class Application extends Object$1 {
18148
18198
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18149
18199
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18150
18200
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18151
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
18201
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18152
18202
  let fetchResult;
18153
18203
  try {
18154
18204
  fetchResult = await documentLoader(url.href);
@@ -18282,7 +18332,7 @@ var Application = class Application extends Object$1 {
18282
18332
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18283
18333
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18284
18334
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18285
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
18335
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18286
18336
  let fetchResult;
18287
18337
  try {
18288
18338
  fetchResult = await documentLoader(url.href);
@@ -18414,7 +18464,7 @@ var Application = class Application extends Object$1 {
18414
18464
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18415
18465
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18416
18466
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18417
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
18467
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18418
18468
  let fetchResult;
18419
18469
  try {
18420
18470
  fetchResult = await documentLoader(url.href);
@@ -18546,7 +18596,7 @@ var Application = class Application extends Object$1 {
18546
18596
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18547
18597
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18548
18598
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18549
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
18599
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18550
18600
  let fetchResult;
18551
18601
  try {
18552
18602
  fetchResult = await documentLoader(url.href);
@@ -18718,7 +18768,7 @@ var Application = class Application extends Object$1 {
18718
18768
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18719
18769
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18720
18770
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18721
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
18771
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18722
18772
  let fetchResult;
18723
18773
  try {
18724
18774
  fetchResult = await documentLoader(url.href);
@@ -18893,7 +18943,7 @@ var Application = class Application extends Object$1 {
18893
18943
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18894
18944
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18895
18945
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18896
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
18946
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
18897
18947
  let fetchResult;
18898
18948
  try {
18899
18949
  fetchResult = await documentLoader(url.href);
@@ -19126,7 +19176,7 @@ var Application = class Application extends Object$1 {
19126
19176
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19127
19177
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19128
19178
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19129
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
19179
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
19130
19180
  let fetchResult;
19131
19181
  try {
19132
19182
  fetchResult = await documentLoader(url.href);
@@ -19830,7 +19880,7 @@ var Application = class Application extends Object$1 {
19830
19880
  * @throws {TypeError} If the given `json` is invalid.
19831
19881
  */
19832
19882
  static async fromJsonLd(json, options = {}) {
19833
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
19883
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
19834
19884
  try {
19835
19885
  const object = await this.__fromJsonLd__Application__(json, span, options);
19836
19886
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20509,7 +20559,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
20509
20559
  * @throws {TypeError} If the given `json` is invalid.
20510
20560
  */
20511
20561
  static async fromJsonLd(json, options = {}) {
20512
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
20562
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
20513
20563
  try {
20514
20564
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
20515
20565
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20665,7 +20715,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
20665
20715
  * @throws {TypeError} If the given `json` is invalid.
20666
20716
  */
20667
20717
  static async fromJsonLd(json, options = {}) {
20668
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
20718
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
20669
20719
  try {
20670
20720
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
20671
20721
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20798,7 +20848,7 @@ var Article = class Article extends Object$1 {
20798
20848
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20799
20849
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20800
20850
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20801
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
20851
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
20802
20852
  let fetchResult;
20803
20853
  try {
20804
20854
  fetchResult = await documentLoader(url.href);
@@ -20945,7 +20995,7 @@ var Article = class Article extends Object$1 {
20945
20995
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20946
20996
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20947
20997
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20948
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
20998
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
20949
20999
  let fetchResult;
20950
21000
  try {
20951
21001
  fetchResult = await documentLoader(url.href);
@@ -21240,7 +21290,7 @@ var Article = class Article extends Object$1 {
21240
21290
  * @throws {TypeError} If the given `json` is invalid.
21241
21291
  */
21242
21292
  static async fromJsonLd(json, options = {}) {
21243
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
21293
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
21244
21294
  try {
21245
21295
  const object = await this.__fromJsonLd__Article__(json, span, options);
21246
21296
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21536,7 +21586,7 @@ var Document = class Document extends Object$1 {
21536
21586
  * @throws {TypeError} If the given `json` is invalid.
21537
21587
  */
21538
21588
  static async fromJsonLd(json, options = {}) {
21539
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
21589
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
21540
21590
  try {
21541
21591
  const object = await this.__fromJsonLd__Document__(json, span, options);
21542
21592
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21742,7 +21792,7 @@ var Audio = class Audio extends Document {
21742
21792
  * @throws {TypeError} If the given `json` is invalid.
21743
21793
  */
21744
21794
  static async fromJsonLd(json, options = {}) {
21745
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
21795
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
21746
21796
  try {
21747
21797
  const object = await this.__fromJsonLd__Audio__(json, span, options);
21748
21798
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21894,7 +21944,7 @@ var Ignore = class Ignore extends Activity {
21894
21944
  * @throws {TypeError} If the given `json` is invalid.
21895
21945
  */
21896
21946
  static async fromJsonLd(json, options = {}) {
21897
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
21947
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
21898
21948
  try {
21899
21949
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
21900
21950
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22049,7 +22099,7 @@ var Block = class Block extends Ignore {
22049
22099
  * @throws {TypeError} If the given `json` is invalid.
22050
22100
  */
22051
22101
  static async fromJsonLd(json, options = {}) {
22052
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
22102
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
22053
22103
  try {
22054
22104
  const object = await this.__fromJsonLd__Block__(json, span, options);
22055
22105
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22316,7 +22366,7 @@ var Collection = class Collection extends Object$1 {
22316
22366
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22317
22367
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22318
22368
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22319
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
22369
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22320
22370
  let fetchResult;
22321
22371
  try {
22322
22372
  fetchResult = await documentLoader(url.href);
@@ -22446,7 +22496,7 @@ var Collection = class Collection extends Object$1 {
22446
22496
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22447
22497
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22448
22498
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22449
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
22499
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22450
22500
  let fetchResult;
22451
22501
  try {
22452
22502
  fetchResult = await documentLoader(url.href);
@@ -22576,7 +22626,7 @@ var Collection = class Collection extends Object$1 {
22576
22626
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22577
22627
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22578
22628
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22579
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
22629
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22580
22630
  let fetchResult;
22581
22631
  try {
22582
22632
  fetchResult = await documentLoader(url.href);
@@ -22706,7 +22756,7 @@ var Collection = class Collection extends Object$1 {
22706
22756
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22707
22757
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22708
22758
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22709
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
22759
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22710
22760
  let fetchResult;
22711
22761
  try {
22712
22762
  fetchResult = await documentLoader(url.href);
@@ -22847,7 +22897,7 @@ var Collection = class Collection extends Object$1 {
22847
22897
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22848
22898
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22849
22899
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22850
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
22900
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22851
22901
  let fetchResult;
22852
22902
  try {
22853
22903
  fetchResult = await documentLoader(url.href);
@@ -22976,7 +23026,7 @@ var Collection = class Collection extends Object$1 {
22976
23026
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22977
23027
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22978
23028
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22979
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
23029
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
22980
23030
  let fetchResult;
22981
23031
  try {
22982
23032
  fetchResult = await documentLoader(url.href);
@@ -23105,7 +23155,7 @@ var Collection = class Collection extends Object$1 {
23105
23155
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23106
23156
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23107
23157
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23108
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
23158
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23109
23159
  let fetchResult;
23110
23160
  try {
23111
23161
  fetchResult = await documentLoader(url.href);
@@ -23234,7 +23284,7 @@ var Collection = class Collection extends Object$1 {
23234
23284
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23235
23285
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23236
23286
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23237
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
23287
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23238
23288
  let fetchResult;
23239
23289
  try {
23240
23290
  fetchResult = await documentLoader(url.href);
@@ -23363,7 +23413,7 @@ var Collection = class Collection extends Object$1 {
23363
23413
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23364
23414
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23365
23415
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23366
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
23416
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23367
23417
  let fetchResult;
23368
23418
  try {
23369
23419
  fetchResult = await documentLoader(url.href);
@@ -23492,7 +23542,7 @@ var Collection = class Collection extends Object$1 {
23492
23542
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23493
23543
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23494
23544
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23495
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
23545
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23496
23546
  let fetchResult;
23497
23547
  try {
23498
23548
  fetchResult = await documentLoader(url.href);
@@ -23621,7 +23671,7 @@ var Collection = class Collection extends Object$1 {
23621
23671
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23622
23672
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23623
23673
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23624
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
23674
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23625
23675
  let fetchResult;
23626
23676
  try {
23627
23677
  fetchResult = await documentLoader(url.href);
@@ -23750,7 +23800,7 @@ var Collection = class Collection extends Object$1 {
23750
23800
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23751
23801
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23752
23802
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23753
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
23803
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
23754
23804
  let fetchResult;
23755
23805
  try {
23756
23806
  fetchResult = await documentLoader(url.href);
@@ -24208,7 +24258,7 @@ var Collection = class Collection extends Object$1 {
24208
24258
  * @throws {TypeError} If the given `json` is invalid.
24209
24259
  */
24210
24260
  static async fromJsonLd(json, options = {}) {
24211
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
24261
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
24212
24262
  try {
24213
24263
  const object = await this.__fromJsonLd__Collection__(json, span, options);
24214
24264
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24743,7 +24793,7 @@ var CollectionPage = class CollectionPage extends Collection {
24743
24793
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24744
24794
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24745
24795
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24746
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
24796
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
24747
24797
  let fetchResult;
24748
24798
  try {
24749
24799
  fetchResult = await documentLoader(url.href);
@@ -24873,7 +24923,7 @@ var CollectionPage = class CollectionPage extends Collection {
24873
24923
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24874
24924
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24875
24925
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24876
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
24926
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
24877
24927
  let fetchResult;
24878
24928
  try {
24879
24929
  fetchResult = await documentLoader(url.href);
@@ -25002,7 +25052,7 @@ var CollectionPage = class CollectionPage extends Collection {
25002
25052
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25003
25053
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25004
25054
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25005
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
25055
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
25006
25056
  let fetchResult;
25007
25057
  try {
25008
25058
  fetchResult = await documentLoader(url.href);
@@ -25297,7 +25347,7 @@ var CollectionPage = class CollectionPage extends Collection {
25297
25347
  * @throws {TypeError} If the given `json` is invalid.
25298
25348
  */
25299
25349
  static async fromJsonLd(json, options = {}) {
25300
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
25350
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
25301
25351
  try {
25302
25352
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
25303
25353
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25555,7 +25605,7 @@ var Create = class Create extends Activity {
25555
25605
  * @throws {TypeError} If the given `json` is invalid.
25556
25606
  */
25557
25607
  static async fromJsonLd(json, options = {}) {
25558
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
25608
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
25559
25609
  try {
25560
25610
  const object = await this.__fromJsonLd__Create__(json, span, options);
25561
25611
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25733,7 +25783,7 @@ var Delete = class Delete extends Activity {
25733
25783
  * @throws {TypeError} If the given `json` is invalid.
25734
25784
  */
25735
25785
  static async fromJsonLd(json, options = {}) {
25736
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
25786
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
25737
25787
  try {
25738
25788
  const object = await this.__fromJsonLd__Delete__(json, span, options);
25739
25789
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25888,7 +25938,7 @@ var Dislike = class Dislike extends Activity {
25888
25938
  * @throws {TypeError} If the given `json` is invalid.
25889
25939
  */
25890
25940
  static async fromJsonLd(json, options = {}) {
25891
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
25941
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
25892
25942
  try {
25893
25943
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
25894
25944
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25974,6 +26024,11 @@ var Endpoints = class {
25974
26024
  get _warning() {
25975
26025
  return this.#warning;
25976
26026
  }
26027
+ /**
26028
+ * Internal cross-package contract with @fedify/testing, which copies this
26029
+ * cache when attaching document loaders to an activity clone. Keep this
26030
+ * accessor name and its getter/setter semantics stable.
26031
+ */
25977
26032
  get _cachedJsonLd() {
25978
26033
  return this.#cachedJsonLd;
25979
26034
  }
@@ -26248,7 +26303,7 @@ var Endpoints = class {
26248
26303
  * @throws {TypeError} If the given `json` is invalid.
26249
26304
  */
26250
26305
  static async fromJsonLd(json, options = {}) {
26251
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
26306
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
26252
26307
  try {
26253
26308
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
26254
26309
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26521,7 +26576,7 @@ var Event = class Event extends Object$1 {
26521
26576
  * @throws {TypeError} If the given `json` is invalid.
26522
26577
  */
26523
26578
  static async fromJsonLd(json, options = {}) {
26524
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
26579
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
26525
26580
  try {
26526
26581
  const object = await this.__fromJsonLd__Event__(json, span, options);
26527
26582
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26674,7 +26729,7 @@ var Flag = class Flag extends Activity {
26674
26729
  * @throws {TypeError} If the given `json` is invalid.
26675
26730
  */
26676
26731
  static async fromJsonLd(json, options = {}) {
26677
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
26732
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
26678
26733
  try {
26679
26734
  const object = await this.__fromJsonLd__Flag__(json, span, options);
26680
26735
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26831,7 +26886,7 @@ var Follow = class Follow extends Activity {
26831
26886
  * @throws {TypeError} If the given `json` is invalid.
26832
26887
  */
26833
26888
  static async fromJsonLd(json, options = {}) {
26834
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
26889
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
26835
26890
  try {
26836
26891
  const object = await this.__fromJsonLd__Follow__(json, span, options);
26837
26892
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27229,7 +27284,7 @@ var Group = class Group extends Object$1 {
27229
27284
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27230
27285
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27231
27286
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27232
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
27287
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27233
27288
  let fetchResult;
27234
27289
  try {
27235
27290
  fetchResult = await documentLoader(url.href);
@@ -27410,7 +27465,7 @@ var Group = class Group extends Object$1 {
27410
27465
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27411
27466
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27412
27467
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27413
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
27468
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27414
27469
  let fetchResult;
27415
27470
  try {
27416
27471
  fetchResult = await documentLoader(url.href);
@@ -27609,7 +27664,7 @@ var Group = class Group extends Object$1 {
27609
27664
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27610
27665
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27611
27666
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27612
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
27667
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27613
27668
  let fetchResult;
27614
27669
  try {
27615
27670
  fetchResult = await documentLoader(url.href);
@@ -27760,7 +27815,7 @@ var Group = class Group extends Object$1 {
27760
27815
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27761
27816
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27762
27817
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27763
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
27818
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27764
27819
  let fetchResult;
27765
27820
  try {
27766
27821
  fetchResult = await documentLoader(url.href);
@@ -27908,7 +27963,7 @@ var Group = class Group extends Object$1 {
27908
27963
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27909
27964
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27910
27965
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27911
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
27966
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
27912
27967
  let fetchResult;
27913
27968
  try {
27914
27969
  fetchResult = await documentLoader(url.href);
@@ -28041,7 +28096,7 @@ var Group = class Group extends Object$1 {
28041
28096
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28042
28097
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28043
28098
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28044
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
28099
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28045
28100
  let fetchResult;
28046
28101
  try {
28047
28102
  fetchResult = await documentLoader(url.href);
@@ -28177,7 +28232,7 @@ var Group = class Group extends Object$1 {
28177
28232
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28178
28233
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28179
28234
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28180
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
28235
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28181
28236
  let fetchResult;
28182
28237
  try {
28183
28238
  fetchResult = await documentLoader(url.href);
@@ -28311,7 +28366,7 @@ var Group = class Group extends Object$1 {
28311
28366
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28312
28367
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28313
28368
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28314
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
28369
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28315
28370
  let fetchResult;
28316
28371
  try {
28317
28372
  fetchResult = await documentLoader(url.href);
@@ -28443,7 +28498,7 @@ var Group = class Group extends Object$1 {
28443
28498
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28444
28499
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28445
28500
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28446
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
28501
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28447
28502
  let fetchResult;
28448
28503
  try {
28449
28504
  fetchResult = await documentLoader(url.href);
@@ -28575,7 +28630,7 @@ var Group = class Group extends Object$1 {
28575
28630
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28576
28631
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28577
28632
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28578
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
28633
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28579
28634
  let fetchResult;
28580
28635
  try {
28581
28636
  fetchResult = await documentLoader(url.href);
@@ -28747,7 +28802,7 @@ var Group = class Group extends Object$1 {
28747
28802
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28748
28803
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28749
28804
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28750
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
28805
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28751
28806
  let fetchResult;
28752
28807
  try {
28753
28808
  fetchResult = await documentLoader(url.href);
@@ -28922,7 +28977,7 @@ var Group = class Group extends Object$1 {
28922
28977
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28923
28978
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28924
28979
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28925
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
28980
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
28926
28981
  let fetchResult;
28927
28982
  try {
28928
28983
  fetchResult = await documentLoader(url.href);
@@ -29155,7 +29210,7 @@ var Group = class Group extends Object$1 {
29155
29210
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29156
29211
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29157
29212
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29158
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
29213
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
29159
29214
  let fetchResult;
29160
29215
  try {
29161
29216
  fetchResult = await documentLoader(url.href);
@@ -29859,7 +29914,7 @@ var Group = class Group extends Object$1 {
29859
29914
  * @throws {TypeError} If the given `json` is invalid.
29860
29915
  */
29861
29916
  static async fromJsonLd(json, options = {}) {
29862
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
29917
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
29863
29918
  try {
29864
29919
  const object = await this.__fromJsonLd__Group__(json, span, options);
29865
29920
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30478,6 +30533,11 @@ var Link = class Link {
30478
30533
  get _warning() {
30479
30534
  return this.#warning;
30480
30535
  }
30536
+ /**
30537
+ * Internal cross-package contract with @fedify/testing, which copies this
30538
+ * cache when attaching document loaders to an activity clone. Keep this
30539
+ * accessor name and its getter/setter semantics stable.
30540
+ */
30481
30541
  get _cachedJsonLd() {
30482
30542
  return this.#cachedJsonLd;
30483
30543
  }
@@ -30688,7 +30748,7 @@ var Link = class Link {
30688
30748
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30689
30749
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30690
30750
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30691
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
30751
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
30692
30752
  let fetchResult;
30693
30753
  try {
30694
30754
  fetchResult = await documentLoader(url.href);
@@ -30990,7 +31050,7 @@ var Link = class Link {
30990
31050
  * @throws {TypeError} If the given `json` is invalid.
30991
31051
  */
30992
31052
  static async fromJsonLd(json, options = {}) {
30993
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
31053
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
30994
31054
  try {
30995
31055
  const object = await this.__fromJsonLd__Link__(json, span, options);
30996
31056
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31373,7 +31433,7 @@ var Hashtag = class Hashtag extends Link {
31373
31433
  * @throws {TypeError} If the given `json` is invalid.
31374
31434
  */
31375
31435
  static async fromJsonLd(json, options = {}) {
31376
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
31436
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
31377
31437
  try {
31378
31438
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
31379
31439
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31538,7 +31598,7 @@ var Image = class Image extends Document {
31538
31598
  * @throws {TypeError} If the given `json` is invalid.
31539
31599
  */
31540
31600
  static async fromJsonLd(json, options = {}) {
31541
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
31601
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
31542
31602
  try {
31543
31603
  const object = await this.__fromJsonLd__Image__(json, span, options);
31544
31604
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31691,7 +31751,7 @@ var Offer = class Offer extends Activity {
31691
31751
  * @throws {TypeError} If the given `json` is invalid.
31692
31752
  */
31693
31753
  static async fromJsonLd(json, options = {}) {
31694
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
31754
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
31695
31755
  try {
31696
31756
  const object = await this.__fromJsonLd__Offer__(json, span, options);
31697
31757
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31844,7 +31904,7 @@ var Invite = class Invite extends Offer {
31844
31904
  * @throws {TypeError} If the given `json` is invalid.
31845
31905
  */
31846
31906
  static async fromJsonLd(json, options = {}) {
31847
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
31907
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
31848
31908
  try {
31849
31909
  const object = await this.__fromJsonLd__Invite__(json, span, options);
31850
31910
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31996,7 +32056,7 @@ var Join = class Join extends Activity {
31996
32056
  * @throws {TypeError} If the given `json` is invalid.
31997
32057
  */
31998
32058
  static async fromJsonLd(json, options = {}) {
31999
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
32059
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32000
32060
  try {
32001
32061
  const object = await this.__fromJsonLd__Join__(json, span, options);
32002
32062
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32148,7 +32208,7 @@ var Leave = class Leave extends Activity {
32148
32208
  * @throws {TypeError} If the given `json` is invalid.
32149
32209
  */
32150
32210
  static async fromJsonLd(json, options = {}) {
32151
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
32211
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32152
32212
  try {
32153
32213
  const object = await this.__fromJsonLd__Leave__(json, span, options);
32154
32214
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32304,7 +32364,7 @@ var Like = class Like extends Activity {
32304
32364
  * @throws {TypeError} If the given `json` is invalid.
32305
32365
  */
32306
32366
  static async fromJsonLd(json, options = {}) {
32307
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
32367
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32308
32368
  try {
32309
32369
  const object = await this.__fromJsonLd__Like__(json, span, options);
32310
32370
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32455,7 +32515,7 @@ var Listen = class Listen extends Activity {
32455
32515
  * @throws {TypeError} If the given `json` is invalid.
32456
32516
  */
32457
32517
  static async fromJsonLd(json, options = {}) {
32458
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
32518
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32459
32519
  try {
32460
32520
  const object = await this.__fromJsonLd__Listen__(json, span, options);
32461
32521
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32609,7 +32669,7 @@ var Mention = class Mention extends Link {
32609
32669
  * @throws {TypeError} If the given `json` is invalid.
32610
32670
  */
32611
32671
  static async fromJsonLd(json, options = {}) {
32612
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
32672
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32613
32673
  try {
32614
32674
  const object = await this.__fromJsonLd__Mention__(json, span, options);
32615
32675
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32762,7 +32822,7 @@ var Move = class Move extends Activity {
32762
32822
  * @throws {TypeError} If the given `json` is invalid.
32763
32823
  */
32764
32824
  static async fromJsonLd(json, options = {}) {
32765
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
32825
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
32766
32826
  try {
32767
32827
  const object = await this.__fromJsonLd__Move__(json, span, options);
32768
32828
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32896,7 +32956,7 @@ var Note = class Note extends Object$1 {
32896
32956
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32897
32957
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32898
32958
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32899
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
32959
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
32900
32960
  let fetchResult;
32901
32961
  try {
32902
32962
  fetchResult = await documentLoader(url.href);
@@ -33043,7 +33103,7 @@ var Note = class Note extends Object$1 {
33043
33103
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33044
33104
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33045
33105
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33046
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
33106
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
33047
33107
  let fetchResult;
33048
33108
  try {
33049
33109
  fetchResult = await documentLoader(url.href);
@@ -33338,7 +33398,7 @@ var Note = class Note extends Object$1 {
33338
33398
  * @throws {TypeError} If the given `json` is invalid.
33339
33399
  */
33340
33400
  static async fromJsonLd(json, options = {}) {
33341
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
33401
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
33342
33402
  try {
33343
33403
  const object = await this.__fromJsonLd__Note__(json, span, options);
33344
33404
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33526,7 +33586,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
33526
33586
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33527
33587
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33528
33588
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33529
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
33589
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
33530
33590
  let fetchResult;
33531
33591
  try {
33532
33592
  fetchResult = await documentLoader(url.href);
@@ -33806,7 +33866,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
33806
33866
  * @throws {TypeError} If the given `json` is invalid.
33807
33867
  */
33808
33868
  static async fromJsonLd(json, options = {}) {
33809
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
33869
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
33810
33870
  try {
33811
33871
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
33812
33872
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34028,7 +34088,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
34028
34088
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34029
34089
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34030
34090
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34031
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
34091
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
34032
34092
  let fetchResult;
34033
34093
  try {
34034
34094
  fetchResult = await documentLoader(url.href);
@@ -34331,7 +34391,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
34331
34391
  * @throws {TypeError} If the given `json` is invalid.
34332
34392
  */
34333
34393
  static async fromJsonLd(json, options = {}) {
34334
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
34394
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
34335
34395
  try {
34336
34396
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
34337
34397
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34845,7 +34905,7 @@ var Organization = class Organization extends Object$1 {
34845
34905
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34846
34906
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34847
34907
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34848
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
34908
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
34849
34909
  let fetchResult;
34850
34910
  try {
34851
34911
  fetchResult = await documentLoader(url.href);
@@ -35026,7 +35086,7 @@ var Organization = class Organization extends Object$1 {
35026
35086
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35027
35087
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35028
35088
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35029
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
35089
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35030
35090
  let fetchResult;
35031
35091
  try {
35032
35092
  fetchResult = await documentLoader(url.href);
@@ -35225,7 +35285,7 @@ var Organization = class Organization extends Object$1 {
35225
35285
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35226
35286
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35227
35287
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35228
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
35288
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35229
35289
  let fetchResult;
35230
35290
  try {
35231
35291
  fetchResult = await documentLoader(url.href);
@@ -35376,7 +35436,7 @@ var Organization = class Organization extends Object$1 {
35376
35436
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35377
35437
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35378
35438
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35379
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
35439
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35380
35440
  let fetchResult;
35381
35441
  try {
35382
35442
  fetchResult = await documentLoader(url.href);
@@ -35524,7 +35584,7 @@ var Organization = class Organization extends Object$1 {
35524
35584
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35525
35585
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35526
35586
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35527
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
35587
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35528
35588
  let fetchResult;
35529
35589
  try {
35530
35590
  fetchResult = await documentLoader(url.href);
@@ -35657,7 +35717,7 @@ var Organization = class Organization extends Object$1 {
35657
35717
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35658
35718
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35659
35719
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35660
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
35720
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35661
35721
  let fetchResult;
35662
35722
  try {
35663
35723
  fetchResult = await documentLoader(url.href);
@@ -35793,7 +35853,7 @@ var Organization = class Organization extends Object$1 {
35793
35853
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35794
35854
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35795
35855
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35796
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
35856
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35797
35857
  let fetchResult;
35798
35858
  try {
35799
35859
  fetchResult = await documentLoader(url.href);
@@ -35927,7 +35987,7 @@ var Organization = class Organization extends Object$1 {
35927
35987
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35928
35988
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35929
35989
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35930
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
35990
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
35931
35991
  let fetchResult;
35932
35992
  try {
35933
35993
  fetchResult = await documentLoader(url.href);
@@ -36059,7 +36119,7 @@ var Organization = class Organization extends Object$1 {
36059
36119
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36060
36120
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36061
36121
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36062
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
36122
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36063
36123
  let fetchResult;
36064
36124
  try {
36065
36125
  fetchResult = await documentLoader(url.href);
@@ -36191,7 +36251,7 @@ var Organization = class Organization extends Object$1 {
36191
36251
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36192
36252
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36193
36253
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36194
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
36254
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36195
36255
  let fetchResult;
36196
36256
  try {
36197
36257
  fetchResult = await documentLoader(url.href);
@@ -36363,7 +36423,7 @@ var Organization = class Organization extends Object$1 {
36363
36423
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36364
36424
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36365
36425
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36366
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
36426
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36367
36427
  let fetchResult;
36368
36428
  try {
36369
36429
  fetchResult = await documentLoader(url.href);
@@ -36538,7 +36598,7 @@ var Organization = class Organization extends Object$1 {
36538
36598
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36539
36599
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36540
36600
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36541
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
36601
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36542
36602
  let fetchResult;
36543
36603
  try {
36544
36604
  fetchResult = await documentLoader(url.href);
@@ -36771,7 +36831,7 @@ var Organization = class Organization extends Object$1 {
36771
36831
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36772
36832
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36773
36833
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36774
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
36834
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
36775
36835
  let fetchResult;
36776
36836
  try {
36777
36837
  fetchResult = await documentLoader(url.href);
@@ -37475,7 +37535,7 @@ var Organization = class Organization extends Object$1 {
37475
37535
  * @throws {TypeError} If the given `json` is invalid.
37476
37536
  */
37477
37537
  static async fromJsonLd(json, options = {}) {
37478
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
37538
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
37479
37539
  try {
37480
37540
  const object = await this.__fromJsonLd__Organization__(json, span, options);
37481
37541
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38166,7 +38226,7 @@ var Page = class Page extends Document {
38166
38226
  * @throws {TypeError} If the given `json` is invalid.
38167
38227
  */
38168
38228
  static async fromJsonLd(json, options = {}) {
38169
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
38229
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
38170
38230
  try {
38171
38231
  const object = await this.__fromJsonLd__Page__(json, span, options);
38172
38232
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38564,7 +38624,7 @@ var Person = class Person extends Object$1 {
38564
38624
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38565
38625
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38566
38626
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38567
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
38627
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
38568
38628
  let fetchResult;
38569
38629
  try {
38570
38630
  fetchResult = await documentLoader(url.href);
@@ -38745,7 +38805,7 @@ var Person = class Person extends Object$1 {
38745
38805
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38746
38806
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38747
38807
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38748
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
38808
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
38749
38809
  let fetchResult;
38750
38810
  try {
38751
38811
  fetchResult = await documentLoader(url.href);
@@ -38944,7 +39004,7 @@ var Person = class Person extends Object$1 {
38944
39004
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38945
39005
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38946
39006
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38947
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
39007
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
38948
39008
  let fetchResult;
38949
39009
  try {
38950
39010
  fetchResult = await documentLoader(url.href);
@@ -39095,7 +39155,7 @@ var Person = class Person extends Object$1 {
39095
39155
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39096
39156
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39097
39157
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39098
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
39158
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39099
39159
  let fetchResult;
39100
39160
  try {
39101
39161
  fetchResult = await documentLoader(url.href);
@@ -39243,7 +39303,7 @@ var Person = class Person extends Object$1 {
39243
39303
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39244
39304
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39245
39305
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39246
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
39306
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39247
39307
  let fetchResult;
39248
39308
  try {
39249
39309
  fetchResult = await documentLoader(url.href);
@@ -39376,7 +39436,7 @@ var Person = class Person extends Object$1 {
39376
39436
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39377
39437
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39378
39438
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39379
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
39439
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39380
39440
  let fetchResult;
39381
39441
  try {
39382
39442
  fetchResult = await documentLoader(url.href);
@@ -39512,7 +39572,7 @@ var Person = class Person extends Object$1 {
39512
39572
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39513
39573
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39514
39574
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39515
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
39575
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39516
39576
  let fetchResult;
39517
39577
  try {
39518
39578
  fetchResult = await documentLoader(url.href);
@@ -39646,7 +39706,7 @@ var Person = class Person extends Object$1 {
39646
39706
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39647
39707
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39648
39708
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39649
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
39709
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39650
39710
  let fetchResult;
39651
39711
  try {
39652
39712
  fetchResult = await documentLoader(url.href);
@@ -39778,7 +39838,7 @@ var Person = class Person extends Object$1 {
39778
39838
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39779
39839
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39780
39840
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39781
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
39841
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39782
39842
  let fetchResult;
39783
39843
  try {
39784
39844
  fetchResult = await documentLoader(url.href);
@@ -39910,7 +39970,7 @@ var Person = class Person extends Object$1 {
39910
39970
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39911
39971
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39912
39972
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39913
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
39973
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
39914
39974
  let fetchResult;
39915
39975
  try {
39916
39976
  fetchResult = await documentLoader(url.href);
@@ -40082,7 +40142,7 @@ var Person = class Person extends Object$1 {
40082
40142
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40083
40143
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40084
40144
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40085
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
40145
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
40086
40146
  let fetchResult;
40087
40147
  try {
40088
40148
  fetchResult = await documentLoader(url.href);
@@ -40257,7 +40317,7 @@ var Person = class Person extends Object$1 {
40257
40317
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40258
40318
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40259
40319
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40260
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
40320
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
40261
40321
  let fetchResult;
40262
40322
  try {
40263
40323
  fetchResult = await documentLoader(url.href);
@@ -40490,7 +40550,7 @@ var Person = class Person extends Object$1 {
40490
40550
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40491
40551
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40492
40552
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40493
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
40553
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
40494
40554
  let fetchResult;
40495
40555
  try {
40496
40556
  fetchResult = await documentLoader(url.href);
@@ -41194,7 +41254,7 @@ var Person = class Person extends Object$1 {
41194
41254
  * @throws {TypeError} If the given `json` is invalid.
41195
41255
  */
41196
41256
  static async fromJsonLd(json, options = {}) {
41197
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
41257
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
41198
41258
  try {
41199
41259
  const object = await this.__fromJsonLd__Person__(json, span, options);
41200
41260
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42062,7 +42122,7 @@ var Place = class Place extends Object$1 {
42062
42122
  * @throws {TypeError} If the given `json` is invalid.
42063
42123
  */
42064
42124
  static async fromJsonLd(json, options = {}) {
42065
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
42125
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
42066
42126
  try {
42067
42127
  const object = await this.__fromJsonLd__Place__(json, span, options);
42068
42128
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42290,7 +42350,7 @@ var Profile = class Profile extends Object$1 {
42290
42350
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42291
42351
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42292
42352
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42293
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
42353
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
42294
42354
  let fetchResult;
42295
42355
  try {
42296
42356
  fetchResult = await documentLoader(url.href);
@@ -42500,7 +42560,7 @@ var Profile = class Profile extends Object$1 {
42500
42560
  * @throws {TypeError} If the given `json` is invalid.
42501
42561
  */
42502
42562
  static async fromJsonLd(json, options = {}) {
42503
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
42563
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
42504
42564
  try {
42505
42565
  const object = await this.__fromJsonLd__Profile__(json, span, options);
42506
42566
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42704,7 +42764,7 @@ var Question = class Question extends IntransitiveActivity {
42704
42764
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42705
42765
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42706
42766
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42707
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
42767
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
42708
42768
  let fetchResult;
42709
42769
  try {
42710
42770
  fetchResult = await documentLoader(url.href);
@@ -42836,7 +42896,7 @@ var Question = class Question extends IntransitiveActivity {
42836
42896
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42837
42897
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42838
42898
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42839
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
42899
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
42840
42900
  let fetchResult;
42841
42901
  try {
42842
42902
  fetchResult = await documentLoader(url.href);
@@ -42984,7 +43044,7 @@ var Question = class Question extends IntransitiveActivity {
42984
43044
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42985
43045
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42986
43046
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42987
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
43047
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
42988
43048
  let fetchResult;
42989
43049
  try {
42990
43050
  fetchResult = await documentLoader(url.href);
@@ -43131,7 +43191,7 @@ var Question = class Question extends IntransitiveActivity {
43131
43191
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43132
43192
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43133
43193
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43134
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
43194
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
43135
43195
  let fetchResult;
43136
43196
  try {
43137
43197
  fetchResult = await documentLoader(url.href);
@@ -43392,7 +43452,7 @@ var Question = class Question extends IntransitiveActivity {
43392
43452
  * @throws {TypeError} If the given `json` is invalid.
43393
43453
  */
43394
43454
  static async fromJsonLd(json, options = {}) {
43395
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
43455
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
43396
43456
  try {
43397
43457
  const object = await this.__fromJsonLd__Question__(json, span, options);
43398
43458
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43700,7 +43760,7 @@ var Read = class Read extends Activity {
43700
43760
  * @throws {TypeError} If the given `json` is invalid.
43701
43761
  */
43702
43762
  static async fromJsonLd(json, options = {}) {
43703
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
43763
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
43704
43764
  try {
43705
43765
  const object = await this.__fromJsonLd__Read__(json, span, options);
43706
43766
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43852,7 +43912,7 @@ var Reject = class Reject extends Activity {
43852
43912
  * @throws {TypeError} If the given `json` is invalid.
43853
43913
  */
43854
43914
  static async fromJsonLd(json, options = {}) {
43855
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
43915
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
43856
43916
  try {
43857
43917
  const object = await this.__fromJsonLd__Reject__(json, span, options);
43858
43918
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44028,7 +44088,7 @@ var Relationship = class Relationship extends Object$1 {
44028
44088
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44029
44089
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44030
44090
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44031
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
44091
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
44032
44092
  let fetchResult;
44033
44093
  try {
44034
44094
  fetchResult = await documentLoader(url.href);
@@ -44160,7 +44220,7 @@ var Relationship = class Relationship extends Object$1 {
44160
44220
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44161
44221
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44162
44222
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44163
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
44223
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
44164
44224
  let fetchResult;
44165
44225
  try {
44166
44226
  fetchResult = await documentLoader(url.href);
@@ -44341,7 +44401,7 @@ var Relationship = class Relationship extends Object$1 {
44341
44401
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44342
44402
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44343
44403
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44344
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
44404
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
44345
44405
  let fetchResult;
44346
44406
  try {
44347
44407
  fetchResult = await documentLoader(url.href);
@@ -44638,7 +44698,7 @@ var Relationship = class Relationship extends Object$1 {
44638
44698
  * @throws {TypeError} If the given `json` is invalid.
44639
44699
  */
44640
44700
  static async fromJsonLd(json, options = {}) {
44641
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
44701
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
44642
44702
  try {
44643
44703
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
44644
44704
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44868,7 +44928,7 @@ var Remove = class Remove extends Activity {
44868
44928
  * @throws {TypeError} If the given `json` is invalid.
44869
44929
  */
44870
44930
  static async fromJsonLd(json, options = {}) {
44871
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
44931
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
44872
44932
  try {
44873
44933
  const object = await this.__fromJsonLd__Remove__(json, span, options);
44874
44934
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45266,7 +45326,7 @@ var Service = class Service extends Object$1 {
45266
45326
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45267
45327
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45268
45328
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45269
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
45329
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45270
45330
  let fetchResult;
45271
45331
  try {
45272
45332
  fetchResult = await documentLoader(url.href);
@@ -45447,7 +45507,7 @@ var Service = class Service extends Object$1 {
45447
45507
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45448
45508
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45449
45509
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45450
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
45510
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45451
45511
  let fetchResult;
45452
45512
  try {
45453
45513
  fetchResult = await documentLoader(url.href);
@@ -45646,7 +45706,7 @@ var Service = class Service extends Object$1 {
45646
45706
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45647
45707
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45648
45708
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45649
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
45709
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45650
45710
  let fetchResult;
45651
45711
  try {
45652
45712
  fetchResult = await documentLoader(url.href);
@@ -45797,7 +45857,7 @@ var Service = class Service extends Object$1 {
45797
45857
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45798
45858
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45799
45859
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45800
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
45860
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45801
45861
  let fetchResult;
45802
45862
  try {
45803
45863
  fetchResult = await documentLoader(url.href);
@@ -45945,7 +46005,7 @@ var Service = class Service extends Object$1 {
45945
46005
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45946
46006
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45947
46007
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45948
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
46008
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
45949
46009
  let fetchResult;
45950
46010
  try {
45951
46011
  fetchResult = await documentLoader(url.href);
@@ -46078,7 +46138,7 @@ var Service = class Service extends Object$1 {
46078
46138
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46079
46139
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46080
46140
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46081
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
46141
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46082
46142
  let fetchResult;
46083
46143
  try {
46084
46144
  fetchResult = await documentLoader(url.href);
@@ -46214,7 +46274,7 @@ var Service = class Service extends Object$1 {
46214
46274
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46215
46275
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46216
46276
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46217
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
46277
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46218
46278
  let fetchResult;
46219
46279
  try {
46220
46280
  fetchResult = await documentLoader(url.href);
@@ -46348,7 +46408,7 @@ var Service = class Service extends Object$1 {
46348
46408
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46349
46409
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46350
46410
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46351
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
46411
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46352
46412
  let fetchResult;
46353
46413
  try {
46354
46414
  fetchResult = await documentLoader(url.href);
@@ -46480,7 +46540,7 @@ var Service = class Service extends Object$1 {
46480
46540
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46481
46541
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46482
46542
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46483
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
46543
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46484
46544
  let fetchResult;
46485
46545
  try {
46486
46546
  fetchResult = await documentLoader(url.href);
@@ -46612,7 +46672,7 @@ var Service = class Service extends Object$1 {
46612
46672
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46613
46673
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46614
46674
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46615
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
46675
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46616
46676
  let fetchResult;
46617
46677
  try {
46618
46678
  fetchResult = await documentLoader(url.href);
@@ -46784,7 +46844,7 @@ var Service = class Service extends Object$1 {
46784
46844
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46785
46845
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46786
46846
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46787
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
46847
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46788
46848
  let fetchResult;
46789
46849
  try {
46790
46850
  fetchResult = await documentLoader(url.href);
@@ -46959,7 +47019,7 @@ var Service = class Service extends Object$1 {
46959
47019
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46960
47020
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46961
47021
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46962
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
47022
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
46963
47023
  let fetchResult;
46964
47024
  try {
46965
47025
  fetchResult = await documentLoader(url.href);
@@ -47192,7 +47252,7 @@ var Service = class Service extends Object$1 {
47192
47252
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
47193
47253
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
47194
47254
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
47195
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.lookup_object", async (span) => {
47255
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.lookup_object", async (span) => {
47196
47256
  let fetchResult;
47197
47257
  try {
47198
47258
  fetchResult = await documentLoader(url.href);
@@ -47896,7 +47956,7 @@ var Service = class Service extends Object$1 {
47896
47956
  * @throws {TypeError} If the given `json` is invalid.
47897
47957
  */
47898
47958
  static async fromJsonLd(json, options = {}) {
47899
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
47959
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
47900
47960
  try {
47901
47961
  const object = await this.__fromJsonLd__Service__(json, span, options);
47902
47962
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48508,6 +48568,11 @@ var Source = class {
48508
48568
  get _warning() {
48509
48569
  return this.#warning;
48510
48570
  }
48571
+ /**
48572
+ * Internal cross-package contract with @fedify/testing, which copies this
48573
+ * cache when attaching document loaders to an activity clone. Keep this
48574
+ * accessor name and its getter/setter semantics stable.
48575
+ */
48511
48576
  get _cachedJsonLd() {
48512
48577
  return this.#cachedJsonLd;
48513
48578
  }
@@ -48681,7 +48746,7 @@ var Source = class {
48681
48746
  * @throws {TypeError} If the given `json` is invalid.
48682
48747
  */
48683
48748
  static async fromJsonLd(json, options = {}) {
48684
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
48749
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
48685
48750
  try {
48686
48751
  const object = await this.__fromJsonLd__Source__(json, span, options);
48687
48752
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48870,7 +48935,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
48870
48935
  * @throws {TypeError} If the given `json` is invalid.
48871
48936
  */
48872
48937
  static async fromJsonLd(json, options = {}) {
48873
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
48938
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
48874
48939
  try {
48875
48940
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
48876
48941
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49022,7 +49087,7 @@ var TentativeReject = class TentativeReject extends Reject {
49022
49087
  * @throws {TypeError} If the given `json` is invalid.
49023
49088
  */
49024
49089
  static async fromJsonLd(json, options = {}) {
49025
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
49090
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49026
49091
  try {
49027
49092
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
49028
49093
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49263,7 +49328,7 @@ var Tombstone = class Tombstone extends Object$1 {
49263
49328
  * @throws {TypeError} If the given `json` is invalid.
49264
49329
  */
49265
49330
  static async fromJsonLd(json, options = {}) {
49266
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
49331
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49267
49332
  try {
49268
49333
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
49269
49334
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49460,7 +49525,7 @@ var Travel = class Travel extends IntransitiveActivity {
49460
49525
  * @throws {TypeError} If the given `json` is invalid.
49461
49526
  */
49462
49527
  static async fromJsonLd(json, options = {}) {
49463
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
49528
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49464
49529
  try {
49465
49530
  const object = await this.__fromJsonLd__Travel__(json, span, options);
49466
49531
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49626,7 +49691,7 @@ var Undo = class Undo extends Activity {
49626
49691
  * @throws {TypeError} If the given `json` is invalid.
49627
49692
  */
49628
49693
  static async fromJsonLd(json, options = {}) {
49629
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
49694
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49630
49695
  try {
49631
49696
  const object = await this.__fromJsonLd__Undo__(json, span, options);
49632
49697
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49840,7 +49905,7 @@ var Update = class Update extends Activity {
49840
49905
  * @throws {TypeError} If the given `json` is invalid.
49841
49906
  */
49842
49907
  static async fromJsonLd(json, options = {}) {
49843
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
49908
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
49844
49909
  try {
49845
49910
  const object = await this.__fromJsonLd__Update__(json, span, options);
49846
49911
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50005,7 +50070,7 @@ var Video = class Video extends Document {
50005
50070
  * @throws {TypeError} If the given `json` is invalid.
50006
50071
  */
50007
50072
  static async fromJsonLd(json, options = {}) {
50008
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
50073
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
50009
50074
  try {
50010
50075
  const object = await this.__fromJsonLd__Video__(json, span, options);
50011
50076
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50156,7 +50221,7 @@ var View = class View extends Activity {
50156
50221
  * @throws {TypeError} If the given `json` is invalid.
50157
50222
  */
50158
50223
  static async fromJsonLd(json, options = {}) {
50159
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.19").startActiveSpan("activitypub.parse_object", async (span) => {
50224
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.2.20").startActiveSpan("activitypub.parse_object", async (span) => {
50160
50225
  try {
50161
50226
  const object = await this.__fromJsonLd__View__(json, span, options);
50162
50227
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);