@fedify/vocab 2.3.14 → 2.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mod.cjs CHANGED
@@ -33,7 +33,7 @@ let _fedify_vocab_runtime_temporal = require("@fedify/vocab-runtime/temporal");
33
33
  let es_toolkit = require("es-toolkit");
34
34
  //#region deno.json
35
35
  var name = "@fedify/vocab";
36
- var version = "2.3.14";
36
+ var version = "2.3.15";
37
37
  //#endregion
38
38
  //#region src/type.ts
39
39
  function getTypeId(object) {
@@ -116,6 +116,11 @@ var Object$1 = class Object$1 {
116
116
  get _warning() {
117
117
  return this.#warning;
118
118
  }
119
+ /**
120
+ * Internal cross-package contract with @fedify/testing, which copies this
121
+ * cache when attaching document loaders to an activity clone. Keep this
122
+ * accessor name and its getter/setter semantics stable.
123
+ */
119
124
  get _cachedJsonLd() {
120
125
  return this.#cachedJsonLd;
121
126
  }
@@ -763,7 +768,7 @@ var Object$1 = class Object$1 {
763
768
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
764
769
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
765
770
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
766
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
771
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
767
772
  let fetchResult;
768
773
  try {
769
774
  fetchResult = await documentLoader(url.href);
@@ -922,7 +927,7 @@ var Object$1 = class Object$1 {
922
927
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
923
928
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
924
929
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
925
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
930
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
926
931
  let fetchResult;
927
932
  try {
928
933
  fetchResult = await documentLoader(url.href);
@@ -1159,7 +1164,7 @@ var Object$1 = class Object$1 {
1159
1164
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1160
1165
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1161
1166
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1162
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1167
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1163
1168
  let fetchResult;
1164
1169
  try {
1165
1170
  fetchResult = await documentLoader(url.href);
@@ -1368,7 +1373,7 @@ var Object$1 = class Object$1 {
1368
1373
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1369
1374
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1370
1375
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1371
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1376
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1372
1377
  let fetchResult;
1373
1378
  try {
1374
1379
  fetchResult = await documentLoader(url.href);
@@ -1543,7 +1548,7 @@ var Object$1 = class Object$1 {
1543
1548
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1544
1549
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1545
1550
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1546
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1551
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1547
1552
  let fetchResult;
1548
1553
  try {
1549
1554
  fetchResult = await documentLoader(url.href);
@@ -1686,7 +1691,7 @@ var Object$1 = class Object$1 {
1686
1691
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1687
1692
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1688
1693
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1689
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1694
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1690
1695
  let fetchResult;
1691
1696
  try {
1692
1697
  fetchResult = await documentLoader(url.href);
@@ -1893,7 +1898,7 @@ var Object$1 = class Object$1 {
1893
1898
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1894
1899
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
1895
1900
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
1896
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
1901
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
1897
1902
  let fetchResult;
1898
1903
  try {
1899
1904
  fetchResult = await documentLoader(url.href);
@@ -2100,7 +2105,7 @@ var Object$1 = class Object$1 {
2100
2105
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2101
2106
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2102
2107
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2103
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2108
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2104
2109
  let fetchResult;
2105
2110
  try {
2106
2111
  fetchResult = await documentLoader(url.href);
@@ -2299,7 +2304,7 @@ var Object$1 = class Object$1 {
2299
2304
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2300
2305
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2301
2306
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2302
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2307
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2303
2308
  let fetchResult;
2304
2309
  try {
2305
2310
  fetchResult = await documentLoader(url.href);
@@ -2498,7 +2503,7 @@ var Object$1 = class Object$1 {
2498
2503
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2499
2504
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2500
2505
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2501
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2506
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2502
2507
  let fetchResult;
2503
2508
  try {
2504
2509
  fetchResult = await documentLoader(url.href);
@@ -2702,7 +2707,7 @@ var Object$1 = class Object$1 {
2702
2707
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2703
2708
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2704
2709
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2705
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2710
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2706
2711
  let fetchResult;
2707
2712
  try {
2708
2713
  fetchResult = await documentLoader(url.href);
@@ -2835,7 +2840,7 @@ var Object$1 = class Object$1 {
2835
2840
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2836
2841
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2837
2842
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2838
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2843
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2839
2844
  let fetchResult;
2840
2845
  try {
2841
2846
  fetchResult = await documentLoader(url.href);
@@ -2974,7 +2979,7 @@ var Object$1 = class Object$1 {
2974
2979
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2975
2980
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
2976
2981
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
2977
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
2982
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
2978
2983
  let fetchResult;
2979
2984
  try {
2980
2985
  fetchResult = await documentLoader(url.href);
@@ -3113,7 +3118,7 @@ var Object$1 = class Object$1 {
3113
3118
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3114
3119
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3115
3120
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3116
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3121
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3117
3122
  let fetchResult;
3118
3123
  try {
3119
3124
  fetchResult = await documentLoader(url.href);
@@ -3270,7 +3275,7 @@ var Object$1 = class Object$1 {
3270
3275
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3271
3276
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3272
3277
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3273
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3278
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3274
3279
  let fetchResult;
3275
3280
  try {
3276
3281
  fetchResult = await documentLoader(url.href);
@@ -3435,7 +3440,7 @@ var Object$1 = class Object$1 {
3435
3440
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3436
3441
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3437
3442
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3438
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3443
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3439
3444
  let fetchResult;
3440
3445
  try {
3441
3446
  fetchResult = await documentLoader(url.href);
@@ -3624,7 +3629,7 @@ var Object$1 = class Object$1 {
3624
3629
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3625
3630
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3626
3631
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3627
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3632
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3628
3633
  let fetchResult;
3629
3634
  try {
3630
3635
  fetchResult = await documentLoader(url.href);
@@ -3813,7 +3818,7 @@ var Object$1 = class Object$1 {
3813
3818
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3814
3819
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
3815
3820
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
3816
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
3821
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
3817
3822
  let fetchResult;
3818
3823
  try {
3819
3824
  fetchResult = await documentLoader(url.href);
@@ -4002,7 +4007,7 @@ var Object$1 = class Object$1 {
4002
4007
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4003
4008
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4004
4009
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4005
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4010
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4006
4011
  let fetchResult;
4007
4012
  try {
4008
4013
  fetchResult = await documentLoader(url.href);
@@ -4228,7 +4233,7 @@ var Object$1 = class Object$1 {
4228
4233
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4229
4234
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4230
4235
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4231
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4236
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4232
4237
  let fetchResult;
4233
4238
  try {
4234
4239
  fetchResult = await documentLoader(url.href);
@@ -4440,7 +4445,7 @@ var Object$1 = class Object$1 {
4440
4445
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4441
4446
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4442
4447
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4443
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4448
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4444
4449
  let fetchResult;
4445
4450
  try {
4446
4451
  fetchResult = await documentLoader(url.href);
@@ -4573,7 +4578,7 @@ var Object$1 = class Object$1 {
4573
4578
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4574
4579
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4575
4580
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4576
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4581
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4577
4582
  let fetchResult;
4578
4583
  try {
4579
4584
  fetchResult = await documentLoader(url.href);
@@ -4706,7 +4711,7 @@ var Object$1 = class Object$1 {
4706
4711
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4707
4712
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4708
4713
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4709
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
4714
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
4710
4715
  let fetchResult;
4711
4716
  try {
4712
4717
  fetchResult = await documentLoader(url.href);
@@ -5545,7 +5550,7 @@ var Object$1 = class Object$1 {
5545
5550
  * @throws {TypeError} If the given `json` is invalid.
5546
5551
  */
5547
5552
  static async fromJsonLd(json, options = {}) {
5548
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
5553
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
5549
5554
  try {
5550
5555
  const object = await this.__fromJsonLd__Object__(json, span, options);
5551
5556
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7212,7 +7217,7 @@ var Emoji = class Emoji extends Object$1 {
7212
7217
  * @throws {TypeError} If the given `json` is invalid.
7213
7218
  */
7214
7219
  static async fromJsonLd(json, options = {}) {
7215
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
7220
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
7216
7221
  try {
7217
7222
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
7218
7223
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7350,7 +7355,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7350
7355
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7351
7356
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7352
7357
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7353
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
7358
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
7354
7359
  let fetchResult;
7355
7360
  try {
7356
7361
  fetchResult = await documentLoader(url.href);
@@ -7500,7 +7505,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7500
7505
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7501
7506
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7502
7507
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7503
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
7508
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
7504
7509
  let fetchResult;
7505
7510
  try {
7506
7511
  fetchResult = await documentLoader(url.href);
@@ -7796,7 +7801,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7796
7801
  * @throws {TypeError} If the given `json` is invalid.
7797
7802
  */
7798
7803
  static async fromJsonLd(json, options = {}) {
7799
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
7804
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
7800
7805
  try {
7801
7806
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
7802
7807
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -8139,7 +8144,7 @@ var Activity = class Activity extends Object$1 {
8139
8144
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8140
8145
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8141
8146
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8142
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
8147
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
8143
8148
  let fetchResult;
8144
8149
  try {
8145
8150
  fetchResult = await documentLoader(url.href);
@@ -8376,7 +8381,7 @@ var Activity = class Activity extends Object$1 {
8376
8381
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8377
8382
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8378
8383
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8379
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
8384
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
8380
8385
  let fetchResult;
8381
8386
  try {
8382
8387
  fetchResult = await documentLoader(url.href);
@@ -8567,7 +8572,7 @@ var Activity = class Activity extends Object$1 {
8567
8572
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8568
8573
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8569
8574
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8570
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
8575
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
8571
8576
  let fetchResult;
8572
8577
  try {
8573
8578
  fetchResult = await documentLoader(url.href);
@@ -8764,7 +8769,7 @@ var Activity = class Activity extends Object$1 {
8764
8769
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8765
8770
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8766
8771
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8767
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
8772
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
8768
8773
  let fetchResult;
8769
8774
  try {
8770
8775
  fetchResult = await documentLoader(url.href);
@@ -8955,7 +8960,7 @@ var Activity = class Activity extends Object$1 {
8955
8960
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8956
8961
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8957
8962
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8958
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
8963
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
8959
8964
  let fetchResult;
8960
8965
  try {
8961
8966
  fetchResult = await documentLoader(url.href);
@@ -9148,7 +9153,7 @@ var Activity = class Activity extends Object$1 {
9148
9153
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9149
9154
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9150
9155
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
9151
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
9156
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
9152
9157
  let fetchResult;
9153
9158
  try {
9154
9159
  fetchResult = await documentLoader(url.href);
@@ -9424,7 +9429,7 @@ var Activity = class Activity extends Object$1 {
9424
9429
  * @throws {TypeError} If the given `json` is invalid.
9425
9430
  */
9426
9431
  static async fromJsonLd(json, options = {}) {
9427
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
9432
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
9428
9433
  try {
9429
9434
  const object = await this.__fromJsonLd__Activity__(json, span, options);
9430
9435
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9791,7 +9796,7 @@ var EmojiReact = class EmojiReact extends Activity {
9791
9796
  * @throws {TypeError} If the given `json` is invalid.
9792
9797
  */
9793
9798
  static async fromJsonLd(json, options = {}) {
9794
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
9799
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
9795
9800
  try {
9796
9801
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
9797
9802
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9879,6 +9884,11 @@ var PropertyValue = class {
9879
9884
  get _warning() {
9880
9885
  return this.#warning;
9881
9886
  }
9887
+ /**
9888
+ * Internal cross-package contract with @fedify/testing, which copies this
9889
+ * cache when attaching document loaders to an activity clone. Keep this
9890
+ * accessor name and its getter/setter semantics stable.
9891
+ */
9882
9892
  get _cachedJsonLd() {
9883
9893
  return this.#cachedJsonLd;
9884
9894
  }
@@ -10059,7 +10069,7 @@ var PropertyValue = class {
10059
10069
  * @throws {TypeError} If the given `json` is invalid.
10060
10070
  */
10061
10071
  static async fromJsonLd(json, options = {}) {
10062
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
10072
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
10063
10073
  try {
10064
10074
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
10065
10075
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10183,6 +10193,11 @@ var Measure = class {
10183
10193
  get _warning() {
10184
10194
  return this.#warning;
10185
10195
  }
10196
+ /**
10197
+ * Internal cross-package contract with @fedify/testing, which copies this
10198
+ * cache when attaching document loaders to an activity clone. Keep this
10199
+ * accessor name and its getter/setter semantics stable.
10200
+ */
10186
10201
  get _cachedJsonLd() {
10187
10202
  return this.#cachedJsonLd;
10188
10203
  }
@@ -10354,7 +10369,7 @@ var Measure = class {
10354
10369
  * @throws {TypeError} If the given `json` is invalid.
10355
10370
  */
10356
10371
  static async fromJsonLd(json, options = {}) {
10357
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
10372
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
10358
10373
  try {
10359
10374
  const object = await this.__fromJsonLd__Measure__(json, span, options);
10360
10375
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10526,7 +10541,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10526
10541
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10527
10542
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10528
10543
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10529
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
10544
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
10530
10545
  let fetchResult;
10531
10546
  try {
10532
10547
  fetchResult = await documentLoader(url.href);
@@ -10659,7 +10674,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10659
10674
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10660
10675
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10661
10676
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10662
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
10677
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
10663
10678
  let fetchResult;
10664
10679
  try {
10665
10680
  fetchResult = await documentLoader(url.href);
@@ -10887,7 +10902,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10887
10902
  * @throws {TypeError} If the given `json` is invalid.
10888
10903
  */
10889
10904
  static async fromJsonLd(json, options = {}) {
10890
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
10905
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
10891
10906
  try {
10892
10907
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
10893
10908
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11102,7 +11117,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
11102
11117
  * @throws {TypeError} If the given `json` is invalid.
11103
11118
  */
11104
11119
  static async fromJsonLd(json, options = {}) {
11105
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
11120
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
11106
11121
  try {
11107
11122
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
11108
11123
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11196,6 +11211,11 @@ var InteractionPolicy = class {
11196
11211
  get _warning() {
11197
11212
  return this.#warning;
11198
11213
  }
11214
+ /**
11215
+ * Internal cross-package contract with @fedify/testing, which copies this
11216
+ * cache when attaching document loaders to an activity clone. Keep this
11217
+ * accessor name and its getter/setter semantics stable.
11218
+ */
11199
11219
  get _cachedJsonLd() {
11200
11220
  return this.#cachedJsonLd;
11201
11221
  }
@@ -11388,7 +11408,7 @@ var InteractionPolicy = class {
11388
11408
  * @throws {TypeError} If the given `json` is invalid.
11389
11409
  */
11390
11410
  static async fromJsonLd(json, options = {}) {
11391
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
11411
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
11392
11412
  try {
11393
11413
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
11394
11414
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11577,6 +11597,11 @@ var InteractionRule = class {
11577
11597
  get _warning() {
11578
11598
  return this.#warning;
11579
11599
  }
11600
+ /**
11601
+ * Internal cross-package contract with @fedify/testing, which copies this
11602
+ * cache when attaching document loaders to an activity clone. Keep this
11603
+ * accessor name and its getter/setter semantics stable.
11604
+ */
11580
11605
  get _cachedJsonLd() {
11581
11606
  return this.#cachedJsonLd;
11582
11607
  }
@@ -11751,7 +11776,7 @@ var InteractionRule = class {
11751
11776
  * @throws {TypeError} If the given `json` is invalid.
11752
11777
  */
11753
11778
  static async fromJsonLd(json, options = {}) {
11754
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
11779
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
11755
11780
  try {
11756
11781
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
11757
11782
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11924,7 +11949,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11924
11949
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11925
11950
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
11926
11951
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
11927
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
11952
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
11928
11953
  let fetchResult;
11929
11954
  try {
11930
11955
  fetchResult = await documentLoader(url.href);
@@ -12057,7 +12082,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
12057
12082
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12058
12083
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12059
12084
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12060
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
12085
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
12061
12086
  let fetchResult;
12062
12087
  try {
12063
12088
  fetchResult = await documentLoader(url.href);
@@ -12285,7 +12310,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
12285
12310
  * @throws {TypeError} If the given `json` is invalid.
12286
12311
  */
12287
12312
  static async fromJsonLd(json, options = {}) {
12288
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
12313
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
12289
12314
  try {
12290
12315
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
12291
12316
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12499,7 +12524,7 @@ var LikeRequest = class LikeRequest extends Activity {
12499
12524
  * @throws {TypeError} If the given `json` is invalid.
12500
12525
  */
12501
12526
  static async fromJsonLd(json, options = {}) {
12502
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
12527
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
12503
12528
  try {
12504
12529
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
12505
12530
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12634,7 +12659,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12634
12659
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12635
12660
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12636
12661
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12637
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
12662
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
12638
12663
  let fetchResult;
12639
12664
  try {
12640
12665
  fetchResult = await documentLoader(url.href);
@@ -12767,7 +12792,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12767
12792
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12768
12793
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
12769
12794
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
12770
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
12795
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
12771
12796
  let fetchResult;
12772
12797
  try {
12773
12798
  fetchResult = await documentLoader(url.href);
@@ -12995,7 +13020,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12995
13020
  * @throws {TypeError} If the given `json` is invalid.
12996
13021
  */
12997
13022
  static async fromJsonLd(json, options = {}) {
12998
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
13023
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
12999
13024
  try {
13000
13025
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
13001
13026
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13209,7 +13234,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
13209
13234
  * @throws {TypeError} If the given `json` is invalid.
13210
13235
  */
13211
13236
  static async fromJsonLd(json, options = {}) {
13212
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
13237
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
13213
13238
  try {
13214
13239
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
13215
13240
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13344,7 +13369,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13344
13369
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13345
13370
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13346
13371
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
13347
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
13372
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
13348
13373
  let fetchResult;
13349
13374
  try {
13350
13375
  fetchResult = await documentLoader(url.href);
@@ -13476,7 +13501,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13476
13501
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13477
13502
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13478
13503
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
13479
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
13504
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
13480
13505
  let fetchResult;
13481
13506
  try {
13482
13507
  fetchResult = await documentLoader(url.href);
@@ -13706,7 +13731,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
13706
13731
  * @throws {TypeError} If the given `json` is invalid.
13707
13732
  */
13708
13733
  static async fromJsonLd(json, options = {}) {
13709
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
13734
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
13710
13735
  try {
13711
13736
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
13712
13737
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13950,7 +13975,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
13950
13975
  * @throws {TypeError} If the given `json` is invalid.
13951
13976
  */
13952
13977
  static async fromJsonLd(json, options = {}) {
13953
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
13978
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
13954
13979
  try {
13955
13980
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
13956
13981
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14041,6 +14066,11 @@ var DidService = class {
14041
14066
  get _warning() {
14042
14067
  return this.#warning;
14043
14068
  }
14069
+ /**
14070
+ * Internal cross-package contract with @fedify/testing, which copies this
14071
+ * cache when attaching document loaders to an activity clone. Keep this
14072
+ * accessor name and its getter/setter semantics stable.
14073
+ */
14044
14074
  get _cachedJsonLd() {
14045
14075
  return this.#cachedJsonLd;
14046
14076
  }
@@ -14178,7 +14208,7 @@ var DidService = class {
14178
14208
  * @throws {TypeError} If the given `json` is invalid.
14179
14209
  */
14180
14210
  static async fromJsonLd(json, options = {}) {
14181
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
14211
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
14182
14212
  try {
14183
14213
  const object = await this.__fromJsonLd__DidService__(json, span, options);
14184
14214
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14342,7 +14372,7 @@ var Export = class Export extends DidService {
14342
14372
  * @throws {TypeError} If the given `json` is invalid.
14343
14373
  */
14344
14374
  static async fromJsonLd(json, options = {}) {
14345
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
14375
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
14346
14376
  try {
14347
14377
  const object = await this.__fromJsonLd__Export__(json, span, options);
14348
14378
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14431,6 +14461,11 @@ var DataIntegrityProof = class {
14431
14461
  get _warning() {
14432
14462
  return this.#warning;
14433
14463
  }
14464
+ /**
14465
+ * Internal cross-package contract with @fedify/testing, which copies this
14466
+ * cache when attaching document loaders to an activity clone. Keep this
14467
+ * accessor name and its getter/setter semantics stable.
14468
+ */
14434
14469
  get _cachedJsonLd() {
14435
14470
  return this.#cachedJsonLd;
14436
14471
  }
@@ -14537,7 +14572,7 @@ var DataIntegrityProof = class {
14537
14572
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14538
14573
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14539
14574
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
14540
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
14575
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
14541
14576
  let fetchResult;
14542
14577
  try {
14543
14578
  fetchResult = await documentLoader(url.href);
@@ -14756,7 +14791,7 @@ var DataIntegrityProof = class {
14756
14791
  * @throws {TypeError} If the given `json` is invalid.
14757
14792
  */
14758
14793
  static async fromJsonLd(json, options = {}) {
14759
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
14794
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
14760
14795
  try {
14761
14796
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
14762
14797
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14942,6 +14977,11 @@ var CryptographicKey = class {
14942
14977
  get _warning() {
14943
14978
  return this.#warning;
14944
14979
  }
14980
+ /**
14981
+ * Internal cross-package contract with @fedify/testing, which copies this
14982
+ * cache when attaching document loaders to an activity clone. Keep this
14983
+ * accessor name and its getter/setter semantics stable.
14984
+ */
14945
14985
  get _cachedJsonLd() {
14946
14986
  return this.#cachedJsonLd;
14947
14987
  }
@@ -15023,7 +15063,7 @@ var CryptographicKey = class {
15023
15063
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15024
15064
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15025
15065
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15026
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
15066
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
15027
15067
  let fetchResult;
15028
15068
  try {
15029
15069
  fetchResult = await documentLoader(url.href);
@@ -15297,7 +15337,7 @@ var CryptographicKey = class {
15297
15337
  * @throws {TypeError} If the given `json` is invalid.
15298
15338
  */
15299
15339
  static async fromJsonLd(json, options = {}) {
15300
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
15340
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
15301
15341
  try {
15302
15342
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
15303
15343
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15444,6 +15484,11 @@ var Multikey = class {
15444
15484
  get _warning() {
15445
15485
  return this.#warning;
15446
15486
  }
15487
+ /**
15488
+ * Internal cross-package contract with @fedify/testing, which copies this
15489
+ * cache when attaching document loaders to an activity clone. Keep this
15490
+ * accessor name and its getter/setter semantics stable.
15491
+ */
15447
15492
  get _cachedJsonLd() {
15448
15493
  return this.#cachedJsonLd;
15449
15494
  }
@@ -15525,7 +15570,7 @@ var Multikey = class {
15525
15570
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15526
15571
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15527
15572
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15528
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
15573
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
15529
15574
  let fetchResult;
15530
15575
  try {
15531
15576
  fetchResult = await documentLoader(url.href);
@@ -15805,7 +15850,7 @@ var Multikey = class {
15805
15850
  * @throws {TypeError} If the given `json` is invalid.
15806
15851
  */
15807
15852
  static async fromJsonLd(json, options = {}) {
15808
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
15853
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
15809
15854
  try {
15810
15855
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
15811
15856
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16144,7 +16189,7 @@ var Agreement = class Agreement extends Object$1 {
16144
16189
  * @throws {TypeError} If the given `json` is invalid.
16145
16190
  */
16146
16191
  static async fromJsonLd(json, options = {}) {
16147
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
16192
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
16148
16193
  try {
16149
16194
  const object = await this.__fromJsonLd__Agreement__(json, span, options);
16150
16195
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16278,6 +16323,11 @@ var Commitment = class {
16278
16323
  get _warning() {
16279
16324
  return this.#warning;
16280
16325
  }
16326
+ /**
16327
+ * Internal cross-package contract with @fedify/testing, which copies this
16328
+ * cache when attaching document loaders to an activity clone. Keep this
16329
+ * accessor name and its getter/setter semantics stable.
16330
+ */
16281
16331
  get _cachedJsonLd() {
16282
16332
  return this.#cachedJsonLd;
16283
16333
  }
@@ -16468,7 +16518,7 @@ var Commitment = class {
16468
16518
  * @throws {TypeError} If the given `json` is invalid.
16469
16519
  */
16470
16520
  static async fromJsonLd(json, options = {}) {
16471
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
16521
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
16472
16522
  try {
16473
16523
  const object = await this.__fromJsonLd__Commitment__(json, span, options);
16474
16524
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16596,6 +16646,11 @@ var Intent = class {
16596
16646
  get _warning() {
16597
16647
  return this.#warning;
16598
16648
  }
16649
+ /**
16650
+ * Internal cross-package contract with @fedify/testing, which copies this
16651
+ * cache when attaching document loaders to an activity clone. Keep this
16652
+ * accessor name and its getter/setter semantics stable.
16653
+ */
16599
16654
  get _cachedJsonLd() {
16600
16655
  return this.#cachedJsonLd;
16601
16656
  }
@@ -16870,7 +16925,7 @@ var Intent = class {
16870
16925
  * @throws {TypeError} If the given `json` is invalid.
16871
16926
  */
16872
16927
  static async fromJsonLd(json, options = {}) {
16873
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
16928
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
16874
16929
  try {
16875
16930
  const object = await this.__fromJsonLd__Intent__(json, span, options);
16876
16931
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17311,7 +17366,7 @@ var Proposal = class Proposal extends Object$1 {
17311
17366
  * @throws {TypeError} If the given `json` is invalid.
17312
17367
  */
17313
17368
  static async fromJsonLd(json, options = {}) {
17314
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
17369
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
17315
17370
  try {
17316
17371
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
17317
17372
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17544,7 +17599,7 @@ var Accept = class Accept extends Activity {
17544
17599
  * @throws {TypeError} If the given `json` is invalid.
17545
17600
  */
17546
17601
  static async fromJsonLd(json, options = {}) {
17547
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
17602
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
17548
17603
  try {
17549
17604
  const object = await this.__fromJsonLd__Accept__(json, span, options);
17550
17605
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17700,7 +17755,7 @@ var Add = class Add extends Activity {
17700
17755
  * @throws {TypeError} If the given `json` is invalid.
17701
17756
  */
17702
17757
  static async fromJsonLd(json, options = {}) {
17703
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
17758
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
17704
17759
  try {
17705
17760
  const object = await this.__fromJsonLd__Add__(json, span, options);
17706
17761
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17883,7 +17938,7 @@ var Announce = class Announce extends Activity {
17883
17938
  * @throws {TypeError} If the given `json` is invalid.
17884
17939
  */
17885
17940
  static async fromJsonLd(json, options = {}) {
17886
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
17941
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
17887
17942
  try {
17888
17943
  const object = await this.__fromJsonLd__Announce__(json, span, options);
17889
17944
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18282,7 +18337,7 @@ var Application = class Application extends Object$1 {
18282
18337
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18283
18338
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18284
18339
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18285
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
18340
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
18286
18341
  let fetchResult;
18287
18342
  try {
18288
18343
  fetchResult = await documentLoader(url.href);
@@ -18469,7 +18524,7 @@ var Application = class Application extends Object$1 {
18469
18524
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18470
18525
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18471
18526
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18472
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
18527
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
18473
18528
  let fetchResult;
18474
18529
  try {
18475
18530
  fetchResult = await documentLoader(url.href);
@@ -18674,7 +18729,7 @@ var Application = class Application extends Object$1 {
18674
18729
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18675
18730
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18676
18731
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18677
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
18732
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
18678
18733
  let fetchResult;
18679
18734
  try {
18680
18735
  fetchResult = await documentLoader(url.href);
@@ -18828,7 +18883,7 @@ var Application = class Application extends Object$1 {
18828
18883
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18829
18884
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18830
18885
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18831
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
18886
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
18832
18887
  let fetchResult;
18833
18888
  try {
18834
18889
  fetchResult = await documentLoader(url.href);
@@ -18979,7 +19034,7 @@ var Application = class Application extends Object$1 {
18979
19034
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18980
19035
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18981
19036
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18982
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19037
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
18983
19038
  let fetchResult;
18984
19039
  try {
18985
19040
  fetchResult = await documentLoader(url.href);
@@ -19115,7 +19170,7 @@ var Application = class Application extends Object$1 {
19115
19170
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19116
19171
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19117
19172
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19118
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19173
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19119
19174
  let fetchResult;
19120
19175
  try {
19121
19176
  fetchResult = await documentLoader(url.href);
@@ -19254,7 +19309,7 @@ var Application = class Application extends Object$1 {
19254
19309
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19255
19310
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19256
19311
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19257
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19312
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19258
19313
  let fetchResult;
19259
19314
  try {
19260
19315
  fetchResult = await documentLoader(url.href);
@@ -19391,7 +19446,7 @@ var Application = class Application extends Object$1 {
19391
19446
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19392
19447
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19393
19448
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19394
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19449
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19395
19450
  let fetchResult;
19396
19451
  try {
19397
19452
  fetchResult = await documentLoader(url.href);
@@ -19526,7 +19581,7 @@ var Application = class Application extends Object$1 {
19526
19581
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19527
19582
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19528
19583
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19529
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19584
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19530
19585
  let fetchResult;
19531
19586
  try {
19532
19587
  fetchResult = await documentLoader(url.href);
@@ -19661,7 +19716,7 @@ var Application = class Application extends Object$1 {
19661
19716
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19662
19717
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19663
19718
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19664
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19719
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19665
19720
  let fetchResult;
19666
19721
  try {
19667
19722
  fetchResult = await documentLoader(url.href);
@@ -19836,7 +19891,7 @@ var Application = class Application extends Object$1 {
19836
19891
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19837
19892
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
19838
19893
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
19839
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
19894
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
19840
19895
  let fetchResult;
19841
19896
  try {
19842
19897
  fetchResult = await documentLoader(url.href);
@@ -20014,7 +20069,7 @@ var Application = class Application extends Object$1 {
20014
20069
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20015
20070
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20016
20071
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20017
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
20072
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
20018
20073
  let fetchResult;
20019
20074
  try {
20020
20075
  fetchResult = await documentLoader(url.href);
@@ -20253,7 +20308,7 @@ var Application = class Application extends Object$1 {
20253
20308
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20254
20309
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20255
20310
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20256
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
20311
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
20257
20312
  let fetchResult;
20258
20313
  try {
20259
20314
  fetchResult = await documentLoader(url.href);
@@ -20963,7 +21018,7 @@ var Application = class Application extends Object$1 {
20963
21018
  * @throws {TypeError} If the given `json` is invalid.
20964
21019
  */
20965
21020
  static async fromJsonLd(json, options = {}) {
20966
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
21021
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
20967
21022
  try {
20968
21023
  const object = await this.__fromJsonLd__Application__(json, span, options);
20969
21024
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21656,7 +21711,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
21656
21711
  * @throws {TypeError} If the given `json` is invalid.
21657
21712
  */
21658
21713
  static async fromJsonLd(json, options = {}) {
21659
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
21714
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
21660
21715
  try {
21661
21716
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
21662
21717
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21813,7 +21868,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
21813
21868
  * @throws {TypeError} If the given `json` is invalid.
21814
21869
  */
21815
21870
  static async fromJsonLd(json, options = {}) {
21816
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
21871
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
21817
21872
  try {
21818
21873
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
21819
21874
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21947,7 +22002,7 @@ var Article = class Article extends Object$1 {
21947
22002
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21948
22003
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21949
22004
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21950
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
22005
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
21951
22006
  let fetchResult;
21952
22007
  try {
21953
22008
  fetchResult = await documentLoader(url.href);
@@ -22097,7 +22152,7 @@ var Article = class Article extends Object$1 {
22097
22152
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22098
22153
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22099
22154
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22100
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
22155
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
22101
22156
  let fetchResult;
22102
22157
  try {
22103
22158
  fetchResult = await documentLoader(url.href);
@@ -22395,7 +22450,7 @@ var Article = class Article extends Object$1 {
22395
22450
  * @throws {TypeError} If the given `json` is invalid.
22396
22451
  */
22397
22452
  static async fromJsonLd(json, options = {}) {
22398
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
22453
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
22399
22454
  try {
22400
22455
  const object = await this.__fromJsonLd__Article__(json, span, options);
22401
22456
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22694,7 +22749,7 @@ var Document = class Document extends Object$1 {
22694
22749
  * @throws {TypeError} If the given `json` is invalid.
22695
22750
  */
22696
22751
  static async fromJsonLd(json, options = {}) {
22697
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
22752
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
22698
22753
  try {
22699
22754
  const object = await this.__fromJsonLd__Document__(json, span, options);
22700
22755
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22901,7 +22956,7 @@ var Audio = class Audio extends Document {
22901
22956
  * @throws {TypeError} If the given `json` is invalid.
22902
22957
  */
22903
22958
  static async fromJsonLd(json, options = {}) {
22904
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
22959
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
22905
22960
  try {
22906
22961
  const object = await this.__fromJsonLd__Audio__(json, span, options);
22907
22962
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23054,7 +23109,7 @@ var Ignore = class Ignore extends Activity {
23054
23109
  * @throws {TypeError} If the given `json` is invalid.
23055
23110
  */
23056
23111
  static async fromJsonLd(json, options = {}) {
23057
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
23112
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
23058
23113
  try {
23059
23114
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
23060
23115
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23210,7 +23265,7 @@ var Block = class Block extends Ignore {
23210
23265
  * @throws {TypeError} If the given `json` is invalid.
23211
23266
  */
23212
23267
  static async fromJsonLd(json, options = {}) {
23213
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
23268
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
23214
23269
  try {
23215
23270
  const object = await this.__fromJsonLd__Block__(json, span, options);
23216
23271
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23478,7 +23533,7 @@ var Collection = class Collection extends Object$1 {
23478
23533
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23479
23534
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23480
23535
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23481
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
23536
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
23482
23537
  let fetchResult;
23483
23538
  try {
23484
23539
  fetchResult = await documentLoader(url.href);
@@ -23611,7 +23666,7 @@ var Collection = class Collection extends Object$1 {
23611
23666
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23612
23667
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23613
23668
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23614
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
23669
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
23615
23670
  let fetchResult;
23616
23671
  try {
23617
23672
  fetchResult = await documentLoader(url.href);
@@ -23744,7 +23799,7 @@ var Collection = class Collection extends Object$1 {
23744
23799
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23745
23800
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23746
23801
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23747
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
23802
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
23748
23803
  let fetchResult;
23749
23804
  try {
23750
23805
  fetchResult = await documentLoader(url.href);
@@ -23877,7 +23932,7 @@ var Collection = class Collection extends Object$1 {
23877
23932
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23878
23933
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23879
23934
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23880
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
23935
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
23881
23936
  let fetchResult;
23882
23937
  try {
23883
23938
  fetchResult = await documentLoader(url.href);
@@ -24021,7 +24076,7 @@ var Collection = class Collection extends Object$1 {
24021
24076
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24022
24077
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24023
24078
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24024
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24079
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24025
24080
  let fetchResult;
24026
24081
  try {
24027
24082
  fetchResult = await documentLoader(url.href);
@@ -24153,7 +24208,7 @@ var Collection = class Collection extends Object$1 {
24153
24208
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24154
24209
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24155
24210
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24156
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24211
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24157
24212
  let fetchResult;
24158
24213
  try {
24159
24214
  fetchResult = await documentLoader(url.href);
@@ -24285,7 +24340,7 @@ var Collection = class Collection extends Object$1 {
24285
24340
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24286
24341
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24287
24342
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24288
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24343
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24289
24344
  let fetchResult;
24290
24345
  try {
24291
24346
  fetchResult = await documentLoader(url.href);
@@ -24417,7 +24472,7 @@ var Collection = class Collection extends Object$1 {
24417
24472
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24418
24473
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24419
24474
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24420
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24475
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24421
24476
  let fetchResult;
24422
24477
  try {
24423
24478
  fetchResult = await documentLoader(url.href);
@@ -24549,7 +24604,7 @@ var Collection = class Collection extends Object$1 {
24549
24604
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24550
24605
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24551
24606
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24552
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24607
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24553
24608
  let fetchResult;
24554
24609
  try {
24555
24610
  fetchResult = await documentLoader(url.href);
@@ -24681,7 +24736,7 @@ var Collection = class Collection extends Object$1 {
24681
24736
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24682
24737
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24683
24738
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24684
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24739
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24685
24740
  let fetchResult;
24686
24741
  try {
24687
24742
  fetchResult = await documentLoader(url.href);
@@ -24813,7 +24868,7 @@ var Collection = class Collection extends Object$1 {
24813
24868
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24814
24869
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24815
24870
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24816
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
24871
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24817
24872
  let fetchResult;
24818
24873
  try {
24819
24874
  fetchResult = await documentLoader(url.href);
@@ -24945,7 +25000,7 @@ var Collection = class Collection extends Object$1 {
24945
25000
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24946
25001
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24947
25002
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24948
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
25003
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
24949
25004
  let fetchResult;
24950
25005
  try {
24951
25006
  fetchResult = await documentLoader(url.href);
@@ -25406,7 +25461,7 @@ var Collection = class Collection extends Object$1 {
25406
25461
  * @throws {TypeError} If the given `json` is invalid.
25407
25462
  */
25408
25463
  static async fromJsonLd(json, options = {}) {
25409
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
25464
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
25410
25465
  try {
25411
25466
  const object = await this.__fromJsonLd__Collection__(json, span, options);
25412
25467
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25955,7 +26010,7 @@ var CollectionPage = class CollectionPage extends Collection {
25955
26010
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25956
26011
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25957
26012
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25958
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
26013
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
25959
26014
  let fetchResult;
25960
26015
  try {
25961
26016
  fetchResult = await documentLoader(url.href);
@@ -26088,7 +26143,7 @@ var CollectionPage = class CollectionPage extends Collection {
26088
26143
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26089
26144
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26090
26145
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26091
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
26146
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
26092
26147
  let fetchResult;
26093
26148
  try {
26094
26149
  fetchResult = await documentLoader(url.href);
@@ -26220,7 +26275,7 @@ var CollectionPage = class CollectionPage extends Collection {
26220
26275
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26221
26276
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26222
26277
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26223
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
26278
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
26224
26279
  let fetchResult;
26225
26280
  try {
26226
26281
  fetchResult = await documentLoader(url.href);
@@ -26518,7 +26573,7 @@ var CollectionPage = class CollectionPage extends Collection {
26518
26573
  * @throws {TypeError} If the given `json` is invalid.
26519
26574
  */
26520
26575
  static async fromJsonLd(json, options = {}) {
26521
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
26576
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
26522
26577
  try {
26523
26578
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
26524
26579
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26780,7 +26835,7 @@ var Create = class Create extends Activity {
26780
26835
  * @throws {TypeError} If the given `json` is invalid.
26781
26836
  */
26782
26837
  static async fromJsonLd(json, options = {}) {
26783
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
26838
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
26784
26839
  try {
26785
26840
  const object = await this.__fromJsonLd__Create__(json, span, options);
26786
26841
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26959,7 +27014,7 @@ var Delete = class Delete extends Activity {
26959
27014
  * @throws {TypeError} If the given `json` is invalid.
26960
27015
  */
26961
27016
  static async fromJsonLd(json, options = {}) {
26962
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
27017
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
26963
27018
  try {
26964
27019
  const object = await this.__fromJsonLd__Delete__(json, span, options);
26965
27020
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27115,7 +27170,7 @@ var Dislike = class Dislike extends Activity {
27115
27170
  * @throws {TypeError} If the given `json` is invalid.
27116
27171
  */
27117
27172
  static async fromJsonLd(json, options = {}) {
27118
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
27173
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
27119
27174
  try {
27120
27175
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
27121
27176
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27203,6 +27258,11 @@ var Endpoints = class {
27203
27258
  get _warning() {
27204
27259
  return this.#warning;
27205
27260
  }
27261
+ /**
27262
+ * Internal cross-package contract with @fedify/testing, which copies this
27263
+ * cache when attaching document loaders to an activity clone. Keep this
27264
+ * accessor name and its getter/setter semantics stable.
27265
+ */
27206
27266
  get _cachedJsonLd() {
27207
27267
  return this.#cachedJsonLd;
27208
27268
  }
@@ -27482,7 +27542,7 @@ var Endpoints = class {
27482
27542
  * @throws {TypeError} If the given `json` is invalid.
27483
27543
  */
27484
27544
  static async fromJsonLd(json, options = {}) {
27485
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
27545
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
27486
27546
  try {
27487
27547
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
27488
27548
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27756,7 +27816,7 @@ var Event = class Event extends Object$1 {
27756
27816
  * @throws {TypeError} If the given `json` is invalid.
27757
27817
  */
27758
27818
  static async fromJsonLd(json, options = {}) {
27759
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
27819
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
27760
27820
  try {
27761
27821
  const object = await this.__fromJsonLd__Event__(json, span, options);
27762
27822
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27910,7 +27970,7 @@ var Flag = class Flag extends Activity {
27910
27970
  * @throws {TypeError} If the given `json` is invalid.
27911
27971
  */
27912
27972
  static async fromJsonLd(json, options = {}) {
27913
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
27973
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
27914
27974
  try {
27915
27975
  const object = await this.__fromJsonLd__Flag__(json, span, options);
27916
27976
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28068,7 +28128,7 @@ var Follow = class Follow extends Activity {
28068
28128
  * @throws {TypeError} If the given `json` is invalid.
28069
28129
  */
28070
28130
  static async fromJsonLd(json, options = {}) {
28071
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
28131
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
28072
28132
  try {
28073
28133
  const object = await this.__fromJsonLd__Follow__(json, span, options);
28074
28134
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28467,7 +28527,7 @@ var Group = class Group extends Object$1 {
28467
28527
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28468
28528
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28469
28529
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28470
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
28530
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
28471
28531
  let fetchResult;
28472
28532
  try {
28473
28533
  fetchResult = await documentLoader(url.href);
@@ -28654,7 +28714,7 @@ var Group = class Group extends Object$1 {
28654
28714
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28655
28715
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28656
28716
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28657
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
28717
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
28658
28718
  let fetchResult;
28659
28719
  try {
28660
28720
  fetchResult = await documentLoader(url.href);
@@ -28859,7 +28919,7 @@ var Group = class Group extends Object$1 {
28859
28919
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28860
28920
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
28861
28921
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
28862
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
28922
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
28863
28923
  let fetchResult;
28864
28924
  try {
28865
28925
  fetchResult = await documentLoader(url.href);
@@ -29013,7 +29073,7 @@ var Group = class Group extends Object$1 {
29013
29073
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29014
29074
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29015
29075
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29016
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29076
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29017
29077
  let fetchResult;
29018
29078
  try {
29019
29079
  fetchResult = await documentLoader(url.href);
@@ -29164,7 +29224,7 @@ var Group = class Group extends Object$1 {
29164
29224
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29165
29225
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29166
29226
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29167
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29227
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29168
29228
  let fetchResult;
29169
29229
  try {
29170
29230
  fetchResult = await documentLoader(url.href);
@@ -29300,7 +29360,7 @@ var Group = class Group extends Object$1 {
29300
29360
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29301
29361
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29302
29362
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29303
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29363
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29304
29364
  let fetchResult;
29305
29365
  try {
29306
29366
  fetchResult = await documentLoader(url.href);
@@ -29439,7 +29499,7 @@ var Group = class Group extends Object$1 {
29439
29499
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29440
29500
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29441
29501
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29442
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29502
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29443
29503
  let fetchResult;
29444
29504
  try {
29445
29505
  fetchResult = await documentLoader(url.href);
@@ -29576,7 +29636,7 @@ var Group = class Group extends Object$1 {
29576
29636
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29577
29637
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29578
29638
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29579
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29639
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29580
29640
  let fetchResult;
29581
29641
  try {
29582
29642
  fetchResult = await documentLoader(url.href);
@@ -29711,7 +29771,7 @@ var Group = class Group extends Object$1 {
29711
29771
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29712
29772
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29713
29773
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29714
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29774
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29715
29775
  let fetchResult;
29716
29776
  try {
29717
29777
  fetchResult = await documentLoader(url.href);
@@ -29846,7 +29906,7 @@ var Group = class Group extends Object$1 {
29846
29906
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29847
29907
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29848
29908
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29849
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
29909
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
29850
29910
  let fetchResult;
29851
29911
  try {
29852
29912
  fetchResult = await documentLoader(url.href);
@@ -30021,7 +30081,7 @@ var Group = class Group extends Object$1 {
30021
30081
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30022
30082
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30023
30083
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30024
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
30084
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
30025
30085
  let fetchResult;
30026
30086
  try {
30027
30087
  fetchResult = await documentLoader(url.href);
@@ -30199,7 +30259,7 @@ var Group = class Group extends Object$1 {
30199
30259
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30200
30260
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30201
30261
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30202
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
30262
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
30203
30263
  let fetchResult;
30204
30264
  try {
30205
30265
  fetchResult = await documentLoader(url.href);
@@ -30438,7 +30498,7 @@ var Group = class Group extends Object$1 {
30438
30498
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30439
30499
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30440
30500
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30441
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
30501
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
30442
30502
  let fetchResult;
30443
30503
  try {
30444
30504
  fetchResult = await documentLoader(url.href);
@@ -31148,7 +31208,7 @@ var Group = class Group extends Object$1 {
31148
31208
  * @throws {TypeError} If the given `json` is invalid.
31149
31209
  */
31150
31210
  static async fromJsonLd(json, options = {}) {
31151
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
31211
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
31152
31212
  try {
31153
31213
  const object = await this.__fromJsonLd__Group__(json, span, options);
31154
31214
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31782,6 +31842,11 @@ var Link = class Link {
31782
31842
  get _warning() {
31783
31843
  return this.#warning;
31784
31844
  }
31845
+ /**
31846
+ * Internal cross-package contract with @fedify/testing, which copies this
31847
+ * cache when attaching document loaders to an activity clone. Keep this
31848
+ * accessor name and its getter/setter semantics stable.
31849
+ */
31785
31850
  get _cachedJsonLd() {
31786
31851
  return this.#cachedJsonLd;
31787
31852
  }
@@ -31997,7 +32062,7 @@ var Link = class Link {
31997
32062
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31998
32063
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31999
32064
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32000
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
32065
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
32001
32066
  let fetchResult;
32002
32067
  try {
32003
32068
  fetchResult = await documentLoader(url.href);
@@ -32302,7 +32367,7 @@ var Link = class Link {
32302
32367
  * @throws {TypeError} If the given `json` is invalid.
32303
32368
  */
32304
32369
  static async fromJsonLd(json, options = {}) {
32305
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
32370
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
32306
32371
  try {
32307
32372
  const object = await this.__fromJsonLd__Link__(json, span, options);
32308
32373
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32688,7 +32753,7 @@ var Hashtag = class Hashtag extends Link {
32688
32753
  * @throws {TypeError} If the given `json` is invalid.
32689
32754
  */
32690
32755
  static async fromJsonLd(json, options = {}) {
32691
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
32756
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
32692
32757
  try {
32693
32758
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
32694
32759
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32854,7 +32919,7 @@ var Image = class Image extends Document {
32854
32919
  * @throws {TypeError} If the given `json` is invalid.
32855
32920
  */
32856
32921
  static async fromJsonLd(json, options = {}) {
32857
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
32922
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
32858
32923
  try {
32859
32924
  const object = await this.__fromJsonLd__Image__(json, span, options);
32860
32925
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33008,7 +33073,7 @@ var Offer = class Offer extends Activity {
33008
33073
  * @throws {TypeError} If the given `json` is invalid.
33009
33074
  */
33010
33075
  static async fromJsonLd(json, options = {}) {
33011
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33076
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33012
33077
  try {
33013
33078
  const object = await this.__fromJsonLd__Offer__(json, span, options);
33014
33079
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33162,7 +33227,7 @@ var Invite = class Invite extends Offer {
33162
33227
  * @throws {TypeError} If the given `json` is invalid.
33163
33228
  */
33164
33229
  static async fromJsonLd(json, options = {}) {
33165
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33230
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33166
33231
  try {
33167
33232
  const object = await this.__fromJsonLd__Invite__(json, span, options);
33168
33233
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33315,7 +33380,7 @@ var Join = class Join extends Activity {
33315
33380
  * @throws {TypeError} If the given `json` is invalid.
33316
33381
  */
33317
33382
  static async fromJsonLd(json, options = {}) {
33318
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33383
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33319
33384
  try {
33320
33385
  const object = await this.__fromJsonLd__Join__(json, span, options);
33321
33386
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33468,7 +33533,7 @@ var Leave = class Leave extends Activity {
33468
33533
  * @throws {TypeError} If the given `json` is invalid.
33469
33534
  */
33470
33535
  static async fromJsonLd(json, options = {}) {
33471
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33536
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33472
33537
  try {
33473
33538
  const object = await this.__fromJsonLd__Leave__(json, span, options);
33474
33539
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33625,7 +33690,7 @@ var Like = class Like extends Activity {
33625
33690
  * @throws {TypeError} If the given `json` is invalid.
33626
33691
  */
33627
33692
  static async fromJsonLd(json, options = {}) {
33628
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33693
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33629
33694
  try {
33630
33695
  const object = await this.__fromJsonLd__Like__(json, span, options);
33631
33696
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33777,7 +33842,7 @@ var Listen = class Listen extends Activity {
33777
33842
  * @throws {TypeError} If the given `json` is invalid.
33778
33843
  */
33779
33844
  static async fromJsonLd(json, options = {}) {
33780
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
33845
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33781
33846
  try {
33782
33847
  const object = await this.__fromJsonLd__Listen__(json, span, options);
33783
33848
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33932,7 +33997,7 @@ var Mention = class Mention extends Link {
33932
33997
  * @throws {TypeError} If the given `json` is invalid.
33933
33998
  */
33934
33999
  static async fromJsonLd(json, options = {}) {
33935
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
34000
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
33936
34001
  try {
33937
34002
  const object = await this.__fromJsonLd__Mention__(json, span, options);
33938
34003
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34086,7 +34151,7 @@ var Move = class Move extends Activity {
34086
34151
  * @throws {TypeError} If the given `json` is invalid.
34087
34152
  */
34088
34153
  static async fromJsonLd(json, options = {}) {
34089
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
34154
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
34090
34155
  try {
34091
34156
  const object = await this.__fromJsonLd__Move__(json, span, options);
34092
34157
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34221,7 +34286,7 @@ var Note = class Note extends Object$1 {
34221
34286
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34222
34287
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34223
34288
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34224
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
34289
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
34225
34290
  let fetchResult;
34226
34291
  try {
34227
34292
  fetchResult = await documentLoader(url.href);
@@ -34371,7 +34436,7 @@ var Note = class Note extends Object$1 {
34371
34436
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34372
34437
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34373
34438
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34374
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
34439
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
34375
34440
  let fetchResult;
34376
34441
  try {
34377
34442
  fetchResult = await documentLoader(url.href);
@@ -34669,7 +34734,7 @@ var Note = class Note extends Object$1 {
34669
34734
  * @throws {TypeError} If the given `json` is invalid.
34670
34735
  */
34671
34736
  static async fromJsonLd(json, options = {}) {
34672
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
34737
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
34673
34738
  try {
34674
34739
  const object = await this.__fromJsonLd__Note__(json, span, options);
34675
34740
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34860,7 +34925,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
34860
34925
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34861
34926
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
34862
34927
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
34863
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
34928
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
34864
34929
  let fetchResult;
34865
34930
  try {
34866
34931
  fetchResult = await documentLoader(url.href);
@@ -35143,7 +35208,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
35143
35208
  * @throws {TypeError} If the given `json` is invalid.
35144
35209
  */
35145
35210
  static async fromJsonLd(json, options = {}) {
35146
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
35211
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
35147
35212
  try {
35148
35213
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
35149
35214
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35368,7 +35433,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
35368
35433
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35369
35434
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
35370
35435
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
35371
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
35436
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
35372
35437
  let fetchResult;
35373
35438
  try {
35374
35439
  fetchResult = await documentLoader(url.href);
@@ -35674,7 +35739,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
35674
35739
  * @throws {TypeError} If the given `json` is invalid.
35675
35740
  */
35676
35741
  static async fromJsonLd(json, options = {}) {
35677
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
35742
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
35678
35743
  try {
35679
35744
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
35680
35745
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -36191,7 +36256,7 @@ var Organization = class Organization extends Object$1 {
36191
36256
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36192
36257
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36193
36258
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36194
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
36259
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36195
36260
  let fetchResult;
36196
36261
  try {
36197
36262
  fetchResult = await documentLoader(url.href);
@@ -36378,7 +36443,7 @@ var Organization = class Organization extends Object$1 {
36378
36443
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36379
36444
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36380
36445
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36381
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
36446
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36382
36447
  let fetchResult;
36383
36448
  try {
36384
36449
  fetchResult = await documentLoader(url.href);
@@ -36583,7 +36648,7 @@ var Organization = class Organization extends Object$1 {
36583
36648
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36584
36649
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36585
36650
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36586
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
36651
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36587
36652
  let fetchResult;
36588
36653
  try {
36589
36654
  fetchResult = await documentLoader(url.href);
@@ -36737,7 +36802,7 @@ var Organization = class Organization extends Object$1 {
36737
36802
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36738
36803
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36739
36804
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36740
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
36805
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36741
36806
  let fetchResult;
36742
36807
  try {
36743
36808
  fetchResult = await documentLoader(url.href);
@@ -36888,7 +36953,7 @@ var Organization = class Organization extends Object$1 {
36888
36953
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36889
36954
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36890
36955
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36891
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
36956
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
36892
36957
  let fetchResult;
36893
36958
  try {
36894
36959
  fetchResult = await documentLoader(url.href);
@@ -37024,7 +37089,7 @@ var Organization = class Organization extends Object$1 {
37024
37089
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37025
37090
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37026
37091
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37027
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37092
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37028
37093
  let fetchResult;
37029
37094
  try {
37030
37095
  fetchResult = await documentLoader(url.href);
@@ -37163,7 +37228,7 @@ var Organization = class Organization extends Object$1 {
37163
37228
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37164
37229
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37165
37230
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37166
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37231
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37167
37232
  let fetchResult;
37168
37233
  try {
37169
37234
  fetchResult = await documentLoader(url.href);
@@ -37300,7 +37365,7 @@ var Organization = class Organization extends Object$1 {
37300
37365
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37301
37366
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37302
37367
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37303
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37368
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37304
37369
  let fetchResult;
37305
37370
  try {
37306
37371
  fetchResult = await documentLoader(url.href);
@@ -37435,7 +37500,7 @@ var Organization = class Organization extends Object$1 {
37435
37500
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37436
37501
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37437
37502
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37438
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37503
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37439
37504
  let fetchResult;
37440
37505
  try {
37441
37506
  fetchResult = await documentLoader(url.href);
@@ -37570,7 +37635,7 @@ var Organization = class Organization extends Object$1 {
37570
37635
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37571
37636
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37572
37637
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37573
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37638
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37574
37639
  let fetchResult;
37575
37640
  try {
37576
37641
  fetchResult = await documentLoader(url.href);
@@ -37745,7 +37810,7 @@ var Organization = class Organization extends Object$1 {
37745
37810
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37746
37811
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37747
37812
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37748
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37813
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37749
37814
  let fetchResult;
37750
37815
  try {
37751
37816
  fetchResult = await documentLoader(url.href);
@@ -37923,7 +37988,7 @@ var Organization = class Organization extends Object$1 {
37923
37988
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37924
37989
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37925
37990
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37926
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
37991
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
37927
37992
  let fetchResult;
37928
37993
  try {
37929
37994
  fetchResult = await documentLoader(url.href);
@@ -38162,7 +38227,7 @@ var Organization = class Organization extends Object$1 {
38162
38227
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38163
38228
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38164
38229
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38165
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
38230
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
38166
38231
  let fetchResult;
38167
38232
  try {
38168
38233
  fetchResult = await documentLoader(url.href);
@@ -38872,7 +38937,7 @@ var Organization = class Organization extends Object$1 {
38872
38937
  * @throws {TypeError} If the given `json` is invalid.
38873
38938
  */
38874
38939
  static async fromJsonLd(json, options = {}) {
38875
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
38940
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
38876
38941
  try {
38877
38942
  const object = await this.__fromJsonLd__Organization__(json, span, options);
38878
38943
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39577,7 +39642,7 @@ var Page = class Page extends Document {
39577
39642
  * @throws {TypeError} If the given `json` is invalid.
39578
39643
  */
39579
39644
  static async fromJsonLd(json, options = {}) {
39580
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
39645
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
39581
39646
  try {
39582
39647
  const object = await this.__fromJsonLd__Page__(json, span, options);
39583
39648
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39976,7 +40041,7 @@ var Person = class Person extends Object$1 {
39976
40041
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39977
40042
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39978
40043
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39979
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40044
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
39980
40045
  let fetchResult;
39981
40046
  try {
39982
40047
  fetchResult = await documentLoader(url.href);
@@ -40163,7 +40228,7 @@ var Person = class Person extends Object$1 {
40163
40228
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40164
40229
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40165
40230
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40166
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40231
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40167
40232
  let fetchResult;
40168
40233
  try {
40169
40234
  fetchResult = await documentLoader(url.href);
@@ -40368,7 +40433,7 @@ var Person = class Person extends Object$1 {
40368
40433
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40369
40434
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40370
40435
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40371
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40436
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40372
40437
  let fetchResult;
40373
40438
  try {
40374
40439
  fetchResult = await documentLoader(url.href);
@@ -40522,7 +40587,7 @@ var Person = class Person extends Object$1 {
40522
40587
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40523
40588
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40524
40589
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40525
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40590
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40526
40591
  let fetchResult;
40527
40592
  try {
40528
40593
  fetchResult = await documentLoader(url.href);
@@ -40673,7 +40738,7 @@ var Person = class Person extends Object$1 {
40673
40738
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40674
40739
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40675
40740
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40676
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40741
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40677
40742
  let fetchResult;
40678
40743
  try {
40679
40744
  fetchResult = await documentLoader(url.href);
@@ -40809,7 +40874,7 @@ var Person = class Person extends Object$1 {
40809
40874
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40810
40875
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40811
40876
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40812
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
40877
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40813
40878
  let fetchResult;
40814
40879
  try {
40815
40880
  fetchResult = await documentLoader(url.href);
@@ -40948,7 +41013,7 @@ var Person = class Person extends Object$1 {
40948
41013
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40949
41014
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
40950
41015
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
40951
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41016
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
40952
41017
  let fetchResult;
40953
41018
  try {
40954
41019
  fetchResult = await documentLoader(url.href);
@@ -41085,7 +41150,7 @@ var Person = class Person extends Object$1 {
41085
41150
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41086
41151
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41087
41152
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41088
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41153
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41089
41154
  let fetchResult;
41090
41155
  try {
41091
41156
  fetchResult = await documentLoader(url.href);
@@ -41220,7 +41285,7 @@ var Person = class Person extends Object$1 {
41220
41285
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41221
41286
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41222
41287
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41223
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41288
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41224
41289
  let fetchResult;
41225
41290
  try {
41226
41291
  fetchResult = await documentLoader(url.href);
@@ -41355,7 +41420,7 @@ var Person = class Person extends Object$1 {
41355
41420
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41356
41421
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41357
41422
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41358
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41423
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41359
41424
  let fetchResult;
41360
41425
  try {
41361
41426
  fetchResult = await documentLoader(url.href);
@@ -41530,7 +41595,7 @@ var Person = class Person extends Object$1 {
41530
41595
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41531
41596
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41532
41597
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41533
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41598
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41534
41599
  let fetchResult;
41535
41600
  try {
41536
41601
  fetchResult = await documentLoader(url.href);
@@ -41708,7 +41773,7 @@ var Person = class Person extends Object$1 {
41708
41773
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41709
41774
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41710
41775
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41711
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
41776
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41712
41777
  let fetchResult;
41713
41778
  try {
41714
41779
  fetchResult = await documentLoader(url.href);
@@ -41947,7 +42012,7 @@ var Person = class Person extends Object$1 {
41947
42012
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41948
42013
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41949
42014
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41950
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
42015
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
41951
42016
  let fetchResult;
41952
42017
  try {
41953
42018
  fetchResult = await documentLoader(url.href);
@@ -42657,7 +42722,7 @@ var Person = class Person extends Object$1 {
42657
42722
  * @throws {TypeError} If the given `json` is invalid.
42658
42723
  */
42659
42724
  static async fromJsonLd(json, options = {}) {
42660
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
42725
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
42661
42726
  try {
42662
42727
  const object = await this.__fromJsonLd__Person__(json, span, options);
42663
42728
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43539,7 +43604,7 @@ var Place = class Place extends Object$1 {
43539
43604
  * @throws {TypeError} If the given `json` is invalid.
43540
43605
  */
43541
43606
  static async fromJsonLd(json, options = {}) {
43542
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
43607
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
43543
43608
  try {
43544
43609
  const object = await this.__fromJsonLd__Place__(json, span, options);
43545
43610
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43768,7 +43833,7 @@ var Profile = class Profile extends Object$1 {
43768
43833
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43769
43834
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43770
43835
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43771
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
43836
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
43772
43837
  let fetchResult;
43773
43838
  try {
43774
43839
  fetchResult = await documentLoader(url.href);
@@ -43981,7 +44046,7 @@ var Profile = class Profile extends Object$1 {
43981
44046
  * @throws {TypeError} If the given `json` is invalid.
43982
44047
  */
43983
44048
  static async fromJsonLd(json, options = {}) {
43984
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
44049
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
43985
44050
  try {
43986
44051
  const object = await this.__fromJsonLd__Profile__(json, span, options);
43987
44052
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44187,7 +44252,7 @@ var Question = class Question extends IntransitiveActivity {
44187
44252
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44188
44253
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44189
44254
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44190
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
44255
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
44191
44256
  let fetchResult;
44192
44257
  try {
44193
44258
  fetchResult = await documentLoader(url.href);
@@ -44322,7 +44387,7 @@ var Question = class Question extends IntransitiveActivity {
44322
44387
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44323
44388
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44324
44389
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44325
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
44390
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
44326
44391
  let fetchResult;
44327
44392
  try {
44328
44393
  fetchResult = await documentLoader(url.href);
@@ -44473,7 +44538,7 @@ var Question = class Question extends IntransitiveActivity {
44473
44538
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44474
44539
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44475
44540
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44476
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
44541
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
44477
44542
  let fetchResult;
44478
44543
  try {
44479
44544
  fetchResult = await documentLoader(url.href);
@@ -44623,7 +44688,7 @@ var Question = class Question extends IntransitiveActivity {
44623
44688
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44624
44689
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44625
44690
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44626
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
44691
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
44627
44692
  let fetchResult;
44628
44693
  try {
44629
44694
  fetchResult = await documentLoader(url.href);
@@ -44887,7 +44952,7 @@ var Question = class Question extends IntransitiveActivity {
44887
44952
  * @throws {TypeError} If the given `json` is invalid.
44888
44953
  */
44889
44954
  static async fromJsonLd(json, options = {}) {
44890
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
44955
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
44891
44956
  try {
44892
44957
  const object = await this.__fromJsonLd__Question__(json, span, options);
44893
44958
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45200,7 +45265,7 @@ var Read = class Read extends Activity {
45200
45265
  * @throws {TypeError} If the given `json` is invalid.
45201
45266
  */
45202
45267
  static async fromJsonLd(json, options = {}) {
45203
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
45268
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
45204
45269
  try {
45205
45270
  const object = await this.__fromJsonLd__Read__(json, span, options);
45206
45271
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45353,7 +45418,7 @@ var Reject = class Reject extends Activity {
45353
45418
  * @throws {TypeError} If the given `json` is invalid.
45354
45419
  */
45355
45420
  static async fromJsonLd(json, options = {}) {
45356
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
45421
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
45357
45422
  try {
45358
45423
  const object = await this.__fromJsonLd__Reject__(json, span, options);
45359
45424
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45530,7 +45595,7 @@ var Relationship = class Relationship extends Object$1 {
45530
45595
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45531
45596
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45532
45597
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
45533
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
45598
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
45534
45599
  let fetchResult;
45535
45600
  try {
45536
45601
  fetchResult = await documentLoader(url.href);
@@ -45665,7 +45730,7 @@ var Relationship = class Relationship extends Object$1 {
45665
45730
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45666
45731
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45667
45732
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
45668
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
45733
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
45669
45734
  let fetchResult;
45670
45735
  try {
45671
45736
  fetchResult = await documentLoader(url.href);
@@ -45852,7 +45917,7 @@ var Relationship = class Relationship extends Object$1 {
45852
45917
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45853
45918
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
45854
45919
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
45855
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
45920
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
45856
45921
  let fetchResult;
45857
45922
  try {
45858
45923
  fetchResult = await documentLoader(url.href);
@@ -46155,7 +46220,7 @@ var Relationship = class Relationship extends Object$1 {
46155
46220
  * @throws {TypeError} If the given `json` is invalid.
46156
46221
  */
46157
46222
  static async fromJsonLd(json, options = {}) {
46158
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
46223
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
46159
46224
  try {
46160
46225
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
46161
46226
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46389,7 +46454,7 @@ var Remove = class Remove extends Activity {
46389
46454
  * @throws {TypeError} If the given `json` is invalid.
46390
46455
  */
46391
46456
  static async fromJsonLd(json, options = {}) {
46392
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
46457
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
46393
46458
  try {
46394
46459
  const object = await this.__fromJsonLd__Remove__(json, span, options);
46395
46460
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46788,7 +46853,7 @@ var Service = class Service extends Object$1 {
46788
46853
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46789
46854
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46790
46855
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
46791
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
46856
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
46792
46857
  let fetchResult;
46793
46858
  try {
46794
46859
  fetchResult = await documentLoader(url.href);
@@ -46975,7 +47040,7 @@ var Service = class Service extends Object$1 {
46975
47040
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46976
47041
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
46977
47042
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
46978
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47043
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
46979
47044
  let fetchResult;
46980
47045
  try {
46981
47046
  fetchResult = await documentLoader(url.href);
@@ -47180,7 +47245,7 @@ var Service = class Service extends Object$1 {
47180
47245
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47181
47246
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47182
47247
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47183
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47248
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47184
47249
  let fetchResult;
47185
47250
  try {
47186
47251
  fetchResult = await documentLoader(url.href);
@@ -47334,7 +47399,7 @@ var Service = class Service extends Object$1 {
47334
47399
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47335
47400
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47336
47401
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47337
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47402
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47338
47403
  let fetchResult;
47339
47404
  try {
47340
47405
  fetchResult = await documentLoader(url.href);
@@ -47485,7 +47550,7 @@ var Service = class Service extends Object$1 {
47485
47550
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47486
47551
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47487
47552
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47488
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47553
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47489
47554
  let fetchResult;
47490
47555
  try {
47491
47556
  fetchResult = await documentLoader(url.href);
@@ -47621,7 +47686,7 @@ var Service = class Service extends Object$1 {
47621
47686
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47622
47687
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47623
47688
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47624
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47689
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47625
47690
  let fetchResult;
47626
47691
  try {
47627
47692
  fetchResult = await documentLoader(url.href);
@@ -47760,7 +47825,7 @@ var Service = class Service extends Object$1 {
47760
47825
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47761
47826
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47762
47827
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47763
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47828
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47764
47829
  let fetchResult;
47765
47830
  try {
47766
47831
  fetchResult = await documentLoader(url.href);
@@ -47897,7 +47962,7 @@ var Service = class Service extends Object$1 {
47897
47962
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47898
47963
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47899
47964
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47900
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
47965
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
47901
47966
  let fetchResult;
47902
47967
  try {
47903
47968
  fetchResult = await documentLoader(url.href);
@@ -48032,7 +48097,7 @@ var Service = class Service extends Object$1 {
48032
48097
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48033
48098
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48034
48099
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
48035
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48100
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48036
48101
  let fetchResult;
48037
48102
  try {
48038
48103
  fetchResult = await documentLoader(url.href);
@@ -48167,7 +48232,7 @@ var Service = class Service extends Object$1 {
48167
48232
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48168
48233
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48169
48234
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
48170
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48235
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48171
48236
  let fetchResult;
48172
48237
  try {
48173
48238
  fetchResult = await documentLoader(url.href);
@@ -48342,7 +48407,7 @@ var Service = class Service extends Object$1 {
48342
48407
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48343
48408
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48344
48409
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
48345
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48410
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48346
48411
  let fetchResult;
48347
48412
  try {
48348
48413
  fetchResult = await documentLoader(url.href);
@@ -48520,7 +48585,7 @@ var Service = class Service extends Object$1 {
48520
48585
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48521
48586
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48522
48587
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
48523
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48588
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48524
48589
  let fetchResult;
48525
48590
  try {
48526
48591
  fetchResult = await documentLoader(url.href);
@@ -48759,7 +48824,7 @@ var Service = class Service extends Object$1 {
48759
48824
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48760
48825
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48761
48826
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
48762
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.lookup_object", async (span) => {
48827
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.lookup_object", async (span) => {
48763
48828
  let fetchResult;
48764
48829
  try {
48765
48830
  fetchResult = await documentLoader(url.href);
@@ -49469,7 +49534,7 @@ var Service = class Service extends Object$1 {
49469
49534
  * @throws {TypeError} If the given `json` is invalid.
49470
49535
  */
49471
49536
  static async fromJsonLd(json, options = {}) {
49472
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
49537
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
49473
49538
  try {
49474
49539
  const object = await this.__fromJsonLd__Service__(json, span, options);
49475
49540
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50096,6 +50161,11 @@ var Source = class {
50096
50161
  get _warning() {
50097
50162
  return this.#warning;
50098
50163
  }
50164
+ /**
50165
+ * Internal cross-package contract with @fedify/testing, which copies this
50166
+ * cache when attaching document loaders to an activity clone. Keep this
50167
+ * accessor name and its getter/setter semantics stable.
50168
+ */
50099
50169
  get _cachedJsonLd() {
50100
50170
  return this.#cachedJsonLd;
50101
50171
  }
@@ -50274,7 +50344,7 @@ var Source = class {
50274
50344
  * @throws {TypeError} If the given `json` is invalid.
50275
50345
  */
50276
50346
  static async fromJsonLd(json, options = {}) {
50277
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
50347
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
50278
50348
  try {
50279
50349
  const object = await this.__fromJsonLd__Source__(json, span, options);
50280
50350
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50464,7 +50534,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
50464
50534
  * @throws {TypeError} If the given `json` is invalid.
50465
50535
  */
50466
50536
  static async fromJsonLd(json, options = {}) {
50467
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
50537
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
50468
50538
  try {
50469
50539
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
50470
50540
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50617,7 +50687,7 @@ var TentativeReject = class TentativeReject extends Reject {
50617
50687
  * @throws {TypeError} If the given `json` is invalid.
50618
50688
  */
50619
50689
  static async fromJsonLd(json, options = {}) {
50620
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
50690
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
50621
50691
  try {
50622
50692
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
50623
50693
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50859,7 +50929,7 @@ var Tombstone = class Tombstone extends Object$1 {
50859
50929
  * @throws {TypeError} If the given `json` is invalid.
50860
50930
  */
50861
50931
  static async fromJsonLd(json, options = {}) {
50862
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
50932
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
50863
50933
  try {
50864
50934
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
50865
50935
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51057,7 +51127,7 @@ var Travel = class Travel extends IntransitiveActivity {
51057
51127
  * @throws {TypeError} If the given `json` is invalid.
51058
51128
  */
51059
51129
  static async fromJsonLd(json, options = {}) {
51060
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51130
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51061
51131
  try {
51062
51132
  const object = await this.__fromJsonLd__Travel__(json, span, options);
51063
51133
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51224,7 +51294,7 @@ var Undo = class Undo extends Activity {
51224
51294
  * @throws {TypeError} If the given `json` is invalid.
51225
51295
  */
51226
51296
  static async fromJsonLd(json, options = {}) {
51227
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51297
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51228
51298
  try {
51229
51299
  const object = await this.__fromJsonLd__Undo__(json, span, options);
51230
51300
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51439,7 +51509,7 @@ var Update = class Update extends Activity {
51439
51509
  * @throws {TypeError} If the given `json` is invalid.
51440
51510
  */
51441
51511
  static async fromJsonLd(json, options = {}) {
51442
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51512
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51443
51513
  try {
51444
51514
  const object = await this.__fromJsonLd__Update__(json, span, options);
51445
51515
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51605,7 +51675,7 @@ var Video = class Video extends Document {
51605
51675
  * @throws {TypeError} If the given `json` is invalid.
51606
51676
  */
51607
51677
  static async fromJsonLd(json, options = {}) {
51608
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51678
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51609
51679
  try {
51610
51680
  const object = await this.__fromJsonLd__Video__(json, span, options);
51611
51681
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51757,7 +51827,7 @@ var View = class View extends Activity {
51757
51827
  * @throws {TypeError} If the given `json` is invalid.
51758
51828
  */
51759
51829
  static async fromJsonLd(json, options = {}) {
51760
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.14").startActiveSpan("activitypub.parse_object", async (span) => {
51830
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.15").startActiveSpan("activitypub.parse_object", async (span) => {
51761
51831
  try {
51762
51832
  const object = await this.__fromJsonLd__View__(json, span, options);
51763
51833
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);