@fedify/vocab 2.2.0-pr.732.35 → 2.3.0-dev.1005
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/mod.cjs +217 -217
- package/dist/mod.js +217 -217
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-BIv2jUlZ.mjs → deno-Dx2AD4O-.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-DKp-OcRQ.mjs → vocab-C7fgfBaH.mjs} +216 -216
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -775,7 +775,7 @@ var Object$1 = class Object$1 {
|
|
|
775
775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
776
776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
777
777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
778
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
778
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
779
779
|
let fetchResult;
|
|
780
780
|
try {
|
|
781
781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -921,7 +921,7 @@ var Object$1 = class Object$1 {
|
|
|
921
921
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
922
922
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
923
923
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
924
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
924
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
925
925
|
let fetchResult;
|
|
926
926
|
try {
|
|
927
927
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1133,7 +1133,7 @@ var Object$1 = class Object$1 {
|
|
|
1133
1133
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1134
1134
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1135
1135
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1136
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1136
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1137
1137
|
let fetchResult;
|
|
1138
1138
|
try {
|
|
1139
1139
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1317,7 +1317,7 @@ var Object$1 = class Object$1 {
|
|
|
1317
1317
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1318
1318
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1319
1319
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1320
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1320
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1321
1321
|
let fetchResult;
|
|
1322
1322
|
try {
|
|
1323
1323
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1479,7 +1479,7 @@ var Object$1 = class Object$1 {
|
|
|
1479
1479
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1480
1480
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1481
1481
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1482
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1482
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1483
1483
|
let fetchResult;
|
|
1484
1484
|
try {
|
|
1485
1485
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1609,7 +1609,7 @@ var Object$1 = class Object$1 {
|
|
|
1609
1609
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1610
1610
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1611
1611
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1612
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1612
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1613
1613
|
let fetchResult;
|
|
1614
1614
|
try {
|
|
1615
1615
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1775,7 +1775,7 @@ var Object$1 = class Object$1 {
|
|
|
1775
1775
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1776
1776
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1777
1777
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1778
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1778
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1779
1779
|
let fetchResult;
|
|
1780
1780
|
try {
|
|
1781
1781
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1941,7 +1941,7 @@ var Object$1 = class Object$1 {
|
|
|
1941
1941
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1942
1942
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1943
1943
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1944
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
1944
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1945
1945
|
let fetchResult;
|
|
1946
1946
|
try {
|
|
1947
1947
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2115,7 +2115,7 @@ var Object$1 = class Object$1 {
|
|
|
2115
2115
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2116
2116
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2117
2117
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2118
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2118
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2119
2119
|
let fetchResult;
|
|
2120
2120
|
try {
|
|
2121
2121
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2289,7 +2289,7 @@ var Object$1 = class Object$1 {
|
|
|
2289
2289
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2290
2290
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2291
2291
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2292
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2292
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2293
2293
|
let fetchResult;
|
|
2294
2294
|
try {
|
|
2295
2295
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2468,7 +2468,7 @@ var Object$1 = class Object$1 {
|
|
|
2468
2468
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2469
2469
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2470
2470
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2471
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2471
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2472
2472
|
let fetchResult;
|
|
2473
2473
|
try {
|
|
2474
2474
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2589,7 +2589,7 @@ var Object$1 = class Object$1 {
|
|
|
2589
2589
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2590
2590
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2591
2591
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2592
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2592
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2593
2593
|
let fetchResult;
|
|
2594
2594
|
try {
|
|
2595
2595
|
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.
|
|
2719
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2720
2720
|
let fetchResult;
|
|
2721
2721
|
try {
|
|
2722
2722
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2843,7 +2843,7 @@ var Object$1 = class Object$1 {
|
|
|
2843
2843
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2844
2844
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2845
2845
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2846
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2846
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2847
2847
|
let fetchResult;
|
|
2848
2848
|
try {
|
|
2849
2849
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2988,7 +2988,7 @@ var Object$1 = class Object$1 {
|
|
|
2988
2988
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2989
2989
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2990
2990
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2991
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
2991
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2992
2992
|
let fetchResult;
|
|
2993
2993
|
try {
|
|
2994
2994
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3140,7 +3140,7 @@ var Object$1 = class Object$1 {
|
|
|
3140
3140
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3141
3141
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3142
3142
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3143
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3143
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3144
3144
|
let fetchResult;
|
|
3145
3145
|
try {
|
|
3146
3146
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3304,7 +3304,7 @@ var Object$1 = class Object$1 {
|
|
|
3304
3304
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3305
3305
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3306
3306
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3307
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3307
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3308
3308
|
let fetchResult;
|
|
3309
3309
|
try {
|
|
3310
3310
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3468,7 +3468,7 @@ var Object$1 = class Object$1 {
|
|
|
3468
3468
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3469
3469
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3470
3470
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3471
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3471
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3472
3472
|
let fetchResult;
|
|
3473
3473
|
try {
|
|
3474
3474
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3632,7 +3632,7 @@ var Object$1 = class Object$1 {
|
|
|
3632
3632
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3633
3633
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3634
3634
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3635
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3635
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3636
3636
|
let fetchResult;
|
|
3637
3637
|
try {
|
|
3638
3638
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3833,7 +3833,7 @@ var Object$1 = class Object$1 {
|
|
|
3833
3833
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3834
3834
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3835
3835
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3836
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
3836
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3837
3837
|
let fetchResult;
|
|
3838
3838
|
try {
|
|
3839
3839
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4020,7 +4020,7 @@ var Object$1 = class Object$1 {
|
|
|
4020
4020
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4021
4021
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4022
4022
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4023
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4023
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4024
4024
|
let fetchResult;
|
|
4025
4025
|
try {
|
|
4026
4026
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4141,7 +4141,7 @@ var Object$1 = class Object$1 {
|
|
|
4141
4141
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4142
4142
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4143
4143
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4144
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4144
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4145
4145
|
let fetchResult;
|
|
4146
4146
|
try {
|
|
4147
4147
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4262,7 +4262,7 @@ var Object$1 = class Object$1 {
|
|
|
4262
4262
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
4263
4263
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
4264
4264
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
4265
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
4265
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
4266
4266
|
let fetchResult;
|
|
4267
4267
|
try {
|
|
4268
4268
|
fetchResult = await documentLoader(url.href);
|
|
@@ -5089,7 +5089,7 @@ var Object$1 = class Object$1 {
|
|
|
5089
5089
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5090
5090
|
*/
|
|
5091
5091
|
static async fromJsonLd(json, options = {}) {
|
|
5092
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
5092
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5093
5093
|
try {
|
|
5094
5094
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
5095
5095
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6539,7 +6539,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
6539
6539
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6540
6540
|
*/
|
|
6541
6541
|
static async fromJsonLd(json, options = {}) {
|
|
6542
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
6542
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6543
6543
|
try {
|
|
6544
6544
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
6545
6545
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6673,7 +6673,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6673
6673
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6674
6674
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6675
6675
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6676
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6676
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6677
6677
|
let fetchResult;
|
|
6678
6678
|
try {
|
|
6679
6679
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6811,7 +6811,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6811
6811
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6812
6812
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6813
6813
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6814
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
6814
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6815
6815
|
let fetchResult;
|
|
6816
6816
|
try {
|
|
6817
6817
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7095,7 +7095,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
7095
7095
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7096
7096
|
*/
|
|
7097
7097
|
static async fromJsonLd(json, options = {}) {
|
|
7098
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
7098
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7099
7099
|
try {
|
|
7100
7100
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
7101
7101
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7420,7 +7420,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7420
7420
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7421
7421
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7422
7422
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7423
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7423
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7424
7424
|
let fetchResult;
|
|
7425
7425
|
try {
|
|
7426
7426
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7632,7 +7632,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7632
7632
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7633
7633
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7634
7634
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7635
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7635
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7636
7636
|
let fetchResult;
|
|
7637
7637
|
try {
|
|
7638
7638
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7798,7 +7798,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7798
7798
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7799
7799
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7800
7800
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7801
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7801
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7802
7802
|
let fetchResult;
|
|
7803
7803
|
try {
|
|
7804
7804
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7970,7 +7970,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7970
7970
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7971
7971
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7972
7972
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7973
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
7973
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7974
7974
|
let fetchResult;
|
|
7975
7975
|
try {
|
|
7976
7976
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8136,7 +8136,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8136
8136
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8137
8137
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8138
8138
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8139
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
8139
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8140
8140
|
let fetchResult;
|
|
8141
8141
|
try {
|
|
8142
8142
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8304,7 +8304,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8304
8304
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8305
8305
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8306
8306
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8307
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
8307
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8308
8308
|
let fetchResult;
|
|
8309
8309
|
try {
|
|
8310
8310
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8555,7 +8555,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
8555
8555
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8556
8556
|
*/
|
|
8557
8557
|
static async fromJsonLd(json, options = {}) {
|
|
8558
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
8558
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8559
8559
|
try {
|
|
8560
8560
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
8561
8561
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8888,7 +8888,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
8888
8888
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8889
8889
|
*/
|
|
8890
8890
|
static async fromJsonLd(json, options = {}) {
|
|
8891
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
8891
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8892
8892
|
try {
|
|
8893
8893
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
8894
8894
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9134,7 +9134,7 @@ var PropertyValue = class {
|
|
|
9134
9134
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9135
9135
|
*/
|
|
9136
9136
|
static async fromJsonLd(json, options = {}) {
|
|
9137
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
9137
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9138
9138
|
try {
|
|
9139
9139
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
9140
9140
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9399,7 +9399,7 @@ var Measure = class {
|
|
|
9399
9399
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9400
9400
|
*/
|
|
9401
9401
|
static async fromJsonLd(json, options = {}) {
|
|
9402
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
9402
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9403
9403
|
try {
|
|
9404
9404
|
const object = await this.__fromJsonLd__Measure__(json, span, options);
|
|
9405
9405
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9559,7 +9559,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9559
9559
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9560
9560
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9561
9561
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9562
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
9562
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9563
9563
|
let fetchResult;
|
|
9564
9564
|
try {
|
|
9565
9565
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9680,7 +9680,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9680
9680
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9681
9681
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9682
9682
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9683
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
9683
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9684
9684
|
let fetchResult;
|
|
9685
9685
|
try {
|
|
9686
9686
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9896,7 +9896,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
|
|
|
9896
9896
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9897
9897
|
*/
|
|
9898
9898
|
static async fromJsonLd(json, options = {}) {
|
|
9899
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
9899
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9900
9900
|
try {
|
|
9901
9901
|
const object = await this.__fromJsonLd__AnnounceAuthorization__(json, span, options);
|
|
9902
9902
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10097,7 +10097,7 @@ var AnnounceRequest = class AnnounceRequest extends Activity {
|
|
|
10097
10097
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10098
10098
|
*/
|
|
10099
10099
|
static async fromJsonLd(json, options = {}) {
|
|
10100
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
10100
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10101
10101
|
try {
|
|
10102
10102
|
const object = await this.__fromJsonLd__AnnounceRequest__(json, span, options);
|
|
10103
10103
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10361,7 +10361,7 @@ var InteractionPolicy = class {
|
|
|
10361
10361
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10362
10362
|
*/
|
|
10363
10363
|
static async fromJsonLd(json, options = {}) {
|
|
10364
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
10364
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10365
10365
|
try {
|
|
10366
10366
|
const object = await this.__fromJsonLd__InteractionPolicy__(json, span, options);
|
|
10367
10367
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10686,7 +10686,7 @@ var InteractionRule = class {
|
|
|
10686
10686
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10687
10687
|
*/
|
|
10688
10688
|
static async fromJsonLd(json, options = {}) {
|
|
10689
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
10689
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10690
10690
|
try {
|
|
10691
10691
|
const object = await this.__fromJsonLd__InteractionRule__(json, span, options);
|
|
10692
10692
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10847,7 +10847,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10847
10847
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10848
10848
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10849
10849
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10850
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10850
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10851
10851
|
let fetchResult;
|
|
10852
10852
|
try {
|
|
10853
10853
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10968,7 +10968,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
10968
10968
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10969
10969
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10970
10970
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10971
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
10971
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10972
10972
|
let fetchResult;
|
|
10973
10973
|
try {
|
|
10974
10974
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11184,7 +11184,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
|
|
|
11184
11184
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11185
11185
|
*/
|
|
11186
11186
|
static async fromJsonLd(json, options = {}) {
|
|
11187
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
11187
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11188
11188
|
try {
|
|
11189
11189
|
const object = await this.__fromJsonLd__LikeAuthorization__(json, span, options);
|
|
11190
11190
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11384,7 +11384,7 @@ var LikeRequest = class LikeRequest extends Activity {
|
|
|
11384
11384
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11385
11385
|
*/
|
|
11386
11386
|
static async fromJsonLd(json, options = {}) {
|
|
11387
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
11387
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11388
11388
|
try {
|
|
11389
11389
|
const object = await this.__fromJsonLd__LikeRequest__(json, span, options);
|
|
11390
11390
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -11515,7 +11515,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11515
11515
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11516
11516
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11517
11517
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11518
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
11518
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11519
11519
|
let fetchResult;
|
|
11520
11520
|
try {
|
|
11521
11521
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11636,7 +11636,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11636
11636
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11637
11637
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11638
11638
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11639
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
11639
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11640
11640
|
let fetchResult;
|
|
11641
11641
|
try {
|
|
11642
11642
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11852,7 +11852,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
|
|
|
11852
11852
|
* @throws {TypeError} If the given `json` is invalid.
|
|
11853
11853
|
*/
|
|
11854
11854
|
static async fromJsonLd(json, options = {}) {
|
|
11855
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
11855
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
11856
11856
|
try {
|
|
11857
11857
|
const object = await this.__fromJsonLd__ReplyAuthorization__(json, span, options);
|
|
11858
11858
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12052,7 +12052,7 @@ var ReplyRequest = class ReplyRequest extends Activity {
|
|
|
12052
12052
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12053
12053
|
*/
|
|
12054
12054
|
static async fromJsonLd(json, options = {}) {
|
|
12055
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
12055
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12056
12056
|
try {
|
|
12057
12057
|
const object = await this.__fromJsonLd__ReplyRequest__(json, span, options);
|
|
12058
12058
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12183,7 +12183,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12183
12183
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12184
12184
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12185
12185
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12186
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12186
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12187
12187
|
let fetchResult;
|
|
12188
12188
|
try {
|
|
12189
12189
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12303,7 +12303,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12303
12303
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12304
12304
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12305
12305
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12306
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
12306
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12307
12307
|
let fetchResult;
|
|
12308
12308
|
try {
|
|
12309
12309
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12521,7 +12521,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
|
|
|
12521
12521
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12522
12522
|
*/
|
|
12523
12523
|
static async fromJsonLd(json, options = {}) {
|
|
12524
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
12524
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12525
12525
|
try {
|
|
12526
12526
|
const object = await this.__fromJsonLd__QuoteAuthorization__(json, span, options);
|
|
12527
12527
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12751,7 +12751,7 @@ var QuoteRequest = class QuoteRequest extends Activity {
|
|
|
12751
12751
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12752
12752
|
*/
|
|
12753
12753
|
static async fromJsonLd(json, options = {}) {
|
|
12754
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
12754
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12755
12755
|
try {
|
|
12756
12756
|
const object = await this.__fromJsonLd__QuoteRequest__(json, span, options);
|
|
12757
12757
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -12957,7 +12957,7 @@ var DidService = class {
|
|
|
12957
12957
|
* @throws {TypeError} If the given `json` is invalid.
|
|
12958
12958
|
*/
|
|
12959
12959
|
static async fromJsonLd(json, options = {}) {
|
|
12960
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
12960
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
12961
12961
|
try {
|
|
12962
12962
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
12963
12963
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13113,7 +13113,7 @@ var Export = class Export extends DidService {
|
|
|
13113
13113
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13114
13114
|
*/
|
|
13115
13115
|
static async fromJsonLd(json, options = {}) {
|
|
13116
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13116
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13117
13117
|
try {
|
|
13118
13118
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
13119
13119
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13286,7 +13286,7 @@ var DataIntegrityProof = class {
|
|
|
13286
13286
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13287
13287
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13288
13288
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13289
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
13289
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13290
13290
|
let fetchResult;
|
|
13291
13291
|
try {
|
|
13292
13292
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13505,7 +13505,7 @@ var DataIntegrityProof = class {
|
|
|
13505
13505
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13506
13506
|
*/
|
|
13507
13507
|
static async fromJsonLd(json, options = {}) {
|
|
13508
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13508
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13509
13509
|
try {
|
|
13510
13510
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
13511
13511
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13729,7 +13729,7 @@ var CryptographicKey = class {
|
|
|
13729
13729
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
13730
13730
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
13731
13731
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
13732
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
13732
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
13733
13733
|
let fetchResult;
|
|
13734
13734
|
try {
|
|
13735
13735
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13991,7 +13991,7 @@ var CryptographicKey = class {
|
|
|
13991
13991
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13992
13992
|
*/
|
|
13993
13993
|
static async fromJsonLd(json, options = {}) {
|
|
13994
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
13994
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13995
13995
|
try {
|
|
13996
13996
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
13997
13997
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14188,7 +14188,7 @@ var Multikey = class {
|
|
|
14188
14188
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
14189
14189
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
14190
14190
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
14191
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
14191
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
14192
14192
|
let fetchResult;
|
|
14193
14193
|
try {
|
|
14194
14194
|
fetchResult = await documentLoader(url.href);
|
|
@@ -14456,7 +14456,7 @@ var Multikey = class {
|
|
|
14456
14456
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14457
14457
|
*/
|
|
14458
14458
|
static async fromJsonLd(json, options = {}) {
|
|
14459
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
14459
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14460
14460
|
try {
|
|
14461
14461
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
14462
14462
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14844,7 +14844,7 @@ var Intent = class {
|
|
|
14844
14844
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14845
14845
|
*/
|
|
14846
14846
|
static async fromJsonLd(json, options = {}) {
|
|
14847
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
14847
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14848
14848
|
try {
|
|
14849
14849
|
const object = await this.__fromJsonLd__Intent__(json, span, options);
|
|
14850
14850
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15261,7 +15261,7 @@ var Proposal = class Proposal extends Object$1 {
|
|
|
15261
15261
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15262
15262
|
*/
|
|
15263
15263
|
static async fromJsonLd(json, options = {}) {
|
|
15264
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15264
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15265
15265
|
try {
|
|
15266
15266
|
const object = await this.__fromJsonLd__Proposal__(json, span, options);
|
|
15267
15267
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15474,7 +15474,7 @@ var Accept = class Accept extends Activity {
|
|
|
15474
15474
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15475
15475
|
*/
|
|
15476
15476
|
static async fromJsonLd(json, options = {}) {
|
|
15477
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15477
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15478
15478
|
try {
|
|
15479
15479
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
15480
15480
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15626,7 +15626,7 @@ var Add = class Add extends Activity {
|
|
|
15626
15626
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15627
15627
|
*/
|
|
15628
15628
|
static async fromJsonLd(json, options = {}) {
|
|
15629
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15629
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15630
15630
|
try {
|
|
15631
15631
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
15632
15632
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15805,7 +15805,7 @@ var Announce = class Announce extends Activity {
|
|
|
15805
15805
|
* @throws {TypeError} If the given `json` is invalid.
|
|
15806
15806
|
*/
|
|
15807
15807
|
static async fromJsonLd(json, options = {}) {
|
|
15808
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
15808
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
15809
15809
|
try {
|
|
15810
15810
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
15811
15811
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -16200,7 +16200,7 @@ var Application = class Application extends Object$1 {
|
|
|
16200
16200
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16201
16201
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16202
16202
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16203
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16203
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16204
16204
|
let fetchResult;
|
|
16205
16205
|
try {
|
|
16206
16206
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16362,7 +16362,7 @@ var Application = class Application extends Object$1 {
|
|
|
16362
16362
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16363
16363
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16364
16364
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16365
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16365
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16366
16366
|
let fetchResult;
|
|
16367
16367
|
try {
|
|
16368
16368
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16542,7 +16542,7 @@ var Application = class Application extends Object$1 {
|
|
|
16542
16542
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16543
16543
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16544
16544
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16545
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16545
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16546
16546
|
let fetchResult;
|
|
16547
16547
|
try {
|
|
16548
16548
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16684,7 +16684,7 @@ var Application = class Application extends Object$1 {
|
|
|
16684
16684
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16685
16685
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16686
16686
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16687
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16687
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16688
16688
|
let fetchResult;
|
|
16689
16689
|
try {
|
|
16690
16690
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16823,7 +16823,7 @@ var Application = class Application extends Object$1 {
|
|
|
16823
16823
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16824
16824
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16825
16825
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16826
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16826
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16827
16827
|
let fetchResult;
|
|
16828
16828
|
try {
|
|
16829
16829
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16947,7 +16947,7 @@ var Application = class Application extends Object$1 {
|
|
|
16947
16947
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16948
16948
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16949
16949
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16950
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
16950
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16951
16951
|
let fetchResult;
|
|
16952
16952
|
try {
|
|
16953
16953
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17074,7 +17074,7 @@ var Application = class Application extends Object$1 {
|
|
|
17074
17074
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17075
17075
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17076
17076
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17077
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17077
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17078
17078
|
let fetchResult;
|
|
17079
17079
|
try {
|
|
17080
17080
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17199,7 +17199,7 @@ var Application = class Application extends Object$1 {
|
|
|
17199
17199
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17200
17200
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17201
17201
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17202
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17202
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17203
17203
|
let fetchResult;
|
|
17204
17204
|
try {
|
|
17205
17205
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17322,7 +17322,7 @@ var Application = class Application extends Object$1 {
|
|
|
17322
17322
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17323
17323
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17324
17324
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17325
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17325
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17326
17326
|
let fetchResult;
|
|
17327
17327
|
try {
|
|
17328
17328
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17445,7 +17445,7 @@ var Application = class Application extends Object$1 {
|
|
|
17445
17445
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17446
17446
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17447
17447
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17448
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17448
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17449
17449
|
let fetchResult;
|
|
17450
17450
|
try {
|
|
17451
17451
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17607,7 +17607,7 @@ var Application = class Application extends Object$1 {
|
|
|
17607
17607
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17608
17608
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17609
17609
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17610
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17610
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17611
17611
|
let fetchResult;
|
|
17612
17612
|
try {
|
|
17613
17613
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17773,7 +17773,7 @@ var Application = class Application extends Object$1 {
|
|
|
17773
17773
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17774
17774
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17775
17775
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17776
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17776
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17777
17777
|
let fetchResult;
|
|
17778
17778
|
try {
|
|
17779
17779
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17987,7 +17987,7 @@ var Application = class Application extends Object$1 {
|
|
|
17987
17987
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17988
17988
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17989
17989
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17990
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
17990
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17991
17991
|
let fetchResult;
|
|
17992
17992
|
try {
|
|
17993
17993
|
fetchResult = await documentLoader(url.href);
|
|
@@ -18672,7 +18672,7 @@ var Application = class Application extends Object$1 {
|
|
|
18672
18672
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18673
18673
|
*/
|
|
18674
18674
|
static async fromJsonLd(json, options = {}) {
|
|
18675
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
18675
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18676
18676
|
try {
|
|
18677
18677
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
18678
18678
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19260,7 +19260,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
19260
19260
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19261
19261
|
*/
|
|
19262
19262
|
static async fromJsonLd(json, options = {}) {
|
|
19263
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19263
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19264
19264
|
try {
|
|
19265
19265
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
19266
19266
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19413,7 +19413,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
19413
19413
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19414
19414
|
*/
|
|
19415
19415
|
static async fromJsonLd(json, options = {}) {
|
|
19416
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19416
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19417
19417
|
try {
|
|
19418
19418
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
19419
19419
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19543,7 +19543,7 @@ var Article = class Article extends Object$1 {
|
|
|
19543
19543
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19544
19544
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19545
19545
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19546
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
19546
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19547
19547
|
let fetchResult;
|
|
19548
19548
|
try {
|
|
19549
19549
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19681,7 +19681,7 @@ var Article = class Article extends Object$1 {
|
|
|
19681
19681
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19682
19682
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19683
19683
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19684
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
19684
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19685
19685
|
let fetchResult;
|
|
19686
19686
|
try {
|
|
19687
19687
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19967,7 +19967,7 @@ var Article = class Article extends Object$1 {
|
|
|
19967
19967
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19968
19968
|
*/
|
|
19969
19969
|
static async fromJsonLd(json, options = {}) {
|
|
19970
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
19970
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19971
19971
|
try {
|
|
19972
19972
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
19973
19973
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20248,7 +20248,7 @@ var Document = class Document extends Object$1 {
|
|
|
20248
20248
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20249
20249
|
*/
|
|
20250
20250
|
static async fromJsonLd(json, options = {}) {
|
|
20251
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20251
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20252
20252
|
try {
|
|
20253
20253
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
20254
20254
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20443,7 +20443,7 @@ var Audio = class Audio extends Document {
|
|
|
20443
20443
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20444
20444
|
*/
|
|
20445
20445
|
static async fromJsonLd(json, options = {}) {
|
|
20446
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20446
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20447
20447
|
try {
|
|
20448
20448
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
20449
20449
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20592,7 +20592,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
20592
20592
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20593
20593
|
*/
|
|
20594
20594
|
static async fromJsonLd(json, options = {}) {
|
|
20595
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20595
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20596
20596
|
try {
|
|
20597
20597
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
20598
20598
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -20744,7 +20744,7 @@ var Block = class Block extends Ignore {
|
|
|
20744
20744
|
* @throws {TypeError} If the given `json` is invalid.
|
|
20745
20745
|
*/
|
|
20746
20746
|
static async fromJsonLd(json, options = {}) {
|
|
20747
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
20747
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
20748
20748
|
try {
|
|
20749
20749
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
20750
20750
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -21008,7 +21008,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21008
21008
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21009
21009
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21010
21010
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21011
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21011
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21012
21012
|
let fetchResult;
|
|
21013
21013
|
try {
|
|
21014
21014
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21129,7 +21129,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21129
21129
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21130
21130
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21131
21131
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21132
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21132
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21133
21133
|
let fetchResult;
|
|
21134
21134
|
try {
|
|
21135
21135
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21250,7 +21250,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21250
21250
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21251
21251
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21252
21252
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21253
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21253
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21254
21254
|
let fetchResult;
|
|
21255
21255
|
try {
|
|
21256
21256
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21371,7 +21371,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21371
21371
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21372
21372
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21373
21373
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21374
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21374
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21375
21375
|
let fetchResult;
|
|
21376
21376
|
try {
|
|
21377
21377
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21502,7 +21502,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21502
21502
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21503
21503
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21504
21504
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21505
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21505
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21506
21506
|
let fetchResult;
|
|
21507
21507
|
try {
|
|
21508
21508
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21622,7 +21622,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21622
21622
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21623
21623
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21624
21624
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21625
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21625
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21626
21626
|
let fetchResult;
|
|
21627
21627
|
try {
|
|
21628
21628
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21742,7 +21742,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21742
21742
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21743
21743
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21744
21744
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21745
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21745
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21746
21746
|
let fetchResult;
|
|
21747
21747
|
try {
|
|
21748
21748
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21862,7 +21862,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21862
21862
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21863
21863
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21864
21864
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21865
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21865
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21866
21866
|
let fetchResult;
|
|
21867
21867
|
try {
|
|
21868
21868
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21982,7 +21982,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
21982
21982
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21983
21983
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21984
21984
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21985
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
21985
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21986
21986
|
let fetchResult;
|
|
21987
21987
|
try {
|
|
21988
21988
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22102,7 +22102,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22102
22102
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22103
22103
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22104
22104
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22105
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22105
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22106
22106
|
let fetchResult;
|
|
22107
22107
|
try {
|
|
22108
22108
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22222,7 +22222,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22222
22222
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22223
22223
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22224
22224
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22225
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22225
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22226
22226
|
let fetchResult;
|
|
22227
22227
|
try {
|
|
22228
22228
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22342,7 +22342,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22342
22342
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22343
22343
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22344
22344
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22345
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
22345
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22346
22346
|
let fetchResult;
|
|
22347
22347
|
try {
|
|
22348
22348
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22791,7 +22791,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
22791
22791
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22792
22792
|
*/
|
|
22793
22793
|
static async fromJsonLd(json, options = {}) {
|
|
22794
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
22794
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22795
22795
|
try {
|
|
22796
22796
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
22797
22797
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23271,7 +23271,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23271
23271
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23272
23272
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23273
23273
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23274
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23274
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23275
23275
|
let fetchResult;
|
|
23276
23276
|
try {
|
|
23277
23277
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23392,7 +23392,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23392
23392
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23393
23393
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23394
23394
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23395
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23395
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23396
23396
|
let fetchResult;
|
|
23397
23397
|
try {
|
|
23398
23398
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23512,7 +23512,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23512
23512
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
23513
23513
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
23514
23514
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
23515
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
23515
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
23516
23516
|
let fetchResult;
|
|
23517
23517
|
try {
|
|
23518
23518
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23798,7 +23798,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
23798
23798
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23799
23799
|
*/
|
|
23800
23800
|
static async fromJsonLd(json, options = {}) {
|
|
23801
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
23801
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23802
23802
|
try {
|
|
23803
23803
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
23804
23804
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24041,7 +24041,7 @@ var Create = class Create extends Activity {
|
|
|
24041
24041
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24042
24042
|
*/
|
|
24043
24043
|
static async fromJsonLd(json, options = {}) {
|
|
24044
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24044
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24045
24045
|
try {
|
|
24046
24046
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
24047
24047
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24216,7 +24216,7 @@ var Delete = class Delete extends Activity {
|
|
|
24216
24216
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24217
24217
|
*/
|
|
24218
24218
|
static async fromJsonLd(json, options = {}) {
|
|
24219
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24219
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24220
24220
|
try {
|
|
24221
24221
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
24222
24222
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24368,7 +24368,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
24368
24368
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24369
24369
|
*/
|
|
24370
24370
|
static async fromJsonLd(json, options = {}) {
|
|
24371
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24371
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24372
24372
|
try {
|
|
24373
24373
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
24374
24374
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24713,7 +24713,7 @@ var Endpoints = class {
|
|
|
24713
24713
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24714
24714
|
*/
|
|
24715
24715
|
static async fromJsonLd(json, options = {}) {
|
|
24716
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24716
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24717
24717
|
try {
|
|
24718
24718
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
24719
24719
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24959,7 +24959,7 @@ var Event = class Event extends Object$1 {
|
|
|
24959
24959
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24960
24960
|
*/
|
|
24961
24961
|
static async fromJsonLd(json, options = {}) {
|
|
24962
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
24962
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24963
24963
|
try {
|
|
24964
24964
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
24965
24965
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25109,7 +25109,7 @@ var Flag = class Flag extends Activity {
|
|
|
25109
25109
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25110
25110
|
*/
|
|
25111
25111
|
static async fromJsonLd(json, options = {}) {
|
|
25112
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
25112
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25113
25113
|
try {
|
|
25114
25114
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
25115
25115
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25263,7 +25263,7 @@ var Follow = class Follow extends Activity {
|
|
|
25263
25263
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25264
25264
|
*/
|
|
25265
25265
|
static async fromJsonLd(json, options = {}) {
|
|
25266
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
25266
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25267
25267
|
try {
|
|
25268
25268
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
25269
25269
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25658,7 +25658,7 @@ var Group = class Group extends Object$1 {
|
|
|
25658
25658
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25659
25659
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25660
25660
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25661
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25661
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25662
25662
|
let fetchResult;
|
|
25663
25663
|
try {
|
|
25664
25664
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25820,7 +25820,7 @@ var Group = class Group extends Object$1 {
|
|
|
25820
25820
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25821
25821
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25822
25822
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25823
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
25823
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25824
25824
|
let fetchResult;
|
|
25825
25825
|
try {
|
|
25826
25826
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26000,7 +26000,7 @@ var Group = class Group extends Object$1 {
|
|
|
26000
26000
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26001
26001
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26002
26002
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26003
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26003
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26004
26004
|
let fetchResult;
|
|
26005
26005
|
try {
|
|
26006
26006
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26142,7 +26142,7 @@ var Group = class Group extends Object$1 {
|
|
|
26142
26142
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26143
26143
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26144
26144
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26145
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26145
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26146
26146
|
let fetchResult;
|
|
26147
26147
|
try {
|
|
26148
26148
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26281,7 +26281,7 @@ var Group = class Group extends Object$1 {
|
|
|
26281
26281
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26282
26282
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26283
26283
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26284
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26284
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26285
26285
|
let fetchResult;
|
|
26286
26286
|
try {
|
|
26287
26287
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26405,7 +26405,7 @@ var Group = class Group extends Object$1 {
|
|
|
26405
26405
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26406
26406
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26407
26407
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26408
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26408
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26409
26409
|
let fetchResult;
|
|
26410
26410
|
try {
|
|
26411
26411
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26532,7 +26532,7 @@ var Group = class Group extends Object$1 {
|
|
|
26532
26532
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26533
26533
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26534
26534
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26535
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26535
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26536
26536
|
let fetchResult;
|
|
26537
26537
|
try {
|
|
26538
26538
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26657,7 +26657,7 @@ var Group = class Group extends Object$1 {
|
|
|
26657
26657
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26658
26658
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26659
26659
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26660
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26660
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26661
26661
|
let fetchResult;
|
|
26662
26662
|
try {
|
|
26663
26663
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26780,7 +26780,7 @@ var Group = class Group extends Object$1 {
|
|
|
26780
26780
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26781
26781
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26782
26782
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26783
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26783
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26784
26784
|
let fetchResult;
|
|
26785
26785
|
try {
|
|
26786
26786
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26903,7 +26903,7 @@ var Group = class Group extends Object$1 {
|
|
|
26903
26903
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26904
26904
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26905
26905
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26906
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
26906
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26907
26907
|
let fetchResult;
|
|
26908
26908
|
try {
|
|
26909
26909
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27065,7 +27065,7 @@ var Group = class Group extends Object$1 {
|
|
|
27065
27065
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27066
27066
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27067
27067
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27068
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27068
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27069
27069
|
let fetchResult;
|
|
27070
27070
|
try {
|
|
27071
27071
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27231,7 +27231,7 @@ var Group = class Group extends Object$1 {
|
|
|
27231
27231
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27232
27232
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27233
27233
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27234
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27234
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27235
27235
|
let fetchResult;
|
|
27236
27236
|
try {
|
|
27237
27237
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27445,7 +27445,7 @@ var Group = class Group extends Object$1 {
|
|
|
27445
27445
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27446
27446
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27447
27447
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27448
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
27448
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27449
27449
|
let fetchResult;
|
|
27450
27450
|
try {
|
|
27451
27451
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28130,7 +28130,7 @@ var Group = class Group extends Object$1 {
|
|
|
28130
28130
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28131
28131
|
*/
|
|
28132
28132
|
static async fromJsonLd(json, options = {}) {
|
|
28133
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
28133
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28134
28134
|
try {
|
|
28135
28135
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
28136
28136
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -28856,7 +28856,7 @@ var Link = class Link {
|
|
|
28856
28856
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28857
28857
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28858
28858
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28859
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
28859
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28860
28860
|
let fetchResult;
|
|
28861
28861
|
try {
|
|
28862
28862
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29148,7 +29148,7 @@ var Link = class Link {
|
|
|
29148
29148
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29149
29149
|
*/
|
|
29150
29150
|
static async fromJsonLd(json, options = {}) {
|
|
29151
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29151
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29152
29152
|
try {
|
|
29153
29153
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
29154
29154
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29496,7 +29496,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
29496
29496
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29497
29497
|
*/
|
|
29498
29498
|
static async fromJsonLd(json, options = {}) {
|
|
29499
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29499
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29500
29500
|
try {
|
|
29501
29501
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
29502
29502
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29658,7 +29658,7 @@ var Image = class Image extends Document {
|
|
|
29658
29658
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29659
29659
|
*/
|
|
29660
29660
|
static async fromJsonLd(json, options = {}) {
|
|
29661
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29661
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29662
29662
|
try {
|
|
29663
29663
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
29664
29664
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29808,7 +29808,7 @@ var Offer = class Offer extends Activity {
|
|
|
29808
29808
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29809
29809
|
*/
|
|
29810
29810
|
static async fromJsonLd(json, options = {}) {
|
|
29811
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29811
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29812
29812
|
try {
|
|
29813
29813
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
29814
29814
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29958,7 +29958,7 @@ var Invite = class Invite extends Offer {
|
|
|
29958
29958
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29959
29959
|
*/
|
|
29960
29960
|
static async fromJsonLd(json, options = {}) {
|
|
29961
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
29961
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29962
29962
|
try {
|
|
29963
29963
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
29964
29964
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30107,7 +30107,7 @@ var Join = class Join extends Activity {
|
|
|
30107
30107
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30108
30108
|
*/
|
|
30109
30109
|
static async fromJsonLd(json, options = {}) {
|
|
30110
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30110
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30111
30111
|
try {
|
|
30112
30112
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
30113
30113
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30256,7 +30256,7 @@ var Leave = class Leave extends Activity {
|
|
|
30256
30256
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30257
30257
|
*/
|
|
30258
30258
|
static async fromJsonLd(json, options = {}) {
|
|
30259
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30259
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30260
30260
|
try {
|
|
30261
30261
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
30262
30262
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30409,7 +30409,7 @@ var Like = class Like extends Activity {
|
|
|
30409
30409
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30410
30410
|
*/
|
|
30411
30411
|
static async fromJsonLd(json, options = {}) {
|
|
30412
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30412
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30413
30413
|
try {
|
|
30414
30414
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
30415
30415
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30557,7 +30557,7 @@ var Listen = class Listen extends Activity {
|
|
|
30557
30557
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30558
30558
|
*/
|
|
30559
30559
|
static async fromJsonLd(json, options = {}) {
|
|
30560
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30560
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30561
30561
|
try {
|
|
30562
30562
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
30563
30563
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30708,7 +30708,7 @@ var Mention = class Mention extends Link {
|
|
|
30708
30708
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30709
30709
|
*/
|
|
30710
30710
|
static async fromJsonLd(json, options = {}) {
|
|
30711
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30711
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30712
30712
|
try {
|
|
30713
30713
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
30714
30714
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30858,7 +30858,7 @@ var Move = class Move extends Activity {
|
|
|
30858
30858
|
* @throws {TypeError} If the given `json` is invalid.
|
|
30859
30859
|
*/
|
|
30860
30860
|
static async fromJsonLd(json, options = {}) {
|
|
30861
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
30861
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
30862
30862
|
try {
|
|
30863
30863
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
30864
30864
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -30989,7 +30989,7 @@ var Note = class Note extends Object$1 {
|
|
|
30989
30989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30990
30990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30991
30991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
30992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30993
30993
|
let fetchResult;
|
|
30994
30994
|
try {
|
|
30995
30995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31127,7 +31127,7 @@ var Note = class Note extends Object$1 {
|
|
|
31127
31127
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31128
31128
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31129
31129
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31130
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
31130
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31131
31131
|
let fetchResult;
|
|
31132
31132
|
try {
|
|
31133
31133
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31413,7 +31413,7 @@ var Note = class Note extends Object$1 {
|
|
|
31413
31413
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31414
31414
|
*/
|
|
31415
31415
|
static async fromJsonLd(json, options = {}) {
|
|
31416
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31416
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31417
31417
|
try {
|
|
31418
31418
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
31419
31419
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -31586,7 +31586,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31586
31586
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31587
31587
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31588
31588
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31589
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
31589
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31590
31590
|
let fetchResult;
|
|
31591
31591
|
try {
|
|
31592
31592
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31856,7 +31856,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
31856
31856
|
* @throws {TypeError} If the given `json` is invalid.
|
|
31857
31857
|
*/
|
|
31858
31858
|
static async fromJsonLd(json, options = {}) {
|
|
31859
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
31859
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
31860
31860
|
try {
|
|
31861
31861
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
31862
31862
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32071,7 +32071,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
32071
32071
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32072
32072
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32073
32073
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32074
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32074
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32075
32075
|
let fetchResult;
|
|
32076
32076
|
try {
|
|
32077
32077
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32364,7 +32364,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
32364
32364
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32365
32365
|
*/
|
|
32366
32366
|
static async fromJsonLd(json, options = {}) {
|
|
32367
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
32367
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32368
32368
|
try {
|
|
32369
32369
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
32370
32370
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32867,7 +32867,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
32867
32867
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
32868
32868
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
32869
32869
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
32870
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
32870
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
32871
32871
|
let fetchResult;
|
|
32872
32872
|
try {
|
|
32873
32873
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33029,7 +33029,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33029
33029
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33030
33030
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33031
33031
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33032
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33032
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33033
33033
|
let fetchResult;
|
|
33034
33034
|
try {
|
|
33035
33035
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33209,7 +33209,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33209
33209
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33210
33210
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33211
33211
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33212
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33212
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33213
33213
|
let fetchResult;
|
|
33214
33214
|
try {
|
|
33215
33215
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33351,7 +33351,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33351
33351
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33352
33352
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33353
33353
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33354
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33354
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33355
33355
|
let fetchResult;
|
|
33356
33356
|
try {
|
|
33357
33357
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33490,7 +33490,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33490
33490
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33491
33491
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33492
33492
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33493
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33493
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33494
33494
|
let fetchResult;
|
|
33495
33495
|
try {
|
|
33496
33496
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33614,7 +33614,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33614
33614
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33615
33615
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33616
33616
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33617
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33617
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33618
33618
|
let fetchResult;
|
|
33619
33619
|
try {
|
|
33620
33620
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33741,7 +33741,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33741
33741
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33742
33742
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33743
33743
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33744
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33745
33745
|
let fetchResult;
|
|
33746
33746
|
try {
|
|
33747
33747
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33866,7 +33866,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33866
33866
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33867
33867
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33868
33868
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33869
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33869
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33870
33870
|
let fetchResult;
|
|
33871
33871
|
try {
|
|
33872
33872
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33989,7 +33989,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
33989
33989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33990
33990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33991
33991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
33992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33993
33993
|
let fetchResult;
|
|
33994
33994
|
try {
|
|
33995
33995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34112,7 +34112,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34112
34112
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34113
34113
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34114
34114
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34115
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34115
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34116
34116
|
let fetchResult;
|
|
34117
34117
|
try {
|
|
34118
34118
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34274,7 +34274,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34274
34274
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34275
34275
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34276
34276
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34277
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34277
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34278
34278
|
let fetchResult;
|
|
34279
34279
|
try {
|
|
34280
34280
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34440,7 +34440,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34440
34440
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34441
34441
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34442
34442
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34443
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34443
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34444
34444
|
let fetchResult;
|
|
34445
34445
|
try {
|
|
34446
34446
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34654,7 +34654,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
34654
34654
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34655
34655
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34656
34656
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34657
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
34657
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34658
34658
|
let fetchResult;
|
|
34659
34659
|
try {
|
|
34660
34660
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35339,7 +35339,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
35339
35339
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35340
35340
|
*/
|
|
35341
35341
|
static async fromJsonLd(json, options = {}) {
|
|
35342
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
35342
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35343
35343
|
try {
|
|
35344
35344
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
35345
35345
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35939,7 +35939,7 @@ var Page = class Page extends Document {
|
|
|
35939
35939
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35940
35940
|
*/
|
|
35941
35941
|
static async fromJsonLd(json, options = {}) {
|
|
35942
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
35942
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35943
35943
|
try {
|
|
35944
35944
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
35945
35945
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -36334,7 +36334,7 @@ var Person = class Person extends Object$1 {
|
|
|
36334
36334
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36335
36335
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36336
36336
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36337
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36337
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36338
36338
|
let fetchResult;
|
|
36339
36339
|
try {
|
|
36340
36340
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36496,7 +36496,7 @@ var Person = class Person extends Object$1 {
|
|
|
36496
36496
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36497
36497
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36498
36498
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36499
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36499
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36500
36500
|
let fetchResult;
|
|
36501
36501
|
try {
|
|
36502
36502
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36676,7 +36676,7 @@ var Person = class Person extends Object$1 {
|
|
|
36676
36676
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36677
36677
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36678
36678
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36679
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36679
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36680
36680
|
let fetchResult;
|
|
36681
36681
|
try {
|
|
36682
36682
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36818,7 +36818,7 @@ var Person = class Person extends Object$1 {
|
|
|
36818
36818
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36819
36819
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36820
36820
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36821
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36821
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36822
36822
|
let fetchResult;
|
|
36823
36823
|
try {
|
|
36824
36824
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36957,7 +36957,7 @@ var Person = class Person extends Object$1 {
|
|
|
36957
36957
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36958
36958
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36959
36959
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36960
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
36960
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36961
36961
|
let fetchResult;
|
|
36962
36962
|
try {
|
|
36963
36963
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37081,7 +37081,7 @@ var Person = class Person extends Object$1 {
|
|
|
37081
37081
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37082
37082
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37083
37083
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37084
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37084
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37085
37085
|
let fetchResult;
|
|
37086
37086
|
try {
|
|
37087
37087
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37208,7 +37208,7 @@ var Person = class Person extends Object$1 {
|
|
|
37208
37208
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37209
37209
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37210
37210
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37211
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37211
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37212
37212
|
let fetchResult;
|
|
37213
37213
|
try {
|
|
37214
37214
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37333,7 +37333,7 @@ var Person = class Person extends Object$1 {
|
|
|
37333
37333
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37334
37334
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37335
37335
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37336
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37336
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37337
37337
|
let fetchResult;
|
|
37338
37338
|
try {
|
|
37339
37339
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37456,7 +37456,7 @@ var Person = class Person extends Object$1 {
|
|
|
37456
37456
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37457
37457
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37458
37458
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37459
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37459
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37460
37460
|
let fetchResult;
|
|
37461
37461
|
try {
|
|
37462
37462
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37579,7 +37579,7 @@ var Person = class Person extends Object$1 {
|
|
|
37579
37579
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37580
37580
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37581
37581
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37582
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37582
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37583
37583
|
let fetchResult;
|
|
37584
37584
|
try {
|
|
37585
37585
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37741,7 +37741,7 @@ var Person = class Person extends Object$1 {
|
|
|
37741
37741
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37742
37742
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37743
37743
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37744
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37744
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37745
37745
|
let fetchResult;
|
|
37746
37746
|
try {
|
|
37747
37747
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37907,7 +37907,7 @@ var Person = class Person extends Object$1 {
|
|
|
37907
37907
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37908
37908
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37909
37909
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37910
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
37910
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37911
37911
|
let fetchResult;
|
|
37912
37912
|
try {
|
|
37913
37913
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38121,7 +38121,7 @@ var Person = class Person extends Object$1 {
|
|
|
38121
38121
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
38122
38122
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
38123
38123
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
38124
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
38124
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
38125
38125
|
let fetchResult;
|
|
38126
38126
|
try {
|
|
38127
38127
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38806,7 +38806,7 @@ var Person = class Person extends Object$1 {
|
|
|
38806
38806
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38807
38807
|
*/
|
|
38808
38808
|
static async fromJsonLd(json, options = {}) {
|
|
38809
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
38809
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38810
38810
|
try {
|
|
38811
38811
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
38812
38812
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39583,7 +39583,7 @@ var Place = class Place extends Object$1 {
|
|
|
39583
39583
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39584
39584
|
*/
|
|
39585
39585
|
static async fromJsonLd(json, options = {}) {
|
|
39586
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
39586
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39587
39587
|
try {
|
|
39588
39588
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
39589
39589
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39784,7 +39784,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39784
39784
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
39785
39785
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
39786
39786
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
39787
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
39787
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
39788
39788
|
let fetchResult;
|
|
39789
39789
|
try {
|
|
39790
39790
|
fetchResult = await documentLoader(url.href);
|
|
@@ -39985,7 +39985,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
39985
39985
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39986
39986
|
*/
|
|
39987
39987
|
static async fromJsonLd(json, options = {}) {
|
|
39988
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
39988
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39989
39989
|
try {
|
|
39990
39990
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
39991
39991
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -40182,7 +40182,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40182
40182
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40183
40183
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40184
40184
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40185
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
40185
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40186
40186
|
let fetchResult;
|
|
40187
40187
|
try {
|
|
40188
40188
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40304,7 +40304,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40304
40304
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40305
40305
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40306
40306
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40307
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
40307
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40308
40308
|
let fetchResult;
|
|
40309
40309
|
try {
|
|
40310
40310
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40442,7 +40442,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40442
40442
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40443
40443
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40444
40444
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40445
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
40445
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40446
40446
|
let fetchResult;
|
|
40447
40447
|
try {
|
|
40448
40448
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40580,7 +40580,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40580
40580
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
40581
40581
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
40582
40582
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
40583
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
40583
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
40584
40584
|
let fetchResult;
|
|
40585
40585
|
try {
|
|
40586
40586
|
fetchResult = await documentLoader(url.href);
|
|
@@ -40832,7 +40832,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
40832
40832
|
* @throws {TypeError} If the given `json` is invalid.
|
|
40833
40833
|
*/
|
|
40834
40834
|
static async fromJsonLd(json, options = {}) {
|
|
40835
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
40835
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
40836
40836
|
try {
|
|
40837
40837
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
40838
40838
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41109,7 +41109,7 @@ var Read = class Read extends Activity {
|
|
|
41109
41109
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41110
41110
|
*/
|
|
41111
41111
|
static async fromJsonLd(json, options = {}) {
|
|
41112
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41112
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41113
41113
|
try {
|
|
41114
41114
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
41115
41115
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41258,7 +41258,7 @@ var Reject = class Reject extends Activity {
|
|
|
41258
41258
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41259
41259
|
*/
|
|
41260
41260
|
static async fromJsonLd(json, options = {}) {
|
|
41261
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41261
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41262
41262
|
try {
|
|
41263
41263
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
41264
41264
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -41431,7 +41431,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41431
41431
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41432
41432
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41433
41433
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41434
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
41434
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41435
41435
|
let fetchResult;
|
|
41436
41436
|
try {
|
|
41437
41437
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41554,7 +41554,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41554
41554
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41555
41555
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41556
41556
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41557
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
41557
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41558
41558
|
let fetchResult;
|
|
41559
41559
|
try {
|
|
41560
41560
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41716,7 +41716,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41716
41716
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
41717
41717
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
41718
41718
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
41719
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
41719
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
41720
41720
|
let fetchResult;
|
|
41721
41721
|
try {
|
|
41722
41722
|
fetchResult = await documentLoader(url.href);
|
|
@@ -41994,7 +41994,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
41994
41994
|
* @throws {TypeError} If the given `json` is invalid.
|
|
41995
41995
|
*/
|
|
41996
41996
|
static async fromJsonLd(json, options = {}) {
|
|
41997
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
41997
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
41998
41998
|
try {
|
|
41999
41999
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
42000
42000
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42209,7 +42209,7 @@ var Remove = class Remove extends Activity {
|
|
|
42209
42209
|
* @throws {TypeError} If the given `json` is invalid.
|
|
42210
42210
|
*/
|
|
42211
42211
|
static async fromJsonLd(json, options = {}) {
|
|
42212
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
42212
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
42213
42213
|
try {
|
|
42214
42214
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
42215
42215
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -42604,7 +42604,7 @@ var Service = class Service extends Object$1 {
|
|
|
42604
42604
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42605
42605
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42606
42606
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42607
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
42607
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42608
42608
|
let fetchResult;
|
|
42609
42609
|
try {
|
|
42610
42610
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42766,7 +42766,7 @@ var Service = class Service extends Object$1 {
|
|
|
42766
42766
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42767
42767
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42768
42768
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42769
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
42769
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42770
42770
|
let fetchResult;
|
|
42771
42771
|
try {
|
|
42772
42772
|
fetchResult = await documentLoader(url.href);
|
|
@@ -42946,7 +42946,7 @@ var Service = class Service extends Object$1 {
|
|
|
42946
42946
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
42947
42947
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
42948
42948
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
42949
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
42949
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
42950
42950
|
let fetchResult;
|
|
42951
42951
|
try {
|
|
42952
42952
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43088,7 +43088,7 @@ var Service = class Service extends Object$1 {
|
|
|
43088
43088
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43089
43089
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43090
43090
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43091
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43091
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43092
43092
|
let fetchResult;
|
|
43093
43093
|
try {
|
|
43094
43094
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43227,7 +43227,7 @@ var Service = class Service extends Object$1 {
|
|
|
43227
43227
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43228
43228
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43229
43229
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43230
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43230
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43231
43231
|
let fetchResult;
|
|
43232
43232
|
try {
|
|
43233
43233
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43351,7 +43351,7 @@ var Service = class Service extends Object$1 {
|
|
|
43351
43351
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43352
43352
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43353
43353
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43354
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43354
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43355
43355
|
let fetchResult;
|
|
43356
43356
|
try {
|
|
43357
43357
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43478,7 +43478,7 @@ var Service = class Service extends Object$1 {
|
|
|
43478
43478
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43479
43479
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43480
43480
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43481
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43481
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43482
43482
|
let fetchResult;
|
|
43483
43483
|
try {
|
|
43484
43484
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43603,7 +43603,7 @@ var Service = class Service extends Object$1 {
|
|
|
43603
43603
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43604
43604
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43605
43605
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43606
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43606
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43607
43607
|
let fetchResult;
|
|
43608
43608
|
try {
|
|
43609
43609
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43726,7 +43726,7 @@ var Service = class Service extends Object$1 {
|
|
|
43726
43726
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43727
43727
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43728
43728
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43729
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43729
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43730
43730
|
let fetchResult;
|
|
43731
43731
|
try {
|
|
43732
43732
|
fetchResult = await documentLoader(url.href);
|
|
@@ -43849,7 +43849,7 @@ var Service = class Service extends Object$1 {
|
|
|
43849
43849
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
43850
43850
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
43851
43851
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
43852
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
43852
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
43853
43853
|
let fetchResult;
|
|
43854
43854
|
try {
|
|
43855
43855
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44011,7 +44011,7 @@ var Service = class Service extends Object$1 {
|
|
|
44011
44011
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44012
44012
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44013
44013
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44014
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44014
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44015
44015
|
let fetchResult;
|
|
44016
44016
|
try {
|
|
44017
44017
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44177,7 +44177,7 @@ var Service = class Service extends Object$1 {
|
|
|
44177
44177
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44178
44178
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44179
44179
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44180
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44180
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44181
44181
|
let fetchResult;
|
|
44182
44182
|
try {
|
|
44183
44183
|
fetchResult = await documentLoader(url.href);
|
|
@@ -44391,7 +44391,7 @@ var Service = class Service extends Object$1 {
|
|
|
44391
44391
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
44392
44392
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
44393
44393
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
44394
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.
|
|
44394
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
44395
44395
|
let fetchResult;
|
|
44396
44396
|
try {
|
|
44397
44397
|
fetchResult = await documentLoader(url.href);
|
|
@@ -45076,7 +45076,7 @@ var Service = class Service extends Object$1 {
|
|
|
45076
45076
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45077
45077
|
*/
|
|
45078
45078
|
static async fromJsonLd(json, options = {}) {
|
|
45079
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45079
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45080
45080
|
try {
|
|
45081
45081
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
45082
45082
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45758,7 +45758,7 @@ var Source = class {
|
|
|
45758
45758
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45759
45759
|
*/
|
|
45760
45760
|
static async fromJsonLd(json, options = {}) {
|
|
45761
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45761
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45762
45762
|
try {
|
|
45763
45763
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
45764
45764
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -45936,7 +45936,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
45936
45936
|
* @throws {TypeError} If the given `json` is invalid.
|
|
45937
45937
|
*/
|
|
45938
45938
|
static async fromJsonLd(json, options = {}) {
|
|
45939
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
45939
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
45940
45940
|
try {
|
|
45941
45941
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
45942
45942
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46085,7 +46085,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
46085
46085
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46086
46086
|
*/
|
|
46087
46087
|
static async fromJsonLd(json, options = {}) {
|
|
46088
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46088
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46089
46089
|
try {
|
|
46090
46090
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
46091
46091
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46323,7 +46323,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
46323
46323
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46324
46324
|
*/
|
|
46325
46325
|
static async fromJsonLd(json, options = {}) {
|
|
46326
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46326
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46327
46327
|
try {
|
|
46328
46328
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
46329
46329
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46509,7 +46509,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
46509
46509
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46510
46510
|
*/
|
|
46511
46511
|
static async fromJsonLd(json, options = {}) {
|
|
46512
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46512
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46513
46513
|
try {
|
|
46514
46514
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
46515
46515
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46672,7 +46672,7 @@ var Undo = class Undo extends Activity {
|
|
|
46672
46672
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46673
46673
|
*/
|
|
46674
46674
|
static async fromJsonLd(json, options = {}) {
|
|
46675
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46675
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46676
46676
|
try {
|
|
46677
46677
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
46678
46678
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -46883,7 +46883,7 @@ var Update = class Update extends Activity {
|
|
|
46883
46883
|
* @throws {TypeError} If the given `json` is invalid.
|
|
46884
46884
|
*/
|
|
46885
46885
|
static async fromJsonLd(json, options = {}) {
|
|
46886
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
46886
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
46887
46887
|
try {
|
|
46888
46888
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
46889
46889
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47045,7 +47045,7 @@ var Video = class Video extends Document {
|
|
|
47045
47045
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47046
47046
|
*/
|
|
47047
47047
|
static async fromJsonLd(json, options = {}) {
|
|
47048
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
47048
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47049
47049
|
try {
|
|
47050
47050
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
47051
47051
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -47193,7 +47193,7 @@ var View = class View extends Activity {
|
|
|
47193
47193
|
* @throws {TypeError} If the given `json` is invalid.
|
|
47194
47194
|
*/
|
|
47195
47195
|
static async fromJsonLd(json, options = {}) {
|
|
47196
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.
|
|
47196
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.3.0").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
47197
47197
|
try {
|
|
47198
47198
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
47199
47199
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|