@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.cjs CHANGED
@@ -36,7 +36,7 @@ let _fedify_vocab_runtime_temporal = require("@fedify/vocab-runtime/temporal");
36
36
  let es_toolkit = require("es-toolkit");
37
37
  //#region deno.json
38
38
  var name = "@fedify/vocab";
39
- var version = "2.4.5-dev.2462+46a3f2c5";
39
+ var version = "2.4.6-dev.2628+2a78382f";
40
40
  //#endregion
41
41
  //#region src/type.ts
42
42
  function getTypeId(object) {
@@ -3917,6 +3917,11 @@ var Object$1 = class Object$1 {
3917
3917
  get _warning() {
3918
3918
  return this.#warning;
3919
3919
  }
3920
+ /**
3921
+ * Internal cross-package contract with @fedify/testing, which copies this
3922
+ * cache when attaching document loaders to an activity clone. Keep this
3923
+ * accessor name and its getter/setter semantics stable.
3924
+ */
3920
3925
  get _cachedJsonLd() {
3921
3926
  return this.#cachedJsonLd;
3922
3927
  }
@@ -4592,7 +4597,7 @@ var Object$1 = class Object$1 {
4592
4597
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4593
4598
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4594
4599
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4595
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
4600
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
4596
4601
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4597
4602
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4598
4603
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -4849,7 +4854,7 @@ var Object$1 = class Object$1 {
4849
4854
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4850
4855
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
4851
4856
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
4852
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
4857
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
4853
4858
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
4854
4859
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
4855
4860
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5201,7 +5206,7 @@ var Object$1 = class Object$1 {
5201
5206
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
5202
5207
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
5203
5208
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
5204
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
5209
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
5205
5210
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5206
5211
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5207
5212
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5521,7 +5526,7 @@ var Object$1 = class Object$1 {
5521
5526
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
5522
5527
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
5523
5528
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
5524
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
5529
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
5525
5530
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5526
5531
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5527
5532
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -5793,7 +5798,7 @@ var Object$1 = class Object$1 {
5793
5798
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
5794
5799
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
5795
5800
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
5796
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
5801
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
5797
5802
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
5798
5803
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
5799
5804
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6033,7 +6038,7 @@ var Object$1 = class Object$1 {
6033
6038
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6034
6039
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6035
6040
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6036
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
6041
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
6037
6042
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6038
6043
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6039
6044
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6352,7 +6357,7 @@ var Object$1 = class Object$1 {
6352
6357
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6353
6358
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6354
6359
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6355
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
6360
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
6356
6361
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6357
6362
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6358
6363
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6671,7 +6676,7 @@ var Object$1 = class Object$1 {
6671
6676
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6672
6677
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6673
6678
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6674
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
6679
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
6675
6680
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6676
6681
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6677
6682
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -6982,7 +6987,7 @@ var Object$1 = class Object$1 {
6982
6987
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6983
6988
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
6984
6989
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
6985
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
6990
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
6986
6991
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
6987
6992
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
6988
6993
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -7293,7 +7298,7 @@ var Object$1 = class Object$1 {
7293
7298
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7294
7299
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7295
7300
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7296
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
7301
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
7297
7302
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
7298
7303
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
7299
7304
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -7609,7 +7614,7 @@ var Object$1 = class Object$1 {
7609
7614
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7610
7615
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7611
7616
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7612
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
7617
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
7613
7618
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
7614
7619
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
7615
7620
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -7835,7 +7840,7 @@ var Object$1 = class Object$1 {
7835
7840
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7836
7841
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
7837
7842
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
7838
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
7843
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
7839
7844
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
7840
7845
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
7841
7846
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -8067,7 +8072,7 @@ var Object$1 = class Object$1 {
8067
8072
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8068
8073
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8069
8074
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8070
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
8075
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
8071
8076
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
8072
8077
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
8073
8078
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -8299,7 +8304,7 @@ var Object$1 = class Object$1 {
8299
8304
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8300
8305
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8301
8306
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8302
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
8307
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
8303
8308
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
8304
8309
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
8305
8310
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -8549,7 +8554,7 @@ var Object$1 = class Object$1 {
8549
8554
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8550
8555
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8551
8556
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8552
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
8557
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
8553
8558
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
8554
8559
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
8555
8560
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -8811,7 +8816,7 @@ var Object$1 = class Object$1 {
8811
8816
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8812
8817
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
8813
8818
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
8814
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
8819
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
8815
8820
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
8816
8821
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
8817
8822
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -9111,7 +9116,7 @@ var Object$1 = class Object$1 {
9111
9116
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9112
9117
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9113
9118
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
9114
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
9119
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
9115
9120
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
9116
9121
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
9117
9122
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -9411,7 +9416,7 @@ var Object$1 = class Object$1 {
9411
9416
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9412
9417
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9413
9418
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
9414
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
9419
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
9415
9420
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
9416
9421
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
9417
9422
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -9711,7 +9716,7 @@ var Object$1 = class Object$1 {
9711
9716
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9712
9717
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
9713
9718
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
9714
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
9719
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
9715
9720
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
9716
9721
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
9717
9722
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -10048,7 +10053,7 @@ var Object$1 = class Object$1 {
10048
10053
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10049
10054
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10050
10055
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10051
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
10056
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
10052
10057
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10053
10058
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10054
10059
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -10371,7 +10376,7 @@ var Object$1 = class Object$1 {
10371
10376
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10372
10377
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10373
10378
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10374
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
10379
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
10375
10380
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10376
10381
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10377
10382
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -10597,7 +10602,7 @@ var Object$1 = class Object$1 {
10597
10602
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10598
10603
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10599
10604
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10600
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
10605
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
10601
10606
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10602
10607
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10603
10608
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -10823,7 +10828,7 @@ var Object$1 = class Object$1 {
10823
10828
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10824
10829
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
10825
10830
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
10826
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
10831
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
10827
10832
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
10828
10833
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
10829
10834
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -11988,7 +11993,7 @@ var Object$1 = class Object$1 {
11988
11993
  * @throws {TypeError} If the given `json` is invalid.
11989
11994
  */
11990
11995
  static async fromJsonLd(json, options = {}) {
11991
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
11996
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
11992
11997
  try {
11993
11998
  const object = await this.__fromJsonLd__Object__(json, span, options);
11994
11999
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13762,7 +13767,7 @@ var Emoji = class Emoji extends Object$1 {
13762
13767
  * @throws {TypeError} If the given `json` is invalid.
13763
13768
  */
13764
13769
  static async fromJsonLd(json, options = {}) {
13765
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
13770
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
13766
13771
  try {
13767
13772
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
13768
13773
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13937,7 +13942,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
13937
13942
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13938
13943
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
13939
13944
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
13940
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
13945
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
13941
13946
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
13942
13947
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
13943
13948
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -14180,7 +14185,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
14180
14185
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14181
14186
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14182
14187
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
14183
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
14188
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
14184
14189
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
14185
14190
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14186
14191
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -14600,7 +14605,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
14600
14605
  * @throws {TypeError} If the given `json` is invalid.
14601
14606
  */
14602
14607
  static async fromJsonLd(json, options = {}) {
14603
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
14608
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
14604
14609
  try {
14605
14610
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
14606
14611
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14980,7 +14985,7 @@ var Activity = class Activity extends Object$1 {
14980
14985
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14981
14986
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
14982
14987
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
14983
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
14988
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
14984
14989
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
14985
14990
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
14986
14991
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -15332,7 +15337,7 @@ var Activity = class Activity extends Object$1 {
15332
15337
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15333
15338
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15334
15339
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15335
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
15340
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
15336
15341
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
15337
15342
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
15338
15343
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -15634,7 +15639,7 @@ var Activity = class Activity extends Object$1 {
15634
15639
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15635
15640
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15636
15641
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15637
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
15642
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
15638
15643
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
15639
15644
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
15640
15645
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -15942,7 +15947,7 @@ var Activity = class Activity extends Object$1 {
15942
15947
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15943
15948
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
15944
15949
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
15945
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
15950
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
15946
15951
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
15947
15952
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
15948
15953
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -16244,7 +16249,7 @@ var Activity = class Activity extends Object$1 {
16244
16249
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16245
16250
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16246
16251
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16247
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
16252
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
16248
16253
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
16249
16254
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
16250
16255
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -16548,7 +16553,7 @@ var Activity = class Activity extends Object$1 {
16548
16553
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16549
16554
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
16550
16555
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
16551
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
16556
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
16552
16557
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
16553
16558
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
16554
16559
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -16981,7 +16986,7 @@ var Activity = class Activity extends Object$1 {
16981
16986
  * @throws {TypeError} If the given `json` is invalid.
16982
16987
  */
16983
16988
  static async fromJsonLd(json, options = {}) {
16984
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
16989
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
16985
16990
  try {
16986
16991
  const object = await this.__fromJsonLd__Activity__(json, span, options);
16987
16992
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17402,7 +17407,7 @@ var EmojiReact = class EmojiReact extends Activity {
17402
17407
  * @throws {TypeError} If the given `json` is invalid.
17403
17408
  */
17404
17409
  static async fromJsonLd(json, options = {}) {
17405
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
17410
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
17406
17411
  try {
17407
17412
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
17408
17413
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17511,6 +17516,11 @@ var PropertyValue = class {
17511
17516
  get _warning() {
17512
17517
  return this.#warning;
17513
17518
  }
17519
+ /**
17520
+ * Internal cross-package contract with @fedify/testing, which copies this
17521
+ * cache when attaching document loaders to an activity clone. Keep this
17522
+ * accessor name and its getter/setter semantics stable.
17523
+ */
17514
17524
  get _cachedJsonLd() {
17515
17525
  return this.#cachedJsonLd;
17516
17526
  }
@@ -17739,7 +17749,7 @@ var PropertyValue = class {
17739
17749
  * @throws {TypeError} If the given `json` is invalid.
17740
17750
  */
17741
17751
  static async fromJsonLd(json, options = {}) {
17742
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
17752
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
17743
17753
  try {
17744
17754
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
17745
17755
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17883,6 +17893,11 @@ var Measure = class {
17883
17893
  get _warning() {
17884
17894
  return this.#warning;
17885
17895
  }
17896
+ /**
17897
+ * Internal cross-package contract with @fedify/testing, which copies this
17898
+ * cache when attaching document loaders to an activity clone. Keep this
17899
+ * accessor name and its getter/setter semantics stable.
17900
+ */
17886
17901
  get _cachedJsonLd() {
17887
17902
  return this.#cachedJsonLd;
17888
17903
  }
@@ -18102,7 +18117,7 @@ var Measure = class {
18102
18117
  * @throws {TypeError} If the given `json` is invalid.
18103
18118
  */
18104
18119
  static async fromJsonLd(json, options = {}) {
18105
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
18120
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
18106
18121
  try {
18107
18122
  const object = await this.__fromJsonLd__Measure__(json, span, options);
18108
18123
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -18310,7 +18325,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
18310
18325
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18311
18326
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18312
18327
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18313
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
18328
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
18314
18329
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
18315
18330
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18316
18331
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -18536,7 +18551,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
18536
18551
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18537
18552
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
18538
18553
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
18539
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
18554
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
18540
18555
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
18541
18556
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
18542
18557
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -18883,7 +18898,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
18883
18898
  * @throws {TypeError} If the given `json` is invalid.
18884
18899
  */
18885
18900
  static async fromJsonLd(json, options = {}) {
18886
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
18901
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
18887
18902
  try {
18888
18903
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
18889
18904
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19151,7 +19166,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
19151
19166
  * @throws {TypeError} If the given `json` is invalid.
19152
19167
  */
19153
19168
  static async fromJsonLd(json, options = {}) {
19154
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
19169
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
19155
19170
  try {
19156
19171
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
19157
19172
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19266,6 +19281,11 @@ var InteractionPolicy = class {
19266
19281
  get _warning() {
19267
19282
  return this.#warning;
19268
19283
  }
19284
+ /**
19285
+ * Internal cross-package contract with @fedify/testing, which copies this
19286
+ * cache when attaching document loaders to an activity clone. Keep this
19287
+ * accessor name and its getter/setter semantics stable.
19288
+ */
19269
19289
  get _cachedJsonLd() {
19270
19290
  return this.#cachedJsonLd;
19271
19291
  }
@@ -19544,7 +19564,7 @@ var InteractionPolicy = class {
19544
19564
  * @throws {TypeError} If the given `json` is invalid.
19545
19565
  */
19546
19566
  static async fromJsonLd(json, options = {}) {
19547
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
19567
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
19548
19568
  try {
19549
19569
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
19550
19570
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -19774,6 +19794,11 @@ var InteractionRule = class {
19774
19794
  get _warning() {
19775
19795
  return this.#warning;
19776
19796
  }
19797
+ /**
19798
+ * Internal cross-package contract with @fedify/testing, which copies this
19799
+ * cache when attaching document loaders to an activity clone. Keep this
19800
+ * accessor name and its getter/setter semantics stable.
19801
+ */
19777
19802
  get _cachedJsonLd() {
19778
19803
  return this.#cachedJsonLd;
19779
19804
  }
@@ -19996,7 +20021,7 @@ var InteractionRule = class {
19996
20021
  * @throws {TypeError} If the given `json` is invalid.
19997
20022
  */
19998
20023
  static async fromJsonLd(json, options = {}) {
19999
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
20024
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
20000
20025
  try {
20001
20026
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
20002
20027
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20205,7 +20230,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
20205
20230
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20206
20231
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20207
20232
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20208
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
20233
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
20209
20234
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
20210
20235
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
20211
20236
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -20431,7 +20456,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
20431
20456
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20432
20457
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
20433
20458
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
20434
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
20459
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
20435
20460
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
20436
20461
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
20437
20462
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -20778,7 +20803,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
20778
20803
  * @throws {TypeError} If the given `json` is invalid.
20779
20804
  */
20780
20805
  static async fromJsonLd(json, options = {}) {
20781
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
20806
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
20782
20807
  try {
20783
20808
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
20784
20809
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21045,7 +21070,7 @@ var LikeRequest = class LikeRequest extends Activity {
21045
21070
  * @throws {TypeError} If the given `json` is invalid.
21046
21071
  */
21047
21072
  static async fromJsonLd(json, options = {}) {
21048
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
21073
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
21049
21074
  try {
21050
21075
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
21051
21076
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21217,7 +21242,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
21217
21242
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21218
21243
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21219
21244
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21220
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
21245
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
21221
21246
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
21222
21247
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
21223
21248
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -21443,7 +21468,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
21443
21468
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21444
21469
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
21445
21470
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
21446
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
21471
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
21447
21472
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
21448
21473
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
21449
21474
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -21790,7 +21815,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
21790
21815
  * @throws {TypeError} If the given `json` is invalid.
21791
21816
  */
21792
21817
  static async fromJsonLd(json, options = {}) {
21793
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
21818
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
21794
21819
  try {
21795
21820
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
21796
21821
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22057,7 +22082,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
22057
22082
  * @throws {TypeError} If the given `json` is invalid.
22058
22083
  */
22059
22084
  static async fromJsonLd(json, options = {}) {
22060
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
22085
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
22061
22086
  try {
22062
22087
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
22063
22088
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22229,7 +22254,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
22229
22254
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22230
22255
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22231
22256
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22232
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
22257
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
22233
22258
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22234
22259
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22235
22260
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22454,7 +22479,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
22454
22479
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22455
22480
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
22456
22481
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
22457
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
22482
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
22458
22483
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
22459
22484
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
22460
22485
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -22803,7 +22828,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
22803
22828
  * @throws {TypeError} If the given `json` is invalid.
22804
22829
  */
22805
22830
  static async fromJsonLd(json, options = {}) {
22806
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
22831
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
22807
22832
  try {
22808
22833
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
22809
22834
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23100,7 +23125,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
23100
23125
  * @throws {TypeError} If the given `json` is invalid.
23101
23126
  */
23102
23127
  static async fromJsonLd(json, options = {}) {
23103
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
23128
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
23104
23129
  try {
23105
23130
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
23106
23131
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -23215,6 +23240,11 @@ var Translation = class {
23215
23240
  get _warning() {
23216
23241
  return this.#warning;
23217
23242
  }
23243
+ /**
23244
+ * Internal cross-package contract with @fedify/testing, which copies this
23245
+ * cache when attaching document loaders to an activity clone. Keep this
23246
+ * accessor name and its getter/setter semantics stable.
23247
+ */
23218
23248
  get _cachedJsonLd() {
23219
23249
  return this.#cachedJsonLd;
23220
23250
  }
@@ -23375,7 +23405,7 @@ var Translation = class {
23375
23405
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23376
23406
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
23377
23407
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
23378
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
23408
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
23379
23409
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
23380
23410
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
23381
23411
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -23964,7 +23994,7 @@ var Translation = class {
23964
23994
  * @throws {TypeError} If the given `json` is invalid.
23965
23995
  */
23966
23996
  static async fromJsonLd(json, options = {}) {
23967
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
23997
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
23968
23998
  try {
23969
23999
  const object = await this.__fromJsonLd__Translation__(json, span, options);
23970
24000
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24268,7 +24298,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
24268
24298
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24269
24299
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24270
24300
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24271
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
24301
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
24272
24302
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
24273
24303
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24274
24304
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -24493,7 +24523,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
24493
24523
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24494
24524
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
24495
24525
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
24496
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
24526
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
24497
24527
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
24498
24528
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
24499
24529
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -24842,7 +24872,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
24842
24872
  * @throws {TypeError} If the given `json` is invalid.
24843
24873
  */
24844
24874
  static async fromJsonLd(json, options = {}) {
24845
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
24875
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
24846
24876
  try {
24847
24877
  const object = await this.__fromJsonLd__FeatureAuthorization__(json, span, options);
24848
24878
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25107,7 +25137,7 @@ var FeatureRequest = class FeatureRequest extends Activity {
25107
25137
  * @throws {TypeError} If the given `json` is invalid.
25108
25138
  */
25109
25139
  static async fromJsonLd(json, options = {}) {
25110
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
25140
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
25111
25141
  try {
25112
25142
  const object = await this.__fromJsonLd__FeatureRequest__(json, span, options);
25113
25143
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25412,7 +25442,7 @@ var Collection = class Collection extends Object$1 {
25412
25442
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25413
25443
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25414
25444
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25415
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
25445
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
25416
25446
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
25417
25447
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
25418
25448
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -25638,7 +25668,7 @@ var Collection = class Collection extends Object$1 {
25638
25668
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25639
25669
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25640
25670
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25641
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
25671
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
25642
25672
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
25643
25673
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
25644
25674
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -25864,7 +25894,7 @@ var Collection = class Collection extends Object$1 {
25864
25894
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25865
25895
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
25866
25896
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
25867
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
25897
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
25868
25898
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
25869
25899
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
25870
25900
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -26090,7 +26120,7 @@ var Collection = class Collection extends Object$1 {
26090
26120
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26091
26121
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26092
26122
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26093
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
26123
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
26094
26124
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26095
26125
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26096
26126
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -26331,7 +26361,7 @@ var Collection = class Collection extends Object$1 {
26331
26361
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26332
26362
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26333
26363
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26334
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
26364
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
26335
26365
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26336
26366
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26337
26367
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -26556,7 +26586,7 @@ var Collection = class Collection extends Object$1 {
26556
26586
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26557
26587
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26558
26588
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26559
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
26589
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
26560
26590
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26561
26591
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26562
26592
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -26781,7 +26811,7 @@ var Collection = class Collection extends Object$1 {
26781
26811
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26782
26812
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
26783
26813
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
26784
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
26814
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
26785
26815
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
26786
26816
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
26787
26817
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -27006,7 +27036,7 @@ var Collection = class Collection extends Object$1 {
27006
27036
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27007
27037
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27008
27038
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27009
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
27039
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
27010
27040
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
27011
27041
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27012
27042
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -27231,7 +27261,7 @@ var Collection = class Collection extends Object$1 {
27231
27261
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27232
27262
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27233
27263
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27234
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
27264
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
27235
27265
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
27236
27266
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27237
27267
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -27456,7 +27486,7 @@ var Collection = class Collection extends Object$1 {
27456
27486
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27457
27487
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27458
27488
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27459
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
27489
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
27460
27490
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
27461
27491
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27462
27492
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -27681,7 +27711,7 @@ var Collection = class Collection extends Object$1 {
27681
27711
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27682
27712
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27683
27713
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27684
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
27714
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
27685
27715
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
27686
27716
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27687
27717
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -27906,7 +27936,7 @@ var Collection = class Collection extends Object$1 {
27906
27936
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27907
27937
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
27908
27938
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
27909
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
27939
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
27910
27940
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
27911
27941
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
27912
27942
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -28541,7 +28571,7 @@ var Collection = class Collection extends Object$1 {
28541
28571
  * @throws {TypeError} If the given `json` is invalid.
28542
28572
  */
28543
28573
  static async fromJsonLd(json, options = {}) {
28544
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
28574
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
28545
28575
  try {
28546
28576
  const object = await this.__fromJsonLd__Collection__(json, span, options);
28547
28577
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29108,7 +29138,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
29108
29138
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29109
29139
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
29110
29140
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
29111
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
29141
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
29112
29142
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
29113
29143
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
29114
29144
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -29509,7 +29539,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
29509
29539
  * @throws {TypeError} If the given `json` is invalid.
29510
29540
  */
29511
29541
  static async fromJsonLd(json, options = {}) {
29512
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
29542
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
29513
29543
  try {
29514
29544
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
29515
29545
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -29918,7 +29948,7 @@ var FeaturedCollection = class FeaturedCollection extends OrderedCollection {
29918
29948
  * @throws {TypeError} If the given `json` is invalid.
29919
29949
  */
29920
29950
  static async fromJsonLd(json, options = {}) {
29921
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
29951
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
29922
29952
  try {
29923
29953
  const object = await this.__fromJsonLd__FeaturedCollection__(json, span, options);
29924
29954
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30125,7 +30155,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
30125
30155
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30126
30156
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30127
30157
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30128
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
30158
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
30129
30159
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
30130
30160
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
30131
30161
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -30350,7 +30380,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
30350
30380
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30351
30381
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
30352
30382
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
30353
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
30383
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
30354
30384
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
30355
30385
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
30356
30386
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -30700,7 +30730,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
30700
30730
  * @throws {TypeError} If the given `json` is invalid.
30701
30731
  */
30702
30732
  static async fromJsonLd(json, options = {}) {
30703
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
30733
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
30704
30734
  try {
30705
30735
  const object = await this.__fromJsonLd__FeaturedItem__(json, span, options);
30706
30736
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30865,6 +30895,11 @@ var DidService = class {
30865
30895
  get _warning() {
30866
30896
  return this.#warning;
30867
30897
  }
30898
+ /**
30899
+ * Internal cross-package contract with @fedify/testing, which copies this
30900
+ * cache when attaching document loaders to an activity clone. Keep this
30901
+ * accessor name and its getter/setter semantics stable.
30902
+ */
30868
30903
  get _cachedJsonLd() {
30869
30904
  return this.#cachedJsonLd;
30870
30905
  }
@@ -31045,7 +31080,7 @@ var DidService = class {
31045
31080
  * @throws {TypeError} If the given `json` is invalid.
31046
31081
  */
31047
31082
  static async fromJsonLd(json, options = {}) {
31048
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
31083
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
31049
31084
  try {
31050
31085
  const object = await this.__fromJsonLd__DidService__(json, span, options);
31051
31086
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31261,7 +31296,7 @@ var Export = class Export extends DidService {
31261
31296
  * @throws {TypeError} If the given `json` is invalid.
31262
31297
  */
31263
31298
  static async fromJsonLd(json, options = {}) {
31264
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
31299
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
31265
31300
  try {
31266
31301
  const object = await this.__fromJsonLd__Export__(json, span, options);
31267
31302
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31371,6 +31406,11 @@ var DataIntegrityProof = class {
31371
31406
  get _warning() {
31372
31407
  return this.#warning;
31373
31408
  }
31409
+ /**
31410
+ * Internal cross-package contract with @fedify/testing, which copies this
31411
+ * cache when attaching document loaders to an activity clone. Keep this
31412
+ * accessor name and its getter/setter semantics stable.
31413
+ */
31374
31414
  get _cachedJsonLd() {
31375
31415
  return this.#cachedJsonLd;
31376
31416
  }
@@ -31499,7 +31539,7 @@ var DataIntegrityProof = class {
31499
31539
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31500
31540
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
31501
31541
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
31502
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
31542
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
31503
31543
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
31504
31544
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
31505
31545
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -31851,7 +31891,7 @@ var DataIntegrityProof = class {
31851
31891
  * @throws {TypeError} If the given `json` is invalid.
31852
31892
  */
31853
31893
  static async fromJsonLd(json, options = {}) {
31854
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
31894
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
31855
31895
  try {
31856
31896
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
31857
31897
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32057,6 +32097,11 @@ var CryptographicKey = class {
32057
32097
  get _warning() {
32058
32098
  return this.#warning;
32059
32099
  }
32100
+ /**
32101
+ * Internal cross-package contract with @fedify/testing, which copies this
32102
+ * cache when attaching document loaders to an activity clone. Keep this
32103
+ * accessor name and its getter/setter semantics stable.
32104
+ */
32060
32105
  get _cachedJsonLd() {
32061
32106
  return this.#cachedJsonLd;
32062
32107
  }
@@ -32160,7 +32205,7 @@ var CryptographicKey = class {
32160
32205
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32161
32206
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32162
32207
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32163
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
32208
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
32164
32209
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32165
32210
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32166
32211
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -32557,7 +32602,7 @@ var CryptographicKey = class {
32557
32602
  * @throws {TypeError} If the given `json` is invalid.
32558
32603
  */
32559
32604
  static async fromJsonLd(json, options = {}) {
32560
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
32605
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
32561
32606
  try {
32562
32607
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
32563
32608
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32724,6 +32769,11 @@ var Multikey = class {
32724
32769
  get _warning() {
32725
32770
  return this.#warning;
32726
32771
  }
32772
+ /**
32773
+ * Internal cross-package contract with @fedify/testing, which copies this
32774
+ * cache when attaching document loaders to an activity clone. Keep this
32775
+ * accessor name and its getter/setter semantics stable.
32776
+ */
32727
32777
  get _cachedJsonLd() {
32728
32778
  return this.#cachedJsonLd;
32729
32779
  }
@@ -32827,7 +32877,7 @@ var Multikey = class {
32827
32877
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32828
32878
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
32829
32879
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
32830
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
32880
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
32831
32881
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
32832
32882
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
32833
32883
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -33230,7 +33280,7 @@ var Multikey = class {
33230
33280
  * @throws {TypeError} If the given `json` is invalid.
33231
33281
  */
33232
33282
  static async fromJsonLd(json, options = {}) {
33233
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
33283
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
33234
33284
  try {
33235
33285
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
33236
33286
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33631,7 +33681,7 @@ var Agreement = class Agreement extends Object$1 {
33631
33681
  * @throws {TypeError} If the given `json` is invalid.
33632
33682
  */
33633
33683
  static async fromJsonLd(json, options = {}) {
33634
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
33684
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
33635
33685
  try {
33636
33686
  const object = await this.__fromJsonLd__Agreement__(json, span, options);
33637
33687
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33786,6 +33836,11 @@ var Commitment = class {
33786
33836
  get _warning() {
33787
33837
  return this.#warning;
33788
33838
  }
33839
+ /**
33840
+ * Internal cross-package contract with @fedify/testing, which copies this
33841
+ * cache when attaching document loaders to an activity clone. Keep this
33842
+ * accessor name and its getter/setter semantics stable.
33843
+ */
33789
33844
  get _cachedJsonLd() {
33790
33845
  return this.#cachedJsonLd;
33791
33846
  }
@@ -34024,7 +34079,7 @@ var Commitment = class {
34024
34079
  * @throws {TypeError} If the given `json` is invalid.
34025
34080
  */
34026
34081
  static async fromJsonLd(json, options = {}) {
34027
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
34082
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
34028
34083
  try {
34029
34084
  const object = await this.__fromJsonLd__Commitment__(json, span, options);
34030
34085
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34172,6 +34227,11 @@ var Intent = class {
34172
34227
  get _warning() {
34173
34228
  return this.#warning;
34174
34229
  }
34230
+ /**
34231
+ * Internal cross-package contract with @fedify/testing, which copies this
34232
+ * cache when attaching document loaders to an activity clone. Keep this
34233
+ * accessor name and its getter/setter semantics stable.
34234
+ */
34175
34235
  get _cachedJsonLd() {
34176
34236
  return this.#cachedJsonLd;
34177
34237
  }
@@ -34509,7 +34569,7 @@ var Intent = class {
34509
34569
  * @throws {TypeError} If the given `json` is invalid.
34510
34570
  */
34511
34571
  static async fromJsonLd(json, options = {}) {
34512
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
34572
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
34513
34573
  try {
34514
34574
  const object = await this.__fromJsonLd__Intent__(json, span, options);
34515
34575
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35022,7 +35082,7 @@ var Proposal = class Proposal extends Object$1 {
35022
35082
  * @throws {TypeError} If the given `json` is invalid.
35023
35083
  */
35024
35084
  static async fromJsonLd(json, options = {}) {
35025
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
35085
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
35026
35086
  try {
35027
35087
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
35028
35088
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35308,7 +35368,7 @@ var Accept = class Accept extends Activity {
35308
35368
  * @throws {TypeError} If the given `json` is invalid.
35309
35369
  */
35310
35370
  static async fromJsonLd(json, options = {}) {
35311
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
35371
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
35312
35372
  try {
35313
35373
  const object = await this.__fromJsonLd__Accept__(json, span, options);
35314
35374
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35517,7 +35577,7 @@ var Add = class Add extends Activity {
35517
35577
  * @throws {TypeError} If the given `json` is invalid.
35518
35578
  */
35519
35579
  static async fromJsonLd(json, options = {}) {
35520
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
35580
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
35521
35581
  try {
35522
35582
  const object = await this.__fromJsonLd__Add__(json, span, options);
35523
35583
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -35753,7 +35813,7 @@ var Announce = class Announce extends Activity {
35753
35813
  * @throws {TypeError} If the given `json` is invalid.
35754
35814
  */
35755
35815
  static async fromJsonLd(json, options = {}) {
35756
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
35816
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
35757
35817
  try {
35758
35818
  const object = await this.__fromJsonLd__Announce__(json, span, options);
35759
35819
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -36217,7 +36277,7 @@ var Application = class Application extends Object$1 {
36217
36277
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36218
36278
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36219
36279
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36220
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
36280
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
36221
36281
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
36222
36282
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
36223
36283
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -36515,7 +36575,7 @@ var Application = class Application extends Object$1 {
36515
36575
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36516
36576
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36517
36577
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36518
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
36578
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
36519
36579
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
36520
36580
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
36521
36581
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -36849,7 +36909,7 @@ var Application = class Application extends Object$1 {
36849
36909
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36850
36910
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
36851
36911
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
36852
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
36912
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
36853
36913
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
36854
36914
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
36855
36915
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -37097,7 +37157,7 @@ var Application = class Application extends Object$1 {
37097
37157
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37098
37158
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37099
37159
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37100
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
37160
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
37101
37161
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
37102
37162
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
37103
37163
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -37342,7 +37402,7 @@ var Application = class Application extends Object$1 {
37342
37402
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37343
37403
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37344
37404
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37345
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
37405
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
37346
37406
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
37347
37407
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
37348
37408
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -37571,7 +37631,7 @@ var Application = class Application extends Object$1 {
37571
37631
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37572
37632
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37573
37633
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37574
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
37634
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
37575
37635
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
37576
37636
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
37577
37637
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -37803,7 +37863,7 @@ var Application = class Application extends Object$1 {
37803
37863
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37804
37864
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
37805
37865
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
37806
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
37866
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
37807
37867
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
37808
37868
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
37809
37869
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38033,7 +38093,7 @@ var Application = class Application extends Object$1 {
38033
38093
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38034
38094
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38035
38095
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38036
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
38096
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
38037
38097
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
38038
38098
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
38039
38099
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38261,7 +38321,7 @@ var Application = class Application extends Object$1 {
38261
38321
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38262
38322
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38263
38323
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38264
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
38324
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
38265
38325
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
38266
38326
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
38267
38327
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38489,7 +38549,7 @@ var Application = class Application extends Object$1 {
38489
38549
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38490
38550
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38491
38551
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38492
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
38552
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
38493
38553
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
38494
38554
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
38495
38555
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38714,7 +38774,7 @@ var Application = class Application extends Object$1 {
38714
38774
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38715
38775
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38716
38776
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38717
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
38777
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
38718
38778
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
38719
38779
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
38720
38780
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -38985,7 +39045,7 @@ var Application = class Application extends Object$1 {
38985
39045
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38986
39046
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
38987
39047
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
38988
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
39048
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
38989
39049
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
38990
39050
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
38991
39051
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -39260,7 +39320,7 @@ var Application = class Application extends Object$1 {
39260
39320
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39261
39321
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39262
39322
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39263
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
39323
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
39264
39324
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
39265
39325
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
39266
39326
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -39614,7 +39674,7 @@ var Application = class Application extends Object$1 {
39614
39674
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39615
39675
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
39616
39676
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
39617
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
39677
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
39618
39678
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
39619
39679
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
39620
39680
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -40611,7 +40671,7 @@ var Application = class Application extends Object$1 {
40611
40671
  * @throws {TypeError} If the given `json` is invalid.
40612
40672
  */
40613
40673
  static async fromJsonLd(json, options = {}) {
40614
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
40674
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
40615
40675
  try {
40616
40676
  const object = await this.__fromJsonLd__Application__(json, span, options);
40617
40677
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41402,7 +41462,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
41402
41462
  * @throws {TypeError} If the given `json` is invalid.
41403
41463
  */
41404
41464
  static async fromJsonLd(json, options = {}) {
41405
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
41465
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
41406
41466
  try {
41407
41467
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
41408
41468
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41612,7 +41672,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
41612
41672
  * @throws {TypeError} If the given `json` is invalid.
41613
41673
  */
41614
41674
  static async fromJsonLd(json, options = {}) {
41615
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
41675
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
41616
41676
  try {
41617
41677
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
41618
41678
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41783,7 +41843,7 @@ var Article = class Article extends Object$1 {
41783
41843
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41784
41844
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
41785
41845
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
41786
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
41846
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
41787
41847
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
41788
41848
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
41789
41849
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -42026,7 +42086,7 @@ var Article = class Article extends Object$1 {
42026
42086
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42027
42087
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
42028
42088
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
42029
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
42089
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
42030
42090
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
42031
42091
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
42032
42092
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -42448,7 +42508,7 @@ var Article = class Article extends Object$1 {
42448
42508
  * @throws {TypeError} If the given `json` is invalid.
42449
42509
  */
42450
42510
  static async fromJsonLd(json, options = {}) {
42451
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
42511
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
42452
42512
  try {
42453
42513
  const object = await this.__fromJsonLd__Article__(json, span, options);
42454
42514
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42845,7 +42905,7 @@ var Document = class Document extends Object$1 {
42845
42905
  * @throws {TypeError} If the given `json` is invalid.
42846
42906
  */
42847
42907
  static async fromJsonLd(json, options = {}) {
42848
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
42908
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
42849
42909
  try {
42850
42910
  const object = await this.__fromJsonLd__Document__(json, span, options);
42851
42911
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43125,7 +43185,7 @@ var Audio = class Audio extends Document {
43125
43185
  * @throws {TypeError} If the given `json` is invalid.
43126
43186
  */
43127
43187
  static async fromJsonLd(json, options = {}) {
43128
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
43188
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
43129
43189
  try {
43130
43190
  const object = await this.__fromJsonLd__Audio__(json, span, options);
43131
43191
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43331,7 +43391,7 @@ var Ignore = class Ignore extends Activity {
43331
43391
  * @throws {TypeError} If the given `json` is invalid.
43332
43392
  */
43333
43393
  static async fromJsonLd(json, options = {}) {
43334
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
43394
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
43335
43395
  try {
43336
43396
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
43337
43397
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43540,7 +43600,7 @@ var Block = class Block extends Ignore {
43540
43600
  * @throws {TypeError} If the given `json` is invalid.
43541
43601
  */
43542
43602
  static async fromJsonLd(json, options = {}) {
43543
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
43603
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
43544
43604
  try {
43545
43605
  const object = await this.__fromJsonLd__Block__(json, span, options);
43546
43606
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43719,7 +43779,7 @@ var CollectionPage = class CollectionPage extends Collection {
43719
43779
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43720
43780
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43721
43781
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43722
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
43782
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
43723
43783
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43724
43784
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43725
43785
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -43945,7 +44005,7 @@ var CollectionPage = class CollectionPage extends Collection {
43945
44005
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43946
44006
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
43947
44007
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
43948
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
44008
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
43949
44009
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
43950
44010
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
43951
44011
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44170,7 +44230,7 @@ var CollectionPage = class CollectionPage extends Collection {
44170
44230
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44171
44231
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
44172
44232
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
44173
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
44233
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
44174
44234
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
44175
44235
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
44176
44236
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -44592,7 +44652,7 @@ var CollectionPage = class CollectionPage extends Collection {
44592
44652
  * @throws {TypeError} If the given `json` is invalid.
44593
44653
  */
44594
44654
  static async fromJsonLd(json, options = {}) {
44595
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
44655
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
44596
44656
  try {
44597
44657
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
44598
44658
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44907,7 +44967,7 @@ var Create = class Create extends Activity {
44907
44967
  * @throws {TypeError} If the given `json` is invalid.
44908
44968
  */
44909
44969
  static async fromJsonLd(json, options = {}) {
44910
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
44970
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
44911
44971
  try {
44912
44972
  const object = await this.__fromJsonLd__Create__(json, span, options);
44913
44973
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45139,7 +45199,7 @@ var Delete = class Delete extends Activity {
45139
45199
  * @throws {TypeError} If the given `json` is invalid.
45140
45200
  */
45141
45201
  static async fromJsonLd(json, options = {}) {
45142
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
45202
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
45143
45203
  try {
45144
45204
  const object = await this.__fromJsonLd__Delete__(json, span, options);
45145
45205
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45348,7 +45408,7 @@ var Dislike = class Dislike extends Activity {
45348
45408
  * @throws {TypeError} If the given `json` is invalid.
45349
45409
  */
45350
45410
  static async fromJsonLd(json, options = {}) {
45351
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
45411
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
45352
45412
  try {
45353
45413
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
45354
45414
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -45457,6 +45517,11 @@ var Endpoints = class {
45457
45517
  get _warning() {
45458
45518
  return this.#warning;
45459
45519
  }
45520
+ /**
45521
+ * Internal cross-package contract with @fedify/testing, which copies this
45522
+ * cache when attaching document loaders to an activity clone. Keep this
45523
+ * accessor name and its getter/setter semantics stable.
45524
+ */
45460
45525
  get _cachedJsonLd() {
45461
45526
  return this.#cachedJsonLd;
45462
45527
  }
@@ -45839,7 +45904,7 @@ var Endpoints = class {
45839
45904
  * @throws {TypeError} If the given `json` is invalid.
45840
45905
  */
45841
45906
  static async fromJsonLd(json, options = {}) {
45842
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
45907
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
45843
45908
  try {
45844
45909
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
45845
45910
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46183,7 +46248,7 @@ var Event = class Event extends Object$1 {
46183
46248
  * @throws {TypeError} If the given `json` is invalid.
46184
46249
  */
46185
46250
  static async fromJsonLd(json, options = {}) {
46186
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
46251
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
46187
46252
  try {
46188
46253
  const object = await this.__fromJsonLd__Event__(json, span, options);
46189
46254
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46390,7 +46455,7 @@ var Flag = class Flag extends Activity {
46390
46455
  * @throws {TypeError} If the given `json` is invalid.
46391
46456
  */
46392
46457
  static async fromJsonLd(json, options = {}) {
46393
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
46458
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
46394
46459
  try {
46395
46460
  const object = await this.__fromJsonLd__Flag__(json, span, options);
46396
46461
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -46601,7 +46666,7 @@ var Follow = class Follow extends Activity {
46601
46666
  * @throws {TypeError} If the given `json` is invalid.
46602
46667
  */
46603
46668
  static async fromJsonLd(json, options = {}) {
46604
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
46669
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
46605
46670
  try {
46606
46671
  const object = await this.__fromJsonLd__Follow__(json, span, options);
46607
46672
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -47065,7 +47130,7 @@ var Group = class Group extends Object$1 {
47065
47130
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47066
47131
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47067
47132
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47068
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
47133
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
47069
47134
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
47070
47135
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
47071
47136
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -47363,7 +47428,7 @@ var Group = class Group extends Object$1 {
47363
47428
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47364
47429
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47365
47430
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47366
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
47431
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
47367
47432
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
47368
47433
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
47369
47434
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -47697,7 +47762,7 @@ var Group = class Group extends Object$1 {
47697
47762
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47698
47763
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47699
47764
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47700
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
47765
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
47701
47766
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
47702
47767
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
47703
47768
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -47945,7 +48010,7 @@ var Group = class Group extends Object$1 {
47945
48010
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47946
48011
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
47947
48012
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
47948
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
48013
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
47949
48014
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
47950
48015
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
47951
48016
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -48190,7 +48255,7 @@ var Group = class Group extends Object$1 {
48190
48255
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48191
48256
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48192
48257
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
48193
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
48258
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
48194
48259
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
48195
48260
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
48196
48261
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -48419,7 +48484,7 @@ var Group = class Group extends Object$1 {
48419
48484
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48420
48485
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48421
48486
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
48422
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
48487
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
48423
48488
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
48424
48489
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
48425
48490
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -48651,7 +48716,7 @@ var Group = class Group extends Object$1 {
48651
48716
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48652
48717
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48653
48718
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
48654
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
48719
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
48655
48720
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
48656
48721
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
48657
48722
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -48881,7 +48946,7 @@ var Group = class Group extends Object$1 {
48881
48946
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48882
48947
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
48883
48948
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
48884
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
48949
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
48885
48950
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
48886
48951
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
48887
48952
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -49109,7 +49174,7 @@ var Group = class Group extends Object$1 {
49109
49174
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
49110
49175
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
49111
49176
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
49112
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
49177
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
49113
49178
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
49114
49179
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
49115
49180
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -49337,7 +49402,7 @@ var Group = class Group extends Object$1 {
49337
49402
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
49338
49403
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
49339
49404
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
49340
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
49405
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
49341
49406
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
49342
49407
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
49343
49408
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -49562,7 +49627,7 @@ var Group = class Group extends Object$1 {
49562
49627
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
49563
49628
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
49564
49629
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
49565
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
49630
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
49566
49631
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
49567
49632
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
49568
49633
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -49833,7 +49898,7 @@ var Group = class Group extends Object$1 {
49833
49898
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
49834
49899
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
49835
49900
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
49836
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
49901
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
49837
49902
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
49838
49903
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
49839
49904
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -50108,7 +50173,7 @@ var Group = class Group extends Object$1 {
50108
50173
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
50109
50174
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
50110
50175
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
50111
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
50176
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
50112
50177
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
50113
50178
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
50114
50179
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -50462,7 +50527,7 @@ var Group = class Group extends Object$1 {
50462
50527
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
50463
50528
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
50464
50529
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
50465
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
50530
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
50466
50531
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
50467
50532
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
50468
50533
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -51459,7 +51524,7 @@ var Group = class Group extends Object$1 {
51459
51524
  * @throws {TypeError} If the given `json` is invalid.
51460
51525
  */
51461
51526
  static async fromJsonLd(json, options = {}) {
51462
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
51527
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
51463
51528
  try {
51464
51529
  const object = await this.__fromJsonLd__Group__(json, span, options);
51465
51530
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -52159,6 +52224,11 @@ var Link = class Link {
52159
52224
  get _warning() {
52160
52225
  return this.#warning;
52161
52226
  }
52227
+ /**
52228
+ * Internal cross-package contract with @fedify/testing, which copies this
52229
+ * cache when attaching document loaders to an activity clone. Keep this
52230
+ * accessor name and its getter/setter semantics stable.
52231
+ */
52162
52232
  get _cachedJsonLd() {
52163
52233
  return this.#cachedJsonLd;
52164
52234
  }
@@ -52411,7 +52481,7 @@ var Link = class Link {
52411
52481
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
52412
52482
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
52413
52483
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
52414
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
52484
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
52415
52485
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
52416
52486
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
52417
52487
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -52886,7 +52956,7 @@ var Link = class Link {
52886
52956
  * @throws {TypeError} If the given `json` is invalid.
52887
52957
  */
52888
52958
  static async fromJsonLd(json, options = {}) {
52889
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
52959
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
52890
52960
  try {
52891
52961
  const object = await this.__fromJsonLd__Link__(json, span, options);
52892
52962
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -53346,7 +53416,7 @@ var Hashtag = class Hashtag extends Link {
53346
53416
  * @throws {TypeError} If the given `json` is invalid.
53347
53417
  */
53348
53418
  static async fromJsonLd(json, options = {}) {
53349
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
53419
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
53350
53420
  try {
53351
53421
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
53352
53422
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -53567,7 +53637,7 @@ var Image = class Image extends Document {
53567
53637
  * @throws {TypeError} If the given `json` is invalid.
53568
53638
  */
53569
53639
  static async fromJsonLd(json, options = {}) {
53570
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
53640
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
53571
53641
  try {
53572
53642
  const object = await this.__fromJsonLd__Image__(json, span, options);
53573
53643
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -53774,7 +53844,7 @@ var Offer = class Offer extends Activity {
53774
53844
  * @throws {TypeError} If the given `json` is invalid.
53775
53845
  */
53776
53846
  static async fromJsonLd(json, options = {}) {
53777
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
53847
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
53778
53848
  try {
53779
53849
  const object = await this.__fromJsonLd__Offer__(json, span, options);
53780
53850
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -53981,7 +54051,7 @@ var Invite = class Invite extends Offer {
53981
54051
  * @throws {TypeError} If the given `json` is invalid.
53982
54052
  */
53983
54053
  static async fromJsonLd(json, options = {}) {
53984
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
54054
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
53985
54055
  try {
53986
54056
  const object = await this.__fromJsonLd__Invite__(json, span, options);
53987
54057
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -54187,7 +54257,7 @@ var Join = class Join extends Activity {
54187
54257
  * @throws {TypeError} If the given `json` is invalid.
54188
54258
  */
54189
54259
  static async fromJsonLd(json, options = {}) {
54190
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
54260
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
54191
54261
  try {
54192
54262
  const object = await this.__fromJsonLd__Join__(json, span, options);
54193
54263
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -54393,7 +54463,7 @@ var Leave = class Leave extends Activity {
54393
54463
  * @throws {TypeError} If the given `json` is invalid.
54394
54464
  */
54395
54465
  static async fromJsonLd(json, options = {}) {
54396
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
54466
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
54397
54467
  try {
54398
54468
  const object = await this.__fromJsonLd__Leave__(json, span, options);
54399
54469
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -54603,7 +54673,7 @@ var Like = class Like extends Activity {
54603
54673
  * @throws {TypeError} If the given `json` is invalid.
54604
54674
  */
54605
54675
  static async fromJsonLd(json, options = {}) {
54606
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
54676
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
54607
54677
  try {
54608
54678
  const object = await this.__fromJsonLd__Like__(json, span, options);
54609
54679
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -54808,7 +54878,7 @@ var Listen = class Listen extends Activity {
54808
54878
  * @throws {TypeError} If the given `json` is invalid.
54809
54879
  */
54810
54880
  static async fromJsonLd(json, options = {}) {
54811
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
54881
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
54812
54882
  try {
54813
54883
  const object = await this.__fromJsonLd__Listen__(json, span, options);
54814
54884
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -55016,7 +55086,7 @@ var Mention = class Mention extends Link {
55016
55086
  * @throws {TypeError} If the given `json` is invalid.
55017
55087
  */
55018
55088
  static async fromJsonLd(json, options = {}) {
55019
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
55089
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
55020
55090
  try {
55021
55091
  const object = await this.__fromJsonLd__Mention__(json, span, options);
55022
55092
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -55223,7 +55293,7 @@ var Move = class Move extends Activity {
55223
55293
  * @throws {TypeError} If the given `json` is invalid.
55224
55294
  */
55225
55295
  static async fromJsonLd(json, options = {}) {
55226
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
55296
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
55227
55297
  try {
55228
55298
  const object = await this.__fromJsonLd__Move__(json, span, options);
55229
55299
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -55395,7 +55465,7 @@ var Note = class Note extends Object$1 {
55395
55465
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
55396
55466
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
55397
55467
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
55398
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
55468
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
55399
55469
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55400
55470
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55401
55471
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -55638,7 +55708,7 @@ var Note = class Note extends Object$1 {
55638
55708
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
55639
55709
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
55640
55710
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
55641
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
55711
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
55642
55712
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
55643
55713
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
55644
55714
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -56060,7 +56130,7 @@ var Note = class Note extends Object$1 {
56060
56130
  * @throws {TypeError} If the given `json` is invalid.
56061
56131
  */
56062
56132
  static async fromJsonLd(json, options = {}) {
56063
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
56133
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
56064
56134
  try {
56065
56135
  const object = await this.__fromJsonLd__Note__(json, span, options);
56066
56136
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -56295,7 +56365,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
56295
56365
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
56296
56366
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
56297
56367
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
56298
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
56368
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
56299
56369
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
56300
56370
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
56301
56371
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -56724,7 +56794,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
56724
56794
  * @throws {TypeError} If the given `json` is invalid.
56725
56795
  */
56726
56796
  static async fromJsonLd(json, options = {}) {
56727
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
56797
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
56728
56798
  try {
56729
56799
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
56730
56800
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -57310,7 +57380,7 @@ var Organization = class Organization extends Object$1 {
57310
57380
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
57311
57381
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
57312
57382
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
57313
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
57383
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
57314
57384
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
57315
57385
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
57316
57386
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -57608,7 +57678,7 @@ var Organization = class Organization extends Object$1 {
57608
57678
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
57609
57679
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
57610
57680
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
57611
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
57681
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
57612
57682
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
57613
57683
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
57614
57684
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -57942,7 +58012,7 @@ var Organization = class Organization extends Object$1 {
57942
58012
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
57943
58013
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
57944
58014
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
57945
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
58015
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
57946
58016
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
57947
58017
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
57948
58018
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -58190,7 +58260,7 @@ var Organization = class Organization extends Object$1 {
58190
58260
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
58191
58261
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
58192
58262
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
58193
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
58263
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
58194
58264
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
58195
58265
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
58196
58266
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -58435,7 +58505,7 @@ var Organization = class Organization extends Object$1 {
58435
58505
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
58436
58506
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
58437
58507
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
58438
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
58508
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
58439
58509
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
58440
58510
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
58441
58511
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -58664,7 +58734,7 @@ var Organization = class Organization extends Object$1 {
58664
58734
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
58665
58735
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
58666
58736
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
58667
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
58737
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
58668
58738
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
58669
58739
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
58670
58740
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -58896,7 +58966,7 @@ var Organization = class Organization extends Object$1 {
58896
58966
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
58897
58967
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
58898
58968
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
58899
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
58969
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
58900
58970
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
58901
58971
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
58902
58972
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59126,7 +59196,7 @@ var Organization = class Organization extends Object$1 {
59126
59196
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
59127
59197
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
59128
59198
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
59129
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
59199
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
59130
59200
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59131
59201
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59132
59202
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59354,7 +59424,7 @@ var Organization = class Organization extends Object$1 {
59354
59424
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
59355
59425
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
59356
59426
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
59357
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
59427
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
59358
59428
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59359
59429
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59360
59430
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59582,7 +59652,7 @@ var Organization = class Organization extends Object$1 {
59582
59652
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
59583
59653
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
59584
59654
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
59585
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
59655
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
59586
59656
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59587
59657
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59588
59658
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -59807,7 +59877,7 @@ var Organization = class Organization extends Object$1 {
59807
59877
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
59808
59878
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
59809
59879
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
59810
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
59880
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
59811
59881
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
59812
59882
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
59813
59883
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60078,7 +60148,7 @@ var Organization = class Organization extends Object$1 {
60078
60148
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
60079
60149
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
60080
60150
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
60081
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
60151
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
60082
60152
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60083
60153
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60084
60154
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60353,7 +60423,7 @@ var Organization = class Organization extends Object$1 {
60353
60423
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
60354
60424
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
60355
60425
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
60356
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
60426
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
60357
60427
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60358
60428
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60359
60429
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -60707,7 +60777,7 @@ var Organization = class Organization extends Object$1 {
60707
60777
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
60708
60778
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
60709
60779
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
60710
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
60780
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
60711
60781
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
60712
60782
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
60713
60783
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -61704,7 +61774,7 @@ var Organization = class Organization extends Object$1 {
61704
61774
  * @throws {TypeError} If the given `json` is invalid.
61705
61775
  */
61706
61776
  static async fromJsonLd(json, options = {}) {
61707
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
61777
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
61708
61778
  try {
61709
61779
  const object = await this.__fromJsonLd__Organization__(json, span, options);
61710
61780
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -62509,7 +62579,7 @@ var Page = class Page extends Document {
62509
62579
  * @throws {TypeError} If the given `json` is invalid.
62510
62580
  */
62511
62581
  static async fromJsonLd(json, options = {}) {
62512
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
62582
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
62513
62583
  try {
62514
62584
  const object = await this.__fromJsonLd__Page__(json, span, options);
62515
62585
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -62973,7 +63043,7 @@ var Person = class Person extends Object$1 {
62973
63043
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
62974
63044
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
62975
63045
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
62976
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
63046
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
62977
63047
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
62978
63048
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
62979
63049
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -63271,7 +63341,7 @@ var Person = class Person extends Object$1 {
63271
63341
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
63272
63342
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
63273
63343
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
63274
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
63344
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
63275
63345
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
63276
63346
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
63277
63347
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -63605,7 +63675,7 @@ var Person = class Person extends Object$1 {
63605
63675
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
63606
63676
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
63607
63677
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
63608
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
63678
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
63609
63679
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
63610
63680
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
63611
63681
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -63853,7 +63923,7 @@ var Person = class Person extends Object$1 {
63853
63923
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
63854
63924
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
63855
63925
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
63856
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
63926
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
63857
63927
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
63858
63928
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
63859
63929
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -64098,7 +64168,7 @@ var Person = class Person extends Object$1 {
64098
64168
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
64099
64169
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
64100
64170
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
64101
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
64171
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
64102
64172
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
64103
64173
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
64104
64174
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -64327,7 +64397,7 @@ var Person = class Person extends Object$1 {
64327
64397
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
64328
64398
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
64329
64399
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
64330
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
64400
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
64331
64401
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
64332
64402
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
64333
64403
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -64559,7 +64629,7 @@ var Person = class Person extends Object$1 {
64559
64629
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
64560
64630
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
64561
64631
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
64562
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
64632
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
64563
64633
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
64564
64634
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
64565
64635
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -64789,7 +64859,7 @@ var Person = class Person extends Object$1 {
64789
64859
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
64790
64860
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
64791
64861
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
64792
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
64862
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
64793
64863
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
64794
64864
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
64795
64865
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65017,7 +65087,7 @@ var Person = class Person extends Object$1 {
65017
65087
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
65018
65088
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
65019
65089
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
65020
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
65090
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
65021
65091
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65022
65092
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65023
65093
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65245,7 +65315,7 @@ var Person = class Person extends Object$1 {
65245
65315
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
65246
65316
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
65247
65317
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
65248
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
65318
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
65249
65319
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65250
65320
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65251
65321
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65470,7 +65540,7 @@ var Person = class Person extends Object$1 {
65470
65540
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
65471
65541
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
65472
65542
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
65473
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
65543
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
65474
65544
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65475
65545
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65476
65546
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -65741,7 +65811,7 @@ var Person = class Person extends Object$1 {
65741
65811
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
65742
65812
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
65743
65813
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
65744
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
65814
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
65745
65815
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
65746
65816
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
65747
65817
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -66016,7 +66086,7 @@ var Person = class Person extends Object$1 {
66016
66086
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
66017
66087
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
66018
66088
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
66019
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
66089
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
66020
66090
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
66021
66091
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
66022
66092
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -66370,7 +66440,7 @@ var Person = class Person extends Object$1 {
66370
66440
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
66371
66441
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
66372
66442
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
66373
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
66443
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
66374
66444
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
66375
66445
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
66376
66446
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -67367,7 +67437,7 @@ var Person = class Person extends Object$1 {
67367
67437
  * @throws {TypeError} If the given `json` is invalid.
67368
67438
  */
67369
67439
  static async fromJsonLd(json, options = {}) {
67370
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
67440
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
67371
67441
  try {
67372
67442
  const object = await this.__fromJsonLd__Person__(json, span, options);
67373
67443
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -68377,7 +68447,7 @@ var Place = class Place extends Object$1 {
68377
68447
  * @throws {TypeError} If the given `json` is invalid.
68378
68448
  */
68379
68449
  static async fromJsonLd(json, options = {}) {
68380
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
68450
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
68381
68451
  try {
68382
68452
  const object = await this.__fromJsonLd__Place__(json, span, options);
68383
68453
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -68643,7 +68713,7 @@ var Profile = class Profile extends Object$1 {
68643
68713
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
68644
68714
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
68645
68715
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
68646
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
68716
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
68647
68717
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
68648
68718
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
68649
68719
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -68970,7 +69040,7 @@ var Profile = class Profile extends Object$1 {
68970
69040
  * @throws {TypeError} If the given `json` is invalid.
68971
69041
  */
68972
69042
  static async fromJsonLd(json, options = {}) {
68973
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
69043
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
68974
69044
  try {
68975
69045
  const object = await this.__fromJsonLd__Profile__(json, span, options);
68976
69046
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -69213,7 +69283,7 @@ var Question = class Question extends IntransitiveActivity {
69213
69283
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
69214
69284
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
69215
69285
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
69216
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
69286
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
69217
69287
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69218
69288
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69219
69289
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69444,7 +69514,7 @@ var Question = class Question extends IntransitiveActivity {
69444
69514
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
69445
69515
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
69446
69516
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
69447
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
69517
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
69448
69518
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69449
69519
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69450
69520
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69691,7 +69761,7 @@ var Question = class Question extends IntransitiveActivity {
69691
69761
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
69692
69762
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
69693
69763
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
69694
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
69764
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
69695
69765
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69696
69766
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69697
69767
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -69934,7 +70004,7 @@ var Question = class Question extends IntransitiveActivity {
69934
70004
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
69935
70005
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
69936
70006
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
69937
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
70007
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
69938
70008
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
69939
70009
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
69940
70010
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -70342,7 +70412,7 @@ var Question = class Question extends IntransitiveActivity {
70342
70412
  * @throws {TypeError} If the given `json` is invalid.
70343
70413
  */
70344
70414
  static async fromJsonLd(json, options = {}) {
70345
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
70415
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
70346
70416
  try {
70347
70417
  const object = await this.__fromJsonLd__Question__(json, span, options);
70348
70418
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -70708,7 +70778,7 @@ var Read = class Read extends Activity {
70708
70778
  * @throws {TypeError} If the given `json` is invalid.
70709
70779
  */
70710
70780
  static async fromJsonLd(json, options = {}) {
70711
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
70781
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
70712
70782
  try {
70713
70783
  const object = await this.__fromJsonLd__Read__(json, span, options);
70714
70784
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -70914,7 +70984,7 @@ var Reject = class Reject extends Activity {
70914
70984
  * @throws {TypeError} If the given `json` is invalid.
70915
70985
  */
70916
70986
  static async fromJsonLd(json, options = {}) {
70917
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
70987
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
70918
70988
  try {
70919
70989
  const object = await this.__fromJsonLd__Reject__(json, span, options);
70920
70990
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -71128,7 +71198,7 @@ var Relationship = class Relationship extends Object$1 {
71128
71198
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
71129
71199
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
71130
71200
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
71131
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
71201
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
71132
71202
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71133
71203
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71134
71204
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71356,7 +71426,7 @@ var Relationship = class Relationship extends Object$1 {
71356
71426
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
71357
71427
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
71358
71428
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
71359
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
71429
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
71360
71430
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71361
71431
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71362
71432
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -71654,7 +71724,7 @@ var Relationship = class Relationship extends Object$1 {
71654
71724
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
71655
71725
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
71656
71726
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
71657
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
71727
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
71658
71728
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
71659
71729
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
71660
71730
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -72099,7 +72169,7 @@ var Relationship = class Relationship extends Object$1 {
72099
72169
  * @throws {TypeError} If the given `json` is invalid.
72100
72170
  */
72101
72171
  static async fromJsonLd(json, options = {}) {
72102
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
72172
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
72103
72173
  try {
72104
72174
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
72105
72175
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -72386,7 +72456,7 @@ var Remove = class Remove extends Activity {
72386
72456
  * @throws {TypeError} If the given `json` is invalid.
72387
72457
  */
72388
72458
  static async fromJsonLd(json, options = {}) {
72389
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
72459
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
72390
72460
  try {
72391
72461
  const object = await this.__fromJsonLd__Remove__(json, span, options);
72392
72462
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -72850,7 +72920,7 @@ var Service = class Service extends Object$1 {
72850
72920
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
72851
72921
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
72852
72922
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
72853
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
72923
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
72854
72924
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
72855
72925
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
72856
72926
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -73148,7 +73218,7 @@ var Service = class Service extends Object$1 {
73148
73218
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
73149
73219
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
73150
73220
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
73151
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
73221
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
73152
73222
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
73153
73223
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
73154
73224
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -73482,7 +73552,7 @@ var Service = class Service extends Object$1 {
73482
73552
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
73483
73553
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
73484
73554
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
73485
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
73555
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
73486
73556
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
73487
73557
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
73488
73558
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -73730,7 +73800,7 @@ var Service = class Service extends Object$1 {
73730
73800
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
73731
73801
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
73732
73802
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
73733
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
73803
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
73734
73804
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
73735
73805
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
73736
73806
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -73975,7 +74045,7 @@ var Service = class Service extends Object$1 {
73975
74045
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
73976
74046
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
73977
74047
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
73978
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
74048
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
73979
74049
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
73980
74050
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
73981
74051
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -74204,7 +74274,7 @@ var Service = class Service extends Object$1 {
74204
74274
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
74205
74275
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
74206
74276
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
74207
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
74277
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
74208
74278
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
74209
74279
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
74210
74280
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -74436,7 +74506,7 @@ var Service = class Service extends Object$1 {
74436
74506
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
74437
74507
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
74438
74508
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
74439
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
74509
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
74440
74510
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
74441
74511
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
74442
74512
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -74666,7 +74736,7 @@ var Service = class Service extends Object$1 {
74666
74736
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
74667
74737
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
74668
74738
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
74669
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
74739
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
74670
74740
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
74671
74741
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
74672
74742
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -74894,7 +74964,7 @@ var Service = class Service extends Object$1 {
74894
74964
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
74895
74965
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
74896
74966
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
74897
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
74967
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
74898
74968
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
74899
74969
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
74900
74970
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -75122,7 +75192,7 @@ var Service = class Service extends Object$1 {
75122
75192
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
75123
75193
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
75124
75194
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
75125
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
75195
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
75126
75196
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
75127
75197
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
75128
75198
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -75347,7 +75417,7 @@ var Service = class Service extends Object$1 {
75347
75417
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
75348
75418
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
75349
75419
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
75350
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
75420
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
75351
75421
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
75352
75422
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
75353
75423
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -75618,7 +75688,7 @@ var Service = class Service extends Object$1 {
75618
75688
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
75619
75689
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
75620
75690
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
75621
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
75691
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
75622
75692
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
75623
75693
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
75624
75694
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -75893,7 +75963,7 @@ var Service = class Service extends Object$1 {
75893
75963
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
75894
75964
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
75895
75965
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
75896
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
75966
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
75897
75967
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
75898
75968
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
75899
75969
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -76247,7 +76317,7 @@ var Service = class Service extends Object$1 {
76247
76317
  const documentLoader = options.documentLoader ?? this._documentLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
76248
76318
  const contextLoader = options.contextLoader ?? this._contextLoader ?? (0, _fedify_vocab_runtime.getDocumentLoader)();
76249
76319
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? _opentelemetry_api.trace.getTracerProvider();
76250
- const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.5");
76320
+ const tracer = tracerProvider.getTracer("@fedify/vocab-tools", "2.4.6");
76251
76321
  const childVerifier = options.inheritPortableObjectVerifier === false ? this._verifyPortableObject : options.verifyPortableObject;
76252
76322
  return await tracer.startActiveSpan("activitypub.lookup_object", async (span) => {
76253
76323
  const dereferencePortable = async (portableUrl, extra = {}) => {
@@ -77244,7 +77314,7 @@ var Service = class Service extends Object$1 {
77244
77314
  * @throws {TypeError} If the given `json` is invalid.
77245
77315
  */
77246
77316
  static async fromJsonLd(json, options = {}) {
77247
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
77317
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
77248
77318
  try {
77249
77319
  const object = await this.__fromJsonLd__Service__(json, span, options);
77250
77320
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -77937,6 +78007,11 @@ var Source = class {
77937
78007
  get _warning() {
77938
78008
  return this.#warning;
77939
78009
  }
78010
+ /**
78011
+ * Internal cross-package contract with @fedify/testing, which copies this
78012
+ * cache when attaching document loaders to an activity clone. Keep this
78013
+ * accessor name and its getter/setter semantics stable.
78014
+ */
77940
78015
  get _cachedJsonLd() {
77941
78016
  return this.#cachedJsonLd;
77942
78017
  }
@@ -78163,7 +78238,7 @@ var Source = class {
78163
78238
  * @throws {TypeError} If the given `json` is invalid.
78164
78239
  */
78165
78240
  static async fromJsonLd(json, options = {}) {
78166
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
78241
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
78167
78242
  try {
78168
78243
  const object = await this.__fromJsonLd__Source__(json, span, options);
78169
78244
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -78405,7 +78480,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
78405
78480
  * @throws {TypeError} If the given `json` is invalid.
78406
78481
  */
78407
78482
  static async fromJsonLd(json, options = {}) {
78408
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
78483
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
78409
78484
  try {
78410
78485
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
78411
78486
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -78611,7 +78686,7 @@ var TentativeReject = class TentativeReject extends Reject {
78611
78686
  * @throws {TypeError} If the given `json` is invalid.
78612
78687
  */
78613
78688
  static async fromJsonLd(json, options = {}) {
78614
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
78689
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
78615
78690
  try {
78616
78691
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
78617
78692
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -78916,7 +78991,7 @@ var Tombstone = class Tombstone extends Object$1 {
78916
78991
  * @throws {TypeError} If the given `json` is invalid.
78917
78992
  */
78918
78993
  static async fromJsonLd(json, options = {}) {
78919
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
78994
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
78920
78995
  try {
78921
78996
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
78922
78997
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -79167,7 +79242,7 @@ var Travel = class Travel extends IntransitiveActivity {
79167
79242
  * @throws {TypeError} If the given `json` is invalid.
79168
79243
  */
79169
79244
  static async fromJsonLd(json, options = {}) {
79170
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
79245
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
79171
79246
  try {
79172
79247
  const object = await this.__fromJsonLd__Travel__(json, span, options);
79173
79248
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -79387,7 +79462,7 @@ var Undo = class Undo extends Activity {
79387
79462
  * @throws {TypeError} If the given `json` is invalid.
79388
79463
  */
79389
79464
  static async fromJsonLd(json, options = {}) {
79390
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
79465
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
79391
79466
  try {
79392
79467
  const object = await this.__fromJsonLd__Undo__(json, span, options);
79393
79468
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -79655,7 +79730,7 @@ var Update = class Update extends Activity {
79655
79730
  * @throws {TypeError} If the given `json` is invalid.
79656
79731
  */
79657
79732
  static async fromJsonLd(json, options = {}) {
79658
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
79733
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
79659
79734
  try {
79660
79735
  const object = await this.__fromJsonLd__Update__(json, span, options);
79661
79736
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -79876,7 +79951,7 @@ var Video = class Video extends Document {
79876
79951
  * @throws {TypeError} If the given `json` is invalid.
79877
79952
  */
79878
79953
  static async fromJsonLd(json, options = {}) {
79879
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
79954
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
79880
79955
  try {
79881
79956
  const object = await this.__fromJsonLd__Video__(json, span, options);
79882
79957
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -80081,7 +80156,7 @@ var View = class View extends Activity {
80081
80156
  * @throws {TypeError} If the given `json` is invalid.
80082
80157
  */
80083
80158
  static async fromJsonLd(json, options = {}) {
80084
- return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.5").startActiveSpan("activitypub.parse_object", async (span) => {
80159
+ return await (options.tracerProvider ?? _opentelemetry_api.trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.6").startActiveSpan("activitypub.parse_object", async (span) => {
80085
80160
  try {
80086
80161
  const object = await this.__fromJsonLd__View__(json, span, options);
80087
80162
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -80524,7 +80599,8 @@ async function getPortableActorHandle(actor, actorId, options) {
80524
80599
  const result = await (0, _fedify_webfinger.lookupWebFinger)(handle, {
80525
80600
  userAgent: options.userAgent,
80526
80601
  tracerProvider: options.tracerProvider,
80527
- meterProvider: options.meterProvider
80602
+ meterProvider: options.meterProvider,
80603
+ allowPrivateAddress: "allowPrivateAddress" in options && options.allowPrivateAddress === true
80528
80604
  });
80529
80605
  if (result == null || !linksToPortableActor(result, canonicalId)) throw new ActorHandleNotFoundError();
80530
80606
  const subject = result.subject?.match(/^acct:([^@]+)@([^@]+)$/);
@@ -80532,7 +80608,8 @@ async function getPortableActorHandle(actor, actorId, options) {
80532
80608
  const subjectResult = await (0, _fedify_webfinger.lookupWebFinger)(result.subject, {
80533
80609
  userAgent: options.userAgent,
80534
80610
  tracerProvider: options.tracerProvider,
80535
- meterProvider: options.meterProvider
80611
+ meterProvider: options.meterProvider,
80612
+ allowPrivateAddress: "allowPrivateAddress" in options && options.allowPrivateAddress === true
80536
80613
  });
80537
80614
  if (subjectResult != null && linksToPortableActor(subjectResult, canonicalId)) return normalizeActorHandle(`@${subject[1]}@${subject[2]}`, options);
80538
80615
  }