@fedify/vocab 2.4.5-dev.2462 → 2.4.6-dev.2628

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mod.js CHANGED
@@ -12,7 +12,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
12
12
  import { delay } from "es-toolkit";
13
13
  //#region deno.json
14
14
  var name = "@fedify/vocab";
15
- var version = "2.4.5-dev.2462+46a3f2c5";
15
+ var version = "2.4.6-dev.2628+2a78382f";
16
16
  //#endregion
17
17
  //#region src/type.ts
18
18
  function getTypeId(object) {
@@ -328,6 +328,11 @@ var Object$1 = class Object$1 {
328
328
  get _warning() {
329
329
  return this.#warning;
330
330
  }
331
+ /**
332
+ * Internal cross-package contract with @fedify/testing, which copies this
333
+ * cache when attaching document loaders to an activity clone. Keep this
334
+ * accessor name and its getter/setter semantics stable.
335
+ */
331
336
  get _cachedJsonLd() {
332
337
  return this.#cachedJsonLd;
333
338
  }
@@ -1003,7 +1008,7 @@ var Object$1 = class Object$1 {
1003
1008
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1004
1009
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1005
1010
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1006
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
1011
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
1007
1012
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1008
1013
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1009
1014
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -1260,7 +1265,7 @@ var Object$1 = class Object$1 {
1260
1265
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1261
1266
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1262
1267
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1263
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
1268
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
1264
1269
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1265
1270
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1266
1271
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -1612,7 +1617,7 @@ var Object$1 = class Object$1 {
1612
1617
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1613
1618
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1614
1619
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1615
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
1620
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
1616
1621
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1617
1622
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1618
1623
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -1932,7 +1937,7 @@ var Object$1 = class Object$1 {
1932
1937
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1933
1938
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1934
1939
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1935
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
1940
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
1936
1941
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
1937
1942
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
1938
1943
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2204,7 +2209,7 @@ var Object$1 = class Object$1 {
2204
2209
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2205
2210
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2206
2211
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2207
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
2212
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
2208
2213
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2209
2214
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2210
2215
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2444,7 +2449,7 @@ var Object$1 = class Object$1 {
2444
2449
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2445
2450
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2446
2451
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2447
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
2452
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
2448
2453
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2449
2454
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2450
2455
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -2763,7 +2768,7 @@ var Object$1 = class Object$1 {
2763
2768
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2764
2769
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2765
2770
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2766
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
2771
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
2767
2772
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
2768
2773
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
2769
2774
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -3082,7 +3087,7 @@ var Object$1 = class Object$1 {
3082
3087
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3083
3088
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3084
3089
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3085
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
3090
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
3086
3091
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
3087
3092
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3088
3093
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -3393,7 +3398,7 @@ var Object$1 = class Object$1 {
3393
3398
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3394
3399
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3395
3400
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3396
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
3401
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
3397
3402
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
3398
3403
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3399
3404
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -3704,7 +3709,7 @@ var Object$1 = class Object$1 {
3704
3709
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3705
3710
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3706
3711
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3707
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
3712
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
3708
3713
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
3709
3714
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
3710
3715
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4020,7 +4025,7 @@ var Object$1 = class Object$1 {
4020
4025
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4021
4026
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4022
4027
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4023
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
4028
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
4024
4029
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4025
4030
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4026
4031
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4246,7 +4251,7 @@ var Object$1 = class Object$1 {
4246
4251
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4247
4252
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4248
4253
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4249
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
4254
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
4250
4255
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4251
4256
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4252
4257
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4478,7 +4483,7 @@ var Object$1 = class Object$1 {
4478
4483
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4479
4484
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4480
4485
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4481
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
4486
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
4482
4487
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4483
4488
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4484
4489
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4710,7 +4715,7 @@ var Object$1 = class Object$1 {
4710
4715
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4711
4716
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4712
4717
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4713
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
4718
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
4714
4719
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4715
4720
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4716
4721
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4960,7 +4965,7 @@ var Object$1 = class Object$1 {
4960
4965
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4961
4966
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4962
4967
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4963
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
4968
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
4964
4969
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4965
4970
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4966
4971
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5222,7 +5227,7 @@ var Object$1 = class Object$1 {
5222
5227
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5223
5228
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5224
5229
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5225
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
5230
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
5226
5231
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5227
5232
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5228
5233
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5522,7 +5527,7 @@ var Object$1 = class Object$1 {
5522
5527
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5523
5528
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5524
5529
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5525
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
5530
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
5526
5531
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5527
5532
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5528
5533
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5822,7 +5827,7 @@ var Object$1 = class Object$1 {
5822
5827
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
5823
5828
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
5824
5829
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
5825
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
5830
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
5826
5831
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5827
5832
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5828
5833
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6122,7 +6127,7 @@ var Object$1 = class Object$1 {
6122
6127
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6123
6128
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6124
6129
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6125
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
6130
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
6126
6131
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6127
6132
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6128
6133
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6459,7 +6464,7 @@ var Object$1 = class Object$1 {
6459
6464
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6460
6465
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6461
6466
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6462
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
6467
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
6463
6468
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6464
6469
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6465
6470
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6782,7 +6787,7 @@ var Object$1 = class Object$1 {
6782
6787
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6783
6788
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6784
6789
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6785
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
6790
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
6786
6791
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6787
6792
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6788
6793
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -7008,7 +7013,7 @@ var Object$1 = class Object$1 {
7008
7013
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7009
7014
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7010
7015
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7011
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
7016
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
7012
7017
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
7013
7018
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
7014
7019
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -7234,7 +7239,7 @@ var Object$1 = class Object$1 {
7234
7239
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7235
7240
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7236
7241
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7237
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
7242
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
7238
7243
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
7239
7244
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
7240
7245
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -8399,7 +8404,7 @@ var Object$1 = class Object$1 {
8399
8404
  * @throws {TypeError} If the given `json` is invalid.
8400
8405
  */
8401
8406
  static async fromJsonLd(json, options = {}) {
8402
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
8407
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
8403
8408
  try {
8404
8409
  const object = await this.__fromJsonLd__Object__(json, span, options);
8405
8410
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10173,7 +10178,7 @@ var Emoji = class Emoji extends Object$1 {
10173
10178
  * @throws {TypeError} If the given `json` is invalid.
10174
10179
  */
10175
10180
  static async fromJsonLd(json, options = {}) {
10176
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
10181
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
10177
10182
  try {
10178
10183
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
10179
10184
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10348,7 +10353,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10348
10353
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10349
10354
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10350
10355
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10351
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
10356
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
10352
10357
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10353
10358
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10354
10359
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -10591,7 +10596,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10591
10596
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
10592
10597
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
10593
10598
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
10594
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
10599
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
10595
10600
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10596
10601
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10597
10602
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -11011,7 +11016,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
11011
11016
  * @throws {TypeError} If the given `json` is invalid.
11012
11017
  */
11013
11018
  static async fromJsonLd(json, options = {}) {
11014
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
11019
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
11015
11020
  try {
11016
11021
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
11017
11022
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11391,7 +11396,7 @@ var Activity = class Activity extends Object$1 {
11391
11396
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11392
11397
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11393
11398
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11394
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
11399
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
11395
11400
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
11396
11401
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11397
11402
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -11743,7 +11748,7 @@ var Activity = class Activity extends Object$1 {
11743
11748
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11744
11749
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11745
11750
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11746
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
11751
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
11747
11752
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
11748
11753
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
11749
11754
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12045,7 +12050,7 @@ var Activity = class Activity extends Object$1 {
12045
12050
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12046
12051
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12047
12052
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12048
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
12053
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
12049
12054
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12050
12055
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12051
12056
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12353,7 +12358,7 @@ var Activity = class Activity extends Object$1 {
12353
12358
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12354
12359
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12355
12360
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12356
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
12361
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
12357
12362
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12358
12363
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12359
12364
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12655,7 +12660,7 @@ var Activity = class Activity extends Object$1 {
12655
12660
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12656
12661
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12657
12662
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12658
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
12663
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
12659
12664
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12660
12665
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12661
12666
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -12959,7 +12964,7 @@ var Activity = class Activity extends Object$1 {
12959
12964
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12960
12965
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12961
12966
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12962
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
12967
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
12963
12968
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
12964
12969
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
12965
12970
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -13392,7 +13397,7 @@ var Activity = class Activity extends Object$1 {
13392
13397
  * @throws {TypeError} If the given `json` is invalid.
13393
13398
  */
13394
13399
  static async fromJsonLd(json, options = {}) {
13395
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
13400
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
13396
13401
  try {
13397
13402
  const object = await this.__fromJsonLd__Activity__(json, span, options);
13398
13403
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13813,7 +13818,7 @@ var EmojiReact = class EmojiReact extends Activity {
13813
13818
  * @throws {TypeError} If the given `json` is invalid.
13814
13819
  */
13815
13820
  static async fromJsonLd(json, options = {}) {
13816
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
13821
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
13817
13822
  try {
13818
13823
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
13819
13824
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13922,6 +13927,11 @@ var PropertyValue = class {
13922
13927
  get _warning() {
13923
13928
  return this.#warning;
13924
13929
  }
13930
+ /**
13931
+ * Internal cross-package contract with @fedify/testing, which copies this
13932
+ * cache when attaching document loaders to an activity clone. Keep this
13933
+ * accessor name and its getter/setter semantics stable.
13934
+ */
13925
13935
  get _cachedJsonLd() {
13926
13936
  return this.#cachedJsonLd;
13927
13937
  }
@@ -14150,7 +14160,7 @@ var PropertyValue = class {
14150
14160
  * @throws {TypeError} If the given `json` is invalid.
14151
14161
  */
14152
14162
  static async fromJsonLd(json, options = {}) {
14153
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
14163
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
14154
14164
  try {
14155
14165
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
14156
14166
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14294,6 +14304,11 @@ var Measure = class {
14294
14304
  get _warning() {
14295
14305
  return this.#warning;
14296
14306
  }
14307
+ /**
14308
+ * Internal cross-package contract with @fedify/testing, which copies this
14309
+ * cache when attaching document loaders to an activity clone. Keep this
14310
+ * accessor name and its getter/setter semantics stable.
14311
+ */
14297
14312
  get _cachedJsonLd() {
14298
14313
  return this.#cachedJsonLd;
14299
14314
  }
@@ -14513,7 +14528,7 @@ var Measure = class {
14513
14528
  * @throws {TypeError} If the given `json` is invalid.
14514
14529
  */
14515
14530
  static async fromJsonLd(json, options = {}) {
14516
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
14531
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
14517
14532
  try {
14518
14533
  const object = await this.__fromJsonLd__Measure__(json, span, options);
14519
14534
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14721,7 +14736,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14721
14736
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14722
14737
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14723
14738
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14724
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
14739
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
14725
14740
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
14726
14741
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14727
14742
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -14947,7 +14962,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14947
14962
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14948
14963
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14949
14964
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14950
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
14965
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
14951
14966
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
14952
14967
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14953
14968
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -15294,7 +15309,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
15294
15309
  * @throws {TypeError} If the given `json` is invalid.
15295
15310
  */
15296
15311
  static async fromJsonLd(json, options = {}) {
15297
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
15312
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
15298
15313
  try {
15299
15314
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
15300
15315
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15562,7 +15577,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
15562
15577
  * @throws {TypeError} If the given `json` is invalid.
15563
15578
  */
15564
15579
  static async fromJsonLd(json, options = {}) {
15565
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
15580
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
15566
15581
  try {
15567
15582
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
15568
15583
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15677,6 +15692,11 @@ var InteractionPolicy = class {
15677
15692
  get _warning() {
15678
15693
  return this.#warning;
15679
15694
  }
15695
+ /**
15696
+ * Internal cross-package contract with @fedify/testing, which copies this
15697
+ * cache when attaching document loaders to an activity clone. Keep this
15698
+ * accessor name and its getter/setter semantics stable.
15699
+ */
15680
15700
  get _cachedJsonLd() {
15681
15701
  return this.#cachedJsonLd;
15682
15702
  }
@@ -15955,7 +15975,7 @@ var InteractionPolicy = class {
15955
15975
  * @throws {TypeError} If the given `json` is invalid.
15956
15976
  */
15957
15977
  static async fromJsonLd(json, options = {}) {
15958
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
15978
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
15959
15979
  try {
15960
15980
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
15961
15981
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16185,6 +16205,11 @@ var InteractionRule = class {
16185
16205
  get _warning() {
16186
16206
  return this.#warning;
16187
16207
  }
16208
+ /**
16209
+ * Internal cross-package contract with @fedify/testing, which copies this
16210
+ * cache when attaching document loaders to an activity clone. Keep this
16211
+ * accessor name and its getter/setter semantics stable.
16212
+ */
16188
16213
  get _cachedJsonLd() {
16189
16214
  return this.#cachedJsonLd;
16190
16215
  }
@@ -16407,7 +16432,7 @@ var InteractionRule = class {
16407
16432
  * @throws {TypeError} If the given `json` is invalid.
16408
16433
  */
16409
16434
  static async fromJsonLd(json, options = {}) {
16410
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
16435
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
16411
16436
  try {
16412
16437
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
16413
16438
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16616,7 +16641,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16616
16641
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16617
16642
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16618
16643
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16619
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
16644
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
16620
16645
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
16621
16646
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
16622
16647
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -16842,7 +16867,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16842
16867
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
16843
16868
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
16844
16869
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
16845
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
16870
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
16846
16871
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
16847
16872
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
16848
16873
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -17189,7 +17214,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
17189
17214
  * @throws {TypeError} If the given `json` is invalid.
17190
17215
  */
17191
17216
  static async fromJsonLd(json, options = {}) {
17192
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
17217
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
17193
17218
  try {
17194
17219
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
17195
17220
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17456,7 +17481,7 @@ var LikeRequest = class LikeRequest extends Activity {
17456
17481
  * @throws {TypeError} If the given `json` is invalid.
17457
17482
  */
17458
17483
  static async fromJsonLd(json, options = {}) {
17459
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
17484
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
17460
17485
  try {
17461
17486
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
17462
17487
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17628,7 +17653,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17628
17653
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17629
17654
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17630
17655
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17631
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
17656
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
17632
17657
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
17633
17658
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17634
17659
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -17854,7 +17879,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17854
17879
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17855
17880
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17856
17881
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17857
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
17882
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
17858
17883
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
17859
17884
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
17860
17885
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -18201,7 +18226,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
18201
18226
  * @throws {TypeError} If the given `json` is invalid.
18202
18227
  */
18203
18228
  static async fromJsonLd(json, options = {}) {
18204
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
18229
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
18205
18230
  try {
18206
18231
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
18207
18232
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18468,7 +18493,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
18468
18493
  * @throws {TypeError} If the given `json` is invalid.
18469
18494
  */
18470
18495
  static async fromJsonLd(json, options = {}) {
18471
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
18496
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
18472
18497
  try {
18473
18498
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
18474
18499
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18640,7 +18665,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18640
18665
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18641
18666
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18642
18667
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18643
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
18668
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
18644
18669
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
18645
18670
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18646
18671
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -18865,7 +18890,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18865
18890
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18866
18891
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18867
18892
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18868
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
18893
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
18869
18894
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
18870
18895
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18871
18896
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -19214,7 +19239,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
19214
19239
  * @throws {TypeError} If the given `json` is invalid.
19215
19240
  */
19216
19241
  static async fromJsonLd(json, options = {}) {
19217
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
19242
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
19218
19243
  try {
19219
19244
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
19220
19245
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19511,7 +19536,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
19511
19536
  * @throws {TypeError} If the given `json` is invalid.
19512
19537
  */
19513
19538
  static async fromJsonLd(json, options = {}) {
19514
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
19539
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
19515
19540
  try {
19516
19541
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
19517
19542
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19626,6 +19651,11 @@ var Translation = class {
19626
19651
  get _warning() {
19627
19652
  return this.#warning;
19628
19653
  }
19654
+ /**
19655
+ * Internal cross-package contract with @fedify/testing, which copies this
19656
+ * cache when attaching document loaders to an activity clone. Keep this
19657
+ * accessor name and its getter/setter semantics stable.
19658
+ */
19629
19659
  get _cachedJsonLd() {
19630
19660
  return this.#cachedJsonLd;
19631
19661
  }
@@ -19786,7 +19816,7 @@ var Translation = class {
19786
19816
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19787
19817
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19788
19818
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19789
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
19819
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
19790
19820
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
19791
19821
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
19792
19822
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -20375,7 +20405,7 @@ var Translation = class {
20375
20405
  * @throws {TypeError} If the given `json` is invalid.
20376
20406
  */
20377
20407
  static async fromJsonLd(json, options = {}) {
20378
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
20408
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
20379
20409
  try {
20380
20410
  const object = await this.__fromJsonLd__Translation__(json, span, options);
20381
20411
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20679,7 +20709,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20679
20709
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20680
20710
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20681
20711
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20682
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
20712
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
20683
20713
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
20684
20714
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
20685
20715
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -20904,7 +20934,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20904
20934
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20905
20935
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20906
20936
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20907
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
20937
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
20908
20938
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
20909
20939
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
20910
20940
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -21253,7 +21283,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
21253
21283
  * @throws {TypeError} If the given `json` is invalid.
21254
21284
  */
21255
21285
  static async fromJsonLd(json, options = {}) {
21256
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
21286
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
21257
21287
  try {
21258
21288
  const object = await this.__fromJsonLd__FeatureAuthorization__(json, span, options);
21259
21289
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21518,7 +21548,7 @@ var FeatureRequest = class FeatureRequest extends Activity {
21518
21548
  * @throws {TypeError} If the given `json` is invalid.
21519
21549
  */
21520
21550
  static async fromJsonLd(json, options = {}) {
21521
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
21551
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
21522
21552
  try {
21523
21553
  const object = await this.__fromJsonLd__FeatureRequest__(json, span, options);
21524
21554
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21823,7 +21853,7 @@ var Collection = class Collection extends Object$1 {
21823
21853
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
21824
21854
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
21825
21855
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
21826
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
21856
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
21827
21857
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
21828
21858
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
21829
21859
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22049,7 +22079,7 @@ var Collection = class Collection extends Object$1 {
22049
22079
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22050
22080
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22051
22081
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22052
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
22082
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
22053
22083
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22054
22084
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22055
22085
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22275,7 +22305,7 @@ var Collection = class Collection extends Object$1 {
22275
22305
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22276
22306
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22277
22307
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22278
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
22308
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
22279
22309
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22280
22310
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22281
22311
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22501,7 +22531,7 @@ var Collection = class Collection extends Object$1 {
22501
22531
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22502
22532
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22503
22533
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22504
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
22534
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
22505
22535
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22506
22536
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22507
22537
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22742,7 +22772,7 @@ var Collection = class Collection extends Object$1 {
22742
22772
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22743
22773
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22744
22774
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22745
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
22775
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
22746
22776
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22747
22777
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22748
22778
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22967,7 +22997,7 @@ var Collection = class Collection extends Object$1 {
22967
22997
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22968
22998
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22969
22999
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22970
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
23000
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
22971
23001
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22972
23002
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22973
23003
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23192,7 +23222,7 @@ var Collection = class Collection extends Object$1 {
23192
23222
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23193
23223
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23194
23224
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23195
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
23225
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
23196
23226
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23197
23227
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23198
23228
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23417,7 +23447,7 @@ var Collection = class Collection extends Object$1 {
23417
23447
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23418
23448
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23419
23449
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23420
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
23450
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
23421
23451
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23422
23452
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23423
23453
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23642,7 +23672,7 @@ var Collection = class Collection extends Object$1 {
23642
23672
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23643
23673
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23644
23674
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23645
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
23675
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
23646
23676
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23647
23677
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23648
23678
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23867,7 +23897,7 @@ var Collection = class Collection extends Object$1 {
23867
23897
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23868
23898
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23869
23899
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23870
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
23900
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
23871
23901
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23872
23902
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23873
23903
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -24092,7 +24122,7 @@ var Collection = class Collection extends Object$1 {
24092
24122
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24093
24123
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24094
24124
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24095
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
24125
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
24096
24126
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
24097
24127
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24098
24128
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -24317,7 +24347,7 @@ var Collection = class Collection extends Object$1 {
24317
24347
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24318
24348
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24319
24349
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24320
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
24350
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
24321
24351
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
24322
24352
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24323
24353
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -24952,7 +24982,7 @@ var Collection = class Collection extends Object$1 {
24952
24982
  * @throws {TypeError} If the given `json` is invalid.
24953
24983
  */
24954
24984
  static async fromJsonLd(json, options = {}) {
24955
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
24985
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
24956
24986
  try {
24957
24987
  const object = await this.__fromJsonLd__Collection__(json, span, options);
24958
24988
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25519,7 +25549,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25519
25549
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
25520
25550
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
25521
25551
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
25522
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
25552
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
25523
25553
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
25524
25554
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
25525
25555
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -25920,7 +25950,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25920
25950
  * @throws {TypeError} If the given `json` is invalid.
25921
25951
  */
25922
25952
  static async fromJsonLd(json, options = {}) {
25923
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
25953
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
25924
25954
  try {
25925
25955
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
25926
25956
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26329,7 +26359,7 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
26329
26359
  * @throws {TypeError} If the given `json` is invalid.
26330
26360
  */
26331
26361
  static async fromJsonLd(json, options = {}) {
26332
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
26362
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
26333
26363
  try {
26334
26364
  const object = await this.__fromJsonLd__FeaturedCollection__(json, span, options);
26335
26365
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26536,7 +26566,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26536
26566
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26537
26567
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26538
26568
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26539
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
26569
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
26540
26570
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26541
26571
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26542
26572
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -26761,7 +26791,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26761
26791
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26762
26792
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26763
26793
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26764
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
26794
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
26765
26795
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26766
26796
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26767
26797
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -27111,7 +27141,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
27111
27141
  * @throws {TypeError} If the given `json` is invalid.
27112
27142
  */
27113
27143
  static async fromJsonLd(json, options = {}) {
27114
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
27144
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
27115
27145
  try {
27116
27146
  const object = await this.__fromJsonLd__FeaturedItem__(json, span, options);
27117
27147
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27276,6 +27306,11 @@ var DidService = class {
27276
27306
  get _warning() {
27277
27307
  return this.#warning;
27278
27308
  }
27309
+ /**
27310
+ * Internal cross-package contract with @fedify/testing, which copies this
27311
+ * cache when attaching document loaders to an activity clone. Keep this
27312
+ * accessor name and its getter/setter semantics stable.
27313
+ */
27279
27314
  get _cachedJsonLd() {
27280
27315
  return this.#cachedJsonLd;
27281
27316
  }
@@ -27456,7 +27491,7 @@ var DidService = class {
27456
27491
  * @throws {TypeError} If the given `json` is invalid.
27457
27492
  */
27458
27493
  static async fromJsonLd(json, options = {}) {
27459
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
27494
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
27460
27495
  try {
27461
27496
  const object = await this.__fromJsonLd__DidService__(json, span, options);
27462
27497
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27672,7 +27707,7 @@ var Export = class Export extends DidService {
27672
27707
  * @throws {TypeError} If the given `json` is invalid.
27673
27708
  */
27674
27709
  static async fromJsonLd(json, options = {}) {
27675
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
27710
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
27676
27711
  try {
27677
27712
  const object = await this.__fromJsonLd__Export__(json, span, options);
27678
27713
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -27782,6 +27817,11 @@ var DataIntegrityProof = class {
27782
27817
  get _warning() {
27783
27818
  return this.#warning;
27784
27819
  }
27820
+ /**
27821
+ * Internal cross-package contract with @fedify/testing, which copies this
27822
+ * cache when attaching document loaders to an activity clone. Keep this
27823
+ * accessor name and its getter/setter semantics stable.
27824
+ */
27785
27825
  get _cachedJsonLd() {
27786
27826
  return this.#cachedJsonLd;
27787
27827
  }
@@ -27910,7 +27950,7 @@ var DataIntegrityProof = class {
27910
27950
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27911
27951
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27912
27952
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27913
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
27953
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
27914
27954
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
27915
27955
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27916
27956
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -28262,7 +28302,7 @@ var DataIntegrityProof = class {
28262
28302
  * @throws {TypeError} If the given `json` is invalid.
28263
28303
  */
28264
28304
  static async fromJsonLd(json, options = {}) {
28265
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
28305
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
28266
28306
  try {
28267
28307
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
28268
28308
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -28468,6 +28508,11 @@ var CryptographicKey = class {
28468
28508
  get _warning() {
28469
28509
  return this.#warning;
28470
28510
  }
28511
+ /**
28512
+ * Internal cross-package contract with @fedify/testing, which copies this
28513
+ * cache when attaching document loaders to an activity clone. Keep this
28514
+ * accessor name and its getter/setter semantics stable.
28515
+ */
28471
28516
  get _cachedJsonLd() {
28472
28517
  return this.#cachedJsonLd;
28473
28518
  }
@@ -28571,7 +28616,7 @@ var CryptographicKey = class {
28571
28616
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28572
28617
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28573
28618
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28574
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
28619
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
28575
28620
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
28576
28621
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
28577
28622
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -28968,7 +29013,7 @@ var CryptographicKey = class {
28968
29013
  * @throws {TypeError} If the given `json` is invalid.
28969
29014
  */
28970
29015
  static async fromJsonLd(json, options = {}) {
28971
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
29016
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
28972
29017
  try {
28973
29018
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
28974
29019
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29135,6 +29180,11 @@ var Multikey = class {
29135
29180
  get _warning() {
29136
29181
  return this.#warning;
29137
29182
  }
29183
+ /**
29184
+ * Internal cross-package contract with @fedify/testing, which copies this
29185
+ * cache when attaching document loaders to an activity clone. Keep this
29186
+ * accessor name and its getter/setter semantics stable.
29187
+ */
29138
29188
  get _cachedJsonLd() {
29139
29189
  return this.#cachedJsonLd;
29140
29190
  }
@@ -29238,7 +29288,7 @@ var Multikey = class {
29238
29288
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
29239
29289
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
29240
29290
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
29241
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
29291
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
29242
29292
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
29243
29293
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
29244
29294
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -29641,7 +29691,7 @@ var Multikey = class {
29641
29691
  * @throws {TypeError} If the given `json` is invalid.
29642
29692
  */
29643
29693
  static async fromJsonLd(json, options = {}) {
29644
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
29694
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
29645
29695
  try {
29646
29696
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
29647
29697
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30042,7 +30092,7 @@ var Agreement = class Agreement extends Object$1 {
30042
30092
  * @throws {TypeError} If the given `json` is invalid.
30043
30093
  */
30044
30094
  static async fromJsonLd(json, options = {}) {
30045
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
30095
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
30046
30096
  try {
30047
30097
  const object = await this.__fromJsonLd__Agreement__(json, span, options);
30048
30098
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30197,6 +30247,11 @@ var Commitment = class {
30197
30247
  get _warning() {
30198
30248
  return this.#warning;
30199
30249
  }
30250
+ /**
30251
+ * Internal cross-package contract with @fedify/testing, which copies this
30252
+ * cache when attaching document loaders to an activity clone. Keep this
30253
+ * accessor name and its getter/setter semantics stable.
30254
+ */
30200
30255
  get _cachedJsonLd() {
30201
30256
  return this.#cachedJsonLd;
30202
30257
  }
@@ -30435,7 +30490,7 @@ var Commitment = class {
30435
30490
  * @throws {TypeError} If the given `json` is invalid.
30436
30491
  */
30437
30492
  static async fromJsonLd(json, options = {}) {
30438
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
30493
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
30439
30494
  try {
30440
30495
  const object = await this.__fromJsonLd__Commitment__(json, span, options);
30441
30496
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30583,6 +30638,11 @@ var Intent = class {
30583
30638
  get _warning() {
30584
30639
  return this.#warning;
30585
30640
  }
30641
+ /**
30642
+ * Internal cross-package contract with @fedify/testing, which copies this
30643
+ * cache when attaching document loaders to an activity clone. Keep this
30644
+ * accessor name and its getter/setter semantics stable.
30645
+ */
30586
30646
  get _cachedJsonLd() {
30587
30647
  return this.#cachedJsonLd;
30588
30648
  }
@@ -30920,7 +30980,7 @@ var Intent = class {
30920
30980
  * @throws {TypeError} If the given `json` is invalid.
30921
30981
  */
30922
30982
  static async fromJsonLd(json, options = {}) {
30923
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
30983
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
30924
30984
  try {
30925
30985
  const object = await this.__fromJsonLd__Intent__(json, span, options);
30926
30986
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31433,7 +31493,7 @@ var Proposal = class Proposal extends Object$1 {
31433
31493
  * @throws {TypeError} If the given `json` is invalid.
31434
31494
  */
31435
31495
  static async fromJsonLd(json, options = {}) {
31436
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
31496
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
31437
31497
  try {
31438
31498
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
31439
31499
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31719,7 +31779,7 @@ var Accept = class Accept extends Activity {
31719
31779
  * @throws {TypeError} If the given `json` is invalid.
31720
31780
  */
31721
31781
  static async fromJsonLd(json, options = {}) {
31722
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
31782
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
31723
31783
  try {
31724
31784
  const object = await this.__fromJsonLd__Accept__(json, span, options);
31725
31785
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31928,7 +31988,7 @@ var Add = class Add extends Activity {
31928
31988
  * @throws {TypeError} If the given `json` is invalid.
31929
31989
  */
31930
31990
  static async fromJsonLd(json, options = {}) {
31931
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
31991
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
31932
31992
  try {
31933
31993
  const object = await this.__fromJsonLd__Add__(json, span, options);
31934
31994
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32164,7 +32224,7 @@ var Announce = class Announce extends Activity {
32164
32224
  * @throws {TypeError} If the given `json` is invalid.
32165
32225
  */
32166
32226
  static async fromJsonLd(json, options = {}) {
32167
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
32227
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
32168
32228
  try {
32169
32229
  const object = await this.__fromJsonLd__Announce__(json, span, options);
32170
32230
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32628,7 +32688,7 @@ var Application = class Application extends Object$1 {
32628
32688
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32629
32689
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32630
32690
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32631
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
32691
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
32632
32692
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32633
32693
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32634
32694
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -32926,7 +32986,7 @@ var Application = class Application extends Object$1 {
32926
32986
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32927
32987
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32928
32988
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32929
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
32989
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
32930
32990
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32931
32991
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32932
32992
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33260,7 +33320,7 @@ var Application = class Application extends Object$1 {
33260
33320
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33261
33321
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33262
33322
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33263
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
33323
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
33264
33324
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33265
33325
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33266
33326
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33508,7 +33568,7 @@ var Application = class Application extends Object$1 {
33508
33568
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33509
33569
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33510
33570
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33511
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
33571
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
33512
33572
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33513
33573
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33514
33574
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33753,7 +33813,7 @@ var Application = class Application extends Object$1 {
33753
33813
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33754
33814
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33755
33815
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33756
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
33816
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
33757
33817
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33758
33818
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33759
33819
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33982,7 +34042,7 @@ var Application = class Application extends Object$1 {
33982
34042
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33983
34043
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33984
34044
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33985
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
34045
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
33986
34046
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
33987
34047
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
33988
34048
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34214,7 +34274,7 @@ var Application = class Application extends Object$1 {
34214
34274
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34215
34275
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34216
34276
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34217
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
34277
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
34218
34278
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34219
34279
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34220
34280
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34444,7 +34504,7 @@ var Application = class Application extends Object$1 {
34444
34504
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34445
34505
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34446
34506
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34447
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
34507
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
34448
34508
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34449
34509
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34450
34510
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34672,7 +34732,7 @@ var Application = class Application extends Object$1 {
34672
34732
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34673
34733
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34674
34734
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34675
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
34735
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
34676
34736
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34677
34737
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34678
34738
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -34900,7 +34960,7 @@ var Application = class Application extends Object$1 {
34900
34960
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34901
34961
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34902
34962
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34903
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
34963
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
34904
34964
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
34905
34965
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
34906
34966
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -35125,7 +35185,7 @@ var Application = class Application extends Object$1 {
35125
35185
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35126
35186
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35127
35187
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35128
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
35188
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
35129
35189
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
35130
35190
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
35131
35191
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -35396,7 +35456,7 @@ var Application = class Application extends Object$1 {
35396
35456
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35397
35457
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35398
35458
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35399
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
35459
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
35400
35460
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
35401
35461
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
35402
35462
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -35671,7 +35731,7 @@ var Application = class Application extends Object$1 {
35671
35731
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35672
35732
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35673
35733
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35674
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
35734
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
35675
35735
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
35676
35736
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
35677
35737
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -36025,7 +36085,7 @@ var Application = class Application extends Object$1 {
36025
36085
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
36026
36086
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
36027
36087
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
36028
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
36088
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
36029
36089
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
36030
36090
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
36031
36091
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -37022,7 +37082,7 @@ var Application = class Application extends Object$1 {
37022
37082
  * @throws {TypeError} If the given `json` is invalid.
37023
37083
  */
37024
37084
  static async fromJsonLd(json, options = {}) {
37025
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
37085
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
37026
37086
  try {
37027
37087
  const object = await this.__fromJsonLd__Application__(json, span, options);
37028
37088
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -37813,7 +37873,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
37813
37873
  * @throws {TypeError} If the given `json` is invalid.
37814
37874
  */
37815
37875
  static async fromJsonLd(json, options = {}) {
37816
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
37876
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
37817
37877
  try {
37818
37878
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
37819
37879
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38023,7 +38083,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
38023
38083
  * @throws {TypeError} If the given `json` is invalid.
38024
38084
  */
38025
38085
  static async fromJsonLd(json, options = {}) {
38026
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
38086
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
38027
38087
  try {
38028
38088
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
38029
38089
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -38194,7 +38254,7 @@ var Article = class Article extends Object$1 {
38194
38254
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38195
38255
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38196
38256
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38197
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
38257
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
38198
38258
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
38199
38259
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
38200
38260
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38437,7 +38497,7 @@ var Article = class Article extends Object$1 {
38437
38497
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38438
38498
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38439
38499
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38440
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
38500
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
38441
38501
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
38442
38502
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
38443
38503
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38859,7 +38919,7 @@ var Article = class Article extends Object$1 {
38859
38919
  * @throws {TypeError} If the given `json` is invalid.
38860
38920
  */
38861
38921
  static async fromJsonLd(json, options = {}) {
38862
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
38922
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
38863
38923
  try {
38864
38924
  const object = await this.__fromJsonLd__Article__(json, span, options);
38865
38925
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39256,7 +39316,7 @@ var Document = class Document extends Object$1 {
39256
39316
  * @throws {TypeError} If the given `json` is invalid.
39257
39317
  */
39258
39318
  static async fromJsonLd(json, options = {}) {
39259
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
39319
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
39260
39320
  try {
39261
39321
  const object = await this.__fromJsonLd__Document__(json, span, options);
39262
39322
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39536,7 +39596,7 @@ var Audio = class Audio extends Document {
39536
39596
  * @throws {TypeError} If the given `json` is invalid.
39537
39597
  */
39538
39598
  static async fromJsonLd(json, options = {}) {
39539
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
39599
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
39540
39600
  try {
39541
39601
  const object = await this.__fromJsonLd__Audio__(json, span, options);
39542
39602
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39742,7 +39802,7 @@ var Ignore = class Ignore extends Activity {
39742
39802
  * @throws {TypeError} If the given `json` is invalid.
39743
39803
  */
39744
39804
  static async fromJsonLd(json, options = {}) {
39745
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
39805
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
39746
39806
  try {
39747
39807
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
39748
39808
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -39951,7 +40011,7 @@ var Block = class Block extends Ignore {
39951
40011
  * @throws {TypeError} If the given `json` is invalid.
39952
40012
  */
39953
40013
  static async fromJsonLd(json, options = {}) {
39954
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
40014
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
39955
40015
  try {
39956
40016
  const object = await this.__fromJsonLd__Block__(json, span, options);
39957
40017
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -40130,7 +40190,7 @@ var CollectionPage = class CollectionPage extends Collection {
40130
40190
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40131
40191
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40132
40192
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40133
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
40193
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
40134
40194
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
40135
40195
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
40136
40196
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -40356,7 +40416,7 @@ var CollectionPage = class CollectionPage extends Collection {
40356
40416
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40357
40417
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40358
40418
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40359
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
40419
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
40360
40420
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
40361
40421
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
40362
40422
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -40581,7 +40641,7 @@ var CollectionPage = class CollectionPage extends Collection {
40581
40641
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
40582
40642
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
40583
40643
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
40584
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
40644
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
40585
40645
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
40586
40646
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
40587
40647
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -41003,7 +41063,7 @@ var CollectionPage = class CollectionPage extends Collection {
41003
41063
  * @throws {TypeError} If the given `json` is invalid.
41004
41064
  */
41005
41065
  static async fromJsonLd(json, options = {}) {
41006
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
41066
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
41007
41067
  try {
41008
41068
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
41009
41069
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41318,7 +41378,7 @@ var Create = class Create extends Activity {
41318
41378
  * @throws {TypeError} If the given `json` is invalid.
41319
41379
  */
41320
41380
  static async fromJsonLd(json, options = {}) {
41321
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
41381
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
41322
41382
  try {
41323
41383
  const object = await this.__fromJsonLd__Create__(json, span, options);
41324
41384
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41550,7 +41610,7 @@ var Delete = class Delete extends Activity {
41550
41610
  * @throws {TypeError} If the given `json` is invalid.
41551
41611
  */
41552
41612
  static async fromJsonLd(json, options = {}) {
41553
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
41613
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
41554
41614
  try {
41555
41615
  const object = await this.__fromJsonLd__Delete__(json, span, options);
41556
41616
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41759,7 +41819,7 @@ var Dislike = class Dislike extends Activity {
41759
41819
  * @throws {TypeError} If the given `json` is invalid.
41760
41820
  */
41761
41821
  static async fromJsonLd(json, options = {}) {
41762
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
41822
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
41763
41823
  try {
41764
41824
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
41765
41825
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41868,6 +41928,11 @@ var Endpoints = class {
41868
41928
  get _warning() {
41869
41929
  return this.#warning;
41870
41930
  }
41931
+ /**
41932
+ * Internal cross-package contract with @fedify/testing, which copies this
41933
+ * cache when attaching document loaders to an activity clone. Keep this
41934
+ * accessor name and its getter/setter semantics stable.
41935
+ */
41871
41936
  get _cachedJsonLd() {
41872
41937
  return this.#cachedJsonLd;
41873
41938
  }
@@ -42250,7 +42315,7 @@ var Endpoints = class {
42250
42315
  * @throws {TypeError} If the given `json` is invalid.
42251
42316
  */
42252
42317
  static async fromJsonLd(json, options = {}) {
42253
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
42318
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
42254
42319
  try {
42255
42320
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
42256
42321
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42594,7 +42659,7 @@ var Event = class Event extends Object$1 {
42594
42659
  * @throws {TypeError} If the given `json` is invalid.
42595
42660
  */
42596
42661
  static async fromJsonLd(json, options = {}) {
42597
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
42662
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
42598
42663
  try {
42599
42664
  const object = await this.__fromJsonLd__Event__(json, span, options);
42600
42665
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42801,7 +42866,7 @@ var Flag = class Flag extends Activity {
42801
42866
  * @throws {TypeError} If the given `json` is invalid.
42802
42867
  */
42803
42868
  static async fromJsonLd(json, options = {}) {
42804
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
42869
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
42805
42870
  try {
42806
42871
  const object = await this.__fromJsonLd__Flag__(json, span, options);
42807
42872
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43012,7 +43077,7 @@ var Follow = class Follow extends Activity {
43012
43077
  * @throws {TypeError} If the given `json` is invalid.
43013
43078
  */
43014
43079
  static async fromJsonLd(json, options = {}) {
43015
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
43080
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
43016
43081
  try {
43017
43082
  const object = await this.__fromJsonLd__Follow__(json, span, options);
43018
43083
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43476,7 +43541,7 @@ var Group = class Group extends Object$1 {
43476
43541
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43477
43542
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43478
43543
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43479
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
43544
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
43480
43545
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43481
43546
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43482
43547
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -43774,7 +43839,7 @@ var Group = class Group extends Object$1 {
43774
43839
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43775
43840
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43776
43841
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43777
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
43842
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
43778
43843
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43779
43844
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43780
43845
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44108,7 +44173,7 @@ var Group = class Group extends Object$1 {
44108
44173
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44109
44174
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44110
44175
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44111
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
44176
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
44112
44177
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44113
44178
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44114
44179
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44356,7 +44421,7 @@ var Group = class Group extends Object$1 {
44356
44421
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44357
44422
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44358
44423
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44359
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
44424
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
44360
44425
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44361
44426
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44362
44427
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44601,7 +44666,7 @@ var Group = class Group extends Object$1 {
44601
44666
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44602
44667
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44603
44668
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44604
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
44669
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
44605
44670
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44606
44671
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44607
44672
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44830,7 +44895,7 @@ var Group = class Group extends Object$1 {
44830
44895
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44831
44896
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44832
44897
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44833
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
44898
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
44834
44899
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44835
44900
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44836
44901
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45062,7 +45127,7 @@ var Group = class Group extends Object$1 {
45062
45127
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45063
45128
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45064
45129
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45065
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
45130
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
45066
45131
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45067
45132
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45068
45133
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45292,7 +45357,7 @@ var Group = class Group extends Object$1 {
45292
45357
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45293
45358
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45294
45359
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45295
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
45360
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
45296
45361
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45297
45362
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45298
45363
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45520,7 +45585,7 @@ var Group = class Group extends Object$1 {
45520
45585
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45521
45586
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45522
45587
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45523
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
45588
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
45524
45589
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45525
45590
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45526
45591
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45748,7 +45813,7 @@ var Group = class Group extends Object$1 {
45748
45813
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45749
45814
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45750
45815
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45751
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
45816
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
45752
45817
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45753
45818
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45754
45819
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -45973,7 +46038,7 @@ var Group = class Group extends Object$1 {
45973
46038
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45974
46039
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45975
46040
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45976
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
46041
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
45977
46042
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
45978
46043
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
45979
46044
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -46244,7 +46309,7 @@ var Group = class Group extends Object$1 {
46244
46309
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46245
46310
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46246
46311
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46247
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
46312
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
46248
46313
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
46249
46314
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
46250
46315
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -46519,7 +46584,7 @@ var Group = class Group extends Object$1 {
46519
46584
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46520
46585
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46521
46586
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46522
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
46587
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
46523
46588
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
46524
46589
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
46525
46590
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -46873,7 +46938,7 @@ var Group = class Group extends Object$1 {
46873
46938
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
46874
46939
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
46875
46940
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
46876
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
46941
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
46877
46942
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
46878
46943
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
46879
46944
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -47870,7 +47935,7 @@ var Group = class Group extends Object$1 {
47870
47935
  * @throws {TypeError} If the given `json` is invalid.
47871
47936
  */
47872
47937
  static async fromJsonLd(json, options = {}) {
47873
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
47938
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
47874
47939
  try {
47875
47940
  const object = await this.__fromJsonLd__Group__(json, span, options);
47876
47941
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48570,6 +48635,11 @@ var Link = class Link {
48570
48635
  get _warning() {
48571
48636
  return this.#warning;
48572
48637
  }
48638
+ /**
48639
+ * Internal cross-package contract with @fedify/testing, which copies this
48640
+ * cache when attaching document loaders to an activity clone. Keep this
48641
+ * accessor name and its getter/setter semantics stable.
48642
+ */
48573
48643
  get _cachedJsonLd() {
48574
48644
  return this.#cachedJsonLd;
48575
48645
  }
@@ -48822,7 +48892,7 @@ var Link = class Link {
48822
48892
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
48823
48893
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
48824
48894
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
48825
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
48895
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
48826
48896
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
48827
48897
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
48828
48898
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -49297,7 +49367,7 @@ var Link = class Link {
49297
49367
  * @throws {TypeError} If the given `json` is invalid.
49298
49368
  */
49299
49369
  static async fromJsonLd(json, options = {}) {
49300
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
49370
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
49301
49371
  try {
49302
49372
  const object = await this.__fromJsonLd__Link__(json, span, options);
49303
49373
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49757,7 +49827,7 @@ var Hashtag = class Hashtag extends Link {
49757
49827
  * @throws {TypeError} If the given `json` is invalid.
49758
49828
  */
49759
49829
  static async fromJsonLd(json, options = {}) {
49760
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
49830
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
49761
49831
  try {
49762
49832
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
49763
49833
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -49978,7 +50048,7 @@ var Image = class Image extends Document {
49978
50048
  * @throws {TypeError} If the given `json` is invalid.
49979
50049
  */
49980
50050
  static async fromJsonLd(json, options = {}) {
49981
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
50051
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
49982
50052
  try {
49983
50053
  const object = await this.__fromJsonLd__Image__(json, span, options);
49984
50054
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50185,7 +50255,7 @@ var Offer = class Offer extends Activity {
50185
50255
  * @throws {TypeError} If the given `json` is invalid.
50186
50256
  */
50187
50257
  static async fromJsonLd(json, options = {}) {
50188
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
50258
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
50189
50259
  try {
50190
50260
  const object = await this.__fromJsonLd__Offer__(json, span, options);
50191
50261
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50392,7 +50462,7 @@ var Invite = class Invite extends Offer {
50392
50462
  * @throws {TypeError} If the given `json` is invalid.
50393
50463
  */
50394
50464
  static async fromJsonLd(json, options = {}) {
50395
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
50465
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
50396
50466
  try {
50397
50467
  const object = await this.__fromJsonLd__Invite__(json, span, options);
50398
50468
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50598,7 +50668,7 @@ var Join = class Join extends Activity {
50598
50668
  * @throws {TypeError} If the given `json` is invalid.
50599
50669
  */
50600
50670
  static async fromJsonLd(json, options = {}) {
50601
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
50671
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
50602
50672
  try {
50603
50673
  const object = await this.__fromJsonLd__Join__(json, span, options);
50604
50674
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -50804,7 +50874,7 @@ var Leave = class Leave extends Activity {
50804
50874
  * @throws {TypeError} If the given `json` is invalid.
50805
50875
  */
50806
50876
  static async fromJsonLd(json, options = {}) {
50807
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
50877
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
50808
50878
  try {
50809
50879
  const object = await this.__fromJsonLd__Leave__(json, span, options);
50810
50880
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51014,7 +51084,7 @@ var Like = class Like extends Activity {
51014
51084
  * @throws {TypeError} If the given `json` is invalid.
51015
51085
  */
51016
51086
  static async fromJsonLd(json, options = {}) {
51017
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
51087
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
51018
51088
  try {
51019
51089
  const object = await this.__fromJsonLd__Like__(json, span, options);
51020
51090
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51219,7 +51289,7 @@ var Listen = class Listen extends Activity {
51219
51289
  * @throws {TypeError} If the given `json` is invalid.
51220
51290
  */
51221
51291
  static async fromJsonLd(json, options = {}) {
51222
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
51292
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
51223
51293
  try {
51224
51294
  const object = await this.__fromJsonLd__Listen__(json, span, options);
51225
51295
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51427,7 +51497,7 @@ var Mention = class Mention extends Link {
51427
51497
  * @throws {TypeError} If the given `json` is invalid.
51428
51498
  */
51429
51499
  static async fromJsonLd(json, options = {}) {
51430
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
51500
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
51431
51501
  try {
51432
51502
  const object = await this.__fromJsonLd__Mention__(json, span, options);
51433
51503
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51634,7 +51704,7 @@ var Move = class Move extends Activity {
51634
51704
  * @throws {TypeError} If the given `json` is invalid.
51635
51705
  */
51636
51706
  static async fromJsonLd(json, options = {}) {
51637
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
51707
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
51638
51708
  try {
51639
51709
  const object = await this.__fromJsonLd__Move__(json, span, options);
51640
51710
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -51806,7 +51876,7 @@ var Note = class Note extends Object$1 {
51806
51876
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
51807
51877
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
51808
51878
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
51809
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
51879
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
51810
51880
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
51811
51881
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
51812
51882
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -52049,7 +52119,7 @@ var Note = class Note extends Object$1 {
52049
52119
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
52050
52120
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
52051
52121
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
52052
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
52122
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
52053
52123
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
52054
52124
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
52055
52125
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -52471,7 +52541,7 @@ var Note = class Note extends Object$1 {
52471
52541
  * @throws {TypeError} If the given `json` is invalid.
52472
52542
  */
52473
52543
  static async fromJsonLd(json, options = {}) {
52474
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
52544
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
52475
52545
  try {
52476
52546
  const object = await this.__fromJsonLd__Note__(json, span, options);
52477
52547
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -52706,7 +52776,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
52706
52776
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
52707
52777
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
52708
52778
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
52709
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
52779
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
52710
52780
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
52711
52781
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
52712
52782
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -53135,7 +53205,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
53135
53205
  * @throws {TypeError} If the given `json` is invalid.
53136
53206
  */
53137
53207
  static async fromJsonLd(json, options = {}) {
53138
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
53208
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
53139
53209
  try {
53140
53210
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
53141
53211
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -53721,7 +53791,7 @@ var Organization = class Organization extends Object$1 {
53721
53791
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
53722
53792
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
53723
53793
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
53724
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
53794
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
53725
53795
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
53726
53796
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
53727
53797
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54019,7 +54089,7 @@ var Organization = class Organization extends Object$1 {
54019
54089
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54020
54090
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54021
54091
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54022
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
54092
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
54023
54093
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54024
54094
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54025
54095
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54353,7 +54423,7 @@ var Organization = class Organization extends Object$1 {
54353
54423
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54354
54424
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54355
54425
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54356
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
54426
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
54357
54427
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54358
54428
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54359
54429
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54601,7 +54671,7 @@ var Organization = class Organization extends Object$1 {
54601
54671
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54602
54672
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54603
54673
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54604
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
54674
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
54605
54675
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54606
54676
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54607
54677
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -54846,7 +54916,7 @@ var Organization = class Organization extends Object$1 {
54846
54916
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
54847
54917
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
54848
54918
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
54849
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
54919
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
54850
54920
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
54851
54921
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
54852
54922
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55075,7 +55145,7 @@ var Organization = class Organization extends Object$1 {
55075
55145
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55076
55146
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55077
55147
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55078
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
55148
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
55079
55149
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55080
55150
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55081
55151
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55307,7 +55377,7 @@ var Organization = class Organization extends Object$1 {
55307
55377
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55308
55378
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55309
55379
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55310
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
55380
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
55311
55381
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55312
55382
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55313
55383
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55537,7 +55607,7 @@ var Organization = class Organization extends Object$1 {
55537
55607
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55538
55608
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55539
55609
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55540
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
55610
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
55541
55611
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55542
55612
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55543
55613
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55765,7 +55835,7 @@ var Organization = class Organization extends Object$1 {
55765
55835
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55766
55836
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55767
55837
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55768
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
55838
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
55769
55839
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55770
55840
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55771
55841
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55993,7 +56063,7 @@ var Organization = class Organization extends Object$1 {
55993
56063
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
55994
56064
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
55995
56065
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
55996
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
56066
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
55997
56067
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55998
56068
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55999
56069
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -56218,7 +56288,7 @@ var Organization = class Organization extends Object$1 {
56218
56288
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
56219
56289
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
56220
56290
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
56221
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
56291
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
56222
56292
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
56223
56293
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
56224
56294
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -56489,7 +56559,7 @@ var Organization = class Organization extends Object$1 {
56489
56559
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
56490
56560
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
56491
56561
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
56492
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
56562
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
56493
56563
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
56494
56564
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
56495
56565
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -56764,7 +56834,7 @@ var Organization = class Organization extends Object$1 {
56764
56834
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
56765
56835
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
56766
56836
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
56767
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
56837
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
56768
56838
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
56769
56839
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
56770
56840
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -57118,7 +57188,7 @@ var Organization = class Organization extends Object$1 {
57118
57188
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
57119
57189
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
57120
57190
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
57121
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
57191
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
57122
57192
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
57123
57193
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
57124
57194
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -58115,7 +58185,7 @@ var Organization = class Organization extends Object$1 {
58115
58185
  * @throws {TypeError} If the given `json` is invalid.
58116
58186
  */
58117
58187
  static async fromJsonLd(json, options = {}) {
58118
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
58188
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
58119
58189
  try {
58120
58190
  const object = await this.__fromJsonLd__Organization__(json, span, options);
58121
58191
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -58920,7 +58990,7 @@ var Page = class Page extends Document {
58920
58990
  * @throws {TypeError} If the given `json` is invalid.
58921
58991
  */
58922
58992
  static async fromJsonLd(json, options = {}) {
58923
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
58993
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
58924
58994
  try {
58925
58995
  const object = await this.__fromJsonLd__Page__(json, span, options);
58926
58996
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -59384,7 +59454,7 @@ var Person = class Person extends Object$1 {
59384
59454
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59385
59455
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59386
59456
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59387
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
59457
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
59388
59458
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59389
59459
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59390
59460
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59682,7 +59752,7 @@ var Person = class Person extends Object$1 {
59682
59752
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
59683
59753
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
59684
59754
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
59685
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
59755
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
59686
59756
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59687
59757
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59688
59758
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60016,7 +60086,7 @@ var Person = class Person extends Object$1 {
60016
60086
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60017
60087
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60018
60088
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60019
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
60089
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
60020
60090
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60021
60091
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60022
60092
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60264,7 +60334,7 @@ var Person = class Person extends Object$1 {
60264
60334
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60265
60335
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60266
60336
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60267
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
60337
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
60268
60338
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60269
60339
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60270
60340
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60509,7 +60579,7 @@ var Person = class Person extends Object$1 {
60509
60579
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60510
60580
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60511
60581
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60512
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
60582
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
60513
60583
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60514
60584
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60515
60585
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60738,7 +60808,7 @@ var Person = class Person extends Object$1 {
60738
60808
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60739
60809
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60740
60810
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60741
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
60811
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
60742
60812
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60743
60813
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60744
60814
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60970,7 +61040,7 @@ var Person = class Person extends Object$1 {
60970
61040
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
60971
61041
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
60972
61042
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
60973
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
61043
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
60974
61044
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60975
61045
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60976
61046
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61200,7 +61270,7 @@ var Person = class Person extends Object$1 {
61200
61270
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61201
61271
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61202
61272
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61203
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
61273
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
61204
61274
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61205
61275
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61206
61276
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61428,7 +61498,7 @@ var Person = class Person extends Object$1 {
61428
61498
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61429
61499
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61430
61500
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61431
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
61501
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
61432
61502
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61433
61503
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61434
61504
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61656,7 +61726,7 @@ var Person = class Person extends Object$1 {
61656
61726
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61657
61727
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61658
61728
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61659
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
61729
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
61660
61730
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61661
61731
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61662
61732
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61881,7 +61951,7 @@ var Person = class Person extends Object$1 {
61881
61951
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
61882
61952
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
61883
61953
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
61884
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
61954
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
61885
61955
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
61886
61956
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
61887
61957
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -62152,7 +62222,7 @@ var Person = class Person extends Object$1 {
62152
62222
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
62153
62223
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
62154
62224
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
62155
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
62225
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
62156
62226
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
62157
62227
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
62158
62228
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -62427,7 +62497,7 @@ var Person = class Person extends Object$1 {
62427
62497
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
62428
62498
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
62429
62499
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
62430
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
62500
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
62431
62501
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
62432
62502
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
62433
62503
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -62781,7 +62851,7 @@ var Person = class Person extends Object$1 {
62781
62851
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
62782
62852
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
62783
62853
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
62784
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
62854
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
62785
62855
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
62786
62856
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
62787
62857
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -63778,7 +63848,7 @@ var Person = class Person extends Object$1 {
63778
63848
  * @throws {TypeError} If the given `json` is invalid.
63779
63849
  */
63780
63850
  static async fromJsonLd(json, options = {}) {
63781
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
63851
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
63782
63852
  try {
63783
63853
  const object = await this.__fromJsonLd__Person__(json, span, options);
63784
63854
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -64788,7 +64858,7 @@ var Place = class Place extends Object$1 {
64788
64858
  * @throws {TypeError} If the given `json` is invalid.
64789
64859
  */
64790
64860
  static async fromJsonLd(json, options = {}) {
64791
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
64861
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
64792
64862
  try {
64793
64863
  const object = await this.__fromJsonLd__Place__(json, span, options);
64794
64864
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -65054,7 +65124,7 @@ var Profile = class Profile extends Object$1 {
65054
65124
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
65055
65125
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
65056
65126
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
65057
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
65127
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
65058
65128
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65059
65129
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65060
65130
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65381,7 +65451,7 @@ var Profile = class Profile extends Object$1 {
65381
65451
  * @throws {TypeError} If the given `json` is invalid.
65382
65452
  */
65383
65453
  static async fromJsonLd(json, options = {}) {
65384
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
65454
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
65385
65455
  try {
65386
65456
  const object = await this.__fromJsonLd__Profile__(json, span, options);
65387
65457
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -65624,7 +65694,7 @@ var Question = class Question extends IntransitiveActivity {
65624
65694
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
65625
65695
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
65626
65696
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
65627
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
65697
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
65628
65698
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65629
65699
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65630
65700
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65855,7 +65925,7 @@ var Question = class Question extends IntransitiveActivity {
65855
65925
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
65856
65926
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
65857
65927
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
65858
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
65928
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
65859
65929
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65860
65930
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65861
65931
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -66102,7 +66172,7 @@ var Question = class Question extends IntransitiveActivity {
66102
66172
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
66103
66173
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
66104
66174
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
66105
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
66175
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
66106
66176
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
66107
66177
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
66108
66178
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -66345,7 +66415,7 @@ var Question = class Question extends IntransitiveActivity {
66345
66415
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
66346
66416
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
66347
66417
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
66348
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
66418
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
66349
66419
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
66350
66420
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
66351
66421
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -66753,7 +66823,7 @@ var Question = class Question extends IntransitiveActivity {
66753
66823
  * @throws {TypeError} If the given `json` is invalid.
66754
66824
  */
66755
66825
  static async fromJsonLd(json, options = {}) {
66756
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
66826
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
66757
66827
  try {
66758
66828
  const object = await this.__fromJsonLd__Question__(json, span, options);
66759
66829
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -67119,7 +67189,7 @@ var Read = class Read extends Activity {
67119
67189
  * @throws {TypeError} If the given `json` is invalid.
67120
67190
  */
67121
67191
  static async fromJsonLd(json, options = {}) {
67122
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
67192
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
67123
67193
  try {
67124
67194
  const object = await this.__fromJsonLd__Read__(json, span, options);
67125
67195
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -67325,7 +67395,7 @@ var Reject = class Reject extends Activity {
67325
67395
  * @throws {TypeError} If the given `json` is invalid.
67326
67396
  */
67327
67397
  static async fromJsonLd(json, options = {}) {
67328
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
67398
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
67329
67399
  try {
67330
67400
  const object = await this.__fromJsonLd__Reject__(json, span, options);
67331
67401
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -67539,7 +67609,7 @@ var Relationship = class Relationship extends Object$1 {
67539
67609
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
67540
67610
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
67541
67611
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
67542
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
67612
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
67543
67613
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
67544
67614
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
67545
67615
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -67767,7 +67837,7 @@ var Relationship = class Relationship extends Object$1 {
67767
67837
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
67768
67838
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
67769
67839
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
67770
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
67840
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
67771
67841
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
67772
67842
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
67773
67843
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -68065,7 +68135,7 @@ var Relationship = class Relationship extends Object$1 {
68065
68135
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
68066
68136
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
68067
68137
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
68068
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
68138
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
68069
68139
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
68070
68140
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
68071
68141
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -68510,7 +68580,7 @@ var Relationship = class Relationship extends Object$1 {
68510
68580
  * @throws {TypeError} If the given `json` is invalid.
68511
68581
  */
68512
68582
  static async fromJsonLd(json, options = {}) {
68513
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
68583
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
68514
68584
  try {
68515
68585
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
68516
68586
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -68797,7 +68867,7 @@ var Remove = class Remove extends Activity {
68797
68867
  * @throws {TypeError} If the given `json` is invalid.
68798
68868
  */
68799
68869
  static async fromJsonLd(json, options = {}) {
68800
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
68870
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
68801
68871
  try {
68802
68872
  const object = await this.__fromJsonLd__Remove__(json, span, options);
68803
68873
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -69261,7 +69331,7 @@ var Service = class Service extends Object$1 {
69261
69331
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69262
69332
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69263
69333
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69264
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
69334
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
69265
69335
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69266
69336
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69267
69337
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69559,7 +69629,7 @@ var Service = class Service extends Object$1 {
69559
69629
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69560
69630
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69561
69631
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69562
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
69632
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
69563
69633
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69564
69634
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69565
69635
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69893,7 +69963,7 @@ var Service = class Service extends Object$1 {
69893
69963
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
69894
69964
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
69895
69965
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
69896
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
69966
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
69897
69967
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69898
69968
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69899
69969
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70141,7 +70211,7 @@ var Service = class Service extends Object$1 {
70141
70211
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70142
70212
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70143
70213
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70144
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
70214
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
70145
70215
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70146
70216
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70147
70217
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70386,7 +70456,7 @@ var Service = class Service extends Object$1 {
70386
70456
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70387
70457
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70388
70458
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70389
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
70459
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
70390
70460
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70391
70461
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70392
70462
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70615,7 +70685,7 @@ var Service = class Service extends Object$1 {
70615
70685
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70616
70686
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70617
70687
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70618
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
70688
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
70619
70689
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70620
70690
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70621
70691
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70847,7 +70917,7 @@ var Service = class Service extends Object$1 {
70847
70917
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
70848
70918
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
70849
70919
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
70850
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
70920
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
70851
70921
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
70852
70922
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
70853
70923
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71077,7 +71147,7 @@ var Service = class Service extends Object$1 {
71077
71147
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71078
71148
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71079
71149
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71080
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
71150
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
71081
71151
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71082
71152
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71083
71153
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71305,7 +71375,7 @@ var Service = class Service extends Object$1 {
71305
71375
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71306
71376
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71307
71377
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71308
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
71378
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
71309
71379
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71310
71380
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71311
71381
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71533,7 +71603,7 @@ var Service = class Service extends Object$1 {
71533
71603
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71534
71604
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71535
71605
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71536
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
71606
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
71537
71607
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71538
71608
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71539
71609
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71758,7 +71828,7 @@ var Service = class Service extends Object$1 {
71758
71828
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
71759
71829
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
71760
71830
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
71761
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
71831
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
71762
71832
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71763
71833
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71764
71834
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -72029,7 +72099,7 @@ var Service = class Service extends Object$1 {
72029
72099
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
72030
72100
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
72031
72101
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
72032
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
72102
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
72033
72103
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
72034
72104
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
72035
72105
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -72304,7 +72374,7 @@ var Service = class Service extends Object$1 {
72304
72374
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
72305
72375
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
72306
72376
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
72307
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
72377
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
72308
72378
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
72309
72379
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
72310
72380
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -72658,7 +72728,7 @@ var Service = class Service extends Object$1 {
72658
72728
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
72659
72729
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
72660
72730
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
72661
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
72731
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
72662
72732
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
72663
72733
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
72664
72734
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -73655,7 +73725,7 @@ var Service = class Service extends Object$1 {
73655
73725
  * @throws {TypeError} If the given `json` is invalid.
73656
73726
  */
73657
73727
  static async fromJsonLd(json, options = {}) {
73658
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
73728
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
73659
73729
  try {
73660
73730
  const object = await this.__fromJsonLd__Service__(json, span, options);
73661
73731
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74348,6 +74418,11 @@ var Source = class {
74348
74418
  get _warning() {
74349
74419
  return this.#warning;
74350
74420
  }
74421
+ /**
74422
+ * Internal cross-package contract with @fedify/testing, which copies this
74423
+ * cache when attaching document loaders to an activity clone. Keep this
74424
+ * accessor name and its getter/setter semantics stable.
74425
+ */
74351
74426
  get _cachedJsonLd() {
74352
74427
  return this.#cachedJsonLd;
74353
74428
  }
@@ -74574,7 +74649,7 @@ var Source = class {
74574
74649
  * @throws {TypeError} If the given `json` is invalid.
74575
74650
  */
74576
74651
  static async fromJsonLd(json, options = {}) {
74577
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
74652
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
74578
74653
  try {
74579
74654
  const object = await this.__fromJsonLd__Source__(json, span, options);
74580
74655
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -74816,7 +74891,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
74816
74891
  * @throws {TypeError} If the given `json` is invalid.
74817
74892
  */
74818
74893
  static async fromJsonLd(json, options = {}) {
74819
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
74894
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
74820
74895
  try {
74821
74896
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
74822
74897
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -75022,7 +75097,7 @@ var TentativeReject = class TentativeReject extends Reject {
75022
75097
  * @throws {TypeError} If the given `json` is invalid.
75023
75098
  */
75024
75099
  static async fromJsonLd(json, options = {}) {
75025
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
75100
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
75026
75101
  try {
75027
75102
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
75028
75103
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -75327,7 +75402,7 @@ var Tombstone = class Tombstone extends Object$1 {
75327
75402
  * @throws {TypeError} If the given `json` is invalid.
75328
75403
  */
75329
75404
  static async fromJsonLd(json, options = {}) {
75330
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
75405
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
75331
75406
  try {
75332
75407
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
75333
75408
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -75578,7 +75653,7 @@ var Travel = class Travel extends IntransitiveActivity {
75578
75653
  * @throws {TypeError} If the given `json` is invalid.
75579
75654
  */
75580
75655
  static async fromJsonLd(json, options = {}) {
75581
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
75656
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
75582
75657
  try {
75583
75658
  const object = await this.__fromJsonLd__Travel__(json, span, options);
75584
75659
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -75798,7 +75873,7 @@ var Undo = class Undo extends Activity {
75798
75873
  * @throws {TypeError} If the given `json` is invalid.
75799
75874
  */
75800
75875
  static async fromJsonLd(json, options = {}) {
75801
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
75876
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
75802
75877
  try {
75803
75878
  const object = await this.__fromJsonLd__Undo__(json, span, options);
75804
75879
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -76066,7 +76141,7 @@ var Update = class Update extends Activity {
76066
76141
  * @throws {TypeError} If the given `json` is invalid.
76067
76142
  */
76068
76143
  static async fromJsonLd(json, options = {}) {
76069
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
76144
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
76070
76145
  try {
76071
76146
  const object = await this.__fromJsonLd__Update__(json, span, options);
76072
76147
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -76287,7 +76362,7 @@ var Video = class Video extends Document {
76287
76362
  * @throws {TypeError} If the given `json` is invalid.
76288
76363
  */
76289
76364
  static async fromJsonLd(json, options = {}) {
76290
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
76365
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
76291
76366
  try {
76292
76367
  const object = await this.__fromJsonLd__Video__(json, span, options);
76293
76368
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -76492,7 +76567,7 @@ var View = class View extends Activity {
76492
76567
  * @throws {TypeError} If the given `json` is invalid.
76493
76568
  */
76494
76569
  static async fromJsonLd(json, options = {}) {
76495
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
76570
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
76496
76571
  try {
76497
76572
  const object = await this.__fromJsonLd__View__(json, span, options);
76498
76573
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -76935,7 +77010,8 @@ async function getPortableActorHandle(actor, actorId, options) {
76935
77010
  const result = await lookupWebFinger(handle, {
76936
77011
  userAgent: options.userAgent,
76937
77012
  tracerProvider: options.tracerProvider,
76938
- meterProvider: options.meterProvider
77013
+ meterProvider: options.meterProvider,
77014
+ allowPrivateAddress: "allowPrivateAddress" in options && options.allowPrivateAddress === true
76939
77015
  });
76940
77016
  if (result == null || !linksToPortableActor(result, canonicalId)) throw new ActorHandleNotFoundError();
76941
77017
  const subject = result.subject?.match(/^acct:([^@]+)@([^@]+)$/);
@@ -76943,7 +77019,8 @@ async function getPortableActorHandle(actor, actorId, options) {
76943
77019
  const subjectResult = await lookupWebFinger(result.subject, {
76944
77020
  userAgent: options.userAgent,
76945
77021
  tracerProvider: options.tracerProvider,
76946
- meterProvider: options.meterProvider
77022
+ meterProvider: options.meterProvider,
77023
+ allowPrivateAddress: "allowPrivateAddress" in options && options.allowPrivateAddress === true
76947
77024
  });
76948
77025
  if (subjectResult != null && linksToPortableActor(subjectResult, canonicalId)) return normalizeActorHandle(`@${subject[1]}@${subject[2]}`, options);
76949
77026
  }