@fedify/vocab 2.0.17-dev.1093 → 2.0.18
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 +185 -185
- package/dist/mod.js +185 -185
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/{deno-DmxUsCa1.mjs → deno-CxcsQ2wu.mjs} +2 -2
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-BFNiYemZ.mjs → vocab-Be5zTOTb.mjs} +184 -184
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +4 -4
|
@@ -713,7 +713,7 @@ var Object$1 = class Object$1 {
|
|
|
713
713
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
714
714
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
715
715
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
716
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
716
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
717
717
|
let fetchResult;
|
|
718
718
|
try {
|
|
719
719
|
fetchResult = await documentLoader(url.href);
|
|
@@ -859,7 +859,7 @@ var Object$1 = class Object$1 {
|
|
|
859
859
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
860
860
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
861
861
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
862
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
862
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
863
863
|
let fetchResult;
|
|
864
864
|
try {
|
|
865
865
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1071,7 +1071,7 @@ var Object$1 = class Object$1 {
|
|
|
1071
1071
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1072
1072
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1073
1073
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1074
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1074
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1075
1075
|
let fetchResult;
|
|
1076
1076
|
try {
|
|
1077
1077
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1255,7 +1255,7 @@ var Object$1 = class Object$1 {
|
|
|
1255
1255
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1256
1256
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1257
1257
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1258
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1258
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1259
1259
|
let fetchResult;
|
|
1260
1260
|
try {
|
|
1261
1261
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1417,7 +1417,7 @@ var Object$1 = class Object$1 {
|
|
|
1417
1417
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1418
1418
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1419
1419
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1420
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1420
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1421
1421
|
let fetchResult;
|
|
1422
1422
|
try {
|
|
1423
1423
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1547,7 +1547,7 @@ var Object$1 = class Object$1 {
|
|
|
1547
1547
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1548
1548
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1549
1549
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1550
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1550
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1551
1551
|
let fetchResult;
|
|
1552
1552
|
try {
|
|
1553
1553
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1713,7 +1713,7 @@ var Object$1 = class Object$1 {
|
|
|
1713
1713
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1714
1714
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1715
1715
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1716
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1716
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1717
1717
|
let fetchResult;
|
|
1718
1718
|
try {
|
|
1719
1719
|
fetchResult = await documentLoader(url.href);
|
|
@@ -1879,7 +1879,7 @@ var Object$1 = class Object$1 {
|
|
|
1879
1879
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
1880
1880
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
1881
1881
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
1882
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
1882
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
1883
1883
|
let fetchResult;
|
|
1884
1884
|
try {
|
|
1885
1885
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2053,7 +2053,7 @@ var Object$1 = class Object$1 {
|
|
|
2053
2053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2054
2054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2055
2055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2056
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2056
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2057
2057
|
let fetchResult;
|
|
2058
2058
|
try {
|
|
2059
2059
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2227,7 +2227,7 @@ var Object$1 = class Object$1 {
|
|
|
2227
2227
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2228
2228
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2229
2229
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2230
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2230
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2231
2231
|
let fetchResult;
|
|
2232
2232
|
try {
|
|
2233
2233
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2406,7 +2406,7 @@ var Object$1 = class Object$1 {
|
|
|
2406
2406
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2407
2407
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2408
2408
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2409
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2409
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2410
2410
|
let fetchResult;
|
|
2411
2411
|
try {
|
|
2412
2412
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2527,7 +2527,7 @@ var Object$1 = class Object$1 {
|
|
|
2527
2527
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2528
2528
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2529
2529
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2530
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2530
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2531
2531
|
let fetchResult;
|
|
2532
2532
|
try {
|
|
2533
2533
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2654,7 +2654,7 @@ var Object$1 = class Object$1 {
|
|
|
2654
2654
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2655
2655
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2656
2656
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2657
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2657
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2658
2658
|
let fetchResult;
|
|
2659
2659
|
try {
|
|
2660
2660
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2781,7 +2781,7 @@ var Object$1 = class Object$1 {
|
|
|
2781
2781
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2782
2782
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2783
2783
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2784
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2784
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2785
2785
|
let fetchResult;
|
|
2786
2786
|
try {
|
|
2787
2787
|
fetchResult = await documentLoader(url.href);
|
|
@@ -2926,7 +2926,7 @@ var Object$1 = class Object$1 {
|
|
|
2926
2926
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
2927
2927
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
2928
2928
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
2929
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
2929
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
2930
2930
|
let fetchResult;
|
|
2931
2931
|
try {
|
|
2932
2932
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3078,7 +3078,7 @@ var Object$1 = class Object$1 {
|
|
|
3078
3078
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3079
3079
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3080
3080
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3081
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3081
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3082
3082
|
let fetchResult;
|
|
3083
3083
|
try {
|
|
3084
3084
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3242,7 +3242,7 @@ var Object$1 = class Object$1 {
|
|
|
3242
3242
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3243
3243
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3244
3244
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3245
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3245
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3246
3246
|
let fetchResult;
|
|
3247
3247
|
try {
|
|
3248
3248
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3406,7 +3406,7 @@ var Object$1 = class Object$1 {
|
|
|
3406
3406
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3407
3407
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3408
3408
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3409
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3409
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3410
3410
|
let fetchResult;
|
|
3411
3411
|
try {
|
|
3412
3412
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3570,7 +3570,7 @@ var Object$1 = class Object$1 {
|
|
|
3570
3570
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3571
3571
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3572
3572
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3573
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3573
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3574
3574
|
let fetchResult;
|
|
3575
3575
|
try {
|
|
3576
3576
|
fetchResult = await documentLoader(url.href);
|
|
@@ -3771,7 +3771,7 @@ var Object$1 = class Object$1 {
|
|
|
3771
3771
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
3772
3772
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
3773
3773
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
3774
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
3774
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
3775
3775
|
let fetchResult;
|
|
3776
3776
|
try {
|
|
3777
3777
|
fetchResult = await documentLoader(url.href);
|
|
@@ -4560,7 +4560,7 @@ var Object$1 = class Object$1 {
|
|
|
4560
4560
|
* @throws {TypeError} If the given `json` is invalid.
|
|
4561
4561
|
*/
|
|
4562
4562
|
static async fromJsonLd(json, options = {}) {
|
|
4563
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
4563
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
4564
4564
|
try {
|
|
4565
4565
|
const object = await this.__fromJsonLd__Object__(json, span, options);
|
|
4566
4566
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -5804,7 +5804,7 @@ var Emoji = class Emoji extends Object$1 {
|
|
|
5804
5804
|
* @throws {TypeError} If the given `json` is invalid.
|
|
5805
5805
|
*/
|
|
5806
5806
|
static async fromJsonLd(json, options = {}) {
|
|
5807
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
5807
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
5808
5808
|
try {
|
|
5809
5809
|
const object = await this.__fromJsonLd__Emoji__(json, span, options);
|
|
5810
5810
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6041,7 +6041,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
|
|
|
6041
6041
|
* @throws {TypeError} If the given `json` is invalid.
|
|
6042
6042
|
*/
|
|
6043
6043
|
static async fromJsonLd(json, options = {}) {
|
|
6044
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
6044
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
6045
6045
|
try {
|
|
6046
6046
|
const object = await this.__fromJsonLd__ChatMessage__(json, span, options);
|
|
6047
6047
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -6322,7 +6322,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6322
6322
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6323
6323
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6324
6324
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6325
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6325
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6326
6326
|
let fetchResult;
|
|
6327
6327
|
try {
|
|
6328
6328
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6534,7 +6534,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6534
6534
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6535
6535
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6536
6536
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6537
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6537
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6538
6538
|
let fetchResult;
|
|
6539
6539
|
try {
|
|
6540
6540
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6700,7 +6700,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6700
6700
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6701
6701
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6702
6702
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6703
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6703
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6704
6704
|
let fetchResult;
|
|
6705
6705
|
try {
|
|
6706
6706
|
fetchResult = await documentLoader(url.href);
|
|
@@ -6872,7 +6872,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
6872
6872
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
6873
6873
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
6874
6874
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
6875
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
6875
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
6876
6876
|
let fetchResult;
|
|
6877
6877
|
try {
|
|
6878
6878
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7038,7 +7038,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7038
7038
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7039
7039
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7040
7040
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7041
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7041
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7042
7042
|
let fetchResult;
|
|
7043
7043
|
try {
|
|
7044
7044
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7206,7 +7206,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7206
7206
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
7207
7207
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
7208
7208
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
7209
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
7209
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
7210
7210
|
let fetchResult;
|
|
7211
7211
|
try {
|
|
7212
7212
|
fetchResult = await documentLoader(url.href);
|
|
@@ -7456,7 +7456,7 @@ var Activity = class Activity extends Object$1 {
|
|
|
7456
7456
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7457
7457
|
*/
|
|
7458
7458
|
static async fromJsonLd(json, options = {}) {
|
|
7459
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7459
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7460
7460
|
try {
|
|
7461
7461
|
const object = await this.__fromJsonLd__Activity__(json, span, options);
|
|
7462
7462
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -7774,7 +7774,7 @@ var EmojiReact = class EmojiReact extends Activity {
|
|
|
7774
7774
|
* @throws {TypeError} If the given `json` is invalid.
|
|
7775
7775
|
*/
|
|
7776
7776
|
static async fromJsonLd(json, options = {}) {
|
|
7777
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
7777
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
7778
7778
|
try {
|
|
7779
7779
|
const object = await this.__fromJsonLd__EmojiReact__(json, span, options);
|
|
7780
7780
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8020,7 +8020,7 @@ var PropertyValue = class {
|
|
|
8020
8020
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8021
8021
|
*/
|
|
8022
8022
|
static async fromJsonLd(json, options = {}) {
|
|
8023
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8023
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8024
8024
|
try {
|
|
8025
8025
|
const object = await this.__fromJsonLd__PropertyValue__(json, span, options);
|
|
8026
8026
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8254,7 +8254,7 @@ var DidService = class {
|
|
|
8254
8254
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8255
8255
|
*/
|
|
8256
8256
|
static async fromJsonLd(json, options = {}) {
|
|
8257
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8257
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8258
8258
|
try {
|
|
8259
8259
|
const object = await this.__fromJsonLd__DidService__(json, span, options);
|
|
8260
8260
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8408,7 +8408,7 @@ var Export = class Export extends DidService {
|
|
|
8408
8408
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8409
8409
|
*/
|
|
8410
8410
|
static async fromJsonLd(json, options = {}) {
|
|
8411
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8411
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8412
8412
|
try {
|
|
8413
8413
|
const object = await this.__fromJsonLd__Export__(json, span, options);
|
|
8414
8414
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -8581,7 +8581,7 @@ var DataIntegrityProof = class {
|
|
|
8581
8581
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
8582
8582
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
8583
8583
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
8584
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
8584
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
8585
8585
|
let fetchResult;
|
|
8586
8586
|
try {
|
|
8587
8587
|
fetchResult = await documentLoader(url.href);
|
|
@@ -8800,7 +8800,7 @@ var DataIntegrityProof = class {
|
|
|
8800
8800
|
* @throws {TypeError} If the given `json` is invalid.
|
|
8801
8801
|
*/
|
|
8802
8802
|
static async fromJsonLd(json, options = {}) {
|
|
8803
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
8803
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
8804
8804
|
try {
|
|
8805
8805
|
const object = await this.__fromJsonLd__DataIntegrityProof__(json, span, options);
|
|
8806
8806
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9014,7 +9014,7 @@ var CryptographicKey = class {
|
|
|
9014
9014
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9015
9015
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9016
9016
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9017
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9017
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9018
9018
|
let fetchResult;
|
|
9019
9019
|
try {
|
|
9020
9020
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9276,7 +9276,7 @@ var CryptographicKey = class {
|
|
|
9276
9276
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9277
9277
|
*/
|
|
9278
9278
|
static async fromJsonLd(json, options = {}) {
|
|
9279
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9279
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9280
9280
|
try {
|
|
9281
9281
|
const object = await this.__fromJsonLd__CryptographicKey__(json, span, options);
|
|
9282
9282
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9471,7 +9471,7 @@ var Multikey = class {
|
|
|
9471
9471
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
9472
9472
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
9473
9473
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
9474
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
9474
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
9475
9475
|
let fetchResult;
|
|
9476
9476
|
try {
|
|
9477
9477
|
fetchResult = await documentLoader(url.href);
|
|
@@ -9739,7 +9739,7 @@ var Multikey = class {
|
|
|
9739
9739
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9740
9740
|
*/
|
|
9741
9741
|
static async fromJsonLd(json, options = {}) {
|
|
9742
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9742
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9743
9743
|
try {
|
|
9744
9744
|
const object = await this.__fromJsonLd__Multikey__(json, span, options);
|
|
9745
9745
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -9933,7 +9933,7 @@ var Accept = class Accept extends Activity {
|
|
|
9933
9933
|
* @throws {TypeError} If the given `json` is invalid.
|
|
9934
9934
|
*/
|
|
9935
9935
|
static async fromJsonLd(json, options = {}) {
|
|
9936
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
9936
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
9937
9937
|
try {
|
|
9938
9938
|
const object = await this.__fromJsonLd__Accept__(json, span, options);
|
|
9939
9939
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10084,7 +10084,7 @@ var Add = class Add extends Activity {
|
|
|
10084
10084
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10085
10085
|
*/
|
|
10086
10086
|
static async fromJsonLd(json, options = {}) {
|
|
10087
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10087
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10088
10088
|
try {
|
|
10089
10089
|
const object = await this.__fromJsonLd__Add__(json, span, options);
|
|
10090
10090
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10252,7 +10252,7 @@ var Announce = class Announce extends Activity {
|
|
|
10252
10252
|
* @throws {TypeError} If the given `json` is invalid.
|
|
10253
10253
|
*/
|
|
10254
10254
|
static async fromJsonLd(json, options = {}) {
|
|
10255
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
10255
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
10256
10256
|
try {
|
|
10257
10257
|
const object = await this.__fromJsonLd__Announce__(json, span, options);
|
|
10258
10258
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -10647,7 +10647,7 @@ var Application = class Application extends Object$1 {
|
|
|
10647
10647
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10648
10648
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10649
10649
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10650
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10650
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10651
10651
|
let fetchResult;
|
|
10652
10652
|
try {
|
|
10653
10653
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10809,7 +10809,7 @@ var Application = class Application extends Object$1 {
|
|
|
10809
10809
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10810
10810
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10811
10811
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10812
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10812
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10813
10813
|
let fetchResult;
|
|
10814
10814
|
try {
|
|
10815
10815
|
fetchResult = await documentLoader(url.href);
|
|
@@ -10989,7 +10989,7 @@ var Application = class Application extends Object$1 {
|
|
|
10989
10989
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
10990
10990
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
10991
10991
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
10992
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
10992
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
10993
10993
|
let fetchResult;
|
|
10994
10994
|
try {
|
|
10995
10995
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11131,7 +11131,7 @@ var Application = class Application extends Object$1 {
|
|
|
11131
11131
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11132
11132
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11133
11133
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11134
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11134
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11135
11135
|
let fetchResult;
|
|
11136
11136
|
try {
|
|
11137
11137
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11270,7 +11270,7 @@ var Application = class Application extends Object$1 {
|
|
|
11270
11270
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11271
11271
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11272
11272
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11273
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11273
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11274
11274
|
let fetchResult;
|
|
11275
11275
|
try {
|
|
11276
11276
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11394,7 +11394,7 @@ var Application = class Application extends Object$1 {
|
|
|
11394
11394
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11395
11395
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11396
11396
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11397
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11397
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11398
11398
|
let fetchResult;
|
|
11399
11399
|
try {
|
|
11400
11400
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11521,7 +11521,7 @@ var Application = class Application extends Object$1 {
|
|
|
11521
11521
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11522
11522
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11523
11523
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11524
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11524
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11525
11525
|
let fetchResult;
|
|
11526
11526
|
try {
|
|
11527
11527
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11646,7 +11646,7 @@ var Application = class Application extends Object$1 {
|
|
|
11646
11646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11647
11647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11648
11648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11649
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11649
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11650
11650
|
let fetchResult;
|
|
11651
11651
|
try {
|
|
11652
11652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11769,7 +11769,7 @@ var Application = class Application extends Object$1 {
|
|
|
11769
11769
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11770
11770
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11771
11771
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11772
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11772
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11773
11773
|
let fetchResult;
|
|
11774
11774
|
try {
|
|
11775
11775
|
fetchResult = await documentLoader(url.href);
|
|
@@ -11892,7 +11892,7 @@ var Application = class Application extends Object$1 {
|
|
|
11892
11892
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
11893
11893
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
11894
11894
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
11895
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
11895
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
11896
11896
|
let fetchResult;
|
|
11897
11897
|
try {
|
|
11898
11898
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12054,7 +12054,7 @@ var Application = class Application extends Object$1 {
|
|
|
12054
12054
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12055
12055
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12056
12056
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12057
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12057
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12058
12058
|
let fetchResult;
|
|
12059
12059
|
try {
|
|
12060
12060
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12220,7 +12220,7 @@ var Application = class Application extends Object$1 {
|
|
|
12220
12220
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12221
12221
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12222
12222
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12223
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12223
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12224
12224
|
let fetchResult;
|
|
12225
12225
|
try {
|
|
12226
12226
|
fetchResult = await documentLoader(url.href);
|
|
@@ -12434,7 +12434,7 @@ var Application = class Application extends Object$1 {
|
|
|
12434
12434
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
12435
12435
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
12436
12436
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
12437
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
12437
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
12438
12438
|
let fetchResult;
|
|
12439
12439
|
try {
|
|
12440
12440
|
fetchResult = await documentLoader(url.href);
|
|
@@ -13117,7 +13117,7 @@ var Application = class Application extends Object$1 {
|
|
|
13117
13117
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13118
13118
|
*/
|
|
13119
13119
|
static async fromJsonLd(json, options = {}) {
|
|
13120
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13120
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13121
13121
|
try {
|
|
13122
13122
|
const object = await this.__fromJsonLd__Application__(json, span, options);
|
|
13123
13123
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13670,7 +13670,7 @@ var IntransitiveActivity = class IntransitiveActivity extends Activity {
|
|
|
13670
13670
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13671
13671
|
*/
|
|
13672
13672
|
static async fromJsonLd(json, options = {}) {
|
|
13673
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13673
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13674
13674
|
try {
|
|
13675
13675
|
const object = await this.__fromJsonLd__IntransitiveActivity__(json, span, options);
|
|
13676
13676
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -13822,7 +13822,7 @@ var Arrive = class Arrive extends IntransitiveActivity {
|
|
|
13822
13822
|
* @throws {TypeError} If the given `json` is invalid.
|
|
13823
13823
|
*/
|
|
13824
13824
|
static async fromJsonLd(json, options = {}) {
|
|
13825
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
13825
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
13826
13826
|
try {
|
|
13827
13827
|
const object = await this.__fromJsonLd__Arrive__(json, span, options);
|
|
13828
13828
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14057,7 +14057,7 @@ var Article = class Article extends Object$1 {
|
|
|
14057
14057
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14058
14058
|
*/
|
|
14059
14059
|
static async fromJsonLd(json, options = {}) {
|
|
14060
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14060
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14061
14061
|
try {
|
|
14062
14062
|
const object = await this.__fromJsonLd__Article__(json, span, options);
|
|
14063
14063
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14286,7 +14286,7 @@ var Document = class Document extends Object$1 {
|
|
|
14286
14286
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14287
14287
|
*/
|
|
14288
14288
|
static async fromJsonLd(json, options = {}) {
|
|
14289
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14289
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14290
14290
|
try {
|
|
14291
14291
|
const object = await this.__fromJsonLd__Document__(json, span, options);
|
|
14292
14292
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14469,7 +14469,7 @@ var Audio = class Audio extends Document {
|
|
|
14469
14469
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14470
14470
|
*/
|
|
14471
14471
|
static async fromJsonLd(json, options = {}) {
|
|
14472
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14472
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14473
14473
|
try {
|
|
14474
14474
|
const object = await this.__fromJsonLd__Audio__(json, span, options);
|
|
14475
14475
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14617,7 +14617,7 @@ var Ignore = class Ignore extends Activity {
|
|
|
14617
14617
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14618
14618
|
*/
|
|
14619
14619
|
static async fromJsonLd(json, options = {}) {
|
|
14620
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14620
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14621
14621
|
try {
|
|
14622
14622
|
const object = await this.__fromJsonLd__Ignore__(json, span, options);
|
|
14623
14623
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -14768,7 +14768,7 @@ var Block = class Block extends Ignore {
|
|
|
14768
14768
|
* @throws {TypeError} If the given `json` is invalid.
|
|
14769
14769
|
*/
|
|
14770
14770
|
static async fromJsonLd(json, options = {}) {
|
|
14771
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
14771
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
14772
14772
|
try {
|
|
14773
14773
|
const object = await this.__fromJsonLd__Block__(json, span, options);
|
|
14774
14774
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -15032,7 +15032,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15032
15032
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15033
15033
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15034
15034
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15035
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15035
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15036
15036
|
let fetchResult;
|
|
15037
15037
|
try {
|
|
15038
15038
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15153,7 +15153,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15153
15153
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15154
15154
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15155
15155
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15156
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15156
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15157
15157
|
let fetchResult;
|
|
15158
15158
|
try {
|
|
15159
15159
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15274,7 +15274,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15274
15274
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15275
15275
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15276
15276
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15277
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15277
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15278
15278
|
let fetchResult;
|
|
15279
15279
|
try {
|
|
15280
15280
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15395,7 +15395,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15395
15395
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15396
15396
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15397
15397
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15398
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15398
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15399
15399
|
let fetchResult;
|
|
15400
15400
|
try {
|
|
15401
15401
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15526,7 +15526,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15526
15526
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15527
15527
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15528
15528
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15529
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15529
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15530
15530
|
let fetchResult;
|
|
15531
15531
|
try {
|
|
15532
15532
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15646,7 +15646,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15646
15646
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15647
15647
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15648
15648
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15649
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15649
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15650
15650
|
let fetchResult;
|
|
15651
15651
|
try {
|
|
15652
15652
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15766,7 +15766,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15766
15766
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15767
15767
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15768
15768
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15769
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15769
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15770
15770
|
let fetchResult;
|
|
15771
15771
|
try {
|
|
15772
15772
|
fetchResult = await documentLoader(url.href);
|
|
@@ -15886,7 +15886,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
15886
15886
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
15887
15887
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
15888
15888
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
15889
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
15889
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
15890
15890
|
let fetchResult;
|
|
15891
15891
|
try {
|
|
15892
15892
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16006,7 +16006,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16006
16006
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16007
16007
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16008
16008
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16009
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16009
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16010
16010
|
let fetchResult;
|
|
16011
16011
|
try {
|
|
16012
16012
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16126,7 +16126,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16126
16126
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16127
16127
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16128
16128
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16129
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16129
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16130
16130
|
let fetchResult;
|
|
16131
16131
|
try {
|
|
16132
16132
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16246,7 +16246,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16246
16246
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16247
16247
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16248
16248
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16249
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16249
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16250
16250
|
let fetchResult;
|
|
16251
16251
|
try {
|
|
16252
16252
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16366,7 +16366,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16366
16366
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
16367
16367
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
16368
16368
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
16369
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
16369
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
16370
16370
|
let fetchResult;
|
|
16371
16371
|
try {
|
|
16372
16372
|
fetchResult = await documentLoader(url.href);
|
|
@@ -16793,7 +16793,7 @@ var Collection = class Collection extends Object$1 {
|
|
|
16793
16793
|
* @throws {TypeError} If the given `json` is invalid.
|
|
16794
16794
|
*/
|
|
16795
16795
|
static async fromJsonLd(json, options = {}) {
|
|
16796
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
16796
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
16797
16797
|
try {
|
|
16798
16798
|
const object = await this.__fromJsonLd__Collection__(json, span, options);
|
|
16799
16799
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17240,7 +17240,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17240
17240
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17241
17241
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17242
17242
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17243
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17243
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17244
17244
|
let fetchResult;
|
|
17245
17245
|
try {
|
|
17246
17246
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17361,7 +17361,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17361
17361
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17362
17362
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17363
17363
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17364
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17364
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17365
17365
|
let fetchResult;
|
|
17366
17366
|
try {
|
|
17367
17367
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17481,7 +17481,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17481
17481
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
17482
17482
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
17483
17483
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
17484
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
17484
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
17485
17485
|
let fetchResult;
|
|
17486
17486
|
try {
|
|
17487
17487
|
fetchResult = await documentLoader(url.href);
|
|
@@ -17745,7 +17745,7 @@ var CollectionPage = class CollectionPage extends Collection {
|
|
|
17745
17745
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17746
17746
|
*/
|
|
17747
17747
|
static async fromJsonLd(json, options = {}) {
|
|
17748
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17748
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17749
17749
|
try {
|
|
17750
17750
|
const object = await this.__fromJsonLd__CollectionPage__(json, span, options);
|
|
17751
17751
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -17971,7 +17971,7 @@ var Create = class Create extends Activity {
|
|
|
17971
17971
|
* @throws {TypeError} If the given `json` is invalid.
|
|
17972
17972
|
*/
|
|
17973
17973
|
static async fromJsonLd(json, options = {}) {
|
|
17974
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
17974
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
17975
17975
|
try {
|
|
17976
17976
|
const object = await this.__fromJsonLd__Create__(json, span, options);
|
|
17977
17977
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18135,7 +18135,7 @@ var Delete = class Delete extends Activity {
|
|
|
18135
18135
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18136
18136
|
*/
|
|
18137
18137
|
static async fromJsonLd(json, options = {}) {
|
|
18138
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18138
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18139
18139
|
try {
|
|
18140
18140
|
const object = await this.__fromJsonLd__Delete__(json, span, options);
|
|
18141
18141
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18286,7 +18286,7 @@ var Dislike = class Dislike extends Activity {
|
|
|
18286
18286
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18287
18287
|
*/
|
|
18288
18288
|
static async fromJsonLd(json, options = {}) {
|
|
18289
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18289
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18290
18290
|
try {
|
|
18291
18291
|
const object = await this.__fromJsonLd__Dislike__(json, span, options);
|
|
18292
18292
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18633,7 +18633,7 @@ var Endpoints = class {
|
|
|
18633
18633
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18634
18634
|
*/
|
|
18635
18635
|
static async fromJsonLd(json, options = {}) {
|
|
18636
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18636
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18637
18637
|
try {
|
|
18638
18638
|
const object = await this.__fromJsonLd__Endpoints__(json, span, options);
|
|
18639
18639
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -18859,7 +18859,7 @@ var Event = class Event extends Object$1 {
|
|
|
18859
18859
|
* @throws {TypeError} If the given `json` is invalid.
|
|
18860
18860
|
*/
|
|
18861
18861
|
static async fromJsonLd(json, options = {}) {
|
|
18862
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
18862
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
18863
18863
|
try {
|
|
18864
18864
|
const object = await this.__fromJsonLd__Event__(json, span, options);
|
|
18865
18865
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19008,7 +19008,7 @@ var Flag = class Flag extends Activity {
|
|
|
19008
19008
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19009
19009
|
*/
|
|
19010
19010
|
static async fromJsonLd(json, options = {}) {
|
|
19011
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19011
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19012
19012
|
try {
|
|
19013
19013
|
const object = await this.__fromJsonLd__Flag__(json, span, options);
|
|
19014
19014
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19161,7 +19161,7 @@ var Follow = class Follow extends Activity {
|
|
|
19161
19161
|
* @throws {TypeError} If the given `json` is invalid.
|
|
19162
19162
|
*/
|
|
19163
19163
|
static async fromJsonLd(json, options = {}) {
|
|
19164
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
19164
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
19165
19165
|
try {
|
|
19166
19166
|
const object = await this.__fromJsonLd__Follow__(json, span, options);
|
|
19167
19167
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -19556,7 +19556,7 @@ var Group = class Group extends Object$1 {
|
|
|
19556
19556
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19557
19557
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19558
19558
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19559
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19559
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19560
19560
|
let fetchResult;
|
|
19561
19561
|
try {
|
|
19562
19562
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19718,7 +19718,7 @@ var Group = class Group extends Object$1 {
|
|
|
19718
19718
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19719
19719
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19720
19720
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19721
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19721
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19722
19722
|
let fetchResult;
|
|
19723
19723
|
try {
|
|
19724
19724
|
fetchResult = await documentLoader(url.href);
|
|
@@ -19898,7 +19898,7 @@ var Group = class Group extends Object$1 {
|
|
|
19898
19898
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
19899
19899
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
19900
19900
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
19901
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
19901
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
19902
19902
|
let fetchResult;
|
|
19903
19903
|
try {
|
|
19904
19904
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20040,7 +20040,7 @@ var Group = class Group extends Object$1 {
|
|
|
20040
20040
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20041
20041
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20042
20042
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20043
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20043
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20044
20044
|
let fetchResult;
|
|
20045
20045
|
try {
|
|
20046
20046
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20179,7 +20179,7 @@ var Group = class Group extends Object$1 {
|
|
|
20179
20179
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20180
20180
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20181
20181
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20182
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20182
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20183
20183
|
let fetchResult;
|
|
20184
20184
|
try {
|
|
20185
20185
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20303,7 +20303,7 @@ var Group = class Group extends Object$1 {
|
|
|
20303
20303
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20304
20304
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20305
20305
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20306
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20306
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20307
20307
|
let fetchResult;
|
|
20308
20308
|
try {
|
|
20309
20309
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20430,7 +20430,7 @@ var Group = class Group extends Object$1 {
|
|
|
20430
20430
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20431
20431
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20432
20432
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20433
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20433
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20434
20434
|
let fetchResult;
|
|
20435
20435
|
try {
|
|
20436
20436
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20555,7 +20555,7 @@ var Group = class Group extends Object$1 {
|
|
|
20555
20555
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20556
20556
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20557
20557
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20558
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20558
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20559
20559
|
let fetchResult;
|
|
20560
20560
|
try {
|
|
20561
20561
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20678,7 +20678,7 @@ var Group = class Group extends Object$1 {
|
|
|
20678
20678
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20679
20679
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20680
20680
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20681
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20681
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20682
20682
|
let fetchResult;
|
|
20683
20683
|
try {
|
|
20684
20684
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20801,7 +20801,7 @@ var Group = class Group extends Object$1 {
|
|
|
20801
20801
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20802
20802
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20803
20803
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20804
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20804
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20805
20805
|
let fetchResult;
|
|
20806
20806
|
try {
|
|
20807
20807
|
fetchResult = await documentLoader(url.href);
|
|
@@ -20963,7 +20963,7 @@ var Group = class Group extends Object$1 {
|
|
|
20963
20963
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
20964
20964
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
20965
20965
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
20966
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
20966
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
20967
20967
|
let fetchResult;
|
|
20968
20968
|
try {
|
|
20969
20969
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21129,7 +21129,7 @@ var Group = class Group 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.0.
|
|
21132
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21133
21133
|
let fetchResult;
|
|
21134
21134
|
try {
|
|
21135
21135
|
fetchResult = await documentLoader(url.href);
|
|
@@ -21343,7 +21343,7 @@ var Group = class Group extends Object$1 {
|
|
|
21343
21343
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
21344
21344
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
21345
21345
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
21346
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
21346
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
21347
21347
|
let fetchResult;
|
|
21348
21348
|
try {
|
|
21349
21349
|
fetchResult = await documentLoader(url.href);
|
|
@@ -22026,7 +22026,7 @@ var Group = class Group extends Object$1 {
|
|
|
22026
22026
|
* @throws {TypeError} If the given `json` is invalid.
|
|
22027
22027
|
*/
|
|
22028
22028
|
static async fromJsonLd(json, options = {}) {
|
|
22029
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
22029
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
22030
22030
|
try {
|
|
22031
22031
|
const object = await this.__fromJsonLd__Group__(json, span, options);
|
|
22032
22032
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -22718,7 +22718,7 @@ var Link = class Link {
|
|
|
22718
22718
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
22719
22719
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
22720
22720
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
22721
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
22721
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
22722
22722
|
let fetchResult;
|
|
22723
22723
|
try {
|
|
22724
22724
|
fetchResult = await documentLoader(url.href);
|
|
@@ -23010,7 +23010,7 @@ var Link = class Link {
|
|
|
23010
23010
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23011
23011
|
*/
|
|
23012
23012
|
static async fromJsonLd(json, options = {}) {
|
|
23013
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23013
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23014
23014
|
try {
|
|
23015
23015
|
const object = await this.__fromJsonLd__Link__(json, span, options);
|
|
23016
23016
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23337,7 +23337,7 @@ var Hashtag = class Hashtag extends Link {
|
|
|
23337
23337
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23338
23338
|
*/
|
|
23339
23339
|
static async fromJsonLd(json, options = {}) {
|
|
23340
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23340
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23341
23341
|
try {
|
|
23342
23342
|
const object = await this.__fromJsonLd__Hashtag__(json, span, options);
|
|
23343
23343
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23491,7 +23491,7 @@ var Image = class Image extends Document {
|
|
|
23491
23491
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23492
23492
|
*/
|
|
23493
23493
|
static async fromJsonLd(json, options = {}) {
|
|
23494
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23494
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23495
23495
|
try {
|
|
23496
23496
|
const object = await this.__fromJsonLd__Image__(json, span, options);
|
|
23497
23497
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23640,7 +23640,7 @@ var Offer = class Offer extends Activity {
|
|
|
23640
23640
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23641
23641
|
*/
|
|
23642
23642
|
static async fromJsonLd(json, options = {}) {
|
|
23643
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23643
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23644
23644
|
try {
|
|
23645
23645
|
const object = await this.__fromJsonLd__Offer__(json, span, options);
|
|
23646
23646
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23789,7 +23789,7 @@ var Invite = class Invite extends Offer {
|
|
|
23789
23789
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23790
23790
|
*/
|
|
23791
23791
|
static async fromJsonLd(json, options = {}) {
|
|
23792
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23792
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23793
23793
|
try {
|
|
23794
23794
|
const object = await this.__fromJsonLd__Invite__(json, span, options);
|
|
23795
23795
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -23937,7 +23937,7 @@ var Join = class Join extends Activity {
|
|
|
23937
23937
|
* @throws {TypeError} If the given `json` is invalid.
|
|
23938
23938
|
*/
|
|
23939
23939
|
static async fromJsonLd(json, options = {}) {
|
|
23940
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
23940
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
23941
23941
|
try {
|
|
23942
23942
|
const object = await this.__fromJsonLd__Join__(json, span, options);
|
|
23943
23943
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24085,7 +24085,7 @@ var Leave = class Leave extends Activity {
|
|
|
24085
24085
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24086
24086
|
*/
|
|
24087
24087
|
static async fromJsonLd(json, options = {}) {
|
|
24088
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24088
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24089
24089
|
try {
|
|
24090
24090
|
const object = await this.__fromJsonLd__Leave__(json, span, options);
|
|
24091
24091
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24237,7 +24237,7 @@ var Like = class Like extends Activity {
|
|
|
24237
24237
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24238
24238
|
*/
|
|
24239
24239
|
static async fromJsonLd(json, options = {}) {
|
|
24240
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24240
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24241
24241
|
try {
|
|
24242
24242
|
const object = await this.__fromJsonLd__Like__(json, span, options);
|
|
24243
24243
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24384,7 +24384,7 @@ var Listen = class Listen extends Activity {
|
|
|
24384
24384
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24385
24385
|
*/
|
|
24386
24386
|
static async fromJsonLd(json, options = {}) {
|
|
24387
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24387
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24388
24388
|
try {
|
|
24389
24389
|
const object = await this.__fromJsonLd__Listen__(json, span, options);
|
|
24390
24390
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24535,7 +24535,7 @@ var Mention = class Mention extends Link {
|
|
|
24535
24535
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24536
24536
|
*/
|
|
24537
24537
|
static async fromJsonLd(json, options = {}) {
|
|
24538
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24538
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24539
24539
|
try {
|
|
24540
24540
|
const object = await this.__fromJsonLd__Mention__(json, span, options);
|
|
24541
24541
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24684,7 +24684,7 @@ var Move = class Move extends Activity {
|
|
|
24684
24684
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24685
24685
|
*/
|
|
24686
24686
|
static async fromJsonLd(json, options = {}) {
|
|
24687
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24687
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24688
24688
|
try {
|
|
24689
24689
|
const object = await this.__fromJsonLd__Move__(json, span, options);
|
|
24690
24690
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -24920,7 +24920,7 @@ var Note = class Note extends Object$1 {
|
|
|
24920
24920
|
* @throws {TypeError} If the given `json` is invalid.
|
|
24921
24921
|
*/
|
|
24922
24922
|
static async fromJsonLd(json, options = {}) {
|
|
24923
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
24923
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
24924
24924
|
try {
|
|
24925
24925
|
const object = await this.__fromJsonLd__Note__(json, span, options);
|
|
24926
24926
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25049,7 +25049,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25049
25049
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25050
25050
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25051
25051
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25052
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
25052
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25053
25053
|
let fetchResult;
|
|
25054
25054
|
try {
|
|
25055
25055
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25297,7 +25297,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
|
|
|
25297
25297
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25298
25298
|
*/
|
|
25299
25299
|
static async fromJsonLd(json, options = {}) {
|
|
25300
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25300
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25301
25301
|
try {
|
|
25302
25302
|
const object = await this.__fromJsonLd__OrderedCollection__(json, span, options);
|
|
25303
25303
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -25503,7 +25503,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
25503
25503
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
25504
25504
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
25505
25505
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
25506
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
25506
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
25507
25507
|
let fetchResult;
|
|
25508
25508
|
try {
|
|
25509
25509
|
fetchResult = await documentLoader(url.href);
|
|
@@ -25774,7 +25774,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
|
|
|
25774
25774
|
* @throws {TypeError} If the given `json` is invalid.
|
|
25775
25775
|
*/
|
|
25776
25776
|
static async fromJsonLd(json, options = {}) {
|
|
25777
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
25777
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
25778
25778
|
try {
|
|
25779
25779
|
const object = await this.__fromJsonLd__OrderedCollectionPage__(json, span, options);
|
|
25780
25780
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -26266,7 +26266,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26266
26266
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26267
26267
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26268
26268
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26269
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26269
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26270
26270
|
let fetchResult;
|
|
26271
26271
|
try {
|
|
26272
26272
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26428,7 +26428,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26428
26428
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26429
26429
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26430
26430
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26431
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26431
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26432
26432
|
let fetchResult;
|
|
26433
26433
|
try {
|
|
26434
26434
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26608,7 +26608,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26608
26608
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26609
26609
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26610
26610
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26611
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26611
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26612
26612
|
let fetchResult;
|
|
26613
26613
|
try {
|
|
26614
26614
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26750,7 +26750,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26750
26750
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26751
26751
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26752
26752
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26753
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26753
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26754
26754
|
let fetchResult;
|
|
26755
26755
|
try {
|
|
26756
26756
|
fetchResult = await documentLoader(url.href);
|
|
@@ -26889,7 +26889,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
26889
26889
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
26890
26890
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
26891
26891
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
26892
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
26892
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
26893
26893
|
let fetchResult;
|
|
26894
26894
|
try {
|
|
26895
26895
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27013,7 +27013,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27013
27013
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27014
27014
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27015
27015
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27016
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27016
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27017
27017
|
let fetchResult;
|
|
27018
27018
|
try {
|
|
27019
27019
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27140,7 +27140,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27140
27140
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27141
27141
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27142
27142
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27143
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27143
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27144
27144
|
let fetchResult;
|
|
27145
27145
|
try {
|
|
27146
27146
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27265,7 +27265,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27265
27265
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27266
27266
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27267
27267
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27268
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27268
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27269
27269
|
let fetchResult;
|
|
27270
27270
|
try {
|
|
27271
27271
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27388,7 +27388,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27388
27388
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27389
27389
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27390
27390
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27391
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27391
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27392
27392
|
let fetchResult;
|
|
27393
27393
|
try {
|
|
27394
27394
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27511,7 +27511,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27511
27511
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27512
27512
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27513
27513
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27514
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27514
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27515
27515
|
let fetchResult;
|
|
27516
27516
|
try {
|
|
27517
27517
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27673,7 +27673,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27673
27673
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27674
27674
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27675
27675
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27676
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27676
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27677
27677
|
let fetchResult;
|
|
27678
27678
|
try {
|
|
27679
27679
|
fetchResult = await documentLoader(url.href);
|
|
@@ -27839,7 +27839,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
27839
27839
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
27840
27840
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
27841
27841
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
27842
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
27842
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
27843
27843
|
let fetchResult;
|
|
27844
27844
|
try {
|
|
27845
27845
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28053,7 +28053,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28053
28053
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
28054
28054
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
28055
28055
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
28056
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
28056
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
28057
28057
|
let fetchResult;
|
|
28058
28058
|
try {
|
|
28059
28059
|
fetchResult = await documentLoader(url.href);
|
|
@@ -28736,7 +28736,7 @@ var Organization = class Organization extends Object$1 {
|
|
|
28736
28736
|
* @throws {TypeError} If the given `json` is invalid.
|
|
28737
28737
|
*/
|
|
28738
28738
|
static async fromJsonLd(json, options = {}) {
|
|
28739
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
28739
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
28740
28740
|
try {
|
|
28741
28741
|
const object = await this.__fromJsonLd__Organization__(json, span, options);
|
|
28742
28742
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29294,7 +29294,7 @@ var Page = class Page extends Document {
|
|
|
29294
29294
|
* @throws {TypeError} If the given `json` is invalid.
|
|
29295
29295
|
*/
|
|
29296
29296
|
static async fromJsonLd(json, options = {}) {
|
|
29297
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
29297
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
29298
29298
|
try {
|
|
29299
29299
|
const object = await this.__fromJsonLd__Page__(json, span, options);
|
|
29300
29300
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -29689,7 +29689,7 @@ var Person = class Person extends Object$1 {
|
|
|
29689
29689
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29690
29690
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29691
29691
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29692
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29692
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29693
29693
|
let fetchResult;
|
|
29694
29694
|
try {
|
|
29695
29695
|
fetchResult = await documentLoader(url.href);
|
|
@@ -29851,7 +29851,7 @@ var Person = class Person extends Object$1 {
|
|
|
29851
29851
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
29852
29852
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
29853
29853
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
29854
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
29854
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
29855
29855
|
let fetchResult;
|
|
29856
29856
|
try {
|
|
29857
29857
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30031,7 +30031,7 @@ var Person = class Person extends Object$1 {
|
|
|
30031
30031
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30032
30032
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30033
30033
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30034
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30034
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30035
30035
|
let fetchResult;
|
|
30036
30036
|
try {
|
|
30037
30037
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30173,7 +30173,7 @@ var Person = class Person extends Object$1 {
|
|
|
30173
30173
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30174
30174
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30175
30175
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30176
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30176
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30177
30177
|
let fetchResult;
|
|
30178
30178
|
try {
|
|
30179
30179
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30312,7 +30312,7 @@ var Person = class Person extends Object$1 {
|
|
|
30312
30312
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30313
30313
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30314
30314
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30315
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30315
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30316
30316
|
let fetchResult;
|
|
30317
30317
|
try {
|
|
30318
30318
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30436,7 +30436,7 @@ var Person = class Person extends Object$1 {
|
|
|
30436
30436
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30437
30437
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30438
30438
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30439
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30439
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30440
30440
|
let fetchResult;
|
|
30441
30441
|
try {
|
|
30442
30442
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30563,7 +30563,7 @@ var Person = class Person extends Object$1 {
|
|
|
30563
30563
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30564
30564
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30565
30565
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30566
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30566
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30567
30567
|
let fetchResult;
|
|
30568
30568
|
try {
|
|
30569
30569
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30688,7 +30688,7 @@ var Person = class Person extends Object$1 {
|
|
|
30688
30688
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30689
30689
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30690
30690
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30691
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30691
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30692
30692
|
let fetchResult;
|
|
30693
30693
|
try {
|
|
30694
30694
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30811,7 +30811,7 @@ var Person = class Person extends Object$1 {
|
|
|
30811
30811
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30812
30812
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30813
30813
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30814
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30814
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30815
30815
|
let fetchResult;
|
|
30816
30816
|
try {
|
|
30817
30817
|
fetchResult = await documentLoader(url.href);
|
|
@@ -30934,7 +30934,7 @@ var Person = class Person extends Object$1 {
|
|
|
30934
30934
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
30935
30935
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
30936
30936
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
30937
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
30937
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
30938
30938
|
let fetchResult;
|
|
30939
30939
|
try {
|
|
30940
30940
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31096,7 +31096,7 @@ var Person = class Person extends Object$1 {
|
|
|
31096
31096
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31097
31097
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31098
31098
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31099
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31099
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31100
31100
|
let fetchResult;
|
|
31101
31101
|
try {
|
|
31102
31102
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31262,7 +31262,7 @@ var Person = class Person extends Object$1 {
|
|
|
31262
31262
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31263
31263
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31264
31264
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31265
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31265
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31266
31266
|
let fetchResult;
|
|
31267
31267
|
try {
|
|
31268
31268
|
fetchResult = await documentLoader(url.href);
|
|
@@ -31476,7 +31476,7 @@ var Person = class Person extends Object$1 {
|
|
|
31476
31476
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
31477
31477
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
31478
31478
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
31479
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
31479
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
31480
31480
|
let fetchResult;
|
|
31481
31481
|
try {
|
|
31482
31482
|
fetchResult = await documentLoader(url.href);
|
|
@@ -32159,7 +32159,7 @@ var Person = class Person extends Object$1 {
|
|
|
32159
32159
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32160
32160
|
*/
|
|
32161
32161
|
static async fromJsonLd(json, options = {}) {
|
|
32162
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32162
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32163
32163
|
try {
|
|
32164
32164
|
const object = await this.__fromJsonLd__Person__(json, span, options);
|
|
32165
32165
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -32894,7 +32894,7 @@ var Place = class Place extends Object$1 {
|
|
|
32894
32894
|
* @throws {TypeError} If the given `json` is invalid.
|
|
32895
32895
|
*/
|
|
32896
32896
|
static async fromJsonLd(json, options = {}) {
|
|
32897
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
32897
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
32898
32898
|
try {
|
|
32899
32899
|
const object = await this.__fromJsonLd__Place__(json, span, options);
|
|
32900
32900
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33085,7 +33085,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33085
33085
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33086
33086
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33087
33087
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33088
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33088
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33089
33089
|
let fetchResult;
|
|
33090
33090
|
try {
|
|
33091
33091
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33278,7 +33278,7 @@ var Profile = class Profile extends Object$1 {
|
|
|
33278
33278
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33279
33279
|
*/
|
|
33280
33280
|
static async fromJsonLd(json, options = {}) {
|
|
33281
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33281
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33282
33282
|
try {
|
|
33283
33283
|
const object = await this.__fromJsonLd__Profile__(json, span, options);
|
|
33284
33284
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -33449,7 +33449,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33449
33449
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33450
33450
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33451
33451
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33452
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33452
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33453
33453
|
let fetchResult;
|
|
33454
33454
|
try {
|
|
33455
33455
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33571,7 +33571,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33571
33571
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
33572
33572
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
33573
33573
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
33574
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
33574
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
33575
33575
|
let fetchResult;
|
|
33576
33576
|
try {
|
|
33577
33577
|
fetchResult = await documentLoader(url.href);
|
|
@@ -33834,7 +33834,7 @@ var Question = class Question extends IntransitiveActivity {
|
|
|
33834
33834
|
* @throws {TypeError} If the given `json` is invalid.
|
|
33835
33835
|
*/
|
|
33836
33836
|
static async fromJsonLd(json, options = {}) {
|
|
33837
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
33837
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
33838
33838
|
try {
|
|
33839
33839
|
const object = await this.__fromJsonLd__Question__(json, span, options);
|
|
33840
33840
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34060,7 +34060,7 @@ var Read = class Read extends Activity {
|
|
|
34060
34060
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34061
34061
|
*/
|
|
34062
34062
|
static async fromJsonLd(json, options = {}) {
|
|
34063
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34063
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34064
34064
|
try {
|
|
34065
34065
|
const object = await this.__fromJsonLd__Read__(json, span, options);
|
|
34066
34066
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34208,7 +34208,7 @@ var Reject = class Reject extends Activity {
|
|
|
34208
34208
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34209
34209
|
*/
|
|
34210
34210
|
static async fromJsonLd(json, options = {}) {
|
|
34211
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34211
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34212
34212
|
try {
|
|
34213
34213
|
const object = await this.__fromJsonLd__Reject__(json, span, options);
|
|
34214
34214
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -34381,7 +34381,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34381
34381
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34382
34382
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34383
34383
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34384
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34384
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34385
34385
|
let fetchResult;
|
|
34386
34386
|
try {
|
|
34387
34387
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34504,7 +34504,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34504
34504
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34505
34505
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34506
34506
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34507
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34507
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34508
34508
|
let fetchResult;
|
|
34509
34509
|
try {
|
|
34510
34510
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34666,7 +34666,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34666
34666
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
34667
34667
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
34668
34668
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
34669
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
34669
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
34670
34670
|
let fetchResult;
|
|
34671
34671
|
try {
|
|
34672
34672
|
fetchResult = await documentLoader(url.href);
|
|
@@ -34936,7 +34936,7 @@ var Relationship = class Relationship extends Object$1 {
|
|
|
34936
34936
|
* @throws {TypeError} If the given `json` is invalid.
|
|
34937
34937
|
*/
|
|
34938
34938
|
static async fromJsonLd(json, options = {}) {
|
|
34939
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
34939
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
34940
34940
|
try {
|
|
34941
34941
|
const object = await this.__fromJsonLd__Relationship__(json, span, options);
|
|
34942
34942
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35144,7 +35144,7 @@ var Remove = class Remove extends Activity {
|
|
|
35144
35144
|
* @throws {TypeError} If the given `json` is invalid.
|
|
35145
35145
|
*/
|
|
35146
35146
|
static async fromJsonLd(json, options = {}) {
|
|
35147
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
35147
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
35148
35148
|
try {
|
|
35149
35149
|
const object = await this.__fromJsonLd__Remove__(json, span, options);
|
|
35150
35150
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -35539,7 +35539,7 @@ var Service = class Service extends Object$1 {
|
|
|
35539
35539
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35540
35540
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35541
35541
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35542
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35542
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35543
35543
|
let fetchResult;
|
|
35544
35544
|
try {
|
|
35545
35545
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35701,7 +35701,7 @@ var Service = class Service extends Object$1 {
|
|
|
35701
35701
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35702
35702
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35703
35703
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35704
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35704
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35705
35705
|
let fetchResult;
|
|
35706
35706
|
try {
|
|
35707
35707
|
fetchResult = await documentLoader(url.href);
|
|
@@ -35881,7 +35881,7 @@ var Service = class Service extends Object$1 {
|
|
|
35881
35881
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
35882
35882
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
35883
35883
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
35884
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
35884
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
35885
35885
|
let fetchResult;
|
|
35886
35886
|
try {
|
|
35887
35887
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36023,7 +36023,7 @@ var Service = class Service extends Object$1 {
|
|
|
36023
36023
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36024
36024
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36025
36025
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36026
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36026
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36027
36027
|
let fetchResult;
|
|
36028
36028
|
try {
|
|
36029
36029
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36162,7 +36162,7 @@ var Service = class Service extends Object$1 {
|
|
|
36162
36162
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36163
36163
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36164
36164
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36165
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36165
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36166
36166
|
let fetchResult;
|
|
36167
36167
|
try {
|
|
36168
36168
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36286,7 +36286,7 @@ var Service = class Service extends Object$1 {
|
|
|
36286
36286
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36287
36287
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36288
36288
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36289
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36289
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36290
36290
|
let fetchResult;
|
|
36291
36291
|
try {
|
|
36292
36292
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36413,7 +36413,7 @@ var Service = class Service extends Object$1 {
|
|
|
36413
36413
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36414
36414
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36415
36415
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36416
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36416
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36417
36417
|
let fetchResult;
|
|
36418
36418
|
try {
|
|
36419
36419
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36538,7 +36538,7 @@ var Service = class Service extends Object$1 {
|
|
|
36538
36538
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36539
36539
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36540
36540
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36541
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36541
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36542
36542
|
let fetchResult;
|
|
36543
36543
|
try {
|
|
36544
36544
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36661,7 +36661,7 @@ var Service = class Service extends Object$1 {
|
|
|
36661
36661
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36662
36662
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36663
36663
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36664
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36664
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36665
36665
|
let fetchResult;
|
|
36666
36666
|
try {
|
|
36667
36667
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36784,7 +36784,7 @@ var Service = class Service extends Object$1 {
|
|
|
36784
36784
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36785
36785
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36786
36786
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36787
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36787
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36788
36788
|
let fetchResult;
|
|
36789
36789
|
try {
|
|
36790
36790
|
fetchResult = await documentLoader(url.href);
|
|
@@ -36946,7 +36946,7 @@ var Service = class Service extends Object$1 {
|
|
|
36946
36946
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
36947
36947
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
36948
36948
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
36949
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
36949
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
36950
36950
|
let fetchResult;
|
|
36951
36951
|
try {
|
|
36952
36952
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37112,7 +37112,7 @@ var Service = class Service extends Object$1 {
|
|
|
37112
37112
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37113
37113
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37114
37114
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37115
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37115
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37116
37116
|
let fetchResult;
|
|
37117
37117
|
try {
|
|
37118
37118
|
fetchResult = await documentLoader(url.href);
|
|
@@ -37326,7 +37326,7 @@ var Service = class Service extends Object$1 {
|
|
|
37326
37326
|
const documentLoader = options.documentLoader ?? this._documentLoader ?? getDocumentLoader();
|
|
37327
37327
|
const contextLoader = options.contextLoader ?? this._contextLoader ?? getDocumentLoader();
|
|
37328
37328
|
const tracerProvider = options.tracerProvider ?? this._tracerProvider ?? trace.getTracerProvider();
|
|
37329
|
-
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.
|
|
37329
|
+
return await tracerProvider.getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.lookup_object", async (span) => {
|
|
37330
37330
|
let fetchResult;
|
|
37331
37331
|
try {
|
|
37332
37332
|
fetchResult = await documentLoader(url.href);
|
|
@@ -38009,7 +38009,7 @@ var Service = class Service extends Object$1 {
|
|
|
38009
38009
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38010
38010
|
*/
|
|
38011
38011
|
static async fromJsonLd(json, options = {}) {
|
|
38012
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38012
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38013
38013
|
try {
|
|
38014
38014
|
const object = await this.__fromJsonLd__Service__(json, span, options);
|
|
38015
38015
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38659,7 +38659,7 @@ var Source = class {
|
|
|
38659
38659
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38660
38660
|
*/
|
|
38661
38661
|
static async fromJsonLd(json, options = {}) {
|
|
38662
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38662
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38663
38663
|
try {
|
|
38664
38664
|
const object = await this.__fromJsonLd__Source__(json, span, options);
|
|
38665
38665
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38834,7 +38834,7 @@ var TentativeAccept = class TentativeAccept extends Accept {
|
|
|
38834
38834
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38835
38835
|
*/
|
|
38836
38836
|
static async fromJsonLd(json, options = {}) {
|
|
38837
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38837
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38838
38838
|
try {
|
|
38839
38839
|
const object = await this.__fromJsonLd__TentativeAccept__(json, span, options);
|
|
38840
38840
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -38982,7 +38982,7 @@ var TentativeReject = class TentativeReject extends Reject {
|
|
|
38982
38982
|
* @throws {TypeError} If the given `json` is invalid.
|
|
38983
38983
|
*/
|
|
38984
38984
|
static async fromJsonLd(json, options = {}) {
|
|
38985
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
38985
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
38986
38986
|
try {
|
|
38987
38987
|
const object = await this.__fromJsonLd__TentativeReject__(json, span, options);
|
|
38988
38988
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39169,7 +39169,7 @@ var Tombstone = class Tombstone extends Object$1 {
|
|
|
39169
39169
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39170
39170
|
*/
|
|
39171
39171
|
static async fromJsonLd(json, options = {}) {
|
|
39172
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39172
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39173
39173
|
try {
|
|
39174
39174
|
const object = await this.__fromJsonLd__Tombstone__(json, span, options);
|
|
39175
39175
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39332,7 +39332,7 @@ var Travel = class Travel extends IntransitiveActivity {
|
|
|
39332
39332
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39333
39333
|
*/
|
|
39334
39334
|
static async fromJsonLd(json, options = {}) {
|
|
39335
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39335
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39336
39336
|
try {
|
|
39337
39337
|
const object = await this.__fromJsonLd__Travel__(json, span, options);
|
|
39338
39338
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39494,7 +39494,7 @@ var Undo = class Undo extends Activity {
|
|
|
39494
39494
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39495
39495
|
*/
|
|
39496
39496
|
static async fromJsonLd(json, options = {}) {
|
|
39497
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39497
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39498
39498
|
try {
|
|
39499
39499
|
const object = await this.__fromJsonLd__Undo__(json, span, options);
|
|
39500
39500
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39694,7 +39694,7 @@ var Update = class Update extends Activity {
|
|
|
39694
39694
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39695
39695
|
*/
|
|
39696
39696
|
static async fromJsonLd(json, options = {}) {
|
|
39697
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39697
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39698
39698
|
try {
|
|
39699
39699
|
const object = await this.__fromJsonLd__Update__(json, span, options);
|
|
39700
39700
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39848,7 +39848,7 @@ var Video = class Video extends Document {
|
|
|
39848
39848
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39849
39849
|
*/
|
|
39850
39850
|
static async fromJsonLd(json, options = {}) {
|
|
39851
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39851
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39852
39852
|
try {
|
|
39853
39853
|
const object = await this.__fromJsonLd__Video__(json, span, options);
|
|
39854
39854
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|
|
@@ -39995,7 +39995,7 @@ var View = class View extends Activity {
|
|
|
39995
39995
|
* @throws {TypeError} If the given `json` is invalid.
|
|
39996
39996
|
*/
|
|
39997
39997
|
static async fromJsonLd(json, options = {}) {
|
|
39998
|
-
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.
|
|
39998
|
+
return await (options.tracerProvider ?? trace.getTracerProvider()).getTracer("@fedify/vocab-tools", "2.0.18").startActiveSpan("activitypub.parse_object", async (span) => {
|
|
39999
39999
|
try {
|
|
40000
40000
|
const object = await this.__fromJsonLd__View__(json, span, options);
|
|
40001
40001
|
if (object.id != null) span.setAttribute("activitypub.object.id", object.id.href);
|