@fedify/vocab 2.3.0 → 2.4.0-dev.1417

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.
@@ -816,7 +816,7 @@ var Object$1 = class Object$1 {
816
816
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
817
817
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
818
818
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
819
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
819
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
820
820
  let fetchResult;
821
821
  try {
822
822
  fetchResult = await documentLoader(url.href);
@@ -965,7 +965,7 @@ var Object$1 = class Object$1 {
965
965
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
966
966
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
967
967
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
968
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
968
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
969
969
  let fetchResult;
970
970
  try {
971
971
  fetchResult = await documentLoader(url.href);
@@ -1183,7 +1183,7 @@ var Object$1 = class Object$1 {
1183
1183
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1184
1184
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1185
1185
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1186
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1186
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1187
1187
  let fetchResult;
1188
1188
  try {
1189
1189
  fetchResult = await documentLoader(url.href);
@@ -1373,7 +1373,7 @@ var Object$1 = class Object$1 {
1373
1373
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1374
1374
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1375
1375
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1376
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1376
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1377
1377
  let fetchResult;
1378
1378
  try {
1379
1379
  fetchResult = await documentLoader(url.href);
@@ -1538,7 +1538,7 @@ var Object$1 = class Object$1 {
1538
1538
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1539
1539
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1540
1540
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1541
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1541
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1542
1542
  let fetchResult;
1543
1543
  try {
1544
1544
  fetchResult = await documentLoader(url.href);
@@ -1671,7 +1671,7 @@ var Object$1 = class Object$1 {
1671
1671
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1672
1672
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1673
1673
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1674
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1674
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1675
1675
  let fetchResult;
1676
1676
  try {
1677
1677
  fetchResult = await documentLoader(url.href);
@@ -1859,7 +1859,7 @@ var Object$1 = class Object$1 {
1859
1859
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
1860
1860
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
1861
1861
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
1862
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1862
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
1863
1863
  let fetchResult;
1864
1864
  try {
1865
1865
  fetchResult = await documentLoader(url.href);
@@ -2047,7 +2047,7 @@ var Object$1 = class Object$1 {
2047
2047
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2048
2048
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2049
2049
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2050
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2050
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2051
2051
  let fetchResult;
2052
2052
  try {
2053
2053
  fetchResult = await documentLoader(url.href);
@@ -2227,7 +2227,7 @@ var Object$1 = class Object$1 {
2227
2227
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2228
2228
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2229
2229
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2230
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2230
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2231
2231
  let fetchResult;
2232
2232
  try {
2233
2233
  fetchResult = await documentLoader(url.href);
@@ -2407,7 +2407,7 @@ var Object$1 = class Object$1 {
2407
2407
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2408
2408
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2409
2409
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2410
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2410
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2411
2411
  let fetchResult;
2412
2412
  try {
2413
2413
  fetchResult = await documentLoader(url.href);
@@ -2592,7 +2592,7 @@ var Object$1 = class Object$1 {
2592
2592
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2593
2593
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2594
2594
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2595
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2595
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2596
2596
  let fetchResult;
2597
2597
  try {
2598
2598
  fetchResult = await documentLoader(url.href);
@@ -2716,7 +2716,7 @@ var Object$1 = class Object$1 {
2716
2716
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2717
2717
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2718
2718
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2719
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2719
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2720
2720
  let fetchResult;
2721
2721
  try {
2722
2722
  fetchResult = await documentLoader(url.href);
@@ -2846,7 +2846,7 @@ var Object$1 = class Object$1 {
2846
2846
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2847
2847
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2848
2848
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2849
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2849
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2850
2850
  let fetchResult;
2851
2851
  try {
2852
2852
  fetchResult = await documentLoader(url.href);
@@ -2976,7 +2976,7 @@ var Object$1 = class Object$1 {
2976
2976
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
2977
2977
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
2978
2978
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
2979
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2979
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
2980
2980
  let fetchResult;
2981
2981
  try {
2982
2982
  fetchResult = await documentLoader(url.href);
@@ -3124,7 +3124,7 @@ var Object$1 = class Object$1 {
3124
3124
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3125
3125
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3126
3126
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3127
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3127
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3128
3128
  let fetchResult;
3129
3129
  try {
3130
3130
  fetchResult = await documentLoader(url.href);
@@ -3279,7 +3279,7 @@ var Object$1 = class Object$1 {
3279
3279
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3280
3280
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3281
3281
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3282
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3282
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3283
3283
  let fetchResult;
3284
3284
  try {
3285
3285
  fetchResult = await documentLoader(url.href);
@@ -3449,7 +3449,7 @@ var Object$1 = class Object$1 {
3449
3449
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3450
3450
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3451
3451
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3452
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3452
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3453
3453
  let fetchResult;
3454
3454
  try {
3455
3455
  fetchResult = await documentLoader(url.href);
@@ -3619,7 +3619,7 @@ var Object$1 = class Object$1 {
3619
3619
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3620
3620
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3621
3621
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3622
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3622
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3623
3623
  let fetchResult;
3624
3624
  try {
3625
3625
  fetchResult = await documentLoader(url.href);
@@ -3789,7 +3789,7 @@ var Object$1 = class Object$1 {
3789
3789
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3790
3790
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3791
3791
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3792
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3792
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3793
3793
  let fetchResult;
3794
3794
  try {
3795
3795
  fetchResult = await documentLoader(url.href);
@@ -3996,7 +3996,7 @@ var Object$1 = class Object$1 {
3996
3996
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
3997
3997
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
3998
3998
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
3999
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
3999
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
4000
4000
  let fetchResult;
4001
4001
  try {
4002
4002
  fetchResult = await documentLoader(url.href);
@@ -4189,7 +4189,7 @@ var Object$1 = class Object$1 {
4189
4189
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4190
4190
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4191
4191
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4192
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
4192
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
4193
4193
  let fetchResult;
4194
4194
  try {
4195
4195
  fetchResult = await documentLoader(url.href);
@@ -4313,7 +4313,7 @@ var Object$1 = class Object$1 {
4313
4313
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4314
4314
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4315
4315
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4316
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
4316
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
4317
4317
  let fetchResult;
4318
4318
  try {
4319
4319
  fetchResult = await documentLoader(url.href);
@@ -4437,7 +4437,7 @@ var Object$1 = class Object$1 {
4437
4437
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
4438
4438
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
4439
4439
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
4440
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
4440
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
4441
4441
  let fetchResult;
4442
4442
  try {
4443
4443
  fetchResult = await documentLoader(url.href);
@@ -5267,7 +5267,7 @@ var Object$1 = class Object$1 {
5267
5267
  * @throws {TypeError} If the given `json` is invalid.
5268
5268
  */
5269
5269
  static async fromJsonLd(json, options = {}) {
5270
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
5270
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
5271
5271
  try {
5272
5272
  const object = await this.__fromJsonLd__Object__(json, span, options);
5273
5273
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6783,7 +6783,7 @@ var Emoji = class Emoji extends Object$1 {
6783
6783
  * @throws {TypeError} If the given `json` is invalid.
6784
6784
  */
6785
6785
  static async fromJsonLd(json, options = {}) {
6786
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
6786
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
6787
6787
  try {
6788
6788
  const object = await this.__fromJsonLd__Emoji__(json, span, options);
6789
6789
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -6918,7 +6918,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
6918
6918
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
6919
6919
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
6920
6920
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
6921
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
6921
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
6922
6922
  let fetchResult;
6923
6923
  try {
6924
6924
  fetchResult = await documentLoader(url.href);
@@ -7059,7 +7059,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7059
7059
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7060
7060
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7061
7061
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7062
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
7062
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
7063
7063
  let fetchResult;
7064
7064
  try {
7065
7065
  fetchResult = await documentLoader(url.href);
@@ -7346,7 +7346,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
7346
7346
  * @throws {TypeError} If the given `json` is invalid.
7347
7347
  */
7348
7348
  static async fromJsonLd(json, options = {}) {
7349
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
7349
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
7350
7350
  try {
7351
7351
  const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
7352
7352
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -7674,7 +7674,7 @@ var Activity = class Activity extends Object$1 {
7674
7674
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7675
7675
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7676
7676
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7677
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
7677
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
7678
7678
  let fetchResult;
7679
7679
  try {
7680
7680
  fetchResult = await documentLoader(url.href);
@@ -7892,7 +7892,7 @@ var Activity = class Activity extends Object$1 {
7892
7892
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
7893
7893
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
7894
7894
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
7895
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
7895
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
7896
7896
  let fetchResult;
7897
7897
  try {
7898
7898
  fetchResult = await documentLoader(url.href);
@@ -8064,7 +8064,7 @@ var Activity = class Activity extends Object$1 {
8064
8064
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8065
8065
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8066
8066
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8067
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
8067
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
8068
8068
  let fetchResult;
8069
8069
  try {
8070
8070
  fetchResult = await documentLoader(url.href);
@@ -8242,7 +8242,7 @@ var Activity = class Activity extends Object$1 {
8242
8242
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8243
8243
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8244
8244
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8245
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
8245
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
8246
8246
  let fetchResult;
8247
8247
  try {
8248
8248
  fetchResult = await documentLoader(url.href);
@@ -8414,7 +8414,7 @@ var Activity = class Activity extends Object$1 {
8414
8414
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8415
8415
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8416
8416
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8417
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
8417
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
8418
8418
  let fetchResult;
8419
8419
  try {
8420
8420
  fetchResult = await documentLoader(url.href);
@@ -8588,7 +8588,7 @@ var Activity = class Activity extends Object$1 {
8588
8588
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
8589
8589
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
8590
8590
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
8591
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
8591
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
8592
8592
  let fetchResult;
8593
8593
  try {
8594
8594
  fetchResult = await documentLoader(url.href);
@@ -8845,7 +8845,7 @@ var Activity = class Activity extends Object$1 {
8845
8845
  * @throws {TypeError} If the given `json` is invalid.
8846
8846
  */
8847
8847
  static async fromJsonLd(json, options = {}) {
8848
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
8848
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
8849
8849
  try {
8850
8850
  const object = await this.__fromJsonLd__Activity__(json, span, options);
8851
8851
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9185,7 +9185,7 @@ var EmojiReact = class EmojiReact extends Activity {
9185
9185
  * @throws {TypeError} If the given `json` is invalid.
9186
9186
  */
9187
9187
  static async fromJsonLd(json, options = {}) {
9188
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
9188
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
9189
9189
  try {
9190
9190
  const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
9191
9191
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9438,7 +9438,7 @@ var PropertyValue = class {
9438
9438
  * @throws {TypeError} If the given `json` is invalid.
9439
9439
  */
9440
9440
  static async fromJsonLd(json, options = {}) {
9441
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
9441
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
9442
9442
  try {
9443
9443
  const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
9444
9444
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9710,7 +9710,7 @@ var Measure = class {
9710
9710
  * @throws {TypeError} If the given `json` is invalid.
9711
9711
  */
9712
9712
  static async fromJsonLd(json, options = {}) {
9713
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
9713
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
9714
9714
  try {
9715
9715
  const object = await this.__fromJsonLd__Measure__(json, span, options);
9716
9716
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -9871,7 +9871,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9871
9871
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9872
9872
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9873
9873
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9874
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
9874
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
9875
9875
  let fetchResult;
9876
9876
  try {
9877
9877
  fetchResult = await documentLoader(url.href);
@@ -9995,7 +9995,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
9995
9995
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
9996
9996
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
9997
9997
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
9998
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
9998
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
9999
9999
  let fetchResult;
10000
10000
  try {
10001
10001
  fetchResult = await documentLoader(url.href);
@@ -10214,7 +10214,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
10214
10214
  * @throws {TypeError} If the given `json` is invalid.
10215
10215
  */
10216
10216
  static async fromJsonLd(json, options = {}) {
10217
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
10217
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
10218
10218
  try {
10219
10219
  const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
10220
10220
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10418,7 +10418,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
10418
10418
  * @throws {TypeError} If the given `json` is invalid.
10419
10419
  */
10420
10420
  static async fromJsonLd(json, options = {}) {
10421
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
10421
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
10422
10422
  try {
10423
10423
  const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
10424
10424
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -10689,7 +10689,7 @@ var InteractionPolicy = class {
10689
10689
  * @throws {TypeError} If the given `json` is invalid.
10690
10690
  */
10691
10691
  static async fromJsonLd(json, options = {}) {
10692
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
10692
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
10693
10693
  try {
10694
10694
  const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
10695
10695
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11021,7 +11021,7 @@ var InteractionRule = class {
11021
11021
  * @throws {TypeError} If the given `json` is invalid.
11022
11022
  */
11023
11023
  static async fromJsonLd(json, options = {}) {
11024
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
11024
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
11025
11025
  try {
11026
11026
  const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
11027
11027
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11183,7 +11183,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11183
11183
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11184
11184
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11185
11185
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11186
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
11186
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
11187
11187
  let fetchResult;
11188
11188
  try {
11189
11189
  fetchResult = await documentLoader(url.href);
@@ -11307,7 +11307,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11307
11307
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11308
11308
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11309
11309
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11310
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
11310
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
11311
11311
  let fetchResult;
11312
11312
  try {
11313
11313
  fetchResult = await documentLoader(url.href);
@@ -11526,7 +11526,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
11526
11526
  * @throws {TypeError} If the given `json` is invalid.
11527
11527
  */
11528
11528
  static async fromJsonLd(json, options = {}) {
11529
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
11529
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
11530
11530
  try {
11531
11531
  const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
11532
11532
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11729,7 +11729,7 @@ var LikeRequest = class LikeRequest extends Activity {
11729
11729
  * @throws {TypeError} If the given `json` is invalid.
11730
11730
  */
11731
11731
  static async fromJsonLd(json, options = {}) {
11732
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
11732
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
11733
11733
  try {
11734
11734
  const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
11735
11735
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -11861,7 +11861,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11861
11861
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11862
11862
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11863
11863
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11864
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
11864
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
11865
11865
  let fetchResult;
11866
11866
  try {
11867
11867
  fetchResult = await documentLoader(url.href);
@@ -11985,7 +11985,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
11985
11985
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
11986
11986
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
11987
11987
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
11988
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
11988
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
11989
11989
  let fetchResult;
11990
11990
  try {
11991
11991
  fetchResult = await documentLoader(url.href);
@@ -12204,7 +12204,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
12204
12204
  * @throws {TypeError} If the given `json` is invalid.
12205
12205
  */
12206
12206
  static async fromJsonLd(json, options = {}) {
12207
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
12207
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
12208
12208
  try {
12209
12209
  const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
12210
12210
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12407,7 +12407,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
12407
12407
  * @throws {TypeError} If the given `json` is invalid.
12408
12408
  */
12409
12409
  static async fromJsonLd(json, options = {}) {
12410
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
12410
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
12411
12411
  try {
12412
12412
  const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
12413
12413
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -12539,7 +12539,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12539
12539
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12540
12540
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12541
12541
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12542
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
12542
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
12543
12543
  let fetchResult;
12544
12544
  try {
12545
12545
  fetchResult = await documentLoader(url.href);
@@ -12662,7 +12662,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12662
12662
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
12663
12663
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
12664
12664
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
12665
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
12665
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
12666
12666
  let fetchResult;
12667
12667
  try {
12668
12668
  fetchResult = await documentLoader(url.href);
@@ -12883,7 +12883,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
12883
12883
  * @throws {TypeError} If the given `json` is invalid.
12884
12884
  */
12885
12885
  static async fromJsonLd(json, options = {}) {
12886
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
12886
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
12887
12887
  try {
12888
12888
  const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
12889
12889
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13116,7 +13116,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
13116
13116
  * @throws {TypeError} If the given `json` is invalid.
13117
13117
  */
13118
13118
  static async fromJsonLd(json, options = {}) {
13119
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
13119
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
13120
13120
  try {
13121
13121
  const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
13122
13122
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13329,7 +13329,7 @@ var DidService = class {
13329
13329
  * @throws {TypeError} If the given `json` is invalid.
13330
13330
  */
13331
13331
  static async fromJsonLd(json, options = {}) {
13332
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
13332
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
13333
13333
  try {
13334
13334
  const object = await this.__fromJsonLd__DidService__(json, span, options);
13335
13335
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13486,7 +13486,7 @@ var Export = class Export extends DidService {
13486
13486
  * @throws {TypeError} If the given `json` is invalid.
13487
13487
  */
13488
13488
  static async fromJsonLd(json, options = {}) {
13489
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
13489
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
13490
13490
  try {
13491
13491
  const object = await this.__fromJsonLd__Export__(json, span, options);
13492
13492
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -13666,7 +13666,7 @@ var DataIntegrityProof = class {
13666
13666
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
13667
13667
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
13668
13668
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
13669
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
13669
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
13670
13670
  let fetchResult;
13671
13671
  try {
13672
13672
  fetchResult = await documentLoader(url.href);
@@ -13885,7 +13885,7 @@ var DataIntegrityProof = class {
13885
13885
  * @throws {TypeError} If the given `json` is invalid.
13886
13886
  */
13887
13887
  static async fromJsonLd(json, options = {}) {
13888
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
13888
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
13889
13889
  try {
13890
13890
  const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
13891
13891
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14117,7 +14117,7 @@ var CryptographicKey = class {
14117
14117
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14118
14118
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14119
14119
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14120
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
14120
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
14121
14121
  let fetchResult;
14122
14122
  try {
14123
14123
  fetchResult = await documentLoader(url.href);
@@ -14382,7 +14382,7 @@ var CryptographicKey = class {
14382
14382
  * @throws {TypeError} If the given `json` is invalid.
14383
14383
  */
14384
14384
  static async fromJsonLd(json, options = {}) {
14385
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
14385
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
14386
14386
  try {
14387
14387
  const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
14388
14388
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -14587,7 +14587,7 @@ var Multikey = class {
14587
14587
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
14588
14588
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
14589
14589
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
14590
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
14590
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
14591
14591
  let fetchResult;
14592
14592
  try {
14593
14593
  fetchResult = await documentLoader(url.href);
@@ -14858,7 +14858,7 @@ var Multikey = class {
14858
14858
  * @throws {TypeError} If the given `json` is invalid.
14859
14859
  */
14860
14860
  static async fromJsonLd(json, options = {}) {
14861
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
14861
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
14862
14862
  try {
14863
14863
  const object = await this.__fromJsonLd__Multikey__(json, span, options);
14864
14864
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15186,7 +15186,7 @@ var Agreement = class Agreement extends Object$1 {
15186
15186
  * @throws {TypeError} If the given `json` is invalid.
15187
15187
  */
15188
15188
  static async fromJsonLd(json, options = {}) {
15189
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
15189
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
15190
15190
  try {
15191
15191
  const object = await this.__fromJsonLd__Agreement__(json, span, options);
15192
15192
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15487,7 +15487,7 @@ var Commitment = class {
15487
15487
  * @throws {TypeError} If the given `json` is invalid.
15488
15488
  */
15489
15489
  static async fromJsonLd(json, options = {}) {
15490
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
15490
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
15491
15491
  try {
15492
15492
  const object = await this.__fromJsonLd__Commitment__(json, span, options);
15493
15493
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -15866,7 +15866,7 @@ var Intent = class {
15866
15866
  * @throws {TypeError} If the given `json` is invalid.
15867
15867
  */
15868
15868
  static async fromJsonLd(json, options = {}) {
15869
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
15869
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
15870
15870
  try {
15871
15871
  const object = await this.__fromJsonLd__Intent__(json, span, options);
15872
15872
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16284,7 +16284,7 @@ var Proposal = class Proposal extends Object$1 {
16284
16284
  * @throws {TypeError} If the given `json` is invalid.
16285
16285
  */
16286
16286
  static async fromJsonLd(json, options = {}) {
16287
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
16287
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
16288
16288
  try {
16289
16289
  const object = await this.__fromJsonLd__Proposal__(json, span, options);
16290
16290
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16498,7 +16498,7 @@ var Accept = class Accept extends Activity {
16498
16498
  * @throws {TypeError} If the given `json` is invalid.
16499
16499
  */
16500
16500
  static async fromJsonLd(json, options = {}) {
16501
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
16501
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
16502
16502
  try {
16503
16503
  const object = await this.__fromJsonLd__Accept__(json, span, options);
16504
16504
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16651,7 +16651,7 @@ var Add = class Add extends Activity {
16651
16651
  * @throws {TypeError} If the given `json` is invalid.
16652
16652
  */
16653
16653
  static async fromJsonLd(json, options = {}) {
16654
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
16654
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
16655
16655
  try {
16656
16656
  const object = await this.__fromJsonLd__Add__(json, span, options);
16657
16657
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -16831,7 +16831,7 @@ var Announce = class Announce extends Activity {
16831
16831
  * @throws {TypeError} If the given `json` is invalid.
16832
16832
  */
16833
16833
  static async fromJsonLd(json, options = {}) {
16834
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
16834
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
16835
16835
  try {
16836
16836
  const object = await this.__fromJsonLd__Announce__(json, span, options);
16837
16837
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -17227,7 +17227,7 @@ var Application = class Application extends Object$1 {
17227
17227
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17228
17228
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17229
17229
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17230
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17230
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17231
17231
  let fetchResult;
17232
17232
  try {
17233
17233
  fetchResult = await documentLoader(url.href);
@@ -17395,7 +17395,7 @@ var Application = class Application extends Object$1 {
17395
17395
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17396
17396
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17397
17397
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17398
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17398
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17399
17399
  let fetchResult;
17400
17400
  try {
17401
17401
  fetchResult = await documentLoader(url.href);
@@ -17581,7 +17581,7 @@ var Application = class Application extends Object$1 {
17581
17581
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17582
17582
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17583
17583
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17584
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17584
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17585
17585
  let fetchResult;
17586
17586
  try {
17587
17587
  fetchResult = await documentLoader(url.href);
@@ -17726,7 +17726,7 @@ var Application = class Application extends Object$1 {
17726
17726
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17727
17727
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17728
17728
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17729
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17729
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17730
17730
  let fetchResult;
17731
17731
  try {
17732
17732
  fetchResult = await documentLoader(url.href);
@@ -17868,7 +17868,7 @@ var Application = class Application extends Object$1 {
17868
17868
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17869
17869
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17870
17870
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17871
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17871
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17872
17872
  let fetchResult;
17873
17873
  try {
17874
17874
  fetchResult = await documentLoader(url.href);
@@ -17995,7 +17995,7 @@ var Application = class Application extends Object$1 {
17995
17995
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
17996
17996
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
17997
17997
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
17998
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17998
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
17999
17999
  let fetchResult;
18000
18000
  try {
18001
18001
  fetchResult = await documentLoader(url.href);
@@ -18125,7 +18125,7 @@ var Application = class Application extends Object$1 {
18125
18125
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18126
18126
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18127
18127
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18128
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18128
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18129
18129
  let fetchResult;
18130
18130
  try {
18131
18131
  fetchResult = await documentLoader(url.href);
@@ -18253,7 +18253,7 @@ var Application = class Application extends Object$1 {
18253
18253
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18254
18254
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18255
18255
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18256
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18256
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18257
18257
  let fetchResult;
18258
18258
  try {
18259
18259
  fetchResult = await documentLoader(url.href);
@@ -18379,7 +18379,7 @@ var Application = class Application extends Object$1 {
18379
18379
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18380
18380
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18381
18381
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18382
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18382
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18383
18383
  let fetchResult;
18384
18384
  try {
18385
18385
  fetchResult = await documentLoader(url.href);
@@ -18505,7 +18505,7 @@ var Application = class Application extends Object$1 {
18505
18505
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18506
18506
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18507
18507
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18508
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18508
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18509
18509
  let fetchResult;
18510
18510
  try {
18511
18511
  fetchResult = await documentLoader(url.href);
@@ -18670,7 +18670,7 @@ var Application = class Application extends Object$1 {
18670
18670
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18671
18671
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18672
18672
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18673
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18673
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18674
18674
  let fetchResult;
18675
18675
  try {
18676
18676
  fetchResult = await documentLoader(url.href);
@@ -18839,7 +18839,7 @@ var Application = class Application extends Object$1 {
18839
18839
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
18840
18840
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
18841
18841
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
18842
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18842
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
18843
18843
  let fetchResult;
18844
18844
  try {
18845
18845
  fetchResult = await documentLoader(url.href);
@@ -19059,7 +19059,7 @@ var Application = class Application extends Object$1 {
19059
19059
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
19060
19060
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
19061
19061
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
19062
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
19062
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
19063
19063
  let fetchResult;
19064
19064
  try {
19065
19065
  fetchResult = await documentLoader(url.href);
@@ -19750,7 +19750,7 @@ var Application = class Application extends Object$1 {
19750
19750
  * @throws {TypeError} If the given `json` is invalid.
19751
19751
  */
19752
19752
  static async fromJsonLd(json, options = {}) {
19753
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
19753
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
19754
19754
  try {
19755
19755
  const object = await this.__fromJsonLd__Application__(json, span, options);
19756
19756
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20352,7 +20352,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
20352
20352
  * @throws {TypeError} If the given `json` is invalid.
20353
20353
  */
20354
20354
  static async fromJsonLd(json, options = {}) {
20355
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
20355
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
20356
20356
  try {
20357
20357
  const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
20358
20358
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20506,7 +20506,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
20506
20506
  * @throws {TypeError} If the given `json` is invalid.
20507
20507
  */
20508
20508
  static async fromJsonLd(json, options = {}) {
20509
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
20509
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
20510
20510
  try {
20511
20511
  const object = await this.__fromJsonLd__Arrive__(json, span, options);
20512
20512
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -20637,7 +20637,7 @@ var Article = class Article extends Object$1 {
20637
20637
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20638
20638
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20639
20639
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20640
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
20640
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
20641
20641
  let fetchResult;
20642
20642
  try {
20643
20643
  fetchResult = await documentLoader(url.href);
@@ -20778,7 +20778,7 @@ var Article = class Article extends Object$1 {
20778
20778
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
20779
20779
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
20780
20780
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
20781
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
20781
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
20782
20782
  let fetchResult;
20783
20783
  try {
20784
20784
  fetchResult = await documentLoader(url.href);
@@ -21067,7 +21067,7 @@ var Article = class Article extends Object$1 {
21067
21067
  * @throws {TypeError} If the given `json` is invalid.
21068
21068
  */
21069
21069
  static async fromJsonLd(json, options = {}) {
21070
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
21070
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
21071
21071
  try {
21072
21072
  const object = await this.__fromJsonLd__Article__(json, span, options);
21073
21073
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21351,7 +21351,7 @@ var Document = class Document extends Object$1 {
21351
21351
  * @throws {TypeError} If the given `json` is invalid.
21352
21352
  */
21353
21353
  static async fromJsonLd(json, options = {}) {
21354
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
21354
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
21355
21355
  try {
21356
21356
  const object = await this.__fromJsonLd__Document__(json, span, options);
21357
21357
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21547,7 +21547,7 @@ var Audio = class Audio extends Document {
21547
21547
  * @throws {TypeError} If the given `json` is invalid.
21548
21548
  */
21549
21549
  static async fromJsonLd(json, options = {}) {
21550
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
21550
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
21551
21551
  try {
21552
21552
  const object = await this.__fromJsonLd__Audio__(json, span, options);
21553
21553
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21697,7 +21697,7 @@ var Ignore = class Ignore extends Activity {
21697
21697
  * @throws {TypeError} If the given `json` is invalid.
21698
21698
  */
21699
21699
  static async fromJsonLd(json, options = {}) {
21700
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
21700
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
21701
21701
  try {
21702
21702
  const object = await this.__fromJsonLd__Ignore__(json, span, options);
21703
21703
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -21850,7 +21850,7 @@ var Block = class Block extends Ignore {
21850
21850
  * @throws {TypeError} If the given `json` is invalid.
21851
21851
  */
21852
21852
  static async fromJsonLd(json, options = {}) {
21853
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
21853
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
21854
21854
  try {
21855
21855
  const object = await this.__fromJsonLd__Block__(json, span, options);
21856
21856
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -22115,7 +22115,7 @@ var Collection = class Collection extends Object$1 {
22115
22115
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22116
22116
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22117
22117
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22118
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22118
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22119
22119
  let fetchResult;
22120
22120
  try {
22121
22121
  fetchResult = await documentLoader(url.href);
@@ -22239,7 +22239,7 @@ var Collection = class Collection extends Object$1 {
22239
22239
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22240
22240
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22241
22241
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22242
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22242
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22243
22243
  let fetchResult;
22244
22244
  try {
22245
22245
  fetchResult = await documentLoader(url.href);
@@ -22363,7 +22363,7 @@ var Collection = class Collection extends Object$1 {
22363
22363
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22364
22364
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22365
22365
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22366
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22366
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22367
22367
  let fetchResult;
22368
22368
  try {
22369
22369
  fetchResult = await documentLoader(url.href);
@@ -22487,7 +22487,7 @@ var Collection = class Collection extends Object$1 {
22487
22487
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22488
22488
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22489
22489
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22490
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22490
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22491
22491
  let fetchResult;
22492
22492
  try {
22493
22493
  fetchResult = await documentLoader(url.href);
@@ -22621,7 +22621,7 @@ var Collection = class Collection extends Object$1 {
22621
22621
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22622
22622
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22623
22623
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22624
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22624
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22625
22625
  let fetchResult;
22626
22626
  try {
22627
22627
  fetchResult = await documentLoader(url.href);
@@ -22744,7 +22744,7 @@ var Collection = class Collection extends Object$1 {
22744
22744
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22745
22745
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22746
22746
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22747
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22747
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22748
22748
  let fetchResult;
22749
22749
  try {
22750
22750
  fetchResult = await documentLoader(url.href);
@@ -22867,7 +22867,7 @@ var Collection = class Collection extends Object$1 {
22867
22867
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22868
22868
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22869
22869
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22870
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22870
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22871
22871
  let fetchResult;
22872
22872
  try {
22873
22873
  fetchResult = await documentLoader(url.href);
@@ -22990,7 +22990,7 @@ var Collection = class Collection extends Object$1 {
22990
22990
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
22991
22991
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
22992
22992
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
22993
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22993
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
22994
22994
  let fetchResult;
22995
22995
  try {
22996
22996
  fetchResult = await documentLoader(url.href);
@@ -23113,7 +23113,7 @@ var Collection = class Collection extends Object$1 {
23113
23113
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23114
23114
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23115
23115
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23116
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
23116
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
23117
23117
  let fetchResult;
23118
23118
  try {
23119
23119
  fetchResult = await documentLoader(url.href);
@@ -23236,7 +23236,7 @@ var Collection = class Collection extends Object$1 {
23236
23236
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23237
23237
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23238
23238
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23239
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
23239
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
23240
23240
  let fetchResult;
23241
23241
  try {
23242
23242
  fetchResult = await documentLoader(url.href);
@@ -23359,7 +23359,7 @@ var Collection = class Collection extends Object$1 {
23359
23359
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23360
23360
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23361
23361
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23362
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
23362
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
23363
23363
  let fetchResult;
23364
23364
  try {
23365
23365
  fetchResult = await documentLoader(url.href);
@@ -23482,7 +23482,7 @@ var Collection = class Collection extends Object$1 {
23482
23482
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
23483
23483
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
23484
23484
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
23485
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
23485
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
23486
23486
  let fetchResult;
23487
23487
  try {
23488
23488
  fetchResult = await documentLoader(url.href);
@@ -23934,7 +23934,7 @@ var Collection = class Collection extends Object$1 {
23934
23934
  * @throws {TypeError} If the given `json` is invalid.
23935
23935
  */
23936
23936
  static async fromJsonLd(json, options = {}) {
23937
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
23937
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
23938
23938
  try {
23939
23939
  const object = await this.__fromJsonLd__Collection__(json, span, options);
23940
23940
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -24428,7 +24428,7 @@ var CollectionPage = class CollectionPage extends Collection {
24428
24428
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24429
24429
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24430
24430
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24431
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
24431
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
24432
24432
  let fetchResult;
24433
24433
  try {
24434
24434
  fetchResult = await documentLoader(url.href);
@@ -24552,7 +24552,7 @@ var CollectionPage = class CollectionPage extends Collection {
24552
24552
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24553
24553
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24554
24554
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24555
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
24555
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
24556
24556
  let fetchResult;
24557
24557
  try {
24558
24558
  fetchResult = await documentLoader(url.href);
@@ -24675,7 +24675,7 @@ var CollectionPage = class CollectionPage extends Collection {
24675
24675
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
24676
24676
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
24677
24677
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
24678
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
24678
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
24679
24679
  let fetchResult;
24680
24680
  try {
24681
24681
  fetchResult = await documentLoader(url.href);
@@ -24964,7 +24964,7 @@ var CollectionPage = class CollectionPage extends Collection {
24964
24964
  * @throws {TypeError} If the given `json` is invalid.
24965
24965
  */
24966
24966
  static async fromJsonLd(json, options = {}) {
24967
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
24967
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
24968
24968
  try {
24969
24969
  const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
24970
24970
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25211,7 +25211,7 @@ var Create = class Create extends Activity {
25211
25211
  * @throws {TypeError} If the given `json` is invalid.
25212
25212
  */
25213
25213
  static async fromJsonLd(json, options = {}) {
25214
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
25214
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
25215
25215
  try {
25216
25216
  const object = await this.__fromJsonLd__Create__(json, span, options);
25217
25217
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25387,7 +25387,7 @@ var Delete = class Delete extends Activity {
25387
25387
  * @throws {TypeError} If the given `json` is invalid.
25388
25388
  */
25389
25389
  static async fromJsonLd(json, options = {}) {
25390
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
25390
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
25391
25391
  try {
25392
25392
  const object = await this.__fromJsonLd__Delete__(json, span, options);
25393
25393
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25540,7 +25540,7 @@ var Dislike = class Dislike extends Activity {
25540
25540
  * @throws {TypeError} If the given `json` is invalid.
25541
25541
  */
25542
25542
  static async fromJsonLd(json, options = {}) {
25543
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
25543
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
25544
25544
  try {
25545
25545
  const object = await this.__fromJsonLd__Dislike__(json, span, options);
25546
25546
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -25892,7 +25892,7 @@ var Endpoints = class {
25892
25892
  * @throws {TypeError} If the given `json` is invalid.
25893
25893
  */
25894
25894
  static async fromJsonLd(json, options = {}) {
25895
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
25895
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
25896
25896
  try {
25897
25897
  const object = await this.__fromJsonLd__Endpoints__(json, span, options);
25898
25898
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26139,7 +26139,7 @@ var Event = class Event extends Object$1 {
26139
26139
  * @throws {TypeError} If the given `json` is invalid.
26140
26140
  */
26141
26141
  static async fromJsonLd(json, options = {}) {
26142
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
26142
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
26143
26143
  try {
26144
26144
  const object = await this.__fromJsonLd__Event__(json, span, options);
26145
26145
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26290,7 +26290,7 @@ var Flag = class Flag extends Activity {
26290
26290
  * @throws {TypeError} If the given `json` is invalid.
26291
26291
  */
26292
26292
  static async fromJsonLd(json, options = {}) {
26293
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
26293
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
26294
26294
  try {
26295
26295
  const object = await this.__fromJsonLd__Flag__(json, span, options);
26296
26296
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26445,7 +26445,7 @@ var Follow = class Follow extends Activity {
26445
26445
  * @throws {TypeError} If the given `json` is invalid.
26446
26446
  */
26447
26447
  static async fromJsonLd(json, options = {}) {
26448
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
26448
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
26449
26449
  try {
26450
26450
  const object = await this.__fromJsonLd__Follow__(json, span, options);
26451
26451
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -26841,7 +26841,7 @@ var Group = class Group extends Object$1 {
26841
26841
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
26842
26842
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
26843
26843
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
26844
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
26844
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
26845
26845
  let fetchResult;
26846
26846
  try {
26847
26847
  fetchResult = await documentLoader(url.href);
@@ -27009,7 +27009,7 @@ var Group = class Group extends Object$1 {
27009
27009
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27010
27010
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27011
27011
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27012
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27012
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27013
27013
  let fetchResult;
27014
27014
  try {
27015
27015
  fetchResult = await documentLoader(url.href);
@@ -27195,7 +27195,7 @@ var Group = class Group extends Object$1 {
27195
27195
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27196
27196
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27197
27197
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27198
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27198
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27199
27199
  let fetchResult;
27200
27200
  try {
27201
27201
  fetchResult = await documentLoader(url.href);
@@ -27340,7 +27340,7 @@ var Group = class Group extends Object$1 {
27340
27340
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27341
27341
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27342
27342
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27343
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27343
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27344
27344
  let fetchResult;
27345
27345
  try {
27346
27346
  fetchResult = await documentLoader(url.href);
@@ -27482,7 +27482,7 @@ var Group = class Group extends Object$1 {
27482
27482
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27483
27483
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27484
27484
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27485
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27485
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27486
27486
  let fetchResult;
27487
27487
  try {
27488
27488
  fetchResult = await documentLoader(url.href);
@@ -27609,7 +27609,7 @@ var Group = class Group extends Object$1 {
27609
27609
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27610
27610
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27611
27611
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27612
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27612
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27613
27613
  let fetchResult;
27614
27614
  try {
27615
27615
  fetchResult = await documentLoader(url.href);
@@ -27739,7 +27739,7 @@ var Group = class Group extends Object$1 {
27739
27739
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27740
27740
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27741
27741
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27742
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27742
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27743
27743
  let fetchResult;
27744
27744
  try {
27745
27745
  fetchResult = await documentLoader(url.href);
@@ -27867,7 +27867,7 @@ var Group = class Group extends Object$1 {
27867
27867
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27868
27868
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27869
27869
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27870
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27870
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27871
27871
  let fetchResult;
27872
27872
  try {
27873
27873
  fetchResult = await documentLoader(url.href);
@@ -27993,7 +27993,7 @@ var Group = class Group extends Object$1 {
27993
27993
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
27994
27994
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
27995
27995
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
27996
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27996
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
27997
27997
  let fetchResult;
27998
27998
  try {
27999
27999
  fetchResult = await documentLoader(url.href);
@@ -28119,7 +28119,7 @@ var Group = class Group extends Object$1 {
28119
28119
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28120
28120
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28121
28121
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28122
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
28122
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
28123
28123
  let fetchResult;
28124
28124
  try {
28125
28125
  fetchResult = await documentLoader(url.href);
@@ -28284,7 +28284,7 @@ var Group = class Group extends Object$1 {
28284
28284
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28285
28285
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28286
28286
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28287
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
28287
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
28288
28288
  let fetchResult;
28289
28289
  try {
28290
28290
  fetchResult = await documentLoader(url.href);
@@ -28453,7 +28453,7 @@ var Group = class Group extends Object$1 {
28453
28453
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28454
28454
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28455
28455
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28456
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
28456
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
28457
28457
  let fetchResult;
28458
28458
  try {
28459
28459
  fetchResult = await documentLoader(url.href);
@@ -28673,7 +28673,7 @@ var Group = class Group extends Object$1 {
28673
28673
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
28674
28674
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
28675
28675
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
28676
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
28676
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
28677
28677
  let fetchResult;
28678
28678
  try {
28679
28679
  fetchResult = await documentLoader(url.href);
@@ -29364,7 +29364,7 @@ var Group = class Group extends Object$1 {
29364
29364
  * @throws {TypeError} If the given `json` is invalid.
29365
29365
  */
29366
29366
  static async fromJsonLd(json, options = {}) {
29367
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
29367
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
29368
29368
  try {
29369
29369
  const object = await this.__fromJsonLd__Group__(json, span, options);
29370
29370
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30110,7 +30110,7 @@ var Link = class Link {
30110
30110
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
30111
30111
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
30112
30112
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
30113
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
30113
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
30114
30114
  let fetchResult;
30115
30115
  try {
30116
30116
  fetchResult = await documentLoader(url.href);
@@ -30405,7 +30405,7 @@ var Link = class Link {
30405
30405
  * @throws {TypeError} If the given `json` is invalid.
30406
30406
  */
30407
30407
  static async fromJsonLd(json, options = {}) {
30408
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
30408
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
30409
30409
  try {
30410
30410
  const object = await this.__fromJsonLd__Link__(json, span, options);
30411
30411
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30756,7 +30756,7 @@ var Hashtag = class Hashtag extends Link {
30756
30756
  * @throws {TypeError} If the given `json` is invalid.
30757
30757
  */
30758
30758
  static async fromJsonLd(json, options = {}) {
30759
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
30759
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
30760
30760
  try {
30761
30761
  const object = await this.__fromJsonLd__Hashtag__(json, span, options);
30762
30762
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -30919,7 +30919,7 @@ var Image = class Image extends Document {
30919
30919
  * @throws {TypeError} If the given `json` is invalid.
30920
30920
  */
30921
30921
  static async fromJsonLd(json, options = {}) {
30922
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
30922
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
30923
30923
  try {
30924
30924
  const object = await this.__fromJsonLd__Image__(json, span, options);
30925
30925
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31070,7 +31070,7 @@ var Offer = class Offer extends Activity {
31070
31070
  * @throws {TypeError} If the given `json` is invalid.
31071
31071
  */
31072
31072
  static async fromJsonLd(json, options = {}) {
31073
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
31073
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
31074
31074
  try {
31075
31075
  const object = await this.__fromJsonLd__Offer__(json, span, options);
31076
31076
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31221,7 +31221,7 @@ var Invite = class Invite extends Offer {
31221
31221
  * @throws {TypeError} If the given `json` is invalid.
31222
31222
  */
31223
31223
  static async fromJsonLd(json, options = {}) {
31224
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
31224
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
31225
31225
  try {
31226
31226
  const object = await this.__fromJsonLd__Invite__(json, span, options);
31227
31227
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31371,7 +31371,7 @@ var Join = class Join extends Activity {
31371
31371
  * @throws {TypeError} If the given `json` is invalid.
31372
31372
  */
31373
31373
  static async fromJsonLd(json, options = {}) {
31374
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
31374
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
31375
31375
  try {
31376
31376
  const object = await this.__fromJsonLd__Join__(json, span, options);
31377
31377
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31521,7 +31521,7 @@ var Leave = class Leave extends Activity {
31521
31521
  * @throws {TypeError} If the given `json` is invalid.
31522
31522
  */
31523
31523
  static async fromJsonLd(json, options = {}) {
31524
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
31524
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
31525
31525
  try {
31526
31526
  const object = await this.__fromJsonLd__Leave__(json, span, options);
31527
31527
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31675,7 +31675,7 @@ var Like = class Like extends Activity {
31675
31675
  * @throws {TypeError} If the given `json` is invalid.
31676
31676
  */
31677
31677
  static async fromJsonLd(json, options = {}) {
31678
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
31678
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
31679
31679
  try {
31680
31680
  const object = await this.__fromJsonLd__Like__(json, span, options);
31681
31681
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31824,7 +31824,7 @@ var Listen = class Listen extends Activity {
31824
31824
  * @throws {TypeError} If the given `json` is invalid.
31825
31825
  */
31826
31826
  static async fromJsonLd(json, options = {}) {
31827
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
31827
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
31828
31828
  try {
31829
31829
  const object = await this.__fromJsonLd__Listen__(json, span, options);
31830
31830
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -31976,7 +31976,7 @@ var Mention = class Mention extends Link {
31976
31976
  * @throws {TypeError} If the given `json` is invalid.
31977
31977
  */
31978
31978
  static async fromJsonLd(json, options = {}) {
31979
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
31979
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
31980
31980
  try {
31981
31981
  const object = await this.__fromJsonLd__Mention__(json, span, options);
31982
31982
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32127,7 +32127,7 @@ var Move = class Move extends Activity {
32127
32127
  * @throws {TypeError} If the given `json` is invalid.
32128
32128
  */
32129
32129
  static async fromJsonLd(json, options = {}) {
32130
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
32130
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
32131
32131
  try {
32132
32132
  const object = await this.__fromJsonLd__Move__(json, span, options);
32133
32133
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32259,7 +32259,7 @@ var Note = class Note extends Object$1 {
32259
32259
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32260
32260
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32261
32261
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32262
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
32262
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
32263
32263
  let fetchResult;
32264
32264
  try {
32265
32265
  fetchResult = await documentLoader(url.href);
@@ -32400,7 +32400,7 @@ var Note = class Note extends Object$1 {
32400
32400
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32401
32401
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32402
32402
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32403
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
32403
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
32404
32404
  let fetchResult;
32405
32405
  try {
32406
32406
  fetchResult = await documentLoader(url.href);
@@ -32689,7 +32689,7 @@ var Note = class Note extends Object$1 {
32689
32689
  * @throws {TypeError} If the given `json` is invalid.
32690
32690
  */
32691
32691
  static async fromJsonLd(json, options = {}) {
32692
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
32692
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
32693
32693
  try {
32694
32694
  const object = await this.__fromJsonLd__Note__(json, span, options);
32695
32695
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -32865,7 +32865,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
32865
32865
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
32866
32866
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
32867
32867
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
32868
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
32868
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
32869
32869
  let fetchResult;
32870
32870
  try {
32871
32871
  fetchResult = await documentLoader(url.href);
@@ -33138,7 +33138,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
33138
33138
  * @throws {TypeError} If the given `json` is invalid.
33139
33139
  */
33140
33140
  static async fromJsonLd(json, options = {}) {
33141
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
33141
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
33142
33142
  try {
33143
33143
  const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
33144
33144
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -33356,7 +33356,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
33356
33356
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
33357
33357
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
33358
33358
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
33359
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
33359
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
33360
33360
  let fetchResult;
33361
33361
  try {
33362
33362
  fetchResult = await documentLoader(url.href);
@@ -33652,7 +33652,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
33652
33652
  * @throws {TypeError} If the given `json` is invalid.
33653
33653
  */
33654
33654
  static async fromJsonLd(json, options = {}) {
33655
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
33655
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
33656
33656
  try {
33657
33657
  const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
33658
33658
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -34158,7 +34158,7 @@ var Organization = class Organization extends Object$1 {
34158
34158
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34159
34159
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34160
34160
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34161
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34161
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34162
34162
  let fetchResult;
34163
34163
  try {
34164
34164
  fetchResult = await documentLoader(url.href);
@@ -34326,7 +34326,7 @@ var Organization = class Organization extends Object$1 {
34326
34326
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34327
34327
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34328
34328
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34329
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34329
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34330
34330
  let fetchResult;
34331
34331
  try {
34332
34332
  fetchResult = await documentLoader(url.href);
@@ -34512,7 +34512,7 @@ var Organization = class Organization extends Object$1 {
34512
34512
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34513
34513
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34514
34514
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34515
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34515
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34516
34516
  let fetchResult;
34517
34517
  try {
34518
34518
  fetchResult = await documentLoader(url.href);
@@ -34657,7 +34657,7 @@ var Organization = class Organization extends Object$1 {
34657
34657
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34658
34658
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34659
34659
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34660
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34660
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34661
34661
  let fetchResult;
34662
34662
  try {
34663
34663
  fetchResult = await documentLoader(url.href);
@@ -34799,7 +34799,7 @@ var Organization = class Organization extends Object$1 {
34799
34799
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34800
34800
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34801
34801
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34802
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34802
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34803
34803
  let fetchResult;
34804
34804
  try {
34805
34805
  fetchResult = await documentLoader(url.href);
@@ -34926,7 +34926,7 @@ var Organization = class Organization extends Object$1 {
34926
34926
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
34927
34927
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
34928
34928
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
34929
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34929
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
34930
34930
  let fetchResult;
34931
34931
  try {
34932
34932
  fetchResult = await documentLoader(url.href);
@@ -35056,7 +35056,7 @@ var Organization = class Organization extends Object$1 {
35056
35056
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35057
35057
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35058
35058
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35059
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35059
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35060
35060
  let fetchResult;
35061
35061
  try {
35062
35062
  fetchResult = await documentLoader(url.href);
@@ -35184,7 +35184,7 @@ var Organization = class Organization extends Object$1 {
35184
35184
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35185
35185
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35186
35186
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35187
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35187
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35188
35188
  let fetchResult;
35189
35189
  try {
35190
35190
  fetchResult = await documentLoader(url.href);
@@ -35310,7 +35310,7 @@ var Organization = class Organization extends Object$1 {
35310
35310
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35311
35311
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35312
35312
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35313
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35313
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35314
35314
  let fetchResult;
35315
35315
  try {
35316
35316
  fetchResult = await documentLoader(url.href);
@@ -35436,7 +35436,7 @@ var Organization = class Organization extends Object$1 {
35436
35436
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35437
35437
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35438
35438
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35439
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35439
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35440
35440
  let fetchResult;
35441
35441
  try {
35442
35442
  fetchResult = await documentLoader(url.href);
@@ -35601,7 +35601,7 @@ var Organization = class Organization extends Object$1 {
35601
35601
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35602
35602
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35603
35603
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35604
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35604
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35605
35605
  let fetchResult;
35606
35606
  try {
35607
35607
  fetchResult = await documentLoader(url.href);
@@ -35770,7 +35770,7 @@ var Organization = class Organization extends Object$1 {
35770
35770
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35771
35771
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35772
35772
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35773
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35773
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35774
35774
  let fetchResult;
35775
35775
  try {
35776
35776
  fetchResult = await documentLoader(url.href);
@@ -35990,7 +35990,7 @@ var Organization = class Organization extends Object$1 {
35990
35990
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
35991
35991
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
35992
35992
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
35993
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35993
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
35994
35994
  let fetchResult;
35995
35995
  try {
35996
35996
  fetchResult = await documentLoader(url.href);
@@ -36681,7 +36681,7 @@ var Organization = class Organization extends Object$1 {
36681
36681
  * @throws {TypeError} If the given `json` is invalid.
36682
36682
  */
36683
36683
  static async fromJsonLd(json, options = {}) {
36684
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
36684
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
36685
36685
  try {
36686
36686
  const object = await this.__fromJsonLd__Organization__(json, span, options);
36687
36687
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -37295,7 +37295,7 @@ var Page = class Page extends Document {
37295
37295
  * @throws {TypeError} If the given `json` is invalid.
37296
37296
  */
37297
37297
  static async fromJsonLd(json, options = {}) {
37298
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
37298
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
37299
37299
  try {
37300
37300
  const object = await this.__fromJsonLd__Page__(json, span, options);
37301
37301
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -37691,7 +37691,7 @@ var Person = class Person extends Object$1 {
37691
37691
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37692
37692
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37693
37693
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37694
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
37694
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
37695
37695
  let fetchResult;
37696
37696
  try {
37697
37697
  fetchResult = await documentLoader(url.href);
@@ -37859,7 +37859,7 @@ var Person = class Person extends Object$1 {
37859
37859
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
37860
37860
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
37861
37861
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
37862
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
37862
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
37863
37863
  let fetchResult;
37864
37864
  try {
37865
37865
  fetchResult = await documentLoader(url.href);
@@ -38045,7 +38045,7 @@ var Person = class Person extends Object$1 {
38045
38045
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38046
38046
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38047
38047
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38048
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38048
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38049
38049
  let fetchResult;
38050
38050
  try {
38051
38051
  fetchResult = await documentLoader(url.href);
@@ -38190,7 +38190,7 @@ var Person = class Person extends Object$1 {
38190
38190
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38191
38191
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38192
38192
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38193
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38193
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38194
38194
  let fetchResult;
38195
38195
  try {
38196
38196
  fetchResult = await documentLoader(url.href);
@@ -38332,7 +38332,7 @@ var Person = class Person extends Object$1 {
38332
38332
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38333
38333
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38334
38334
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38335
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38335
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38336
38336
  let fetchResult;
38337
38337
  try {
38338
38338
  fetchResult = await documentLoader(url.href);
@@ -38459,7 +38459,7 @@ var Person = class Person extends Object$1 {
38459
38459
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38460
38460
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38461
38461
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38462
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38462
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38463
38463
  let fetchResult;
38464
38464
  try {
38465
38465
  fetchResult = await documentLoader(url.href);
@@ -38589,7 +38589,7 @@ var Person = class Person extends Object$1 {
38589
38589
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38590
38590
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38591
38591
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38592
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38592
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38593
38593
  let fetchResult;
38594
38594
  try {
38595
38595
  fetchResult = await documentLoader(url.href);
@@ -38717,7 +38717,7 @@ var Person = class Person extends Object$1 {
38717
38717
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38718
38718
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38719
38719
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38720
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38720
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38721
38721
  let fetchResult;
38722
38722
  try {
38723
38723
  fetchResult = await documentLoader(url.href);
@@ -38843,7 +38843,7 @@ var Person = class Person extends Object$1 {
38843
38843
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38844
38844
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38845
38845
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38846
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38846
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38847
38847
  let fetchResult;
38848
38848
  try {
38849
38849
  fetchResult = await documentLoader(url.href);
@@ -38969,7 +38969,7 @@ var Person = class Person extends Object$1 {
38969
38969
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
38970
38970
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
38971
38971
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
38972
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38972
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
38973
38973
  let fetchResult;
38974
38974
  try {
38975
38975
  fetchResult = await documentLoader(url.href);
@@ -39134,7 +39134,7 @@ var Person = class Person extends Object$1 {
39134
39134
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39135
39135
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39136
39136
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39137
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
39137
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
39138
39138
  let fetchResult;
39139
39139
  try {
39140
39140
  fetchResult = await documentLoader(url.href);
@@ -39303,7 +39303,7 @@ var Person = class Person extends Object$1 {
39303
39303
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39304
39304
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39305
39305
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39306
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
39306
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
39307
39307
  let fetchResult;
39308
39308
  try {
39309
39309
  fetchResult = await documentLoader(url.href);
@@ -39523,7 +39523,7 @@ var Person = class Person extends Object$1 {
39523
39523
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
39524
39524
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
39525
39525
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
39526
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
39526
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
39527
39527
  let fetchResult;
39528
39528
  try {
39529
39529
  fetchResult = await documentLoader(url.href);
@@ -40214,7 +40214,7 @@ var Person = class Person extends Object$1 {
40214
40214
  * @throws {TypeError} If the given `json` is invalid.
40215
40215
  */
40216
40216
  static async fromJsonLd(json, options = {}) {
40217
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
40217
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
40218
40218
  try {
40219
40219
  const object = await this.__fromJsonLd__Person__(json, span, options);
40220
40220
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41005,7 +41005,7 @@ var Place = class Place extends Object$1 {
41005
41005
  * @throws {TypeError} If the given `json` is invalid.
41006
41006
  */
41007
41007
  static async fromJsonLd(json, options = {}) {
41008
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
41008
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
41009
41009
  try {
41010
41010
  const object = await this.__fromJsonLd__Place__(json, span, options);
41011
41011
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41207,7 +41207,7 @@ var Profile = class Profile extends Object$1 {
41207
41207
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41208
41208
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41209
41209
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41210
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
41210
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
41211
41211
  let fetchResult;
41212
41212
  try {
41213
41213
  fetchResult = await documentLoader(url.href);
@@ -41411,7 +41411,7 @@ var Profile = class Profile extends Object$1 {
41411
41411
  * @throws {TypeError} If the given `json` is invalid.
41412
41412
  */
41413
41413
  static async fromJsonLd(json, options = {}) {
41414
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
41414
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
41415
41415
  try {
41416
41416
  const object = await this.__fromJsonLd__Profile__(json, span, options);
41417
41417
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -41610,7 +41610,7 @@ var Question = class Question extends IntransitiveActivity {
41610
41610
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41611
41611
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41612
41612
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41613
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
41613
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
41614
41614
  let fetchResult;
41615
41615
  try {
41616
41616
  fetchResult = await documentLoader(url.href);
@@ -41735,7 +41735,7 @@ var Question = class Question extends IntransitiveActivity {
41735
41735
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41736
41736
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41737
41737
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41738
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
41738
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
41739
41739
  let fetchResult;
41740
41740
  try {
41741
41741
  fetchResult = await documentLoader(url.href);
@@ -41876,7 +41876,7 @@ var Question = class Question extends IntransitiveActivity {
41876
41876
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
41877
41877
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
41878
41878
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
41879
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
41879
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
41880
41880
  let fetchResult;
41881
41881
  try {
41882
41882
  fetchResult = await documentLoader(url.href);
@@ -42017,7 +42017,7 @@ var Question = class Question extends IntransitiveActivity {
42017
42017
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42018
42018
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42019
42019
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42020
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
42020
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
42021
42021
  let fetchResult;
42022
42022
  try {
42023
42023
  fetchResult = await documentLoader(url.href);
@@ -42272,7 +42272,7 @@ var Question = class Question extends IntransitiveActivity {
42272
42272
  * @throws {TypeError} If the given `json` is invalid.
42273
42273
  */
42274
42274
  static async fromJsonLd(json, options = {}) {
42275
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
42275
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
42276
42276
  try {
42277
42277
  const object = await this.__fromJsonLd__Question__(json, span, options);
42278
42278
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42554,7 +42554,7 @@ var Read = class Read extends Activity {
42554
42554
  * @throws {TypeError} If the given `json` is invalid.
42555
42555
  */
42556
42556
  static async fromJsonLd(json, options = {}) {
42557
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
42557
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
42558
42558
  try {
42559
42559
  const object = await this.__fromJsonLd__Read__(json, span, options);
42560
42560
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42704,7 +42704,7 @@ var Reject = class Reject extends Activity {
42704
42704
  * @throws {TypeError} If the given `json` is invalid.
42705
42705
  */
42706
42706
  static async fromJsonLd(json, options = {}) {
42707
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
42707
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
42708
42708
  try {
42709
42709
  const object = await this.__fromJsonLd__Reject__(json, span, options);
42710
42710
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -42878,7 +42878,7 @@ var Relationship = class Relationship extends Object$1 {
42878
42878
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
42879
42879
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
42880
42880
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
42881
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
42881
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
42882
42882
  let fetchResult;
42883
42883
  try {
42884
42884
  fetchResult = await documentLoader(url.href);
@@ -43004,7 +43004,7 @@ var Relationship = class Relationship extends Object$1 {
43004
43004
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43005
43005
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43006
43006
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43007
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
43007
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
43008
43008
  let fetchResult;
43009
43009
  try {
43010
43010
  fetchResult = await documentLoader(url.href);
@@ -43172,7 +43172,7 @@ var Relationship = class Relationship extends Object$1 {
43172
43172
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
43173
43173
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
43174
43174
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
43175
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
43175
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
43176
43176
  let fetchResult;
43177
43177
  try {
43178
43178
  fetchResult = await documentLoader(url.href);
@@ -43456,7 +43456,7 @@ var Relationship = class Relationship extends Object$1 {
43456
43456
  * @throws {TypeError} If the given `json` is invalid.
43457
43457
  */
43458
43458
  static async fromJsonLd(json, options = {}) {
43459
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
43459
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
43460
43460
  try {
43461
43461
  const object = await this.__fromJsonLd__Relationship__(json, span, options);
43462
43462
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -43675,7 +43675,7 @@ var Remove = class Remove extends Activity {
43675
43675
  * @throws {TypeError} If the given `json` is invalid.
43676
43676
  */
43677
43677
  static async fromJsonLd(json, options = {}) {
43678
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
43678
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
43679
43679
  try {
43680
43680
  const object = await this.__fromJsonLd__Remove__(json, span, options);
43681
43681
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -44071,7 +44071,7 @@ var Service = class Service extends Object$1 {
44071
44071
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44072
44072
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44073
44073
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44074
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44074
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44075
44075
  let fetchResult;
44076
44076
  try {
44077
44077
  fetchResult = await documentLoader(url.href);
@@ -44239,7 +44239,7 @@ var Service = class Service extends Object$1 {
44239
44239
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44240
44240
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44241
44241
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44242
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44242
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44243
44243
  let fetchResult;
44244
44244
  try {
44245
44245
  fetchResult = await documentLoader(url.href);
@@ -44425,7 +44425,7 @@ var Service = class Service extends Object$1 {
44425
44425
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44426
44426
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44427
44427
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44428
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44428
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44429
44429
  let fetchResult;
44430
44430
  try {
44431
44431
  fetchResult = await documentLoader(url.href);
@@ -44570,7 +44570,7 @@ var Service = class Service extends Object$1 {
44570
44570
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44571
44571
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44572
44572
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44573
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44573
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44574
44574
  let fetchResult;
44575
44575
  try {
44576
44576
  fetchResult = await documentLoader(url.href);
@@ -44712,7 +44712,7 @@ var Service = class Service extends Object$1 {
44712
44712
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44713
44713
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44714
44714
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44715
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44715
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44716
44716
  let fetchResult;
44717
44717
  try {
44718
44718
  fetchResult = await documentLoader(url.href);
@@ -44839,7 +44839,7 @@ var Service = class Service extends Object$1 {
44839
44839
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44840
44840
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44841
44841
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44842
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44842
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44843
44843
  let fetchResult;
44844
44844
  try {
44845
44845
  fetchResult = await documentLoader(url.href);
@@ -44969,7 +44969,7 @@ var Service = class Service extends Object$1 {
44969
44969
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
44970
44970
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
44971
44971
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
44972
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44972
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
44973
44973
  let fetchResult;
44974
44974
  try {
44975
44975
  fetchResult = await documentLoader(url.href);
@@ -45097,7 +45097,7 @@ var Service = class Service extends Object$1 {
45097
45097
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45098
45098
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45099
45099
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45100
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45100
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45101
45101
  let fetchResult;
45102
45102
  try {
45103
45103
  fetchResult = await documentLoader(url.href);
@@ -45223,7 +45223,7 @@ var Service = class Service extends Object$1 {
45223
45223
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45224
45224
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45225
45225
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45226
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45226
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45227
45227
  let fetchResult;
45228
45228
  try {
45229
45229
  fetchResult = await documentLoader(url.href);
@@ -45349,7 +45349,7 @@ var Service = class Service extends Object$1 {
45349
45349
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45350
45350
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45351
45351
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45352
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45352
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45353
45353
  let fetchResult;
45354
45354
  try {
45355
45355
  fetchResult = await documentLoader(url.href);
@@ -45514,7 +45514,7 @@ var Service = class Service extends Object$1 {
45514
45514
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45515
45515
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45516
45516
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45517
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45517
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45518
45518
  let fetchResult;
45519
45519
  try {
45520
45520
  fetchResult = await documentLoader(url.href);
@@ -45683,7 +45683,7 @@ var Service = class Service extends Object$1 {
45683
45683
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45684
45684
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45685
45685
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45686
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45686
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45687
45687
  let fetchResult;
45688
45688
  try {
45689
45689
  fetchResult = await documentLoader(url.href);
@@ -45903,7 +45903,7 @@ var Service = class Service extends Object$1 {
45903
45903
  const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
45904
45904
  const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
45905
45905
  const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
45906
- return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45906
+ return await tracerProvider.getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.lookup_object", async (span) => {
45907
45907
  let fetchResult;
45908
45908
  try {
45909
45909
  fetchResult = await documentLoader(url.href);
@@ -46594,7 +46594,7 @@ var Service = class Service extends Object$1 {
46594
46594
  * @throws {TypeError} If the given `json` is invalid.
46595
46595
  */
46596
46596
  static async fromJsonLd(json, options = {}) {
46597
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
46597
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
46598
46598
  try {
46599
46599
  const object = await this.__fromJsonLd__Service__(json, span, options);
46600
46600
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -47296,7 +47296,7 @@ var Source = class {
47296
47296
  * @throws {TypeError} If the given `json` is invalid.
47297
47297
  */
47298
47298
  static async fromJsonLd(json, options = {}) {
47299
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
47299
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
47300
47300
  try {
47301
47301
  const object = await this.__fromJsonLd__Source__(json, span, options);
47302
47302
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -47475,7 +47475,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
47475
47475
  * @throws {TypeError} If the given `json` is invalid.
47476
47476
  */
47477
47477
  static async fromJsonLd(json, options = {}) {
47478
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
47478
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
47479
47479
  try {
47480
47480
  const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
47481
47481
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -47625,7 +47625,7 @@ var TentativeReject = class TentativeReject extends Reject {
47625
47625
  * @throws {TypeError} If the given `json` is invalid.
47626
47626
  */
47627
47627
  static async fromJsonLd(json, options = {}) {
47628
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
47628
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
47629
47629
  try {
47630
47630
  const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
47631
47631
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -47864,7 +47864,7 @@ var Tombstone = class Tombstone extends Object$1 {
47864
47864
  * @throws {TypeError} If the given `json` is invalid.
47865
47865
  */
47866
47866
  static async fromJsonLd(json, options = {}) {
47867
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
47867
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
47868
47868
  try {
47869
47869
  const object = await this.__fromJsonLd__Tombstone__(json, span, options);
47870
47870
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48051,7 +48051,7 @@ var Travel = class Travel extends IntransitiveActivity {
48051
48051
  * @throws {TypeError} If the given `json` is invalid.
48052
48052
  */
48053
48053
  static async fromJsonLd(json, options = {}) {
48054
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
48054
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
48055
48055
  try {
48056
48056
  const object = await this.__fromJsonLd__Travel__(json, span, options);
48057
48057
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48215,7 +48215,7 @@ var Undo = class Undo extends Activity {
48215
48215
  * @throws {TypeError} If the given `json` is invalid.
48216
48216
  */
48217
48217
  static async fromJsonLd(json, options = {}) {
48218
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
48218
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
48219
48219
  try {
48220
48220
  const object = await this.__fromJsonLd__Undo__(json, span, options);
48221
48221
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48427,7 +48427,7 @@ var Update = class Update extends Activity {
48427
48427
  * @throws {TypeError} If the given `json` is invalid.
48428
48428
  */
48429
48429
  static async fromJsonLd(json, options = {}) {
48430
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
48430
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
48431
48431
  try {
48432
48432
  const object = await this.__fromJsonLd__Update__(json, span, options);
48433
48433
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48590,7 +48590,7 @@ var Video = class Video extends Document {
48590
48590
  * @throws {TypeError} If the given `json` is invalid.
48591
48591
  */
48592
48592
  static async fromJsonLd(json, options = {}) {
48593
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
48593
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
48594
48594
  try {
48595
48595
  const object = await this.__fromJsonLd__Video__(json, span, options);
48596
48596
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
@@ -48739,7 +48739,7 @@ var View = class View extends Activity {
48739
48739
  * @throws {TypeError} If the given `json` is invalid.
48740
48740
  */
48741
48741
  static async fromJsonLd(json, options = {}) {
48742
- return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
48742
+ return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.4.0").startActiveSpan("activitypub.parse_object", async (span) => {
48743
48743
  try {
48744
48744
  const object = await this.__fromJsonLd__View__(json, span, options);
48745
48745
  if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);